Menu

Standalone Bootloader Application without Mono or Python on Raspberry Pi or Beaglebone Black

Requests
Josh Tyson
2016-11-01
2016-11-02
  • Josh Tyson

    Josh Tyson - 2016-11-01

    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++?

     
  • Anobium

    Anobium - 2016-11-01

    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

     
  • Josh Tyson

    Josh Tyson - 2016-11-02

    Thanks. I'll give it a go and post the code here if successful.

     
  • KeyCat

    KeyCat - 2017-10-20

    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
  • KeyCat

    KeyCat - 2017-10-26

    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...

    1. Configured serial port speed in main.c

    2. Added PIC code for the 16F1825 in picdata.c like...

      static PicData pics[] = {
      { "16F1825", 0x2A, 0x2000 },
      { "16F876A/16F877A", 0x31, 0x2000 },
      { "16F873A/16F874A", 0x32, 0x1000 },
      ...

    3. 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

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.