We are building up a repository of serial bootloader firmwares for various PIC microcontrollers. These are small hex files that are loaded into the microcontroller that allow the chip to be programmed via TimyBootloader+ that is now included with Great Cow Basic. The need for a programmer is eliminated. However you will need access to a Pickit3 to initially program the bootloader into the chip. A Pickit2 can be used with some older chips but is not generally recommended.
You will need a PC/Laptop with a serial port or a $3 USB/TTL Adapter. The adapter must bring out RX, TX and either DTR or RTS. We recommend adaptors based upon the SiLabs CP2102 Chip. Others may also work but have not been tested.
So far there are bootloader firmwares(hex) completed for the following Chips. These are under test and will be made available soon.
I am taking requests for chips that are not on the above list. Here are the current requirements.
PIC Chip must be currently in production
12F, 16F or 18F only at this time
Min 2kb Flash (1K Words)
Chip should have a USART
I may consider chips with no USART on a case by case basis.
If you would like a bootloader for any specific Pic Microcontroller that is not in the above list, reply to this post with the chip name and I will put it in the queue.
If you would like a bootloader to test from the list above, let me know.
William
Last edit: William Roth 2016-11-04
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can program the 18F47K40 with Pickit3 if you use MPLABX IPE for programming. Download MPLABX and install IPE. Then use this line in you flashPic.bat file
I'm interested in 18F25k42 and 18F45k42 found in the list of the devices allowed by GCBASIC and not in the list of PICKIT3 devices (at least in the list I have).
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A bootloader is not necessary for these chips. Both the 18F25K42 and 18F45K42 can be programmed with the PICKIT3 using MPLABX IPE.
Download MPLABX and when the install starts, select MPLAB IPE (You dont need IDE). After IPE is installed you will need to edit your FlashPic.bat file for use with MPLABX IPE.
William
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can confirm that 18f47k40 do work fine with MPLABX IPE but you must lower the expected voltage to 4.65V or something like that for it to be detected / programmed.
Can't get Timer0 to work on these puppies though so i suspect the chip definition file should be updated, but frankly it is most probably due to my lack of expertise.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
We are building up a repository of serial bootloader firmwares for various PIC microcontrollers. These are small hex files that are loaded into the microcontroller that allow the chip to be programmed via TimyBootloader+ that is now included with Great Cow Basic. The need for a programmer is eliminated. However you will need access to a Pickit3 to initially program the bootloader into the chip. A Pickit2 can be used with some older chips but is not generally recommended.
You will need a PC/Laptop with a serial port or a $3 USB/TTL Adapter. The adapter must bring out RX, TX and either DTR or RTS. We recommend adaptors based upon the SiLabs CP2102 Chip. Others may also work but have not been tested.
So far there are bootloader firmwares(hex) completed for the following Chips. These are under test and will be made available soon.
I am taking requests for chips that are not on the above list. Here are the current requirements.
If you would like a bootloader for any specific Pic Microcontroller that is not in the above list, reply to this post with the chip name and I will put it in the queue.
If you would like a bootloader to test from the list above, let me know.
William
Last edit: William Roth 2016-11-04
I would like the 18F25K22 boot loader please. Is it necessary or is there a Microchip one that works with pickit2? Thanks.
If you have a Pickit2 then you do not need a bootloader. The 18F25K22 is supported by Pickit2.
A bootloader is used to allow programming via a serial USB/TTL serial adapter.
I purchased the PIC18F47K40 but I saw that the pickit3 not program.
Can you also include this micro?
Thanks
You can program the 18F47K40 with Pickit3 if you use MPLABX IPE for programming. Download MPLABX and install IPE. Then use this line in you flashPic.bat file
"C:\Program Files (x86)\Microchip\MPLABX\v3.55\mplab_ipe\ipecmd.jar" -TPPK3 -P%2 -M -F%1
Last edit: William Roth 2017-03-03
Thanks.
I'm interested in 18F25k42 and 18F45k42 found in the list of the devices allowed by GCBASIC and not in the list of PICKIT3 devices (at least in the list I have).
Thanks
@Guiseppe,
A bootloader is not necessary for these chips. Both the 18F25K42 and 18F45K42 can be programmed with the PICKIT3 using MPLABX IPE.
Download MPLABX and when the install starts, select MPLAB IPE (You dont need IDE). After IPE is installed you will need to edit your FlashPic.bat file for use with MPLABX IPE.
William
@Everyone - see https://sourceforge.net/p/gcbasic/discussion/579125/thread/b0593fa2/#df3f re the release support for the K42 chips.
Last edit: William Roth 2017-10-26
I can confirm that 18f47k40 do work fine with MPLABX IPE but you must lower the expected voltage to 4.65V or something like that for it to be detected / programmed.
Can't get Timer0 to work on these puppies though so i suspect the chip definition file should be updated, but frankly it is most probably due to my lack of expertise.