esptool.py: Exception('Invalid head of packet')
Posted: Sun Oct 26, 2014 1:43 pm
I'm getting this on my Mac and from the Linux VM from the 0.9.2 SDK:
Any ideas? I think the module is in firmware mode, since through the terminal, I'm only getting gibberish on power-up, and the AT commands don't work anymore. If I remove the pull-up on GPIO2 and the pull-down on GPIO0, everything is back to normal.
Code: Select all
./esptool.py --port /dev/cu.usbserial read_mem 0
Connecting...
Traceback (most recent call last):
File "./esptool.py", line 322, in <module>
print '0x%08x = 0x%08x' % (args.address, esp.read_reg(args.address))
File "./esptool.py", line 140, in read_reg
res = self.command(ESPROM.ESP_READ_REG, struct.pack('<I', addr))
File "./esptool.py", line 102, in command
raise Exception('Invalid head of packet')
Exception: Invalid head of packet
Any ideas? I think the module is in firmware mode, since through the terminal, I'm only getting gibberish on power-up, and the AT commands don't work anymore. If I remove the pull-up on GPIO2 and the pull-down on GPIO0, everything is back to normal.