Flashing to nRF5340 IO Shield.

Hello,

So I have an IO Shield with the nRF5340 SoC. I have connected the IO Shield to the Port 12 of the nRF5340 Audio DK as shown in the schematic:

Connections:

Debugging Port 12-

DK Board P12 Connector      Custom Board Debug Connector
------------------------------            ------------------------
Pin 1 (VTref)                       -> VDD (Power Supply Reference)
Pin 2 (SWDIO)                   -> SWDIO
Pin 3 (GND)                       -> GND
Pin 4 (SWCLK)                  -> SWCLK
Pin 5 (GND)                       -> GND
Pin 6 (SWO)                       -> P0.11
Pin 7 (NC)                          -> NC (No Connection)
Pin 8 (NC)                          -> NC (No Connection)
Pin 9 (GNDDetect)             -> NC (No Connection)
Pin 10 (nRESET).               -> nRESET

As mentioned in one of the threads, flashing the code should target the IO Shield if the connections are correct. However, when I tried flashing a simple Blinky program that will flash the LED on Pin 0.31 of the IO Shield, it didn't work. It rather started flashing the Blue LED on the Audio DK that is supposedly also on Pin 0.31. Am I missing something?

Parents
  • Hi there,

    Yea, You are connecting it wrong. The 3.3v from your custom board signals the Jlink that an EXTERNAL flash is now connected. more or less.

    I found this working with the nRF52840_DK and the P20 port. Once I connected it properly the Device revision shows up in the DK device window and it's the flash revision present on the custom board.(not the DK ) further if I remove power from the custom board the original Flash of the DK won't show back up unless I power cycle the DK. Always power up the DK last is what I have found to work the best, see the link I posted with the pictures.

    HTH

    GL :-) PJ

Reply
  • Hi there,

    Yea, You are connecting it wrong. The 3.3v from your custom board signals the Jlink that an EXTERNAL flash is now connected. more or less.

    I found this working with the nRF52840_DK and the P20 port. Once I connected it properly the Device revision shows up in the DK device window and it's the flash revision present on the custom board.(not the DK ) further if I remove power from the custom board the original Flash of the DK won't show back up unless I power cycle the DK. Always power up the DK last is what I have found to work the best, see the link I posted with the pictures.

    HTH

    GL :-) PJ

Children
No Data
Related