User Tools

Site Tools


manual:uart_demo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
manual:uart_demo [2018/07/02 13:28]
voorburg
manual:uart_demo [2018/07/02 13:31]
voorburg [Notes]
Line 29: Line 29:
 ===== Using BootCommander ===== ===== Using BootCommander =====
  
-The BootCommander command line interface (CLI) program allows you to configure all communication settings via options on the command line. The following example demonstrates how to call BootCommander for making a firmware update with one of the demo programs. Just correct the “**-d**” option to select the PC’s communication device that the board is connected to. On Linux, change **COMx** to the full path to the communication device, for example **/​dev/​ttyUSB0**.+The BootCommander command line interface (CLI) program allows you to configure all communication settings via options on the command line. The following example demonstrates how to call BootCommander for making a firmware update with one of the demo programs. Just correct the “**-d**” option to select the PC’s communication device that the board is connected to. On Linux, change **COMx** to the full path of the communication device, for example **/​dev/​ttyUSB0**.
  
 <​code>​ <​code>​
Line 42: Line 42:
 Depending on the configuration of the bootloader, there might be a delay between a system reset and the actual start of the user program. This is needed by design for the bootloader'​s backdoor functionality. Check configurable BOOT_BACKDOOR_ENTRY_TIMEOUT_MS in "​blt_conf.h"​ for the exact delay time. Depending on the configuration of the bootloader, there might be a delay between a system reset and the actual start of the user program. This is needed by design for the bootloader'​s backdoor functionality. Check configurable BOOT_BACKDOOR_ENTRY_TIMEOUT_MS in "​blt_conf.h"​ for the exact delay time.
  
 +To prevent having to run MicroBoot/​BootCommander with super user privileges under Linux, add yourself to the **dialout** group. Example for Debian/​Ubuntu distributions:​
  
 +<​code>​ 
 +sudo usermod -G dialout -a $USER 
 +</​code>​