Configuration of minicom
Step 1:
Enter minicom to start, or enter minicom-s to enter the setting mode.
Or press Ctrl + A, Z, O after entering minicom to enter the setting mode.
Step 2:
Select serial port: Select "Serial Port setup" in the menu, and press Enter,
Press "a" to set "Serial devece". If Serial Port 1 is used, enter/dev/ttys0. If Serial Port 2 is used, enter/dev/ttys1, note that S is in upper case. Press enter to return.
Step 3:
Set the baud rate: Press "E" to go to the "bps/PAR/bits" page. If you press "I", set the baud rate to 115200 and press enter to return. The page is 115200 8n1
Step 4:
Data Flow Control: press the "f" key to set "Hardware Flow Control" to "no.
Others adopt the default settings. Press enter to return to the main menu of the serial port settings, select "save setup as DF1", and press enter to save the settings (save to/etc/minirc. DF1), and then select "exit" to exit the setting mode.
Configuration result:
Baud Rate: 115200
Data bit: 8
No comparison
Stop bit: 1
No hardware Traffic Control
Use minicom to send the file, press Ctrl + A, Z, S, select the protocol, select the file (select the file by two spaces)
If an error occurs before the file is transferred, an alarm is triggered because the time required to execute the load command to xmodem_initial is too short and timeout occurs. You can increase the parameter "xmodem_initial_timeout.
Vivi> param set xmodem_initial_timeout 10000000
Vivi> param set XMODEM 1 // set xmodem_one_nak to 1
Vivi> param save