- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
In the bootloader project, it was found that when writing firmware smaller than the firmware size already written, the previous data remains in the part that is not overwritten.
(The log data read by the PSoC Programmer is attached. Log is the firmware that uses up to 0x1600-0x417F and overwrites the firmware that uses only up to 0x1600-0x3FFF.)
What will happen to the program if unnecessary data remains like this?
When writing the firmware, the metadata is also written, and since this data is referenced, even if unnecessary data remains, it is ignored. (no problem)
Or, if unnecessary data remains, the program may seem to be working, but can't it be guaranteed?
Please tell me if and why data clearing is required for Flash areas larger than the program size.
MPN: CY8C4025LQI-S411
Best Regards,
Naoaki Morimoto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
What will happen to the program if unnecessary data remains like this?
>>Nothing will happen because the code execution of your application will not reach unnecessary areas.
if unnecessary data remains, the program may seem to be working, but can't it be guaranteed?
>>We are checking and will get back to you.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Alakananda-san,
>>We are checking and will get back to you.
Do you have any update on this?
Is it necessary to erase all areas where the bootloader program is written and then write the program to guarantee the operation of the firmware?
Best Regards,
Naoaki Morimoto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is it necessary to erase all areas where the bootloader program is written and then write the program to guarantee the operation of the firmware?
>>We have not seen any problems with this kind of issue
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Alakananda-san,
Thank you for your reply.
I tell the customer that when updating the firmware with the bootloader, the original Bootloadable area can be overwritten without deleting it.
Best Regards,
Naoaki Morimoto