Error
Quote from Nast on December 9, 2024, 1:38 pmWhen flashing the board, it gives the following error Error: Wrong Start code at line 0
Although there are no errors in the code, what should I do?
When flashing the board, it gives the following error Error: Wrong Start code at line 0
Although there are no errors in the code, what should I do?
Quote from arcachofo on December 9, 2024, 1:47 pmHi.
"Error: Wrong Start code at line 0" usually means that you try to upload a non valid hex file.
Hi.
"Error: Wrong Start code at line 0" usually means that you try to upload a non valid hex file.
Quote from arcachofo on December 9, 2024, 2:14 pmIt means exactly that: "you try to upload a non valid hex file."
How can be fixed?
I don't know...
What kind of file are you uploading?
Is that file a valid hex file for that device?
It means exactly that: "you try to upload a non valid hex file."
How can be fixed?
I don't know...
What kind of file are you uploading?
Is that file a valid hex file for that device?
Quote from KerimF on December 11, 2024, 1:22 pmFor instance, the starting line of my AVR hex (created by Avrasm2) is:
:020000020000FC
I just got a warning that it is not valid (then ignored).
For instance, the starting line of my AVR hex (created by Avrasm2) is:
:020000020000FC
I just got a warning that it is not valid (then ignored).
Quote from arcachofo on December 11, 2024, 1:54 pmQuote from KerimF on December 11, 2024, 1:22 pmFor instance, the starting line of my AVR hex (created by Avrasm2) is:
:020000020000FC
I just got a warning that it is not valid (then ignored).
Yes, that is a warning, most probably: "Warning: Not supported Record type: 02 at line 0"
And in this case it can be safely ingored as data and address fields are both 0000.
That line is basically meaningless: indicates an address offset of 0, but some assemblers maybe add it by default even if not needed.But "Error: Wrong Start code at line 0" indicates that it is not a valid hex file, most probably not even an hex file.
Thinking about it... maybe he is trying to upload the source file directly?
Quote from KerimF on December 11, 2024, 1:22 pmFor instance, the starting line of my AVR hex (created by Avrasm2) is:
:020000020000FC
I just got a warning that it is not valid (then ignored).
Yes, that is a warning, most probably: "Warning: Not supported Record type: 02 at line 0"
And in this case it can be safely ingored as data and address fields are both 0000.
That line is basically meaningless: indicates an address offset of 0, but some assemblers maybe add it by default even if not needed.
But "Error: Wrong Start code at line 0" indicates that it is not a valid hex file, most probably not even an hex file.
Thinking about it... maybe he is trying to upload the source file directly?