Hi:
I'm using nrf52832 in my last demo design. But currently our foundry has no inventory of nrf2832, and I can't even find a few samples on the market to buy. So I decided to use nrf52810 instead of nrf52832 for the time being. But the problem now is that the files I originally compiled and run normally on nrf52832 cannot be burned to nrf52810 (although the compilation information shows that its content is much smaller than the setting of nrf52810). What's worse is that the example I tried to burn 52810 on KEIL also failed. The error message is as follows: Error: Flash Download failed-"Cortex-M4" (By the way, nrf52xxx has been added to the jlink setting)
I also trying to burn a minimal dfu boot file, the burning script is as follows:
@echo off
..\tools\NRF_programmer\nrfjprog.exe --family nRF52 --eraseall
..\tools\NRF_programmer\nrfjprog.exe -f nrf52 --program .\s132_nrf52_7.2.0_softdevice.hex --sectorerase
..\tools\NRF_programmer\nrfjprog.exe -f nrf52 --reset
..\tools\NRF_programmer\nrfjprog.exe -f nrf52 --program .\nrf52832_dfutag.hex --sectorerase
..\tools\NRF_programmer\nrfjprog.exe -f nrf52 --reset
pause
The script burns normally on 52832, but on 52810 platform the error message as:
...
Erasing page at address 0x24000.
Erasing page at address 0x25000.
Applying system reset.
Checking that the area to write is not protected.
Programming device.
Applying system reset.
Run.
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.
Applying system reset.
Run.
Many thanks for any feedback!
B,R