EVM-BT40-V1 fails flashing fw to cpuapp core

Trying to flash firmware to nRF5340 cpuapp core with a sample from nRF connect sdk 1.6.1. I'm able to flash it to a PCA10095 dev kit. With EVM-BT40-V1 from Fanstel, I can erase all the cores and flash firmware to cpunet core. However, flashing firmware to cpuapp core results in the following error:

Parents
  • Hello,

    Please try to follow the procedure here (link) to unlock the approtect the chip with nrfjprog if you haven't tried already. I don't recognize error message you are getting, and  I think it's a bit surprising that it only happens when you program the application core.

    Best regards,

    Vidar

  • I've been testing it in different ways (including the linked procedure) and sometimes I'm able to write firmware by using merged_domain.hex. Most of the time it doesn't work.

    I've tried the following in the link to recover the chipset:

    nrfjprog --recover --coprocessor CP_NETWORK
    nrfjprog --recover

    It still does not work.

  • To narrow down the problem, please try to flash the board through the command line and see if it gives you a similar error.

    e.g.

    // Update PATH and ZEPHYR_BASE from cmd.exe by running the env.cmd 
    C:\Users\<user>\ncs\<sdk version>\nrf\samples\bluetooth\<bluetooth sample directory>\..\..\..\..\toolchain\cmd\env.cmd
    
    // Recover and flash the application and network core with this command
    C:\Users\<user>\ncs\<sdk version>\nrf\samples\bluetooth\<bluetooth sample directory>\west flash --recover -d <insert name of build directory generated by segger embedded studio here>

Reply
  • To narrow down the problem, please try to flash the board through the command line and see if it gives you a similar error.

    e.g.

    // Update PATH and ZEPHYR_BASE from cmd.exe by running the env.cmd 
    C:\Users\<user>\ncs\<sdk version>\nrf\samples\bluetooth\<bluetooth sample directory>\..\..\..\..\toolchain\cmd\env.cmd
    
    // Recover and flash the application and network core with this command
    C:\Users\<user>\ncs\<sdk version>\nrf\samples\bluetooth\<bluetooth sample directory>\west flash --recover -d <insert name of build directory generated by segger embedded studio here>

Children
Related