On 25 Nov 2006 09:53:40 -0800, "mallu...." <
[email protected]>
wrote in comp.dsp:
> Thanks to the inputs from you folks, i have been able to compile and
> link the RAM code in the Flash.The application logic developed works
> well with both serial ports fully functional and also the PID loop
> works well on RAM.Howerver after porting it on the Flash using the SD
> flash loader ..the serial interrupts dont seem to work, and no data is
> transmitted or recieved on the serial ports.I checked using the Load
> symbols options and put a break point in the Recieve interrupt but it
> was not getting interrupted.This was doneby running the code from the
> flash and using the Emulator for checking.
> However if i compile and run the same code in RAM it works clockwork..
>
> Kindly revert with your suggestions
>
> Looking forward for your reply.
>
> Thanks
You are doing something wrong, but you are not really giving us the
information we need to figure out what it is you are doing wrong. The
2812 certainly executes from flash if you do it properly, we've been
doing it for more than 3 years now.
Have you read and followed the instructions TI's application note,
which you can find here:
http://focus.ti.com/dsp/docs/dspsupp...tName=spra958f
There are both an application note and some sample source code files
available on that page.
You seem to be going way too far, when you have a problem of this
nature. Try writing a much simpler program, one with a long software
delay loop that toggles a single GPIO pin set as an output, so you can
see on a scope whether it works or not. Set a break point on the
first instruction of main(), to see if execution even reaches that
point. Or even reset the processor with CCS and the JTAG debugger and
single step from the reset vector to see where it goes.
--
Jack Klein
Home:
http://JK-Technology.Com
FAQs for
comp.lang.c
http://c-faq.com/
comp.lang.c++
http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html