adafruit / Adafruit_nRF52_Arduino

Adafruit code for the Nordic nRF52 BLE SoC on Arduino
Other
601 stars 489 forks source link

Bootloader J-Link issue (ERROR: The file specified is not a valid hex file) #751

Closed tonialomar closed 1 year ago

tonialomar commented 1 year ago

Operating System

Windows 10

IDE version

Arduino 1.8.19

Board

Custom nRF52832QFAB

BSP version

1.3.0

Sketch

/examples/Basic/Blink

What happened ?

I have a custom nRF52832 board. Initially I tried to upload the bootloader to a nRF52832QFAA (Dollatek nRF52832 Board) and it worked perfectly. Everything works fine. Then I tried on mine and I got the following error: Parsing hex file. ERROR: The file specified is not a valid hex file, has data outside valid areas ERROR: or does not have data in valid areas. Error quemando bootloader I noticed its because I bought wrongly a nrf52832QFAB instead of QFAA and they differ in RAM/Flash size. I saw some pots out there where you can change the bootloader START ADDRESS and it works.

I was not able to solve it. I am using a J-Link progammer using Arduino.

How can I proceed?

Thanks,

Toni

How to reproduce ?

Tools-->Burn Bootloader

Softdevice S132 6.1.1 Adafruit Feather nRF52832

Debug Log

No response

Screenshots

No response

hathach commented 1 year ago

for question and how-to, please post in forum support.