-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Description
I tried to flash the device with a new Arduino, and I might have gotten the cables reversed (CD2D and C2CK).
I get new:
Once
* Running on http://127.0.0.1:4040/ (Press CTRL+C to quit)
Connected
x: 0x81
PI initiated
Device erased
0x0 0x0 020EF7ED24F8FEEFD39E4015ED2408FDE433FCC3EF9DEC6480F874809850028001C322020E678E438F448C458D46AB07AA06E4F9F87FE87E03FD1214039000C3E545F0A3E546F09000C1E543F0A3E544F043910422E59120E2FB2202100EE53675F00DA422F583E493FC740193FD22E4F5A92202120CD2011214A8C290C296D280E4FBFD7F101216321205CF74A4F0D2AFE4F52FF530D2960530E5307002052FB410F3E52FB427EEC2963001091213748E328F338006753201753300E5337004E532640170409000C6E07007F52FF5300202840530E5307002052FD39410E52F94274002D296D3E5309430E52F947550
x: 0x43
x: 0x43
x: 0x43
with the 0x43 going on forever
Based on the exception if I update the software to show it, I see:
Connected
x: 0x81
PI initiated
Device erased
0x0 0x0 020EF7ED24F8FEEFD39E4015ED2408FDE433FCC3EF9DEC6480F874809850028001C322020E678E438F448C458D46AB07AA06E4F9F87FE87E03FD1214039000C3E545F0A3E546F09000C1E543F0A3E544F043910422E59120E2FB2202100EE53675F00DA422F583E493FC740193FD22E4F5A92202120CD2011214A8C290C296D280E4FBFD7F101216321205CF74A4F0D2AFE4F52FF530D2960530E5307002052FB410F3E52FB427EEC2963001091213748E328F338006753201753300E5337004E532640170409000C6E07007F52FF5300202840530E5307002052FD39410E52F94274002D296D3E5309430E52F947550
Exception in prog: unpack requires a string argument of length 1
attempts: 1
Exception in conf: unpack requires a string argument of length 1
Exception in conf: unpack requires a string argument of length 1
Exception in conf: unpack requires a string argument of length 1
Exception in conf: unpack requires a string argument of length 1
x: 0x43
Exception in conf:
x: 0x43
Exception in conf:
x: 0x43
Exception in conf:
x: 0x43
Exception in conf:
I assume I get some sort of CRC error or something. Based on the error I assume the error is at line:
ret = struct.unpack('B', self.ser.read(1))[0]
Metadata
Metadata
Assignees
Labels
No labels