Error Erasing/Flashing nRF5340 with Keil uVision

Hello,

I'm trying to port a nRF52840 Keil project to the network core of the nRF5340. I was able to correctly use the Nordic Device Pack to build my project using the nrf53 SDK sources but I'm not able to erase and flash my nRF5340-DK. When trying to perform a full chip erase, I'm getting an error from nrf53xx_network.flm "Sector (0): Address not Zero":

I believe my JLink target is correctly configured and I'm correctly able to erase the flash using JLink command-line tool.

Why can't I erase or flash my nRF5340 from Keil ? Am I missing some steps in the configuration ?

I understand Keil isn't a recommended IDE for nrf5340 development but in my case, as I'm not using Zephyr RTOS or other gcc-dependant libraries, I believe Keil would work out. Am I wrong ?

Parents Reply Children
Related