d00616 / arduino-NVM

Direct flash memory access, round robin virtual pages and EEPROM like memory.
GNU Lesser General Public License v2.1
25 stars 4 forks source link

Tests bricked my Nano 33 BLE #8

Open mirh opened 1 year ago

mirh commented 1 year ago

I couldn't get this to work in another project (like, yes, it does actually complain about unknown/incompatible architecture but you'd guess that's just because of the different defines) and so I decided to try the tests. Expectedly everything died.

Now I don't really know how much this project is still cared for (it's funny to think the last time the main branch was touched, this board wasn't even a thing), but if not a code fix or adding official support, I believe at least a warning would be due.

d00616 commented 1 year ago

Looks like, you have configured the library to overwrite the bootloader. It's possible to recover the bootloader with an CMSIS-DAB.

This library is designed to run on a blank nrf chip without any additional software. If you wanto to port the library, then you have to choose a flash region which is empty. For Softdevices this is documented. I think you can find this type of documentation for the Nano 33 BLE.

If you reconfigured the memory layout, you have to take care to BLE timing by putting the BLE stack to sleep, when writes are active.

mirh commented 10 months ago

AFAIR I didn't really tinker with the library, I just fired (presumably) test_all. Then yes, I did figure out what happened eventually, but I feel like a few warnings would be worthy.

EDIT: fwiw I could indeed resurrect the board