Other Parts Discussed in Thread: UNIFLASH
Hi there,
I have a API and bootloader program in MCU. When flash ecc is disable in both API and bootloader program. I can succeed in upgrading my API program with bootloader. But after Flash ecc is enable in API program but disable in bootloader program, it seems like that the API upgrade always fail. I have disable flash ecc before erase API flash and follow the recommended program flow to program API flash. I wonder if there is something wrong with ECC. As you can see, API program upgrade works when Flash ECC is disable but have problem after flash ecc enable. I used
status = Fapi_issueProgrammingCommand((uint32_t *)dst,
(uint8_t *)src,
(uint8_t)bytes,
0,
0,
Fapi_AutoEccGeneration);
to program my API flash.
I wonder if you can give me some suggestion?
many thanks,
Catherine