DSPRelated.com
Forums

Place code and data in ROM of BF533 EZ-kit lite

Started by Chandresh April 28, 2006
Hi all,

I am porting a codec to ADSP-BF533 Ez-kit lite and visualDSP++ 4.0.
What I am doing is:


1-Since my code is large, I mapped all of the data (including stack and

heap) and code to external SDRAM and only frequently used modules to

internal L1 SRAM (using LDF).

2-Caches are turned on to improve performance.

3-The encoder is reading an audio file (.wav) from PC using fread() and

writing the compressed bitstrem file to PC using fwrite() (similarly

decoder is reading and writing in other project).

4-Now using visualDSP++, I am loading the linker generated .DXE onto the

target and I can see the o/p file being generated using fwrite is fine.

5-Now I want to burn my code to flash and execute it from RAM (as my LDF

maps it to RAM not ROM) or execute from ROM(changing LDF to map code to

ROM) which ever is possible.

6-I used the loader utility to produce .ldr file (as explained in EE-239)

that can be burned to flash (section booting from flash devises).

7-Then I burned the bootstream into EZkit Lite using flash programmer.I

also added Init_Code_BF533.dxe (available from site) to project options to

initialize SDRAM. But its not working. On power up I cant see any file

being generated on PC.

8-However I have tested the LED example by burning it to flash and on

power up LEDs glow in a proper sequence.Its working fine.


I don’t know how to proceed next. How can I burn program to ROM and
execute it from RAM(external SDRAM /internal L1) or ROM. Please help
me as soon as possible


Thanks
chandresh