|
|
如题,因为没有排针,我是拆机后通电情况下,接主板预留的TTL空位,分别RX,TX,GND,
设置115200码率,看到系统跑码
输入 help 得到
====Build-in Commands====
help:
version:
echo:
exit: CLI exit
scan: scan ap
wifistate: Show wifi state
wifidebug: wifidebug on/off
ifconfig: Show IP address
arp: arp show/clean
ping: ping <ip>
dns: show/clean/<domain>
sockshow: Show all sockets
tasklist: list all thread name status
memshow: print memory information
memdump: <addr> <length>
memset: <addr> <value 1> [<value 2> ... <value n>]
memp: print memp list
wifidriver: show wifi driver status
reboot: reboot MiCO system
tftp: tftp
time: system time
ota: system ota
flash: Flash memory map
micodebug: micodebug on/off
====User Commands====
ate_readsn: read SN
ate_writesn: write SN
ate_readversion: read version
ate_readsensorstatus: read sensor status
ate_readtemperature: read temperature
ate_readpm25: read pm25
ate_readhcho: read hcho
ate_readhumidity: read humidity
ate_buzzer: set buzzer
ate_led: set led pwm
ate_readflag: read FT flag
ate_writeflag: write FT flag
ate_readwifimac: get wifi mac address
config: print config info
setup: set update file check
ate_reset: restore default config
resetwifi: restore wifi config
ate_gettime: <op YEAR-MM-DD hh:mm:ss>
ate_settime: <op YEAR-MM-DD hh:mm:ss>
setsleep: set sleep time: enable(0/1) start(06 20) end(18 17)
ate_aplink: wifi ap link
ate_apstatus: read wifi ap link status
看到有flash指令,然后输入 flash 得到
0 | Bootloader | Dev:0 | 0x0000b000 | 0x00008000 |
1 | Application | Dev:0 | 0x00013000 | 0x00075000 |
2 | ATE | Dev:0 | 0x000d0000 | 0x00040000 |
3 | OTA Storage | Dev:0 | 0x00110000 | 0x000b5000 |
4 | User Application | Dev:0 | 0x00088000 | 0x00040000 |
5 | PARAMETER1 | Dev:0 | 0x000c8000 | 0x00004000 |
6 | PARAMETER2 | Dev:0 | 0x000cc000 | 0x00004000 |
7 | USER Storage | Dev:0 | 0x001c5000 | 0x0003a000 |
我该怎么选哪个分区,怎么选,固件怎么传进去???
|
-
|