Search found 11 matches

by theMusicMan
Fri Feb 15, 2019 4:21 pm
Forum: General Discussion and Questions
Topic: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
Replies: 11
Views: 341

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...
by theMusicMan
Thu Feb 14, 2019 1:41 pm
Forum: General Discussion and Questions
Topic: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
Replies: 11
Views: 341

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 / ...
by theMusicMan
Thu Feb 14, 2019 12:22 pm
Forum: General Discussion and Questions
Topic: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
Replies: 11
Views: 341

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...
by theMusicMan
Wed Feb 13, 2019 10:02 am
Forum: General Discussion and Questions
Topic: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
Replies: 11
Views: 341

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?
by theMusicMan
Wed Feb 13, 2019 9:17 am
Forum: General Discussion and Questions
Topic: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
Replies: 11
Views: 341

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...
by theMusicMan
Wed Feb 13, 2019 3:28 am
Forum: General Discussion and Questions
Topic: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
Replies: 11
Views: 341

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...
by theMusicMan
Wed Feb 13, 2019 12:14 am
Forum: General Discussion and Questions
Topic: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
Replies: 11
Views: 341

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...
by theMusicMan
Mon Feb 11, 2019 9:01 am
Forum: ESP8266 boards
Topic: Can not flash SonOff with MP
Replies: 10
Views: 172

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, ...
by theMusicMan
Mon Feb 11, 2019 8:45 am
Forum: ESP8266 boards
Topic: Can not flash SonOff with MP
Replies: 10
Views: 172

Re: Can not flash SonOff with MP

You have to set the baudrate to 115200, calling it with picocom -b 115200 /dev/ttyUSB0 Many thanks Robert. OK, so I did this and what I get is a much faster version of what I posted earlier. The same strange characters are scrolling up my terminal window at a faster rate of knots!! Really appreciat...
by theMusicMan
Mon Feb 11, 2019 8:06 am
Forum: ESP8266 boards
Topic: Can not flash SonOff with MP
Replies: 10
Views: 172

Re: Can not flash SonOff with MP

[quote=dhylands post_id=34039 time=1549856088 user_id=81] I would first verify that you can connect using a regular serial comm program like picocom. You can then also verify that ubinascii.unhexlify is available. [/quote] OK, thanks. I am not a coder, So I installed picocom, and get this when I run...