nRF52833 custom board cannot reprogram.

Dears,

Our custom board using nRF52833 cannot connect to Jlink after flashed a program.

I had the board connected with the Jlink via VCC, GND, SWDCLK, SWDIO and RESET pins.

I tried to run: nrfjprog --recover as the guide here

But it not working.

Is there a way that I can re-program the nRF52833? 

Why did this problem happen? 

Best regards.

Parents
  • Dears,

    In my program, CONFIG_GPIO_AS_PINRESET is defined 1.

  • Hi,

    Do you get any error log? Is your custom board being detected?

    Best Regards,

    Priyanka

  • Dears,

    My custom board is not detected.

    I have log on J-Flash V7.66a

    Application log started
     - J-Flash V7.66a (J-Flash compiled May 19 2022 15:13:50)
     - JLinkARM.dll V7.58b (DLL compiled Nov 16 2021 15:00:10)
    Reading flash device list [C:\Program Files (x86)\SEGGER\JLink\ETC/JFlash/Flash.csv] ...
     - List of flash devices read successfully (451 Devices)
    Reading MCU device list ...
     - List of MCU devices read successfully (8837 Devices)
    Creating new project ...
     - New project created successfully
    Connecting ...
     - Connecting via USB to probe/ programmer device 0
     - Probe/ Programmer firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
     - Device "NRF52833_XXAA" selected.
     - Target interface speed: 4000 kHz (Fixed)
     - VTarget = 3.261V
     - InitTarget() start
     - InitTarget() end
     - RESET (pin 15) high, but should be low. Please check target hardware.
     - RESET (pin 15) high, but should be low. Please check target hardware.
     - RESET (pin 15) high, but should be low. Please check target hardware.
     - RESET (pin 15) high, but should be low. Please check target hardware.
     - RESET (pin 15) high, but should be low. Please check target hardware.
     - RESET (pin 15) high, but should be low. Please check target hardware.
     - RESET (pin 15) high, but should be low. Please check target hardware.
     - InitTarget() start
     - InitTarget() end
     - RESET (pin 15) high, but should be low. Please check target hardware.
     - ERROR: Failed to connect.
    Could not establish a connection to target.

    If you need error log from other program, please inform me.

  • Hi,

    I can see that it's complaining about reset pin being high, but isn't pin 18 the reset pin? Have you checked the state of the P0.18 reset pin when programming? Is it high?

    -Priyanka

Reply Children
No Data
Related