16
Pirate PIC programmer / Re: Pic24fj64gb002
Bus Pirate --> PIC
MOSI --> PGD
CLK --> PGC
CS --> VPP/MCLR
GND --> GND
3.3v/5v->power (optional)
Open Source Hardware
This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.
C:appsbuspirate>piratepicprog.exe -p buspirate -u COM2 -s 115200 -c 24FJ64GB002 -V
(Bus) Pirate PIC Programer v0.2
Initializing interface
115200
Entering binary mode
BP: Setup mode...
Setup peripherals...
(OK)
Found '24FJ64GB002' in programming database :) index = 3
Checking for 24FJ64GB002 attached to programmer...
Wrong device: 0XFFFF (ID: 0XFFFF REV: 0XFFFF)
{
.family = FAMILY_24FJxxGBxxx,
.proto = PROTO_PIC24,
.ID_addr = 0x00FF0000,
.word_size = 2,
.page_size = 256,
.icsp_type = ICSP_LVPP,
.icsp_key = 0x4D434851,
.erase_key = { 0x3f3f, 0x8f8f },
.write_delay = 1, //polled in 24FJ
.erase_delay = 524,
},
C:appsarduino>avrdude -c buspirate -P com2 -p attiny85 -F
Detecting BusPirate...
**
** Bus Pirate v3b
** Firmware v6.0RC (r572) Bootloader v4.2
** DEVID:0x0447 REVID:0x3043 (24FJ64GA002 B5)
** http://dangerousprototypes.com
**
BusPirate: using BINARY mode
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.14s
avrdude: Device signature = 0x1e930b
avrdude: safemode: Fuses OK
avrdude done. Thank you.
C:appsarduino>
C:appsarduinohardwaretoolsavrbin>avrdude -c buspirate -P com2 -p attiny85
-F
Detecting BusPirate...
**
** Bus Pirate v3b
** Firmware v5.10 (r559) Bootloader v4.2
** DEVID:0x0447 REVID:0x3043 (24FJ64GA002 B5)
** http://dangerousprototypes.com
**
BusPirate: using BINARY mode
avrdude: initialization failed, rc=-2
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATtiny85 is 1E 93 0B
avrdude done. Thank you.