I am finally trying to use my MagTag for the first time but I'm unable to connect to it
I plug it into my laptop running windows 10 and it shows up as below:
I then run esptool.py and get the following error:
Code: Select all
esptool.py --port COM5 chip_id
esptool.py v3.2
Serial port COM5
Connecting.....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Traceback (most recent call last):
File "c:\users\JJ\appdata\local\programs\python\python39\lib\site-packages\esptool.py", line 377, in detect_chip
res = struct.unpack("<IBBBBBBBBI", res[:16]) # 4b flags, 1b flash_crypt_cnt, 7*1b key_purposes, 4b chip_id
struct.error: unpack requires a buffer of 16 bytes
Not sure how to resolve this??
Thanks