Hello! I've got a small programm that lets a LED blink on my DSP. It's a TMS320F2812 on a ezDSP F2812 board. The program didn't seem to work until I once disconnected and reconnected power supply. I also changed one jumper on the board to another position (where the led is always on) and back to the position where the LED is programmable by the XF-pin. Then it suddenly worked and blinked. Next time I tried, nothing worked anymore, and it was not possible to get it working again. (neither by disconnecting and reconnecting power, restarting code composer, etc.) Do you have an idea what could be wrong? I'm using code composer v2.12, programming via parallel cable, in the cmd-file i set that the programm should only be written to the RAM but not to the flash memory. Also the jumpers are set to H0-programming mode, as it is done by default. Can you help me???? Thank you for any suggestions!!! Simone
very strange DSP problem
Started by ●March 15, 2004
Reply by ●March 17, 20042004-03-17
Try this: -Rebuild your project or make an incremental build - click on "Debug" -> "Reset CPU" - click on "Debug" -> "Restart" - hit F5 (Run) I hope this will help you. It seems that sometimes the DSP resets itself or didn't want to start. Reset and restart helped in my project. Greetz, Andi "Simone Winkler" <simone.winkler@gmx.at> schrieb im Newsbeitrag news:1079383500.23580@news.liwest.at...> Hello! > > I've got a small programm that lets a LED blink on my DSP.It's a> TMS320F2812 on a ezDSP F2812 board. > The program didn't seem to work until I once disconnectedand reconnected> power supply. I also changed one jumper on the board toanother position> (where the led is always on) and back to the positionwhere the LED is> programmable by the XF-pin. > Then it suddenly worked and blinked. > > Next time I tried, nothing worked anymore, and it was notpossible to get it> working again. (neither by disconnecting and reconnectingpower, restarting> code composer, etc.) > > Do you have an idea what could be wrong? > > I'm using code composer v2.12, programming via parallelcable, in the> cmd-file i set that the programm should only be written tothe RAM but not> to the flash memory. Also the jumpers are set toH0-programming mode, as it> is done by default. > > Can you help me???? > > Thank you for any suggestions!!! > > Simone > >
Reply by ●March 17, 20042004-03-17
Hello Simone, There could be a dozen things wrong. Are you building this with the -e option in the linker? If not, the PC (program counter) will not be set properly after downloading your .out file and you will have to set the PC to the start address manually. Have you disabled interrupts in your program (INTM = 1, I believe, if it's the same as the 54x)? If not, you could be getting spurious interrupts (don't know what your interrupt lines are hooked to) and, lacking a vector table, anything could happen. --RY "Simone Winkler" <simone.winkler@gmx.at> writes:> Hello! > > I've got a small programm that lets a LED blink on my DSP. It's a > TMS320F2812 on a ezDSP F2812 board. > The program didn't seem to work until I once disconnected and reconnected > power supply. I also changed one jumper on the board to another position > (where the led is always on) and back to the position where the LED is > programmable by the XF-pin. > Then it suddenly worked and blinked. > > Next time I tried, nothing worked anymore, and it was not possible to get it > working again. (neither by disconnecting and reconnecting power, restarting > code composer, etc.) > > Do you have an idea what could be wrong? > > I'm using code composer v2.12, programming via parallel cable, in the > cmd-file i set that the programm should only be written to the RAM but not > to the flash memory. Also the jumpers are set to H0-programming mode, as it > is done by default. > > Can you help me???? > > Thank you for any suggestions!!! > > Simone > >-- % Randy Yates % "Maybe one day I'll feel her cold embrace, %% Fuquay-Varina, NC % and kiss her interface, %%% 919-577-9882 % til then, I'll leave her alone." %%%% <yates@ieee.org> % 'Yours Truly, 2095', *Time*, ELO http://home.earthlink.net/~yatescr