CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Bootloader.c and SIOW.exe Problem

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
nilsener



Joined: 06 Dec 2005
Posts: 59

View user's profile Send private message

Bootloader.c and SIOW.exe Problem
PostPosted: Tue Feb 02, 2010 10:04 am     Reply with quote

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

View user's profile Send private message Visit poster's website

PostPosted: Tue Feb 02, 2010 10:17 am     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Feb 02, 2010 1:49 pm     Reply with quote

Try using TeraTerm instead of SIOW, as I recommended to you in
this earlier thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=40920
nilsener



Joined: 06 Dec 2005
Posts: 59

View user's profile Send private message

Bootloader.c and SIOW.exe Problem [DONE]
PostPosted: Wed Feb 03, 2010 2:21 am     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group