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

1
AVRDude / Help getting started OS X
I'm a noob to avrdude: I've installed AVRDude using the latest Crosspack, but then AVRDude reports that buspirate is not a valid programmer. I see in various places on the web [such as http://dangerousprototypes.com/2011/08/ ... provement/] that there are updates and/or patches to enable buspirate, but apparently it assumes that the reader knows how to make the updates or patches. How do I update AVRDude to include buspirate?

"I'm an artist, not a programmer, Jim!"
2
Bus Pirate Support / SPIRAM 23K256 not working
I have a Seeed BPv3a running 4.1 firmware. I've had success with I2C, but none at all with the SPI RAM chips 23K256 and 23K640.

Using the demo for the 23K256 chip at http://http://dangerousprototypes.com/docs/23K256_32K_serial_RAM, I can apparently write to the chip, but all of the reads come back as "0x00".

I'm assuming that there is something that I'm doing wrong, and so I've gone down my list of possible reasons for the unexpected results:

1. The BP is broken: I've done the Self-test, and it comes back as fully functional.
2. The IC is broken: I've tried this on two 23K256's and two 23K640's.
3. The IC is placed on the breadboard backwards: Nope.
4. The wires to and from the BP are incorrect: I'm using the Seeedstudio Cable Pin Reference that's at http://http://dangerousprototypes.com/docs/Common_Bus_Pirate_cable_pinouts
5. The commands that I'm using are incorrect: I'm doing copy/paste from the demo, and here's what I get:

Code: [Select]
Bus Pirate v3
Firmware v4.1 Bootloader v4.1
DEVID:0x0447 REVID:0x3043 (B5)
http://dangerousprototypes.com
HiZ>m
1. HiZ
2. 1-WIRE
3. UART
4. I2C
5. SPI
6. JTAG
7. RAW2WIRE
8. RAW3WIRE
9. PC KEYBOARD
10. LCD
(1) >5
Mode selected
Set speed:
 1. 30KHz
 2. 125KHz
 3. 250KHz
 4. 1MHz
(1) >4
Clock polarity:
 1. Idle low *default
 2. Idle high
(1) >
Output clock edge:
 1. Idle to active
 2. Active to idle *default
(2) >
Input sample phase:
 1. Middle *default
 2. End
(1) >
Select output type:
 1. Open drain (H=Hi-Z, L=GND)
 2. Normal (H=3.3V, L=GND)
(1) >
READY
SPI>
* Syntax error, type ? for help
SPI>[0x01 0b01000001]
CS ENABLED
WRITE: 0x01
WRITE: 0x41
CS DISABLED
SPI>[5 r]
CS ENABLED
WRITE: 0x05
READ: 0x00
CS DISABLED
SPI>[0x02 0 0 5 6 7 8 9 10 11 12 13]
CS ENABLED
WRITE: 0x02
WRITE: 0x00
WRITE: 0x00
WRITE: 0x05
WRITE: 0x06
WRITE: 0x07
WRITE: 0x08
WRITE: 0x09
WRITE: 0x0A
WRITE: 0x0B
WRITE: 0x0C
WRITE: 0x0D
CS DISABLED
SPI>[0x03 0 0 r:9]
CS ENABLED
WRITE: 0x03
WRITE: 0x00
WRITE: 0x00
READ 0x09 BYTES:
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
CS DISABLED
SPI>
Surely there must be some simple thing that I'm missing...?

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