Hi; Here is a simple but versatile power supply board. It uses either a TO-220 7805 or a TO-92 78L05 (or other voltages). Power LED is optional, and can be on-board or remote with a header. Power switch is optional, install a 2-pin header and cut the trace between it. I usually use the power jack and cut a hole in the side of a case, then hot glue and black RTV to hold it. There is a power in 2-pin header as well as 2.1mm power jack. Headers are of course optional, just solder wires in the holes.
That is a huge size difference. When I try to update:
[root@localhost FIRMWARE]# ./pirate-loader_lnx --dev=/dev/ttyACM0 --hex=BPv4-firmware-v6.3-r2151.hex +++++++++++++++++++++++++++++++++++++++++++ Pirate-Loader for BP with Bootloader v4+ Loader version: 1.0.2 OS: Linux +++++++++++++++++++++++++++++++++++++++++++
Parsing HEX file [BPv4-firmware-v6.3-r2151.hex] Current record address is higher than maximum allowed, line 5507 Could not load HEX file, result=-1 [root@localhost FIRMWARE]#
edit: I recompiled the loader for V4. ls -l -rwxr-xr-x 1 mick mick 22904 Jul 21 00:50 pirate-loader_lnx drwxr-xr-x 2 mick mick 4096 Jul 21 00:50 pirate-loader-v4-source
[root@localhost BPv4-firmware]# ./pirate-loader_lnx --dev=/dev/ttyACM0 --hex=BPv4-firmware-v6.3-r2151.hex +++++++++++++++++++++++++++++++++++++++++++ Pirate-Loader for BP with Bootloader v4+ Loader version: 1.0.2 OS: S +++++++++++++++++++++++++++++++++++++++++++
Parsing HEX file [BPv4-firmware-v6.3-r2151.hex] Found 87552 words (262656 bytes) Opening serial device /dev/ttyACM0...OK Configuring serial port settings...OK Sending Hello to the Bootloader...OK
Now: [root@localhost BPv4-firmware]# ./pirate-loader_lnx --dev=/dev/ttyACM0 --hex=BPv4-firmware-v6.3-r2151.hex +++++++++++++++++++++++++++++++++++++++++++ Pirate-Loader for BP with Bootloader v4+ Loader version: 1.0.2 OS: S +++++++++++++++++++++++++++++++++++++++++++
Parsing HEX file [BPv4-firmware-v6.3-r2151.hex] Found 87552 words (262656 bytes) Opening serial device /dev/ttyACM0...OK Configuring serial port settings...OK Sending Hello to the Bootloader...ERROR No reply from the bootloader, or invalid reply received: 0 Please make sure that PGND and PGC are connected, replug the devide and try again [root@localhost BPv4-firmware]#
One dead BPv4. This happened to me before, but since my account was deleted the fix is gone. I will break out my Pickit and see.