Short answer: I don't. I don't need any pansy ass debugger to make my code work perfectly :) (big grin) Seriously tho, I just use copy to upload the .hex file generated by gcc. It is very fast, and always works. I have only caused it to crap out when I forget to reconnect my target (and it tells you it's closing). Instructions are on the front page here:
It Cspy a command line of: msp430-objcopy -O ihex test1.elf test1.hex To generate the .hex that Cspy will recognize and upload to the target. If you are really interested, the debugger will work and even dis-assembles your code back to assembly for the debug process. However, all labels and "debug info" are stripped. I have used this from time to time to check things and it has worked perfectly. The better solution is to use gdb. However, I have found it to have many "glitches" and am waiting for it to mature a little more. (Specifically, gdb seems to really hate my Timer_A IRQ which can happen as often as 3000Hz.) -Mark -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Tom Russell Sent: Friday, June 13, 2003 10:09 PM To: [email protected] Subject: [Mspgcc-users] using cspy with mspgcc I saw in a recent post that someone was using cspy with mspgcc. How do you create the cspy debug info in your makefile? I tried using the example from the CVS archives: #without cleanup... #this one exports IAR compatibe assembler, asssembles it #and creates a debug file for use with C-SPY #the result is a ${NAME}.d43 file iar: ${NAME}.elf msp430-objcopy -O msp430asm ${NAME}.elf ${NAME}.s43 ${IAR_PATH}\a430 -r ${NAME}.s43 -o ${NAME}.r43 ${IAR_PATH}\xlink -cmsp430 -r ${NAME}.r43 -o ${NAME}.d43 but the msp430-objcopy command fails. Thanks, Tom ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Mspgcc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mspgcc-users
