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.
Hi all,
I was checking the sci bootloader example for f28002x . (flash_kernelex3_sci_flash_kernel). in this project , " FlashAPI_F28002x_FPU32.lib" is used for flash operation. Can i use " FlashAPI_ROM_F28002x_FPU32.lib" instead to reduce the code size ? if possible, what are the changes i have to made on the project ?
thanks
-Sudheesh
Hi Sudheesh,
You can use the ROM flash API. Below snapshot taken from the flash API guide: http://www.ti.com/lit/pdf/spnu631
I will check with our SCI kernel expert to see if there is an example available.
Thanks and regards,
Vamsi
Hi Vamsi,
I tried with ROM Flash API. For the first time it is working fine ( that is for the very first attempt after flashing the code ). but for the second time onwards It is giving errors like Blank error , programming error and verify error based on the optimization levels.
I also checked the error code , it is 0x201 , Fapi_Error_FlashRegsNotWritable.
Can you help me to sort this out.?
thanks
-Sudheesh
Sudheesh,
Are you programming password to secure the memory?
Thanks and regards,
Vamsi
Hi,
No , i am just trying to flash an LED blinking code using this bootloader. I want know one more thing. The application works as intended if we start a debug session in code composer studio , and giving error after a reset . Is there any special commands are executing during a debug session start ( for unlocking flash registers ) ? .
Thanks
-Sudheesh k
Hi Sudheesh,
Reason for this error would be that the flash registers are not accessible due to security/lock status.
Did you edit the LED blinking example OR are you using it as-is from C2000Ware?
Please attach the linker cmd file and the map file - we can check if anything is mapped to DCSM OTP space. If needed, I will ask our security expert to look at your post based on your reply.
Thanks and regards,
Vamsi