Other Parts Discussed in Thread: LMFLASHPROGRAMMER, UNIFLASH
The following description Serial Flash Downloader in SW-DK-TM4C123G-UG.
i'm using by Example Source in "examples\boards\dk-tm4c123g\boot_serial" with DK-TM4C123G Development Board
it's no Problem Connection COM3 (PC) of DK-TM4C123G Board (it's OK UART0)
It was executed by "sflash -c 3 -d boot_serial.bin" in DOS mode
An error occurred.
-------------------------------------------------
C:\> sFlash -c 3 -d boot_serial.bin
Application : boot_serial.bin
Program Address : 0x0
COM Port : \\.\COM3
Baud Rate : 115200
Erasing Flash
Failed to Send Download Command
--------------------------------------------------------
It proceeded as below SW-DK-TM4C-123G-UG.
why can not download ?
thanks
- Serial Flash Downloader (in SW-DK-TM4C123G-UG.) -
sflash [OPTION]... [INPUT FILE]
Description:
Downloads a firmware image to a Tiva board using a UART connection to the TivaWare Serial
Flash Loader or the TivaWare Boot Loader. This has the same capabilities as the serial
download portion of the LM Flash Programmer tool.
The source code for this utility is contained in tools/sflash, with a pre-built binary contained in tools/bin.
Arguments:
-b BAUD specifies the baud rate. If not specified, the default of 115,200 will be used.
-c PORT specifies the COM port. If not specified, the default of COM1 will be used.
-d disables auto-baud.
-h displays usage information.
-l FILENAME specifies the name of the boot loader image file.
-p ADDR specifies the address at which to program the firmware. If not specified, the default of 0 will be used.
-r ADDR specifies the address at which to start processor execution after the firmware has
been downloaded. If not specified, the processor will be reset after the firmware has been downloaded.
-s SIZE specifies the size of the data packets used to download the firmware date. This must
be a multiple of four between 8 and 252, inclusive. If using the Serial Flash Loader, the
maximum value that can be used is 76. If using the Boot Loader, the maximum value that
can be used is dependent upon the configuration of the Boot Loader. If not specified, the
default of 8 will be used.
INPUT FILE specifies the name of the firmware image file.
Example:
The following will download a firmware image to the board over COM2 without auto-baud support:
sflash -c 2 -d image.bin
















