DSPRelated.com
Forums

Re: DSK 5402 Booting from Flash problem.

Started by Unknown November 30, 2002
Hello jacob,

Saturday, December 14, 2002, 1:15:33 AM, you wrote:

jjsn> I'm having trouble with booting from flash on my DSK 5402. My
jjsn> applications works fine when booted via HPI. I have succesfully loadet
jjsn> the blink02.hex to the flash, and it ran just fine on the board.

I used to have a similar problem. Somehow library functions failed
to work with my flash setup, and I still don't know why(I just
eliminated all the codec_xxxx functions from my code).

Just a hint: try debugging it with CC. First boot from flash, and then
run CC, set IPTR to the starting location etc. I did so and it helped. I
hope it helps you, too.

By the way, if anybody knows why brd_init(), codec_open() etc.
might not work(or should work), please tell me. --
Best regards,
Michael Kapralov mailto:



Does anyone know if it is possible to use the McBSP's clock stop mode
with DMA transfers?

I'd like to make the DSP a SPI master and use DMA to transfer blocks
of data to the slave and receive responses. As an alternative I
suppose the normal serial port tx/rx interrupts should work just fine
in clock stop mode, correct?

Thanks,

Brian

-----------------
Brian C. Lane (W7BCL) Programmer
www.shinemicro.com RF, DSP & Microcontroller Design





Hello

I'm having trouble with booting from flash on my DSK 5402. My
applications works fine when booted via HPI. I have succesfully loadet
the blink02.hex to the flash, and it ran just fine on the board.
Here is some of my setup:

PMST: 0xffa0
IDATA: base 0x0080 len 0x1780
IPROG: base 0x1800 len 0x2800

Here is the top of my .hex file:

S00600004844521B
S123800010AA7FFF880600003F1200800000FF80F495F495F0733F12F495F495F073FF8488
S1238010F495F495F073FF88F495F495F073FF8CF495F495F073FF90F495F495F073FF9444
S1238020F495F495F073FF98F495F495F073FF9CF495F495F073FFA0F495F495F073FFA4F4
S1238030F495F495F073FFA8F495F495F073FFACF495F495F073FFB0F495F495F073FFB4A4
S1238040F495F495F073FFB8F2733D6A4A06F7BEF495F495F073FFC0F495F495F0742CA564
S1238050F495F495F073FFC8F495F495F073358FF495F495F073FFD0F495F495F073FFD40B
S1238060F495F495F0742CA5F495F495F0742CA5F495F495F073FFE0F495F495F073FFE4C2
S1238070F495F495F073FFE8F495F495F073FFECF495F495F073FFF0F495F495F073FFF464
S1138080F495F495F073FFF8F495F495F073FFFC10
S12380880FD2000028F7FC008813F495F49560E300001010FC30E800FC00F48EE91E480ED9
...

Hoping for a hint to get this running.

Best Regards
/Jacob

--

Msg. From Jacob Soerensen

http://SunSITE.dk/~jacob

Nothing in nature is random ...
A thing appears random only through the incompleteness of our
knowledge. Spinoza, Ethics I