Search found 23 matches
- Mon Feb 18, 2019 7:15 pm
- Forum: General Discussion and Questions
- Topic: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
- Replies: 17
- Views: 10972
Re: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
On the Wemos Pro mini, you could to set the flash size during loading to 4 MByte, since Micropython does not support more. There is a method for that, but it's not part of the standard procedure. Thanks Robert... so would the syntax for this be... esptool.py --port /dev/cu.SLAB_USBtoUART --baud 115...
- Mon Feb 18, 2019 6:51 pm
- Forum: General Discussion and Questions
- Topic: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
- Replies: 17
- Views: 10972
Re: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
Some ESP8266 boards require special esptool args. I have found the following -fm values to work on some hardware: esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash --verify --flash_size=8m -fm qio 0 build/firmware-combined.bin esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash --verify...
- Fri Feb 15, 2019 4:21 pm
- Forum: General Discussion and Questions
- Topic: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
- Replies: 17
- Views: 10972
Re: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
Thought I'd drop a reply in here to update. After much to'ing and fro'ing using my two existing ESP8266's, I decided to purchase two new ones. The news is that the two new ESP8266's worked perfectly first time with the process of erase_flash, write_flash, rshell, REPL - without seeing the dreaded er...
- Thu Feb 14, 2019 1:41 pm
- Forum: General Discussion and Questions
- Topic: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
- Replies: 17
- Views: 10972
Re: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
Latest update by the way... is that I have managed to successfully flash MicroPython on my new ESP32 board, but both of my ESP8266 boards fail to flash. I have a Wemos D1 Pro board and a ModeMCU board - both of which fail with the above error. So, this issue remains unresolved for me, so any help / ...
- Thu Feb 14, 2019 12:22 pm
- Forum: General Discussion and Questions
- Topic: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
- Replies: 17
- Views: 10972
Re: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
FYI, OP has asked same question here: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ... - Raspberry Pi Forums From what they're posting there it seems that they haven't flashed the MicroPython image correctly. Hs scruss Yes, asked over there too. The issue with f...
- Wed Feb 13, 2019 10:02 am
- Forum: General Discussion and Questions
- Topic: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
- Replies: 17
- Views: 10972
Re: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
UPDATE:
When I press the EN button on the ESP32 board after exiting, it seems to once again allow me to lacuna repl and run python scripts. I thought the serial driver was supposed to handle those type of items...?
Any advice on this?
When I press the EN button on the ESP32 board after exiting, it seems to once again allow me to lacuna repl and run python scripts. I thought the serial driver was supposed to handle those type of items...?
Any advice on this?
- Wed Feb 13, 2019 9:17 am
- Forum: General Discussion and Questions
- Topic: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
- Replies: 17
- Views: 10972
Re: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
If you can't get to a regular REPL prompt (i.e. >>>) using a serial program, then rshell definitely won't work, since rshell is basically just acting like a person typing things at the REPL. You need to resolve getting to REPL before rshell will do anything useful for you. In the last post the pico...
- Wed Feb 13, 2019 3:28 am
- Forum: General Discussion and Questions
- Topic: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
- Replies: 17
- Views: 10972
Re: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
Thanks for the response Dave. If you run add -d to rshell it will print out some additional information. Here you go for the 1st question... this is what was returned when adding -d pi@raspberrypi:~ $ rshell --buffer-size=30 -d -p /dev/ttyUSB0 Debug = True Port = /dev/ttyUSB0 Baud = 115200 User = mi...
- Wed Feb 13, 2019 12:14 am
- Forum: General Discussion and Questions
- Topic: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
- Replies: 17
- Views: 10972
Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
Hi All Ok, so I am messing around having fun with the RPi using it to flash my ESP8266 and ESP32 with MicroPython and have ensured I downloaded and flashed the correct versions for each ESP board. So far I have downloaded esptool and the MicroPython.bin, have successfully erased the default flash fi...
- Mon Feb 11, 2019 9:01 am
- Forum: ESP8266 boards
- Topic: Can not flash SonOff with MP
- Replies: 10
- Views: 8632
Re: Can not flash SonOff with MP
I am not super familiar with the Sonoff boards but I'm fairly certain the baud rate should be 115200 after you flashed the board. If you're getting some output, even if it's garbled, at least something is happing. Perhaps try a couple of other "standard" rates, e.g. 19200. Alas... same characters, ...