Hi Segger,
When using the BlueNRG2 with certain applications, the JLinkExe seems unable to reliably reflash the device.
What I get is this:
Cortex-M0 identified.
Downloading file [build/blescan.hex]...
****** Error: Verification of RAMCode failed @ address 0x200000C0.
Write: 0x599D5991 D10442A9
Read: 0x01E80048 D10442A9
Failed to prepare for programming.
Failed to download RAMCode!
Unspecified error -1
After many tries, it eventually succeeds (sometimes after 2 or 3 times, sometimes after > 10 times)
The code is very simple, and not putting the CPU in sleep or anything.
It basically just sets up the MCU, and orders a BLE scan.
I have attached the .HEX file containing the application, so you can try to reproduce the issue.
I am using Linux + SEGGER J-Link Commander V6.30h (Compiled Mar 16 2018 18:04:43),
although this issue has been there for many versions already.
Any help is appreciated!
Best regards,
Maxime
When using the BlueNRG2 with certain applications, the JLinkExe seems unable to reliably reflash the device.
What I get is this:
Cortex-M0 identified.
Downloading file [build/blescan.hex]...
****** Error: Verification of RAMCode failed @ address 0x200000C0.
Write: 0x599D5991 D10442A9
Read: 0x01E80048 D10442A9
Failed to prepare for programming.
Failed to download RAMCode!
Unspecified error -1
After many tries, it eventually succeeds (sometimes after 2 or 3 times, sometimes after > 10 times)
The code is very simple, and not putting the CPU in sleep or anything.
It basically just sets up the MCU, and orders a BLE scan.
I have attached the .HEX file containing the application, so you can try to reproduce the issue.
I am using Linux + SEGGER J-Link Commander V6.30h (Compiled Mar 16 2018 18:04:43),
although this issue has been there for many versions already.
Any help is appreciated!
Best regards,
Maxime