Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

f28335 boot from Flash and Autorun option

$
0
0

Hi,

I am working with CCS 5.3 and f28335. I was able to build my code and run it from RAM. the .cmd file is a combination of DSP2833x_Headers_nonBIOS.cmd and 28335_RAM_lnk.cmd. in the .map file, I can see that the program memory and data memory resides in RAM :

 ENTRY POINT SYMBOL: "_c_int00"  address: 00009b41

Boot pins XA15..XA12 are in "jump to SARAM" position. So if I got it right, after the boot the PC jumps to the entry point which resides in RAM. is it correct?

Now I am trying to create a "release" version, meaning load the program in Flash and run it automatically on Power-on, without pressing every time "play" from the debug session.

I have created a new .cmd file, taking f28335.cmd and adding DSP2833x_Headers_nonBIOS.cmd in the linking search path.

the .map looks correct, all the sections resides in Flash (0x33xxxx adress),  and "_c_int00"  address: 00338b2c.

Boot pins are in "jump to FLASH" configuration.

What I am not able to do is to run the code at the power-on. I still have to load the program from the debug and launch it pressing "play" every time. If I turn off and on the board, I see that the code is not running. I have tried to modify the "autorun options" in the debug proprities (selecting and deselecting the 2 check boxes) but the result is always the same. Probably there is some setting which tells the processor to run automatically on power-on, but i couldn´t find any information in the various manuals and app notes available.

Can someone help me solving this issue? what is still missing? Where can I find some detailed information about this topic?

thanks

Sergio

So then I tried to move


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>