News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

FREELOADER FILE ACCESS

Started by JonW, Sep 29, 2026, 05:38 PM

Previous topic - Next topic

JonW

All Freeloader files, C source, Positron.bas files, and detailed descriptions are available here.   FREELOADER WEBSITE

Some are untested, and I will be going through them when I can.  The web page was about an hour of work so pretty easy and good for global updates

John, Les, please feel free to use any of the files on your own web pages.  If I need to fix or add anything, then I will post it on the web page above

Cheers

Jon

RGV250

Blimey Jon, you have been busy. It has certainly given me a lot of reading to do, it also looks like you can print it which is much easier for me to sit with a pint. Nobody is going to steal a load of paper but might be tempted if I leave a tablet while visiting the loo.

I really am grateful for this and cannot thank you enough for all the effort you have put in.

Regards,
Bob

JonW

#2
No worries Bob. If you go to the downloads page, all the docs are available as HTML and can be downloaded and opened in your browser.

I have just added an explanation and some drawings on the slot. This is really important and has changed from Tiny Bootloader to prevent the device from being bricked.

Gamboa

JonW,

Thank you for sharing this great work with the community.

I think it would be useful to add an option to reset the microcontroller using a command. Since a serial port is already available, there would be no need for an additional reset line.

For example, we could configure the following reset command: 02 80 81 07 48 30 37 45 03. The bootloader would send this byte sequence, triggering a reset of the microcontroller.

Best Regards,
Gamboa
Long live for you

JonW

#4
Hi Gamboa

I did consider this, but it may cause more confusion, as the user is responsible for the reset or branch to the bootloader sector. In addition, the user app and bootloader baud rates may differ, which can cause additional issues.   I will take a look in the next week or so; unfortunately, this has eaten up a few weeks' worth, and I need to get on with some $$ work ;D

I will have a look at the split baud, but will need to change all the bootloaders, as they need to reject glitching during baud changes.  Some of the lower-end CDC devices glitch the TX on a baud change.  Then have the option of either hex or ASCII reset packet.

JonW

#5
To make it bulletproof, it should include a split baud. I will need to update all non-K20 bootloaders to add extra glitch rejection, since the clock domain switch caused issues with bootloader sync (this is already fixed).  Some of the lower-end CDC IC's glitch the TX on a baud change too, so I am better off adding this to every bootloader to ensure it can't happen.  It should also have the option to use either a hex or an ASCII reset packet.

I'll leave the existing files on the site, then take them down and reissue them all once it is up and woring working; this is quite a big addition.

JonW

John, I added a picture from your webpage and a link.  Hope you don't mind

Jon

John Lawton

Hi Jon,

of course not, thank you for the publicity!

John
-----------------------------------------------------------------------------------------
Amicus 8 and 16A/16B dev boards
Especially created for Positron development
https://www.easy-driver.co.uk/Amicus

▲