View previous topic :: View next topic |
Author |
Message |
nilsener
Joined: 06 Dec 2005 Posts: 59
|
Bootloader.c and SIOW.exe Problem |
Posted: Tue Feb 02, 2010 10:04 am |
|
|
Hello,
we use the bootloader.c example.
If we download code to the 18F2520 with Siow.exe, it works fine until Siow reaches hex-code line 315.
Siow stops at line 315 with error message "timeout while downloading".
This error appears always at line 315 where address 0x1600 appears.
If we try to download an other code, it appears also at the line where address 0x1600 appears.
It seems that the bootloader can not process the line with address 0x1600.
Can one please advise me what to do?
Hex-Code snippet:
Line 313 :1015E000F29E010EA96EA69CA69EA680A850D7BF0B
Line 314 :1015F000F28ED36F010ED525D76FF46FD3C0F5F0FF
Line 315 :101600004DDF020ED525D76FF46FAA0EF56F46DFBA
Line 316 :1016100007D0010ED525D76FF46FAA0EF56F3EDF08
Line 317 :10162000030EF46FF56B3ADFEFEF27F0938E0400B3
Last edited by nilsener on Tue Feb 02, 2010 11:28 am; edited 1 time in total |
|
|
collink
Joined: 08 Jan 2010 Posts: 137 Location: Michigan
|
|
Posted: Tue Feb 02, 2010 10:17 am |
|
|
First off, edit your post and remove that source code! It's against forum rules to post any CCS source code |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
nilsener
Joined: 06 Dec 2005 Posts: 59
|
Bootloader.c and SIOW.exe Problem [DONE] |
Posted: Wed Feb 03, 2010 2:21 am |
|
|
It works now, CCS told me:
You need a new #USE RS232 after your "#ORG LOADER_ADDR+10, LOADER_END auto=0 default"
so that it uses a second copy of the RS232 functions in the default area and not the ones in the program area.
Best Regards
nilsener |
|
|
|