-
When I use LarduinoISP I noticed that the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
AFAICT we don't have a way currently to verify that code is correctly uploaded to the LGT8Fx boards and when debugging flakey issues I'm finding this unnerving. Looking into this, I wrote a simple sketch to verify that the 1st 80 bytes are written correctly by comparing what is in address 0 of PROGMEM with the hex of the compiled program. I'm finding the beginning 20 or so bytes often have small discrepensies for the LGT8Fx board and not for the ATMEGA328p nano board I am comparing it with. I used the bootloader for both boards. I'm also finding that when loading in the same code into the LGT8Fx board, the descrepencies seem inconsistent. Why would this be and does it signify a bigger issue? test code:
LGT8F328p output from serial port:
LGT8F328p data extracted from HEX file:
LGT8F328p raw contents of HEX file:
ATMEGA328p output from Serial Port:
ATMEGA328p data extracted from HEX file:
ATMEGA328p raw contents of HEX file:
|
Beta Was this translation helpful? Give feedback.
-
I'm finding that LArduinoISP actually passes the verification step at least some of the time, so I think it most likely that a verification fail is actually a connection or other hardware error. |
Beta Was this translation helpful? Give feedback.
I'm finding that LArduinoISP actually passes the verification step at least some of the time, so I think it most likely that a verification fail is actually a connection or other hardware error.