cpm8266 icon indicating copy to clipboard operation
cpm8266 copied to clipboard

problem uploading - solved

Open aldolo69 opened this issue 5 years ago • 4 comments

Had some problems uploading so I want to share how i solved them. In /cpm8266/code/Makefile there are the upload parameters. i've changed them to match the one used with Arduino IDE:

FLASHPARAM = --flash_freq 40m --flash_mode qio FLASHBAUD = 115200

So if the upload fails you know what to check

aldolo69 avatar Sep 14 '18 20:09 aldolo69

On the NodeMCU V1 (and its clones e.g. named "Amica") uploading works with the default settings.
Which board are you using?

drawkula avatar Sep 15 '18 11:09 drawkula

NodeMCU v1 clone also. i'm going to investigate a fake flash chip.

aldolo69 avatar Sep 17 '18 15:09 aldolo69

after more troubleshouting turned out that my clone nodemcu board does not complain for qio mode, but the resulting flash does not work at all. qout mode, on the other hand, fails most of the time but the resulting flash boot properly. so esptool may be wrong.

aldolo69 avatar Sep 18 '18 04:09 aldolo69

Using a WEMOS D1 and D1 Mini, all I had to do was reduce the baud rate for 115200. Both of these boards have the CH341 USB->SERIAL chip so that may have something to do with it.

martinrbowman avatar Nov 24 '19 21:11 martinrbowman