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 - cosminnci

33
Bus Pirate Support / Re: PiratePICprog fails to program 24FJ64GA
C:picprog>picprog
(Bus) Pirate PIC Programer v0.2

pgd and pgc were conected, the mode led was on only on the programmer

I wrote everything again and now the mode led was on on target also
and the firmware uploaded correctly

Writing page 41 row 333, a680...OK
Writing page 41 row 334, a700...OK
Writing page 41 row 335, a780...OK

Firmware updated successfully :)!
Use screen COM8 115200 to verify

HiZ>i
Bus Pirate v3b
Firmware v6.0 r1625  Bootloader v4.4
DEVID:0x0447 REVID:0x3046 (24FJ64GA002 B8)
http://dangerousprototypes.com
HiZ>
I must have done something, but this time it worked.
thank you :)

I still do have some problems with the ftdi chip , the port appears and disappears by itself.
strange thing is that when I heat the board it stays on
34
Bus Pirate Support / PiratePICprog fails to program 24FJ64GA
I erased the chip
C:picprog>picprog -p buspirate -u COM5 -s 115200 -c 24FJ64GA002 -E
(Bus) Pirate PIC Programer v0.2

Initializing interface
115200
Entering binary mode
BP: Setup mode...
Setup peripherals...
(OK)
Found '24FJ64GA002' in programming database :) index = 2
Checking for 24FJ64GA002 attached to programmer...
Found 24FJ64GA002 (0X447, ID: 0X447 REV: 0)
Erasing chip... OK :)

C:picprog>

C:picprog>picprog -p buspirate -u COM5 -s 115200 -c 24FJ64GA002 -r -t HEX
(Bus) Pirate PIC Programer v0.2

Initializing interface
115200
Entering binary mode
BP: Setup mode...
Setup peripherals...
(OK)
Found '24FJ64GA002' in programming database :) index = 2
Checking for 24FJ64GA002 attached to programmer...
Found 24FJ64GA002 (0X447, ID: 0X447 REV: 0)
Reading page 0, 0000...
FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF
FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00
FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF
FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00
FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF
FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00
FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF
FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00
FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00
Reading page 1, 0100...
FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF
FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00
FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF
FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00
FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF
FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00
FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF
FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00
FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00
Reading page 2, 0200...

C:picprog>picprog -p buspirate -u COM5 -s 115200 -c 24FJ64GA002 -t HEX -w BPv3-Bootloader
-v4.4.hex
C:picprog>picprog -p buspirate -u COM5 -s 115200 -c 24FJ64GA002 -r -t HEX
(Bus) Pirate PIC Programer v0.2

Initializing interface
115200
Entering binary mode
BP: Setup mode...
Setup peripherals...
(OK)
Found '24FJ64GA002' in programming database :) index = 2
Checking for 24FJ64GA002 attached to programmer...
Found 24FJ64GA002 (0X447, ID: 0X447 REV: 0)
Reading page 0, 0000...
00 A8 04 00 00 00 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9
00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00
76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9
00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00
76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9
00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00
76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9
00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00
76 A9 00 00 76 A9 00 00 76 A9 00 00 76 A9 00 00
Reading page 1, 0100...

C:bp>BPv3-update-v6.bat

C:bp>pause
Press any key to continue . . .

C:bp>pirate-loader.exe --dev=COM8 --hex=BPv3-frimware-v6.hex
+++++++++++++++++++++++++++++++++++++++++++
  Pirate-Loader for BP with Bootloader v4+
  Loader version: 1.0.2  OS: WINDOWS
+++++++++++++++++++++++++++++++++++++++++++

Parsing HEX file [BPv3-frimware-v6.hex]
Found 21502 words (64506 bytes)
Fixing bootloader/userprogram jumps
Opening serial device COM8...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

C:bp>pause
Press any key to continue . . .

It looks like the bootloader is wrote to the chip
but when I try to access the bootloader for writing the firmware it does not respond
36
Bus Pirate Support / Re: DIY Bus Pirate V3.5a SOIC ftdi chip problem
Yes it was bad soldering on the chip, now it works, I see the com port.
I have wrote with picprog first the bootloader then the firmware , both say ok, but in the terminal I get no answer.
BPv3-Bootloader-v4.4.hex
BPv3-frimware-v6.hex
is this the correct order to upload the firmware?
37
Bus Pirate Support / Re: DIY Bus Pirate V3.5a SOIC ftdi chip problem
Yes I wrote the bootloader and the firmware on the pic with my BP V4 and picprog, it completed succesfully.
I had plugged ftdi brakout boards in the pc the drivers are already installed, but the win does not detect it.
I thought I have to initialize the new ftdi chip somehow.
38
Bus Pirate Support / DIY Bus Pirate V3.5a SOIC ftdi chip problem
I received the free pcb and assembled the board.
when I plug the usb the power and vreg are on and the usb is blinking but the pc does not recognize the ftdi chip
do I have to initialize the ftdi chip or I did something wrong?
I might have damaged the ft232?
41
Bus Pirate Support / Bus pirate Cheat Sheet
Is there a cheat sheet with all the commands Bus Pirate can accept?
I just read around the basic mode and printed a page with the basic commands for quick reference till get to learn them.

Would be nice to have something on one page with short descriptions for both base commands and basic mode.
42
Bus Pirate Support / Re: Bus Pirate frequency generator Hz range
Yes the macro works, but only 1 run
the activate method only takes first run and the repeat does not recognize the syntax.
somme kind of loop would be good.

and is there a way to make the macros persistent? when I unplug the BP the macros are gone.

( ! ) 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.01542442360session_write_close ( )...(null):0
20.01572573976ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01572574752Database_MySQL->query( ).../DatabaseHandler.php:119
40.06382713512Database_MySQL->error( ).../Db-mysql.class.php:273