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

Pic18F46k22 Bootloader?

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



Joined: 12 Jul 2019
Posts: 3

View user's profile Send private message

Pic18F46k22 Bootloader?
PostPosted: Fri Jul 12, 2019 4:35 am     Reply with quote

Good day all, have anybody got the CCS bootloader to work on the 18F46k22?
Have been trying for a long time now, got it working once but never wanted to load again. Would appreciate it if someone could share their loader.c and load.c files as I have to get a reliable bootloader working.
Thanx in advance.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Jul 13, 2019 7:24 pm     Reply with quote

Post your CCS compiler version, and please don't let it be vs. 5.008 or
some low number like that.
Badwoef



Joined: 12 Jul 2019
Posts: 3

View user's profile Send private message

PostPosted: Sun Jul 14, 2019 11:48 pm     Reply with quote

I am currently using ver.5.082
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Jul 15, 2019 1:31 am     Reply with quote

The CCS loader.c file says this at the top:
Quote:
The driver uses XON/XOFF flow control. Also, any buffer on
the PC UART must be turned off, or to its lowest setting,
otherwise it will miss data.

Did you enable XON/XOFF in Windows ?
Badwoef



Joined: 12 Jul 2019
Posts: 3

View user's profile Send private message

PostPosted: Mon Jul 15, 2019 1:44 am     Reply with quote

Yes I did, I am not really sure what the memory mapping settings should be and suspect that this might be the problem.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Jul 15, 2019 1:55 am     Reply with quote

If the #org settings are wrong, it won't compile. Does it compile with
no errors ?
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