Looking for source code for PC side of USB Bootloader
Posted: Mon Mar 16, 2020 3:10 am
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: 19545
Posted: Mon Mar 16, 2020 3:17 am
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,
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