Creating a bootloader for a custom board #472
-
I recently found about chipKIT and I love the project, great job! I'm using a PIC32MX170F256D on a custom PCB, but I don't see the PIC listed in any of the supported boards in the repository. I can't seem to find documentation on how to create a bootloader for the MCU with chipKIT. I went through all files in the repository PIC32-avrdude-bootloader, but I can't find an already existing bootloader, nor any documentation on how to make my own, so my last resort was asking on this discussion section of Github. Can I get any information on how to approach building an avrdude bootloader with chipKIT? Btw, I using a PICKIT3 to program the device, and MPLAB X IDE to write the software. Thanks to everyone in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
The lack of documentation is basically because creating a custom bootloader is a slightly tricky process and writing a howto would be a long and involved thing that none of us like the idea of tackling :) The MX170, while supported, isn't actively used by any official boards, so we just haven't built a bootloader for it yet. The process, though is:
For the MX170 you'll be using the And then of course you need to craft a board configuration if you want to use the Arduino IDE / arduino-cli / UECIDE / PlatformIO etc, and that's another entire kettle of fish... |
Beta Was this translation helpful? Give feedback.
-
Stefan, What's on your board? It doesn't looks like the chip you are using has the Ethernet module so your probably good, but I know there are some bootloader issues that prevent Ethernet from working that may or may have not gotten pushed to the public repos. Also, I'm assuming that you found the bootloader MPLAB X repo's. Jacob |
Beta Was this translation helpful? Give feedback.
-
@kostoskistefan my Discord is: Papa J#6694 Unless I'm asleep, I'm on-line. |
Beta Was this translation helpful? Give feedback.
The lack of documentation is basically because creating a custom bootloader is a slightly tricky process and writing a howto would be a long and involved thing that none of us like the idea of tackling :)
The MX170, while supported, isn't actively used by any official boards, so we just haven't built a bootloader for it yet. The process, though is:
BoardConfig.h
file)