Search found 10 matches

by kodefoo
Fri Sep 23, 2016 8:21 pm
Forum: ESP8266 boards
Topic: ESP01 MicroPython install
Replies: 43
Views: 22769

Re: ESP01 MicroPython install

Well it looks like we have success. I ran the following C:\>esptool -pCOM6 -b115200 write_flash --flash_mode dio --verify --flash_size 4m 0 esp8266-20160503-v1.8.bin esptool.py v1.1 Connecting... Running Cesanta flasher stub... Flash params set to 0x0200 Writing 495616 @ 0x0... 495616 (100 %) Wrote ...
by kodefoo
Fri Sep 23, 2016 7:23 pm
Forum: ESP8266 boards
Topic: ESP01 MicroPython install
Replies: 43
Views: 22769

Re: ESP01 MicroPython install

Another observation is that it looks like the ESP01 I have is not really 1MB. I downloaded an arduino sketch to check this and this is what it gave me. Flash real id: 001340C8 Flash real size: 524288 Flash ide size: 524288 Flash ide speed: 40000000 Flash ide mode: DIO Flash Chip configuration ok. Is...
by kodefoo
Fri Sep 23, 2016 6:31 pm
Forum: ESP8266 boards
Topic: ESP01 MicroPython install
Replies: 43
Views: 22769

Re: ESP01 MicroPython install

RobertHH, It looks like the verify failed. C:\>esptool -pCOM6 -b115200 write_flash --verify --flash_size 8m 0 esp8266-20160923-v1.8.4-59-g6d310a5.bin esptool.py v1.1 Connecting... Running Cesanta flasher stub... Flash params set to 0x0020 Writing 532480 @ 0x0... 532480 (100 %) Wrote 532480 bytes at ...
by kodefoo
Fri Sep 23, 2016 6:26 pm
Forum: ESP8266 boards
Topic: ESP01 MicroPython install
Replies: 43
Views: 22769

Re: ESP01 MicroPython install

c:\>esptool -pCOM6 -b115200 write_flash --flash_size 8m 0 esp8266-20160923-v1.8.4-59-g6d310a5.bin esptool.py v1.1 Connecting... Running Cesanta flasher stub... Flash params set to 0x0020 Writing 532480 @ 0x0... 146432 (27 %) A fatal error occurred: Invalid head of packet ('r') Interestingly this tim...
by kodefoo
Fri Sep 23, 2016 6:14 pm
Forum: ESP8266 boards
Topic: ESP01 MicroPython install
Replies: 43
Views: 22769

Re: ESP01 MicroPython install

RobertHH - Thanks! Yes. I have erased the flash each time, but I have not built the firmware from scratch. I was trying to avoid that, but perhaps I should give it a shot. Cannot tell. I use 'make deploy' for flashing, which issues the command: esptool.py --port /dev/ttyUSB0 --baud 115200 write_flas...
by kodefoo
Fri Sep 23, 2016 4:44 pm
Forum: ESP8266 boards
Topic: ESP01 MicroPython install
Replies: 43
Views: 22769

Re: ESP01 MicroPython install

One more observation. I did flash a sketch via the arduino to the ESP01. It scans wifi and reports the names of the access points it sees. So it looks like the board is functional from that aspect. Thanks.
by kodefoo
Fri Sep 23, 2016 3:35 pm
Forum: ESP8266 boards
Topic: ESP01 MicroPython install
Replies: 43
Views: 22769

Re: ESP01 MicroPython install

Ok. Another interesting thing. I just flashed the latest daily firmware for the heck of it and I used a much higher baud rate (400000 vs 115200) based on RobertHH's post that higher baud rates should be used for flashing. The flash went MUCH faster as you can imagine. Then the output from the device...
by kodefoo
Fri Sep 23, 2016 3:16 pm
Forum: ESP8266 boards
Topic: ESP01 MicroPython install
Replies: 43
Views: 22769

Re: ESP01 MicroPython install

Just to clarify. I do have the arduino reset pin GND. I'm using the epstool to flash. I am just wondering if there is something on the CLI that I am not doing correctly. This is the CLI I am using now. esptool -pCOM6 -b115200 write_flash --flash_size 8m 0 esp8266-20160923-v1.8.4-59-g6d310a5.bin This...
by kodefoo
Fri Sep 23, 2016 6:27 am
Forum: ESP8266 boards
Topic: ESP01 MicroPython install
Replies: 43
Views: 22769

Re: ESP01 MicroPython install

Thank you for the input. I have double checked the lines to the ESP01 twice and reflashed it many many times with all the v1.8 firmwares. I also tried multiple SPI modes, but that didn't make any difference. They all do the same thing as I mentioned originally. They finish loading and then spew Fata...
by kodefoo
Wed Sep 21, 2016 4:11 am
Forum: ESP8266 boards
Topic: ESP01 MicroPython install
Replies: 43
Views: 22769

ESP01 MicroPython install

Hello! This is my first post. I've been doing some experimenting with an ESP01 board from Addicore (http://www.addicore.com/ESP8266-ESP-01-p/130.htm). I would like to get MicroPython running on this board if possible, but I'm running into some trouble. I've flashed the latest v1.8.4 firmware, but I ...