Skip to main content

Messages

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.

Messages - sirus

16
Pirate PIC programmer / Re: Pic24fj64gb002
also is this right? no MISO connection?

Bus Pirate --> PIC
MOSI --> PGD
CLK --> PGC
CS --> VPP/MCLR
GND --> GND
3.3v/5v->power (optional)
17
Pirate PIC programmer / Re: Pic24fj64gb002
I'm really just guessing at everything here. ive never worked with pic before, just got my bus pirate on saturday, had to download svn software and a compiler/ide to do just that pic.c mod and i've been pouring through the 352 page datasheet for the pic24fj64gb002 and it's companion programming datasheet for hours that turn into days. Going to give it another go today and see if I can get it up and running. no i dont have the adapter I'm 99% sure this is a low voltage chip. also when setting up the flash mem why is the pic24fj64ga setup as 344*256 ? the other pic was 16*1024 which makes sense to me. btw remember i have no experience doing any of this stuff


oh and now that you mention it i did flash a test firmware someone here flashed. BPv6RC572.hex maybe i should try it again on 5.10
18
Pirate PIC programmer / Pic24fj64gb002
supposed to work???


Code: [Select]
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)

Code: [Select]
    {
.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,
},
19
AVRDude / Re: Updated AVRDude for testing
got it to work! my cheat sheet has mosi and miso backward ... unless im reading it wrong

Code: [Select]
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>
20
AVRDude / Re: Updated AVRDude for testing
can we get a windows binary???

Code: [Select]
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.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01352313752session_write_close ( )...(null):0
20.01382445368ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01382446144Database_MySQL->query( ).../DatabaseHandler.php:119
40.05832584904Database_MySQL->error( ).../Db-mysql.class.php:273