When i run programme under ccs,how can write cmd file?
When i burn flah and then boot dsp,how can write cmd file?
Where can i get the detail about bootloader,burn tools?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
When i run programme under ccs,how can write cmd file?
When i burn flah and then boot dsp,how can write cmd file?
Where can i get the detail about bootloader,burn tools?
I'm assuming that you are not using DSP/BIOS (let me know if you are).
Here are the steps that you would need to do to convert your application to flash boot:
1) Update the memory map in the cmd file: add FLASH and boot sections. For example:
MEMORY
{
vecs: o = 00000000h l = 00000200h
boot: o = 00000200h l = 00000200h
IRAM: o = 00000400h l = 0000FA00h
CE0: o = 80000000h l = 01000000h
}
2) Add the boot section that you are going to place your secondary boot loader at the cmd file. For example:
SECTIONS
{
"vectors" > vecs
"bootload" > boot
.cinit > IRAM
.text > IRAM
.stack > IRAM
.bss > IRAM
.const > IRAM
.data > IRAM
.far > IRAM
.switch > IRAM
.sysmem > IRAM
.tables > IRAM
.cio > IRAM
}
3) Add your secondary boot loader code to the project that will load the program from FLASH to IRAM.
4) recompile your project and burn it into the flash
Please see the document Creating a Second-Level Bootloader for FLASH Bootloading on C6000
Yes,i'm not useing DSP/BIOS.
Why i cannot find CE0 in sections.
Is cmd file for using CCS run programme same as that boot from flash using?
YongchaoDeng said:Why i cannot find CE0 in sections
You can just create it if you want.
YongchaoDeng said:Is cmd file for using CCS run programme same as that boot from flash using?
No, as I explained in my previous post. The changes are in bold.