cpm8266
cpm8266 copied to clipboard
problem uploading - solved
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
On the NodeMCU V1 (and its clones e.g. named "Amica") uploading works with the default settings.
Which board are you using?
NodeMCU v1 clone also. i'm going to investigate a fake flash chip.
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.
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.