Description
Description
Following https://jira.arm.com/browse/IOTSTOR-798 tickect
When running storage tests on DISCO_F746NG with IAR8 it fails on test:
features-storage-tests-kvstore-static_tests
Same board and test pass ok on IAR7 , as well as on GCC_ARM and ARM.
The test fails in this line :
https://github.com/ARMmbed/mbed-os/blob/master/features/storage/TESTS/kvstore/static_tests/main.cpp#L296
When drilling down the failure is on sending write_enable to QSPI Flash, which eventually fails on timeout:
mbed-os/targets/TARGET_STM/qspi_api.c
Line 301 in 84e4dec
Data can not be written afterward to the device… until reset.
The test uses kvstore file system to add key/value pairs which hold the values:
“name_a”, “name_b”, “name_c”,…,”name_z”
For some strange reason, the combination of “name_o” followed by “name_p” causes the bug.
Even if we skip all the previous entries and only set “name_o” followed by “name_p” it fails.
Issue request type
[ ] Question
[ ] Enhancement
[X] Bug