At 16:02 22-03-08 +0000, Grant Edwards wrote: >On 2008-03-22, N. Coesel <[email protected]> wrote: > >> I always try to stay away from JTAG as much as possible. Here >> is my recipe: use the BSL serial method to download software >> into the MSP430 device. Debug code while running it on the PC >> (compile for Linux of Windows). Make a command line interface >> to do final debugging in the device itself. > >Putting a command line interface into something with no serial >port and a couple K of flash and couple hundred bytes of RAM is >pretty tricky. I often use a bit-banged "putc()/puts()" for >debugging, but there's often not enough ROM/RAM to implement >even a limited printf().
In that case I use a bigger device with the same pheripherals to develop on and recompile for the smaller device when finished developing (switching off all debugging with a define). Nico Coesel
