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 CCS Technical Support

Bootloader for PIC18F46K20

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



Joined: 09 May 2005
Posts: 35
Location: Toulouse (France)

View user's profile Send private message MSN Messenger

Bootloader for PIC18F46K20
PostPosted: Tue Feb 08, 2011 4:02 am     Reply with quote

Hello everyone !

I've been using a regular PIC18F4620 for quite some times now, and always used Tiny Bootloader to update the firmware on RS232. Now I'm switching to use PIC18F46K20, so my question is : can I use the same HEX file than with the PIC18F4620 to load the bootloader into the PIC18F46K20 or do I have to modify it ? I'm not very familiar yet with the differences between the 18F4620 and the 18F46K20, but it seems it's mostly a consumption and technology matter, and bootloader should work the same. Isn't it ? Confused

Regards,
Christophe.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Feb 08, 2011 12:09 pm     Reply with quote

Look at the Programming Guides for each PIC. See if there are any
differences in the Config Bits and the Flash memory programming.

Webpage for 18F4620:
http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en010304

Webpage for 18F46K20:
http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en026331

I looked at this table in each Programming Guide and there is a difference.
One PIC sets the WREN bit and the other does not. I don't know if that
is accurate or not. Maybe there is an errata on the documentation.
Quote:

TABLE 3-5: WRITE CODE MEMORY CODE SEQUENCE
D-Kens



Joined: 09 May 2005
Posts: 35
Location: Toulouse (France)

View user's profile Send private message MSN Messenger

PostPosted: Thu Feb 10, 2011 8:58 am     Reply with quote

Thanks for your advice : I guess I should have started by doing that. Downloaded both Programming Specifications : I'll read and compare them as soon as possible. Embarassed
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