> The IAR CSPY is faster...... but I cannot debug using the C code. > > WHERE IS MY ERROR???? > > I have converted in INTEL HEX format the resulting compiled ELF file: > > msp430-objcopy -O ihex firmware.elf firmware.hex > > ....but when I program the targer I can see only the ASSEMBLY code! > > WHY???? >
An elf file contains the object code and debugging information, while a hex file contains only the object code. So when you use cspy with the hex file, it can download the object code fine, but it has no debugging information to work with, and can thus show only the assembly code. I have also found that cspy can be faster for downloading code than gdb, but I haven't tried newer versions of gdb. I've also found that sometimes pyjtag returns errors while cspy has no problems. In cases like these, I use cspy to program the hex file, then exit cspy and start gdb for debugging. There is no need to download the program again, since it is already programmed into the chip, and gdb can handle the full debugging information. mvh., David > > > > -----Messaggio originale----- > Da: mspgcc-users-ad...@lists.sourceforge.net > [mailto:mspgcc-users-ad...@lists.sourceforge.net]per conto di > nobo...@web.de > Inviato: mercoledì 31 marzo 2004 19.58 > A: mspgcc-users@lists.sourceforge.net > Oggetto: Re: [Mspgcc-users] debug problems > > > Hi, > > the speed is limited by the hardware and it takes 1/2 minutes to program the > 60 kB of the msp430f149. > > Rolf > > mspgcc-users@lists.sourceforge.net schrieb am 31.03.04 12:52:43: > > > > I've found the mspgcc-insight debugger very slow during the programming > > operation. If I have a very little program it take about 1/2 minutes to > > program the micro (msp430f149). > > Is possible to make it faster?? > > > > I've seen that the CSPY debugger is faster, but it can debug my firmware > > (using msp430gcc) only in assebly code!!! > > Is possible to debug in C code using CSPY debugger? > > > > > > thank you, > > Marco. > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IBM Linux Tutorials > > Free Linux tutorial presented by Daniel Robbins, President and CEO of > > GenToo technologies. Learn everything from fundamentals to system > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > _______________________________________________ > > Mspgcc-users mailing list > > Mspgcc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Mspgcc-users mailing list > Mspgcc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id70&alloc_id638&opÌk > _______________________________________________ > Mspgcc-users mailing list > Mspgcc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > > >