|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Use msp430-jtag to dump my program's RAM contents?I'm trying to figure out how to use msp430-jtag to stop my
program and dump out RAM contents so that I can look at the contents of some buffers my program is filling with state info. Uploading from RAM using the --upload option seems to work (it prints out a bunch of hex data), but the data don't look at like the data that my program is writing. Is it not possible to dump out the state of program variables/buffers using msp430-jtag? -- Grant Edwards grante at visi.com ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Mspgcc-users mailing list Mspgcc-users@... https://lists.sourceforge.net/lists/listinfo/mspgcc-users |
|
|
Re: Use msp430-jtag to dump my program's RAM contents?On 2008-06-10, Grant Edwards <grante@...> wrote:
> I'm trying to figure out how to use msp430-jtag to stop my > program and dump out RAM contents so that I can look at the > contents of some buffers my program is filling with state > info. > > Uploading from RAM using the --upload option seems to work (it > prints out a bunch of hex data), but the data don't look at > like the data that my program is writing. Oh, I should have added that I've verified that using --upload to read flash definitely works. So it sure looks like the act of running jsmp430-jtag is messing with the contents of RAM. -- Grant Edwards grante Yow! I have a very good at DENTAL PLAN. Thank you. visi.com ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Mspgcc-users mailing list Mspgcc-users@... https://lists.sourceforge.net/lists/listinfo/mspgcc-users |
|
|
Re: Use msp430-jtag to dump my program's RAM contents? Hello:
Grant Edwards wrote: > On 2008-06-10, Grant Edwards <grante@...> wrote: > >> I'm trying to figure out how to use msp430-jtag to stop my >> program and dump out RAM contents so that I can look at the >> contents of some buffers my program is filling with state >> info. >> >> Uploading from RAM using the --upload option seems to work (it >> prints out a bunch of hex data), but the data don't look at >> like the data that my program is writing. > > Oh, I should have added that I've verified that using --upload > to read flash definitely works. So it sure looks like the act > of running jsmp430-jtag is messing with the contents of RAM. > Too fast answer attempt on my side, but my guess is that msp430-jtag uses funclets to perform its function. So AFAIK these are very small piece of code stored and run from ram. I guess that's what preventing you to access the real contents of RAM. HTH, -- Raúl Sánchez Siles ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Mspgcc-users mailing list Mspgcc-users@... https://lists.sourceforge.net/lists/listinfo/mspgcc-users |
|
|
Re: Use msp430-jtag to dump my program's RAM contents?On 2008-06-10, Raúl Sánchez Siles <rss@...> wrote:
>> Oh, I should have added that I've verified that using --upload >> to read flash definitely works. So it sure looks like the act >> of running jsmp430-jtag is messing with the contents of RAM. > > Too fast answer attempt on my side, but my guess is that > msp430-jtag uses funclets to perform its function. So AFAIK > these are very small piece of code stored and run from ram. I > guess that's what preventing you to access the real contents > of RAM. That's what I suspected. My fallback is to use the IAR debugger to run the program, but the IAR debugger doesn't seem to be able to talk to the board reliably (other tools don't have any problems). The lack of support for the '23x0 family in msp430-gdbproxy sure has made this project painful... -- Grant Edwards grante Yow! I'm pretending that at we're all watching PHIL visi.com SILVERS instead of RICARDO MONTALBAN! ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Mspgcc-users mailing list Mspgcc-users@... https://lists.sourceforge.net/lists/listinfo/mspgcc-users |
|
|
Re: Use msp430-jtag to dump my program's RAM contents?Grant Edwards schrieb:
> I'm trying to figure out how to use msp430-jtag to stop my > program and dump out RAM contents so that I can look at the > contents of some buffers my program is filling with state info. the main problem here is that msp430-jtag resets teh target as first step. then the target runs for a few milliseconds until the JTAG can stop the CPU. therefore, msp403-jtag is not suitable to upload RAM from a running program. msp430-gdb+gdbproxy should be able to do this. > Is it not possible to dump out the state of program > variables/buffers using msp430-jtag? nope chris ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Mspgcc-users mailing list Mspgcc-users@... https://lists.sourceforge.net/lists/listinfo/mspgcc-users |
|
|
Re: Use msp430-jtag to dump my program's RAM contents?On 2008-06-10, Chris Liechti <cliechti@...> wrote:
> therefore, msp403-jtag is not suitable to upload RAM from a running > program. msp430-gdb+gdbproxy should be able to do this. Except that msp430-gdbproxy doesn't support the '23x0 chips. -- Grant Edwards grante Yow! I own seven-eighths of at all the artists in downtown visi.com Burbank! ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Mspgcc-users mailing list Mspgcc-users@... https://lists.sourceforge.net/lists/listinfo/mspgcc-users |
| Free Forum Powered by Nabble | Forum Help |