Using Flowcode with the TINY PIC Bootloader
Posted: Thu May 01, 2008 1:07 pm
Hello
Flowcode can use the TINY PIC Bootloader developed by Claudiu Chiculita to program PICmicro chips via a RS232 serial connection.
Supported 16F PICmicro devices
87, 88, 873, 873A, 874, 874A, 876, 876A, 877, 877A
Supported 18F PICmicro devices
452, 242, 442, 2420, 2520, 4420, 4520, 458, 248, 448, 2480, 2580, 4480, 4580, 4620, 2525, 4525
1220, 2220, 2320, 6520, 8520, 6620, 8620, 6720, 6621, 4550, 2455, 4455, 2331, 2431, 4331, 2585, 2680, 4585
2480, 2580, 4480, 2525, 2620, 4525, 2220, 2320, 4220
Firstly download the project files from here.
http://www.etc.ugal.ro/cchiculita/softw ... loader.htm
Then download the correct hex file to the chip using PPP, PICkit or your preferred programming tool. Make sure you are using a 20MHz crystal and also set the configuration in PPP to HS oscillator mode, Watchdog off, LVP Off.
Once this has been done the bootloader is present on the PICmicro device. You can test the bootloader operation by loading the "tinybldWin.exe" file located in the download, selecting the correct COM port, connecting a RS232 cable between the UART and the COM port with adequate voltage shifting properties (MAX232 chip or some designs just use resistors and diodes) and clicking CheckPIC. The baud rate to use is specified in the name of the hex file that was programmed onto the PICmicro.
If the PICmicro device is detected then the software reports "Found: 16F 88" as an example.
Flowcode programs can be compiled and then the bootloader software can be used to transfer the hex file onto the chip.
Alternatively by clicking on Chip -> Compiler options in Flowcode you can specify that Flowcode uses the TINY Bootloader programmer directly.
Set the Programmer Location to point to the "tinybldWin.exe" programming file.
Eg: C:\TinyBootloader\tinybldWin.exe
Set the Programmer parameters to: "%f.hex"
Now when clicking the compile to chip button, Flowcode will trigger the TINY Bootloader software and start the programming process. You must manually restart the chip before the programming timeout is reached for the chip to be detected and programming to complete successfully.
Flowcode can use the TINY PIC Bootloader developed by Claudiu Chiculita to program PICmicro chips via a RS232 serial connection.
Supported 16F PICmicro devices
87, 88, 873, 873A, 874, 874A, 876, 876A, 877, 877A
Supported 18F PICmicro devices
452, 242, 442, 2420, 2520, 4420, 4520, 458, 248, 448, 2480, 2580, 4480, 4580, 4620, 2525, 4525
1220, 2220, 2320, 6520, 8520, 6620, 8620, 6720, 6621, 4550, 2455, 4455, 2331, 2431, 4331, 2585, 2680, 4585
2480, 2580, 4480, 2525, 2620, 4525, 2220, 2320, 4220
Firstly download the project files from here.
http://www.etc.ugal.ro/cchiculita/softw ... loader.htm
Then download the correct hex file to the chip using PPP, PICkit or your preferred programming tool. Make sure you are using a 20MHz crystal and also set the configuration in PPP to HS oscillator mode, Watchdog off, LVP Off.
Once this has been done the bootloader is present on the PICmicro device. You can test the bootloader operation by loading the "tinybldWin.exe" file located in the download, selecting the correct COM port, connecting a RS232 cable between the UART and the COM port with adequate voltage shifting properties (MAX232 chip or some designs just use resistors and diodes) and clicking CheckPIC. The baud rate to use is specified in the name of the hex file that was programmed onto the PICmicro.
If the PICmicro device is detected then the software reports "Found: 16F 88" as an example.
Flowcode programs can be compiled and then the bootloader software can be used to transfer the hex file onto the chip.
Alternatively by clicking on Chip -> Compiler options in Flowcode you can specify that Flowcode uses the TINY Bootloader programmer directly.
Set the Programmer Location to point to the "tinybldWin.exe" programming file.
Eg: C:\TinyBootloader\tinybldWin.exe
Set the Programmer parameters to: "%f.hex"
Now when clicking the compile to chip button, Flowcode will trigger the TINY Bootloader software and start the programming process. You must manually restart the chip before the programming timeout is reached for the chip to be detected and programming to complete successfully.