Command Line Tool - Infineon mIO-Stick User Manual

Table of Contents

Advertisement

μIO-Stick User Manual
5 Fast LIN BSL Support
5.3

Command Line Tool

In order to run the BSL actions none-interactively, a command line BSL tool is provided. It is named
BSL_Cmd.exe, and should be run from a terminal window. Executing BSL_Cmd.exe without any parameters
generates a list of the supported options, as shown below:
C:\>BSL_Cmd.exe
-----------------------------------------------------
Bootstrap Loader Command Line Tool v1.2 build 638
-----------------------------------------------------
ERROR
: missing arguments
Valid commands are:
-Cmode=baud,NAD
-EF
-ER=start-end
-D="hex_file"
-VS=n
-V=1
-PS=password
-PR=password
-R100TP=page,"hex_file"
-RO="hex_file",start-end
-R=NVM
-R=RAM
-T=device
-NACNAD=nac,nad,bslMode
-W100TP=page,"hex_file"
-Q
mode
: N/F/FO/U
baud
: baud rate 9600..115200
hex_file
: defines the hex file for the download
page
: selects 100TP page (1..8)
start
: defines the start address for the operation
end
: defines the end address for the operation
device
: defines the target device (s. TargetConfiguration.xml)
-------------------------------------------------------------------------------
The code above shows a call of BSL_Cmd.exe with various options, which are:
-CFO=115200,1 : Fast-LIN-only, 115200 baud, NAD = 1
-T=TLE9879QX : target device TLE9879QX, it has to match the device select list in the Configuration Dialog
-VS=1 : VS (Pin 6) on all the time
-EF : Erase full chip
-D="Blinky.hex" : downloads the Blinky.hex file to the target device
-PS=0x55 : sets protection with the 8-bit password 0x55
Application Note
connection mode and baud rate
erase full chip
erase range
download hex file (repeatable)
function of VS pin. 0: off, 1:on, 2:off during reset
verify after download
set protection
reset protection
read the selected 100TP page and save it
read out range into hex
run in NVM
run in RAM
target device
set NAC, NAD and BSL mode (F:fastLIN, L:LIN)
write hex file to selected 100TP page
quite mode
N=Normal LIN, F=Fast-LIN, FO=Fast-LIN-only, U=UART
22
v1.1
2018-09-18

Advertisement

Table of Contents
loading

This manual is also suitable for:

Muio-stick

Table of Contents