This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Programming external nrf5340 via nrf534 DK development kit and NRF Connect software.

Hello Sirs

I am using the NRF3540-DK development board to program an external NRF5340 chip. I have connected the RESET,SWDCLK,SWDIO,GND,3V pins of P20 connector on development

board to the external NRF5340.I have also derived the VTG pin on P20 connector by a 3V voltage to prevent the NRF5340 chip on the development board from any program changing.

By using the NRF Connect software I can program the external NRF5340 with no errors , but even a simple program like Blinky sample doesn't work on external NRF5340.

Incidentally the so called external NRF5340 is on the NORA-B101 module from Ublox. Would you please guide me in this regard . Thank you in advance for your invaluable support. 

Parents
  • Hi again

    As I mentioned before  the NRF chip on development board can be programed and has no problem. But the external NRF seems  

    not to be programed correctly by development kit, although it can be erased with no problem and also passes the programing process

    with no errors.

    The chip on development board works perfectly but the external NRF on NORA doesn't work.

    The above picture is The flash memory content of external NORA-B101 NRF chip after programing by NRF Connect and

    this is the flash memory content of NRF chip on development board. As it can be seen there is a difference in Application aria

    between two chips.

    Basically I want to know if its possible to program an external NRF chip VIA the development kit at all.

  • saeed mahvis said:
    Basically I want to know if its possible to program an external NRF chip VIA the development kit at all.

    It should not be an issue to use the development kit as a programmer to program external boards.

    The interfacing does seem to be successful since you hare able to read the memory layout of the NORA board, I find it strange that you are not successful in programming it.  


    What software are you flashing to the NORA device(custom code)?

    Regards,
    Jonathan

  • Hi 

    Because of being not successful programming our NORA-B101 we provided a SEGGER JLINK programmer to program the NORA chip.

    The result was the same. It could be erased and programed but the chip didn't work.

    For the sake of clarity I will describe the building  and flashing procedure of the NORA-B101 below:

    First I erase the NORA chip.

    Then I load the hci-rpmsg sample and build and run it by nRF Connect program.

    Then I load the peripheral-uart sample and build and run it by nRF Connect program.

    There are no error messages in the above actions.

    Observing the flash memory content of NORA chip by programmer section of nRF connect program,

    we can see a difference between the nrf5340 chip in development board and the NORA chip(as I

    mentioned above previously).

     I do the same things via SEGGER JLINK programmer and the result is the same. As I said before

    even a simple program like Blinky sample doesn't work on NORA-B1.

    Could you please to guide us solving this issue? Our production line is delayed because of

    this problem.

     

  • Are you able to debug? 

    Are you using external LF clock?
    if not maybe try to sett the following in prj.conf:

    CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
    CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM=y



    Regards,
    Jonathan

Reply Children
  • Hi Jonathan

    The NORA-B1 module has installed a 32Mhz crystal and you should install the 32.768kHz externally.

    We did not install this crystal in our sample board so we should have used the internal RC oscillator. By adding the above code to prj.Conf file the problem was solved.

  • Great!

    Yes, seams most modules leave out the external 32.767kHz crystal that can make these types of issues when moving from DK's to custom HW. Feel free to ask if there is anything else if not then pleas close this ticket and mark the previous reply as the correct answer so that other can find it easily in our forums. 

    Regards,
    Jonathan

Related