Dear All,
I got the PCB assembled for nRF9160 feather.

Issue:
I am not getting the BLUE led ON when I press RST and MD button sequence as shown below
https://docs.jaredwolff.com/nrf9160-programming-and-debugging.html#using-newtmgr

Code:
I was able to compile the blinky program and got “app_update.bin”

I get the following after assembly (Header Pins):

RST pin : Get 0V on pressing the Reset button
3.3V pin : I connected 3.3V directly to this pin
MD : Get 3.3V when I press Mode button

What can be done ?
As I understand MCU boot may not have the setting required for BLUE led to go ON.

Cheers,
H Jain


    Jared,
    On the PCB, It is written BRD-0015-04
    I guess, it is version 4

    Got it.

    If you assembled the board from scratch you’ll need to load the bootloader. There could be a host of other problems as well since it’s very tricky to assemble the nRF9160 module.

    K.

    How do I load the bootloader ..
    I have been watching your Zephyr-101..And understand there is a utility DFU-UTIL . Will that do the job ?

    Example:
    dfu-util -alt 1 –download zephyr.bin

    I understand that it is all related to MCUboot configuration..
    Just saw your videos…and I understand the Partition and how CONF is used to ser MD pin i.e 12 and LED indication when your press RST and MODE buttons…

    A help would be great as if this works…I can share a valuable info of my Board with others…

    Cheers

    You can program externally with nrfjprog, a tag connect cable and nRF9160/nRF53 DK. More info here: https://docs.jaredwolff.com/nrf9160-programming-and-debugging.html#requirements-for-external-programming-and-debugging

    nRF53 can only program the firmware. No MFW updates. There are other ways to upload the firmware using this guy: https://github.com/circuitdojo/nrf9160-feather-examples-and-drivers/tree/v1.9.x/samples/mfw_update

    Thanks Jared for the info…let me try and get back..

    Path: VirtualBox:~/zephyr_circuit_dojo/zephyr/mcuboot/boot/zephyr$ nano Kconfig

    config BOOT_USB_DFU_DETECT_PIN
    int “Pin to trigger USB DFU mode (DEPRECATED)”
    default 6 if BOARD_NRF9160DK_NRF9160
    default 11 if BOARD_NRF52840DK_NRF52840
    default 13 if BOARD_NRF52DK_NRF52832
    default 23 if BOARD_NRF5340_DK_NRF5340_CPUAPP BOARD_NRF5340_DK_NRF5340_CPUAPP_NS
    default 43 if BOARD_BL5340_DVK_CPUAPP
    BOARD_BL5340_DVK_CPUAPP_NS
    default -1
    help
    Pin on the DFU detect port that triggers DFU mode.

    @jaredwolff - I do not see PIN 20 ( P 0.12/MD ) where it is configured…can u show me where is it listed ?

    @jaredwolff

    conti…

    config MCUBOOT_INDICATION_LED
    bool “Turns on LED indication when device is in DFU”
    default n
    help
    Device device activates the LED while in bootloader mode.
    bootloader-led0 alias must be set in the device’s .dts
    definitions for this to work.

    @jainhemendrah sorry but the LED won’t turn on because your nRF9160 Module is un-programmed. You need to program with an external programmer (links from before) to use with newtmgr. Of course, you need the CP2102 which, from your earlier correspondence, you didn’t populate/use. (correct me if i’m wrong)

    Sorry I can’t help more!

    Terms and Conditions | Privacy Policy