First off, thanks for this awesome software. It is truely great.
I am looking for a console only application that I can use to load hex files to a PIC 16F1825 without Mono or Python dependencies. We have a very limited OS installed on a Beaglebone Black based on a very lite version of Debian. Python and many other common tools were gutted to save space. If there isn't anything readily available, how difficult would it be to port your tool to NodeJS or C/C++?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Found some C code by a gentleman named Joseph Heenan (see URL below) and been trying to add support for the PIC16F1825 but unfortunately without success and maybe someone can spot what I'm doing wrong...
Code compiles just fine but does not see any PIC and just times out when trying to
upload new firmware using....
./bootloader /dev/ttyAMA0 blink.hex
I have verified that the Bootloader code in the PIC16F1825 works by using a Windows
machine and the SW included in latest version of the Tiny Multi Bootloader+.
Any ideas greatly appreciated!
Last edit: KeyCat 2017-10-26
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First off, thanks for this awesome software. It is truely great.
I am looking for a console only application that I can use to load hex files to a PIC 16F1825 without Mono or Python dependencies. We have a very limited OS installed on a Beaglebone Black based on a very lite version of Debian. Python and many other common tools were gutted to save space. If there isn't anything readily available, how difficult would it be to port your tool to NodeJS or C/C++?
The protocol is not hard to understand. Take the source and give it a go.
The source is well documented so I think it is easily possible.
Anobium
Thanks. I'll give it a go and post the code here if successful.
I'm looking for the same, did you have any luck or are there now other options for the 16F182x available?
Also wan't to say thanks to all dev's, the bootloader works great!
Last edit: KeyCat 2017-10-20
Found some C code by a gentleman named Joseph Heenan (see URL below) and been trying to add support for the PIC16F1825 but unfortunately without success and maybe someone can spot what I'm doing wrong...
https://github.com/jogu/pic-bootloaders
What I done is simply this...
Configured serial port speed in main.c
Added PIC code for the 16F1825 in picdata.c like...
static PicData pics[] = {
{ "16F1825", 0x2A, 0x2000 },
{ "16F876A/16F877A", 0x31, 0x2000 },
{ "16F873A/16F874A", 0x32, 0x1000 },
...
Code compiles just fine but does not see any PIC and just times out when trying to
upload new firmware using....
./bootloader /dev/ttyAMA0 blink.hex
I have verified that the Bootloader code in the PIC16F1825 works by using a Windows
machine and the SW included in latest version of the Tiny Multi Bootloader+.
Any ideas greatly appreciated!
Last edit: KeyCat 2017-10-26