This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Custom board not being recognized

Hi,

I have created a custom board with an NRF52832 chip on. Either programming via ULINK2 or the DK PCA10040 is no succes, board won't be recognized although it is powered.

Checked all support tickets around this subject, and wiring is set up okay including SWCLK, SWDIO, VTG GND. What else can be checked in hardware or wiring what could be the issue?

I have used the reference circuit diagram for the NRF52832 dcdc schematic.

Thanks.

Parents Reply
  • Thanks. Offsets and all look good. I had no issues programming this .hex file:

    C:\SDK\nRF5_SDK_15.3.0_59ac345\components\softdevice\s132\hex>nrfjprog -e
    Erasing user available code and UICR flash areas.
    Applying system reset.
    
    C:\SDK\nRF5_SDK_15.3.0_59ac345\components\softdevice\s132\hex>nrfjprog --program s132_nrf52_6.1.1_softdevice.hex
    Parsing hex file.
    Reading flash area to program to guarantee it is erased.
    Checking that the area to write is not protected.
    Programming device.
    
    C:\SDK\nRF5_SDK_15.3.0_59ac345\components\softdevice\s132\hex>nrfjprog --program 5850.nrf52832_xxaa.hex
    Parsing hex file.
    Reading flash area to program to guarantee it is erased.
    Checking that the area to write is not protected.
    Programming device.

     

    But, If I try again; I'll get this error, and would need to add the "--sectorerase" flag to nrfjprog:

    C:\SDK\nRF5_SDK_15.3.0_59ac345\components\softdevice\s132\hex>nrfjprog --program 5850.nrf52832_xxaa.hex --verify
    Parsing hex file.
    Reading flash area to program to guarantee it is erased.
    ERROR: The area to write is not erased.
    
    C:\SDK\nRF5_SDK_15.3.0_59ac345\components\softdevice\s132\hex>nrfjprog --program 5850.nrf52832_xxaa.hex --verify --sectorerase
    Parsing hex file.
    Erasing page at address 0x26000.
    Erasing page at address 0x27000.
    Erasing page at address 0x28000.
    Erasing page at address 0x29000.
    Erasing page at address 0x2A000.
    Erasing page at address 0x2B000.
    Applying system reset.
    Checking that the area to write is not protected.
    Programming device.
    Verifying programming.
    Verified OK.

     

    Kind regards,

    Håkon

Children
Related