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,
I am developing the bootloader, that reprograms a secured section of the flash where the application is held.
Is it possible to erase, and then program the section that is in the secured zone and has enabled EXEONLY property?
Can it be verified if it was correct?
Regards,
Piotr Romaniuk
PS
My first trial failed, probably because I verified if the erase operation was successful by reading flash memory.
Piotr,
We are working on getting your question assigned to the right engineer. You should hear back within a day.
Lori
Hi Piotr,
I have the below information to share with you.
Best,
Kevin
Hi Kevin,
ad.1. will Fapi_doBlankCheck() work when EXEONLYSECT is enabled on that flash location?
ad.2. Can you send me a link to the BootROM documentation where SafeCRC funcion is described? I cannot find any document about API for that.
The most important question for me is still:
Is it possible to erase, and then program the section that is in the secured zone and has enabled EXEONLY property?
Regards,
Piotr Romaniuk
Hi,
Is it possible to erase, and then program the section that is in the secured zone and has enabled EXEONLY property?
Yes, you can perform erase and program operation on the EXEONLY sectors but read verify may not work.
Regards,
Vivek Singh
Also on SafeCRC , high level detail is already mentioned in security section of device TRM. The function detail is not provided to user.
Regards,
Vivek Singh
Hi Vivek,
Can you send me a link to the Boot ROM documentation where it is described?
I cannot find it.
Regards,
Piotr Romaniuk
Hi,
That statement basically referring to content in section "4.10.7 Secure ROM Function APIs".
Regards,
Vivek Singh
Also on below -
ad.1. will Fapi_doBlankCheck() work when EXEONLYSECT is enabled on that flash location?
This will not work for EXEONLY secure sectors.
Regards,
Vivek Singh
Thank you Vivek, that is the information that I looked for.
Regards,
Piotr Romaniuk