Custom Default Feature of Remote Control App
For example, if you create firmware that changes the baud rate from 115200bps to 9600bps, you can use it at 9600bps from the start.
Configuration Procedure
1. Apply the Settings
Change the settings in Interactive Mode, press S
to save.
2. Download the Settings
Prepare software capable of downloading data using the xmodem protocol.
While still in Interactive Mode (before selecting items), request xmodem download.
In TeraTerm, perform the following operations:
- Select
File > Transfer > XMODEM > Receive...
- Select
Option > Checksum, Binary
- Specify the file name (e.g.,
conf.bin
) - Press the
Open
button
On macOS or Linux, you can use lrzsz
.
lrx --binary --xmodem /path/to/conf.bin
Usually, enter Interactive Mode with
screen
, then after pressingCtrl+A
, execute:exec !! lrx -b -X /path/to/conf.bin
If the download succeeds, it generates a 128-byte file (may be smaller depending on the xmodem implementation).
3. Creating Custom Binary
Concatenate the downloaded file to the end of the firmware binary file to create a custom binary.
Use command line tools or general file concatenation tools for concatenation.
Example
An example when the downloaded xmodem file is conf.bin
, the original binary file is App_IO_BLUE_L1305_V1-3-X.bin
, and the custom binary to be created is App_IO_custom_V1-3-X.bin
.
【Windows】
copy App_IO_BLUE_L1305_V1-3-X.bin App_IO_custom_V1-3-X.bin
type conf.bin >> App_IO_custom_V1-3-X.bin
【macOS / Linux】
cat App_IO_BLUE_L1305_V1-3-X.bin conf.bin > App_IO_custom_V1-3-X.bin
4. Writing Custom Binary
Write the concatenated custom binary to TWELITE.
After writing the custom binary and entering Interactive Mode, C-
is displayed at the end of the first line.
--- CONFIG/APP_IO V1-04-2/SID=0x81001f1c/LID=0x78 C- ---
If you overwrite and save settings from Interactive Mode for the custom binary, CE
is displayed instead of C-
.
--- CONFIG/APP_IO V1-04-2/SID=0x81001f1c/LID=0x78 CE ---