Sonic-Amiga / ESP8266-Faikin

Opensource replacement for Daikin BRP module to control Daikin aircon units
GNU General Public License v3.0
9 stars 0 forks source link

Flashing to wemos d1 mini #13

Closed ferbulous closed 1 month ago

ferbulous commented 1 month ago

Hi, the d1 mini has 4mb flash size so I slighty changed the command for the flashing (am I doing it right?)

esptool -b 460800 --after hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 4MB 0x4000 partition-table.bin 0xd000 ota_data_initial.bin 0x0 Faikin-8266-bootloader.bin 0x10000 Faikin-8266.bin
esptool.py v4.7.0
Found 1 serial ports
Serial port COM4
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 4c:75:25:19:b2:2b
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00004000 to 0x00004fff...
Flash will be erased from 0x0000d000 to 0x0000efff...
Flash will be erased from 0x00000000 to 0x00001fff...
Flash will be erased from 0x00010000 to 0x000f6fff...
Compressed 3072 bytes to 169...
Wrote 3072 bytes (169 compressed) at 0x00004000 in 0.1 seconds (effective 348.2 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 31...
Wrote 8192 bytes (31 compressed) at 0x0000d000 in 0.1 seconds (effective 511.6 kbit/s)...
Hash of data verified.
Flash params set to 0x0240
Compressed 6528 bytes to 4734...
Wrote 6528 bytes (4734 compressed) at 0x00000000 in 0.2 seconds (effective 223.3 kbit/s)...
Hash of data verified.
Compressed 942784 bytes to 597550...
Wrote 942784 bytes (597550 compressed) at 0x00010000 in 14.4 seconds (effective 522.2 kbit/s)...
Hash of data verified.

But I don't see any access point or getting useful logs from the serial port.

b▒`▒user code done
rll▒r$▒n
▒
l▒
b|▒▒▒rb▒
b▒nnlnn2b
bp▒$blrlp▒n
▒
l
b
n▒nl▒▒
b▒▒nn'l▒l`▒nn
l`nr▒▒▒n
l$`p▒n▒
r▒
b
n▒n▒
b▒▒nn'
l`▒nn
l`nr▒▒▒n
b▒`p▒n▒
r▒
▒
b
n▒nl
▒
b▒▒nn'
l`▒nn
l`nr▒▒▒n
b▒`r▒▒n
b▒`▒user code done
rll▒r$▒n
▒
l▒
b|▒▒▒rb▒
b▒nnlnnb
bp▒$blrlp▒n0
▒
l
b
n▒nl▒▒
b▒▒nn'l▒l`▒nn
l`nr▒▒▒n
l$`p▒n▒
r▒
b
n▒n▒
b▒▒nn'
l`▒nn
l`nr▒▒▒n
b▒`p▒n▒
r▒▒
▒
b
n▒nl
▒
b▒▒nn'
l`▒nn
l`nr▒▒▒n
b▒`r▒▒n
b▒`▒user code done

What am I missing here to get it working?