-
Notifications
You must be signed in to change notification settings - Fork 3k
Renesas : Improve Flash iap driver #8072
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I changed _page_program() func because "buf" which is an argument of data_send() for writing must be a RAM address in order to operate in SPI mode. (ex: if it is ROM table data, writing will be failure.) Also, I changed the period of interrupt disable/enable at _page_program() func and _sector_erase() func because lock period is too long.
I addressed the cases Flash size is larger than 0x1000000.
95ae812
to
d5ef467
Compare
I renamed the first commit and added new commit. NVStore and Flash iAP test result is here. Pelase review again. |
Sorry to bother you again. I added a commit once more. |
Interesting. @ARMmbed/mbed-os-storage Mind taking a look at the last commit? Should be a quick review. |
Currently the return value of flash_get_page_size() is 1 since the min size per one writing is 1 byte by Flash spec. However, I noticed that this value causes a enormous write time When writing large data such as FW update. So I revised this value to 8 byte by considering the writing time, memory alignment and memory hole.
ffbbfcd
to
cb087ed
Compare
I modified my comment at the last commit. |
/morph build |
Build : SUCCESSBuild number : 3209 Triggering tests/morph test |
Exporter Build : FAILUREBuild number : 2800 |
Exporters will be rerun once we find the rootcause for the failure (its affecting more PR so not related to this changeset only). |
Test : SUCCESSBuild number : 3010 |
/morph export-build |
Exporter Build : FAILUREBuild number : 2811 |
/morph export-build |
Exporter Build : SUCCESSBuild number : 2873 |
Description
I improved flash_api.c file of Renesas.
Test result
NVStore and Flash iAP test result is here.
Test_GR-PEACH_GCC.txt
Test_GR-LYCHEE_GCC.txt
Pull request type