Flashing nRF5x firmware using any dumb terminal program via standard serial COM port

There are times that we needed to flash the nRF5x series on a PC where the development software were not installed. The problem could be worst when network access is limited. With a HEX file on hand, it is now possible to flash the nRF5x device using regular dumb terminal software such as CoolTerm, Putty,... through the COM port. This is the new feature of the IDAP-Link, a CMSIS-DAP compatible debug jtag. This feature is called 'Console Mode'. Please note that programming the nRF5x is actually done using SWD. The COM port is only for user interface.

image description

To active the Console Mode, use any dumb terminal program and connect to the IDAP-Link CDC COM port at 4MBaud. The best terminal software to use is CoolTerm. CoolTerm is available for Linux, OSX and Windows.

By default, CoolTerm supports upto 230400 Baud. To add new Buadrates to CoolTerm, create a file name 'baudrates.ini'. Add 1 baudrate value per line the file. Then copy the baudrate.ini file to the location based on platform used.

      Mac: /Users/UserName/Library/Application Support/CoolTerm/
      Win: \Users\UserName\AppData\Roaming\CoolTerm\
      Linux: /home/UserName/CoolTerm/. 

At connection, a welcome screen is displayed in the terminal with a small menu.

image description

To upload new firmware (or Softdevice), select 'u' on the menu. Wait for the message 'Ready for HEX upload' to appears.

image description

Once the message is received. Use the terminal program, CoolTerm in this case to send a text file.

image description

The transfer immediately begins

image description

Once the file transfer is completed a new message 'Upload completed' will be displayed.

image description

That's how it is done.

IDAP-Link user guide and software are here.

Anonymous
  • Facebook lite app mainly focus on performance. It uses less RAM and internet that the main app. You can still install this app on your high end Android Smart to preserve your RAM and internet usage. As you know having slow internet connection suffers more when using facebook. Because this social media main built on photos and videos. People mainly visiting facebook in order to watch those interesting photos and videos. Here you can download the latest official or original version of Blackmart Apk. There is no pro or premium version. Official version has Blackmart apk only. Using this appstore you can access millions of Android apps, games, tool and many for free. Free means completely free. AppVN is an Android AppStore that has millions of Android apps. Using this appstore you may find any app, game or tool for free. No region restrictions or any other limitations when using this appstore. You can allowed to download and use any Android application found in this app. Mobile9 is the best app to download free games, themes, wallpapers, live wallpapers, ringtones, videos, app icons and smart watch faces to make your Android device uniquely yours. Download Mobile9 Deco from above download link and enjoy free of everything. https://www.dialapk.com

  • Watch Movies and TV series with AppFlix : ref: https://www.appflixapk.com/

    Other awesome Movie app is Cinema HD

  • Great work! (finally all "I want to flash it over serial port like Arduino" requests have the answer;)