Getting Started with nRF5340DK

Hi,

I was trying to start with nRF5340 Development Kit. I'm using NRF Connect for desktop and in the programmer in NRF Connect for Desktop I tried writing a hex file I found. But it says  "You are programming via MCUboot. The device will be recovered if proceed to write. Make sure the device is in MCUboot mode."

and I'm not able to write. how can I configure the device in such a mode that I can program the device so that I could put the device in different modes like BLE sleep, BLE Standby etc.

Regards,

Arun Varghese

  • Hi, 

    Did you flash the device with MCUboot? If not it does not have any bootlader installed

    If you want to flash the device without installing a bootloader, see the command below

    west flash --hex-file path/to/some/other.hex

    To use the command, open a nrf Connect instance in the terminal

    Regards
    Runar


  • "

    Also while in Bluetooth low energy option in NRF Connect for Desktop, I'm getting "

    13:13:35.405
    Received status with code 0 PKT_SEND_MAX_RETRIES_REACHED, message: 'No response from device. Tried to send packet 6 times.'
    13:13:36.574
    Error occured when opening port. Errorcode: NRF_ERROR_TIMEOUT (0xd)"
    error message on the log. How to correct this and how to get start with BLE in nRF connect.
    "
    You need to give some more information of what you are trying to do. If you want to get started with BLE and our devices I would recommend checking out our courses on DevAcademy
    Regards
    Runar
  • Hi,

    How to flash MCUboot? 

    also how to flash other example projects to the board so as to configure the device in different modes.

    is there any document available that can help in guiding flashing different example projects to the board.

    Regards,

    Arun

  • Hi 

    I would recommend going through our course nRF Connect SDK Fundamentals  

    It covers the following 

    • Develop a fundamental understanding of the nRF Connect SDK
    • Learn how hardware is described using devicetree
    • Learn how to configure software modules using Kconfig
    • Practice through hands-on exercises using common hardware peripherals (GPIO, UART, I2C)
    • Develop more knowledge about Zephyr RTOS 101 - Execution model, ISRs, threads, thread's life-cycle and inter-task communication/synchronization mechanisms

    Did you try to flash the device using the west flash command? 

    As to other example project, NRF Connect contains multiple example projects that you can try out, here in an overview. How to get started is covered in the course I linked above or you can have a look here

    Regards

    Runar

Related