I upgraded the SDK to 3.0.0. and now I have an issue:
"Actions/Flash" command fails with "Timed out waiting for RRAMC.READY.". "Actions/Erase and Flash" works.
I am on Mac Mini M4, board is nrf54l15dk, using VS Code extension and sysbuild.
What I know:
- My app works, I can debug it, ...
- nrfutil and its modules are updated to latest versions
- "with mcuboot" sample works
- I also tried to replace nrfutil with nrfjprog, then both operations fail
- I tested with different JLink versions (from 7.94i to 8.30), universal and arm - no differences
- Changing the board (to another nrf54l15dk) does not help
- Disconnecting all external HW does not help
- I am using pm_static.yml, but checked it 100 times and I think it is ok
- Tried to remove pm_static.yml, solution builds but bootloader says that slot does not contain app
- If I put "while(1);" in mcuboot right before it jumps to my app, "Actions/Flash" works
- If I put "while(1);" as a first statement in my "main()", "Actions/Flash" fails
- I changed the flash driver so that write and erase are no-ops. Issue remains.
Any ideas?
It seems like app startup code does something wrong. I am using BLE mesh, networking and ESP32 AT wifi driver. Removing the ESP32 driver does not resolve the issue. I noticed that TRUSTED_STORAGE is now enabled and AFAIK it uses settings as storage backed. Settings subsystem in my app is activated in main().
Regards,
Marko