Skip to main content

Topics

This section allows you to view all Topics made by this member. Note that you can only see Topics made in areas you currently have access to.

Topics - poshpaws

1
Bus Pirate Support / Firmware 4.2 - BPv3-STK500v2 mode
HI I flashed my BP to 4.2 and all was working well (some i2c debuging)
i figured I would also try out the STK500 personality and flashed the firmware

now how do i got back to the BP4.1 firmware .. as no matter what I do i cannot get the pirate_loader to see the BP to enable me to flash the BP

HELP!

-------------- try'd with both the PGND and PGC connected and without ----------

./pirate-loader_mac --dev=/dev/tty.usbserial-PirateV3 --verbose --hex=BPv3&v2go/BPv3-Bootloader-v4.2.hex
+++++++++++++++++++++++++++++++++++++++++++
  Pirate-Loader for BP with Bootloader v4+ 
  Loader version: 1.0.1  OS: Darwin
+++++++++++++++++++++++++++++++++++++++++++

Parsing HEX file [BPv3&v2go/BPv3-Bootloader-v4.2.hex]
Found 22016 words (66048 bytes)
Fixing bootloader/userprogram jumps
Opening serial device /dev/tty.usbserial-PirateV3...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
2
Bus Pirate Support / i2c newbie help
Hi , I am just the the process of learning to use my BP3
i have a number of byvac relay boards (0x32 and  0x31)

i hook up a board to my BP as but i see many devices (this is the same for my blinkm , pcf8575 motor boards etc.
what am I doing wrong here

I2C>i
Bus Pirate v3
Firmware v4.1 Bootloader v4.1
DEVID:0x0447 REVID:0x3043 (B5)
http://dangerousprototypes.com
*----------*
POWER SUPPLIES ON
Voltage monitors: 5V: 5.00 | 3.3V: 3.30 | VPULLUP: 0.00 |
a/A/@ controls AUX pin
Open drain outputs (H=Hi-Z, L=GND)
Pull-up resistors ON
Bitorder configuration not allowed
*----------*
I2C>(1)
Searching 7bit I2C address space.
   Found devices at:
0x00(0x00 W) 0x01(0x00 R) 0x02(0x01 W) 0x03(0x01 R) 0x04(0x02 W) 0x05(0x02 R) 0x06(0x03 W) 0x07(0x03 R) 0x08(0x04 W) 0x09(0x04 R) 0x0A(0x05 W) 0x0B(0x05 R) 0x0C(0x06 W) 0x0D(0x06 R) 0x0E(0x07 W) 0x0F(0x07 R) 0x10(0x08 W) 0x11(0x08 R) 0x12(0x09 W) 0x13(0x09 R) 0x14(0x0A W) 0x15(0x0A R) 0x16(0x0B W) 0x17(0x0B R) 0x18(0x0C W) 0x19(0x0C R) 0x1A(0x0D W) 0x1B(0x0D R) 0x1C(0x0E W) 0x1D(0x0E R) 0x1E(0x0F W) 0x1F(0x0F R) 0x20(0x10 W) 0x21(0x10 R) 0x22(0x11 W) 0x23(0x11 R) 0x24(0x12 W) 0x25(0x12 R) 0x26(0x13 W) 0x27(0x13 R) 0x28(0x14 W) 0x29(0x14 R) 0x2A(0x15 W) 0x2B(0x15 R) 0x2C(0x16 W) 0x2D(0x16 R) 0x2E(0x17 W) 0x2F(0x17 R) 0x30(0x18 W) 0x31(0x18 R) 0x32(0x19 W) 0x33(0x19 R) 0x34(0x1A W) 0x35(0x1A R) 0x36(0x1B W) 0x37(0x1B R) 0x38(0x1C W) 0x39(0x1C R) 0x3A(0x1D W) 0x3B(0x1D R) 0x3C(0x1E W) 0x3D(0x1E R) 0x3E(0x1F W) 0x3F(0x1F R) 0x40(0x20 W) 0x41(0x20 R) 0x42(0x21 W) 0x43(0x21 R) 0x44(0x22 W) 0x45(0x22 R) 0x46(0x23 W) 0x47(0x23 R) 0x48(0x24 W) 0x49(0x24 R) 0x4A(0x25 W) 0x4B(0x25 R) 0x4C(0x26 W) 0x4D(0x26 R) 0x4E(0x27 W) 0x4F(0x27 R) 0x50(0x28 W) 0x51(0x28 R) 0x52(0x29 W) 0x53(0x29 R) 0x54(0x2A W) 0x55(0x2A R) 0x56(0x2B W) 0x57(0x2B R) 0x58(0x2C W) 0x59(0x2C R) 0x5A(0x2D W) 0x5B(0x2D R) 0x5C(0x2E W) 0x5D(0x2E R) 0x5E(0x2F W) 0x5F(0x2F R) 0x60(0x30 W) 0x61(0x30 R) 0x62(0x31 W) 0x63(0x31 R) 0x64(0x32 W) 0x65(0x32 R) 0x66(0x33 W) 0x67(0x33 R) 0x68(0x34 W) 0x69(0x34 R) 0x6A(0x35 W) 0x6B(0x35 R) 0x6C(0x36 W) 0x6D(0x36 R) 0x6E(0x37 W) 0x6F(0x37 R) 0x70(0x38 W) 0x71(0x38 R) 0x72(0x39 W) 0x73(0x39 R) 0x74(0x3A W) 0x75(0x3A R) 0x76(0x3B W) 0x77(0x3B R) 0x78(0x3C W) 0x79(0x3C R) 0x7A(0x3D W) 0x7B(0x3D R) 0x7C(0x3E W) 0x7D(0x3E R) 0x7E(0x3F W) 0x7F(0x3F R) 0x80(0x40 W) 0x81(0x40 R) 0x82(0x41 W) 0x83(0x41 R) 0x84(0x42 W) 0x85(0x42 R) 0x86(0x43 W) 0x87(0x43 R) 0x88(0x44 W) 0x89(0x44 R) 0x8A(0x45 W) 0x8B(0x45 R) 0x8C(0x46 W) 0x8D(0x46 R) 0x8E(0x47 W) 0x8F(0x47 R) 0x90(0x48 W) 0x91(0x48 R) 0x92(0x49 W) 0x93(0x49 R) 0x94(0x4A W) 0x95(0x4A R) 0x96(0x4B W) 0x97(0x4B R) 0x98(0x4C W) 0x99(0x4C R) 0x9A(0x4D W) 0x9B(0x4D R) 0x9C(0x4E W) 0x9D(0x4E R) 0x9E(0x4F W) 0x9F(0x4F R) 0xA0(0x50 W) 0xA1(0x50 R) 0xA2(0x51 W) 0xA3(0x51 R) 0xA4(0x52 W) 0xA5(0x52 R) 0xA6(0x53 W) 0xA7(0x53 R) 0xA8(0x54 W) 0xA9(0x54 R) 0xAA(0x55 W) 0xAB(0x55 R) 0xAC(0x56 W) 0xAD(0x56 R) 0xAE(0x57 W) 0xAF(0x57 R) 0xB0(0x58 W) 0xB1(0x58 R) 0xB2(0x59 W) 0xB3(0x59 R) 0xB4(0x5A W) 0xB5(0x5A R) 0xB6(0x5B W) 0xB7(0x5B R) 0xB8(0x5C W) 0xB9(0x5C R) 0xBA(0x5D W) 0xBB(0x5D R) 0xBC(0x5E W) 0xBD(0x5E R) 0xBE(0x5F W) 0xBF(0x5F R) 0xC0(0x60 W) 0xC1(0x60 R) 0xC2(0x61 W) 0xC3(0x61 R) 0xC4(0x62 W) 0xC5(0x62 R) 0xC6(0x63 W) 0xC7(0x63 R) 0xC8(0x64 W) 0xC9(0x64 R) 0xCA(0x65 W) 0xCB(0x65 R) 0xCC(0x66 W) 0xCD(0x66 R) 0xCE(0x67 W) 0xCF(0x67 R) 0xD0(0x68 W) 0xD1(0x68 R) 0xD2(0x69 W) 0xD3(0x69 R) 0xD4(0x6A W) 0xD5(0x6A R) 0xD6(0x6B W) 0xD7(0x6B R) 0xD8(0x6C W) 0xD9(0x6C R) 0xDA(0x6D W) 0xDB(0x6D R) 0xDC(0x6E W) 0xDD(0x6E R) 0xDE(0x6F W) 0xDF(0x6F R) 0xE0(0x70 W) 0xE1(0x70 R) 0xE2(0x71 W) 0xE3(0x71 R) 0xE4(0x72 W) 0xE5(0x72 R) 0xE6(0x73 W) 0xE7(0x73 R) 0xE8(0x74 W) 0xE9(0x74 R) 0xEA(0x75 W) 0xEB(0x75 R) 0xEC(0x76 W) 0xED(0x76 R) 0xEE(0x77 W) 0xEF(0x77 R) 0xF0(0x78 W) 0xF1(0x78 R) 0xF2(0x79 W) 0xF3(0x79 R) 0xF4(0x7A W) 0xF5(0x7A R) 0xF6(0x7B W) 0xF7(0x7B R) 0xF8(0x7C W) 0xF9(0x7C R) 0xFA(0x7D W) 0xFB(0x7D R) 0xFC(0x7E W) 0xFD(0x7E R) 0xFE(0x7F W) 0xFF(0x7F R)



from the datasheet : s 0x32 0x1 0x1 p - should fire the relay but it does not
I2C>{0x32 0xA0 r:2}
I2C START BIT
WRITE: 0x32 ACK
WRITE: 0xA0 ACK
READ 0x02 BYTES:
0x00 ACK 0x00 NACK
I2C STOP BIT
I2C>{0x32 0x1 0x1}
I2C START BIT
WRITE: 0x32 ACK
WRITE: 0x01 ACK
WRITE: 0x01 ACK
I2C STOP BIT
I2C>

all the boards work via my arduino so i know they are working ok.

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