[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Uisp-dev] Intel-HEX 01,03,05 record type - no checksum
From: |
Pavel Celeda |
Subject: |
[Uisp-dev] Intel-HEX 01,03,05 record type - no checksum |
Date: |
Fri, 3 Jan 2003 20:17:31 +0100 |
Hello,
I'm starting with AVR and Ethernut. I tested Ethernet Boot Loader
http://www.ethernut.de/arc/eboot100.zip and get Intel-HEX checksum
error. Originaly file eboot.rom contains record :040000031000E00009.
UISP discard record type 01,03,05, don't calculates correctly checksum
and fails to upload the hex file. Following patch solves this problem
:).
--- uisp-20021219cvs/src/MotIntl.C 2002-10-31 00:22:08.000000000 +0100
+++ uisp-20021219cvs.ok/src/MotIntl.C 2003-01-03 19:53:28.000000000
+0100
@@ -293,7 +293,12 @@
case 0x01: /* end */
case 0x03: /* start address record */
case 0x05: /* start linear address record */
- /* don't need to do anything */
+ /* don't need to do anything */
+ /* just ignore the 01,03,05 record except for
verifying checksum */
+ while(ihex_len-->0)
+ { Htoi(p);
+ p+=2;
+ }
break;
case
2:{
with best regards
CEBA
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Uisp-dev] Intel-HEX 01,03,05 record type - no checksum,
Pavel Celeda <=