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 issues dsPIC33CH

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



Joined: 07 Sep 2021
Posts: 7

View user's profile Send private message

Bootloader issues dsPIC33CH
PostPosted: Fri May 06, 2022 3:29 am     Reply with quote

Hi,

I am trying to use the bootloader in a dsPIC33CH. My goal is to eventually update firmware of the MCU remotely.
For now I am testing with the bootloader, but I can't get it working. Does someone have an example to update firmware multiple times using the bootloader with for example UART communication?
Ttelmah



Joined: 11 Mar 2010
Posts: 19496

View user's profile Send private message

PostPosted: Fri May 06, 2022 4:49 am     Reply with quote

Before you start trying to use the bootloader, you need to make sure
you have got a working serial port.
Then remember that NOIOL1WAY must be selected.
Obviously you _are_ using the PCD bootloader.
ccsbootloader.exe with the compiler will send a hex file to a PC serial
in the correct format for the bootloader.
It is not hard, just basically transmitting the hex file to the unit, but it
is critical that handshaking is used and works. The transfer has to stop
while each line is programmed.
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