"Unknown exception:list index out of range" when trying to upload first sketch
Posted: 30 Apr 2022 09:11
I've already programmed two Z-Unos, and I just bought two more. I cannot upload a sketch to either of them. When I try to upload something, I get the message below. It seems to be able to open the port and interact with the board enough to detect a corrupted S2 key, but then I get a "list index out of range". I get the same problem if I just try to burn a new boot-loader.
This also happens if I put it into rescue mode. Also, these Z-uno's are right out of the box. They're just sitting there running their blink sketch that they were shipped with.
Upload output follows:
This also happens if I put it into rescue mode. Also, these Z-uno's are right out of the box. They're just sitting there running their blink sketch that they were shipped with.
Upload output follows:
Code: Select all
Openning port ..............................
Openning port .............................. OK
Stoping the user code ..............................
Stoping the user code .............................. OK
Closing port ..............................
Closing port .............................. OK
Openning port ..............................
Openning port .............................. OK
*** FOUND corrupted S2 key ***
NEW S2 KEYS
*****
PRK:
HEX: C0 87 FC 3A 87 A8 E5 66 32 28 57 13 B5 64 EB 13 86 56 3D C0 81 63 85 A9 CA 1D C1 3E 91 41 DD 68
DEC:49287-64570-34728-58726-12124-24291-46420-60179-34390-15808-33123-34217-51741-49470-37185-56680
PUK:
HEX: 24 B4 75 F6 62 95 B1 5A 2F 10 11 E5 25 A2 B1 BA B9 94 F7 6E 74 88 99 2A A0 5B 9E F9 5C 1D 2A 59
DEC:09396-30198-25227-45402-12148-04597-09618-45498-47508-63342-29832-39210-41051-40697-23581-10841
*****
RAW Info:
----------------------------------------------------------
FIRMWARE DATA
----------------------------------------------------------
(<type 'exceptions.IndexError'>, '<string>', 533)
**** **** **** **** **** *
* * * * * * * * * *
* * * * * * * * * *
**** *** *** * * *** *
* * * * * * * * *
**** * * * * **** * * *
Error 0 Unknown exception "list index out of range"
--------------------------
upload complete.