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

Looking for source code for PC side of USB Bootloader

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



Joined: 16 Mar 2020
Posts: 1

View user's profile Send private message AIM Address

Looking for source code for PC side of USB Bootloader
PostPosted: Mon Mar 16, 2020 3:10 am     Reply with quote

I have used the USB Bootloader in a number of cases with the CCS utilities but want to include the process in my own PC side program to make it a little easier for my users. If the code is available I would prefer to use it rather than having to reverse engineer it from the PIC side.

I'm probably going to do the PC side in python but C source would be good.

linedadelas
Ttelmah



Joined: 11 Mar 2010
Posts: 15723

View user's profile Send private message

PostPosted: Mon Mar 16, 2020 3:17 am     Reply with quote

There is really no code needed.
Just make sure the virtual com port is setup to implement XON/XOFF
handshaking (required because the bus has to be stopped whenever the
data is being written), and then just copy the file to the port. You can do
it in about three lines of shell script!...
Ideally search for the correct VID/PID so the com port can be auto
recognised,
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