News:

;) This forum is the property of Proton software developers

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

JonW

#8
Hi Gamboa

I have added the string function to the command line and also built a C GUI; this will be limited to the machine used but should work on Windows 7 and above, and a command-line version. I am just testing it now and doing some examples. Do you have a preferred device?

The new version can pass up to 32 bytes in hex or string format, and at a different baud rate, since your application baud may differ from the BL baud.  In theory, you want the BL to push the data at the fastest rate.


Its not live yet as I am still testing it :-)


(John L)  Boards arrived, thanks, mate.

RGV250

Hi Jon,
Quotealso built a C GUI; this will be limited to the machine used but should work on Windows 7 and above, and a command-line version. I am just testing it now and doing some examples.
I am a little confused now, I would like to try this on Win 7 as that is what I use for most programming, there seems to be help for it but no download. Also there is a Python download but no help?
Is the actual download coming later.

Oops, missed that.
Its not live yet as I am still testing it :-)

Regards,
Bob

JonW

Hi Bob

No, it's new, and I haven't fully tested it yet, so it's not up.  I was going to do this over the weekend.  I need to change all the bootloaders and add a glitch-rejection routine because a baud rate change can cause a TX glitch, and the bootloader will read it as a byte and fail.

You can still try the command-line version on the site and the respective bootloader.  95% of the command line is the same as the above, and it will run on Win 7.  The other GUI on the site was a Python build, and I have decided to ditch it now since it's too version-sensitive.  From now on, it will be C.

Sorry for the confusion; by Mon I will have uploaded all the tested BL, new command line and C GUI to the site. 


▲