Closed dbeinder closed 9 months ago
I don't have any evidence of successful readout of flash size on BlueNRG.
My branch to fix 68
is fairly advanced, it would be great if you could test that. I'll push it later this week.
Still happy to test the new branch and add BlueNRG-LP when you're ready
Thanks, sorry for the stall. Could you try this branch: https://github.com/florisla/stm32loader/tree/feat/device-table .
I have improved the testing harness so going forward it should become easier to avoid regressions.
If the NRG family has some peculiarities, then we can extend the DeviceFlag enum to have markers for those.
This will be part of the next release.
Has reading the flash size from the flash controller peripheral been tested on BlueNRG? On my test board (STEVAL-IDB008V2) the bootloader refuses to read anything other than flash and SRAM:
The same thing happens on BlueNRG-LP (BlueNRG-355MC), I've had to make some changes: https://github.com/dbeinder/stm32loader/commit/03c41de7985cba3a58e76fa48801f4cd1d2077e2 I'll probably create a cleaner pull request after https://github.com/florisla/stm32loader/issues/68 For now I've added NRG3 as a new family, but if we really can't read peripherals, then there isn't much new to be added for BlueNRG-LP and it can go into a common family with BlueNRG-1/2.