This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

error in visual studio code

Hello, sorry to disturb you I'm using Nrf52840 board and I would like to know how to flash correctly.
I'm going to tell what i did with Visual Studio Code.
I created a simple application with the sample Bluetooth Peripheral UART,
Then I did the boules configuration with the board that I wanted,
Finally when I try to build it's ok but when I tried to flash my card this is what happened:

" ERROR: or does not have data in valid areas.

NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
FATAL ERROR: command exited with status 52: nrfjprog --program 'c:\ncs\projects\peripheral_uart\build\zephyr\zephyr.Hex' --sectoranduicrerase -f NRF52 --snr 683372301 "
 thank you in advance

 best regards

Parents
  • Hi

    The Holiday season is upon us, which will leave the Nordic support team understaffed until January 3rd, 2022. This means that delayed replies will occur during this time. Sorry about the inconvenience and happy Holidays!

    Is the "boules configuration" the same as build configuration? What board have you chosen in the board configuration, and are you working on an nRF52840 DK or a custom board with an nRF52840 on it? What nRFConnect SDK version are you using here?

    To give us more details on what exactly goes wrong, you can do as the error log says and try flashing the example again with the --log command to get more information.

    Best regards,

    Simon

  • Hello, yes this is bluid configuration. I'm working on nrf52840DK and i'm using the sdk 17.1. no problem happy holidays to you too and i'm going to give you new informations thanks to the log.

Reply Children
No Data
Related