Hi, I'm new to dsp programming. I am using assembly language to program a dsp56f805 evaluation board to control 2 servo motors. I set up the SPI registers in a small test program, but can't get any output on the mosi or spclk pins. Are there assembly language samples out there anywhere? Is there software I can use to debug through the jtag/once port on Linux or do I have to use windows? Please help! Thank you, |
|
debugging
Started by ●October 20, 2003
Reply by ●October 20, 20032003-10-20
Hi, for debuging assembly on linux you may try to use dspd from the tool chain I'm working on. Check http://dsp56800.sourceforge.net the actual files are stored at Sourceforge. It's very simplistic, but I use it everyday ;). There is also a small library dsplib which intends to implement helper functions and macros for handling dsp peripherals. The SPI is, however, not there yet, but I could add it if it would help. Regards Jan PS: BTW I'm building a control for 3 servos right now :) On Mon, Oct 20, 2003 at 02:10:36PM -0000, mvl818 wrote: > Hi, > > I'm new to dsp programming. > I am using assembly language to program a dsp56f805 > evaluation board to control 2 servo motors. > > I set up the SPI registers in a small test program, but can't get any > output on the mosi or spclk pins. > > Are there assembly language samples out there anywhere? > Is there software I can use to debug through the jtag/once port > on Linux or do I have to use windows? > > Please help! > > Thank you, > > _____________________________________ > Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. > > _____________________________________ > About this discussion group: > > To Join: > > To Post: > > To Leave: > > Archives: http://www.yahoogroups.com/group/motoroladsp > > More Groups: http://www.dsprelated.com/groups.php3 > ">http://docs.yahoo.com/info/terms/ > |
Reply by ●October 20, 20032003-10-20
You did not specify which assembler you are using, but there are assembly and C examples at http://petegray.newmicros.com/. No debuggers here, though. There are no linux debuggers for the 56800 family that I know of. CodeWarrior from Metrowerks for Windows only, which as of Sept 22, is available as a free download (with an 8k word link limit, tiered pricing beyond that). Lauterbach also seems to have a 56800 debugger, but I have no experience with it. http://www.lauterbach.com/bdm56800.html Domain Technologies appears to also have 56800 (non-E, I believe) debuggers for their command converter hardware, but also have no experience with their products. http://www.domaintec.com There also appears to be an alpha-stage Sourceforge effort for the 56800 (also non-E): http://sourceforge.net/projects/dsp56800/ http://sourceforge.net/projects/asm56800/ --david --- In , "mvl818" <mvl818@y...> wrote: > Hi, > > I'm new to dsp programming. > I am using assembly language to program a dsp56f805 > evaluation board to control 2 servo motors. > > I set up the SPI registers in a small test program, but can't get any > output on the mosi or spclk pins. > > Are there assembly language samples out there anywhere? > Is there software I can use to debug through the jtag/once port > on Linux or do I have to use windows? > > Please help! > > Thank you, |
|
Reply by ●October 20, 20032003-10-20
Hi, > There also appears to be an alpha-stage Sourceforge effort for the > 56800 (also non-E): > http://sourceforge.net/projects/dsp56800/ actually dsp56800 is not in alpha-stage for quite some time :), there is real port to binutils with all utilities it comes with and the simple dspd debuger also quite usable. Actually I'm willing to add, modify, correct anything what anybody would suggest. If anybody would start to use it, it would help the development. Currently it seems I'm only one actually using it :)) but sucessfully for me! Actually what is now in alpha stage is GCC and GDB port. > http://sourceforge.net/projects/asm56800/ This project is dead since it's beginning back in Jan 2002 Regards Jan > > --david > > --- In , "mvl818" <mvl818@y...> wrote: > > Hi, > > > > I'm new to dsp programming. > > I am using assembly language to program a dsp56f805 > > evaluation board to control 2 servo motors. > > > > I set up the SPI registers in a small test program, but can't get any > > output on the mosi or spclk pins. > > > > Are there assembly language samples out there anywhere? > > Is there software I can use to debug through the jtag/once port > > on Linux or do I have to use windows? > > > > Please help! > > > > Thank you, > > _____________________________________ > Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. > > _____________________________________ > About this discussion group: > > To Join: > > To Post: > > To Leave: > > Archives: http://www.yahoogroups.com/group/motoroladsp > > More Groups: http://www.dsprelated.com/groups.php3 > ">http://docs.yahoo.com/info/terms/ > |