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

16
Bus Pirate Support / Re: I2C 24LC256 Help Please
@Sjaak,

I have the +5 volt on BP to Vcc on chip pin # 8.  I connected Vpu (Pull-Up) to +3.3 volt on BP.  I do not get that message.  I did get the message No Voltage found on Pullup pin before but not now.  Your saying connect both Vpu on BP and Pin # 8 (Vcc) of chip to +5 Volt pin on BP, both to the same pin on BP +5 volt?

I have pin # 4 ground to BP GND. There is still Pin # 1,2,3 and Pin #7 should all those be connected to ground as well?  I am at a loss where exactly Pin # 5 should connect to bus pirate?  According to the guide its suppose to connect to MOSI?  MOSI is for data in/out both in this case?  On the PICKIT 2 enhanced that is connected to the Aux.  I see an Aux on the BP so should Pin # 5 actually connect to Aux?

Here is another board I have and a Picture of the pin labels for the 24LC256

http://www.gqelectronicsllc.com/support ... 24LCXX.jpg

Thanks
17
Bus Pirate Support / Re: I2C 24LC256 Help Please
Actually mine is not the same as that chip, mine is a 24LC256.  This is different from the AA as far as I know but the connections seem to be the same but the commands do not print out the same results.

I cannot seem to get Ack.  Its saying Ack Off every write command.  I had this same problem with a Board I bought off EBay the PICKIT 2 Enhanced.  I could not read nor write to it.  Chip confirms working in MPLAB starter kit.  Starter kit is used solely for serial memory chips and nothing else.

I keep scratching my head on this.

Do I jumper the Pull-up?  Vpu to +5 on the BP?
18
Bus Pirate Support / Re: I2C 24LC256 Help Please
What about Pin # 8 which is Vcc where do I connect that?  I ran the search device (1) and it still does not find it .  I made sure W and P are executed from xterm.

Edited ok I connected +5 from BP to Pin # 8.  So I can only do Vpu +3 volt will that be enough for this chip?
19
Bus Pirate Support / [SOLVED] I2C 24LC256 Help Please
I seem to be having problems trying to get this device connected properly.

I know the device is working and is not faulty, in microchip mplab starter kit board and mplab software.

Datasheet Link:

http://ww1.microchip.com/downloads/en/d ... 21203m.pdf

From what I gather I need to connect only 3 pins of the 24LC256 to the Bus Pirate and do I need to jumper the pull-up (Vpu) to the +5 volt on the Bus Pirate?  This is what I read in the Bus Pirate guide for I2C.  I just want to confirm that.

Do I connect the Aux Pin # 5 to the Aux pin or MOSI of the Bus pirate?  I am confused because MOSI is data in what about data out? Here is the connection outlined in Bus Pirate

Bus Pirate    Dir.    Circuit    Description
MOSI   ↔    SDA    Serial Data
CLK   →    SCL    Serial Clock
GND   ⏚    GND    Signal Ground


In Mplab I connect Aux from PICKIT 2 to Aux pin # 5 on chip.  On the Bus Pirate according to this chart I am to connect the MOSI to the SDA which I have to assume is the Aux on the 24LC256 correct? 

I find it hard to believe that I do nothing with Pin # 1-4, ground and pin # 8, Vcc.

Thanks
20
Bus Pirate Support / [SOLVED] Self test results
Original Self tests work fine but in the Docs there is the LATEST SELF TESTS which fail on ADC and Vpu.

I have two failures and the EEPROM test does not show.  Is the Latest Self test not really working in Firmware version 5.10?

For the Original Self tests it sais to Connect (Vpu to +5V) and (ADC to +3.3V).  Those tests pass fine but when I try the Latest Self Test, Connect (ADC to +5V)  then the Vpu 3.3v and ADC 5v fail.  I can see why they do because they are switched around from the original setup. 

Is something wrong in the documentation for the Latest Self Tests and Firmware version 5.10?  The only connection is (ADC to +5V) but with this connection I have 6 failures.  If I connect the Vpu to the 3.3V then I have just the two failures mentioned.

EDITED TODAY 9-26-11

See Ian's post below mine
21
Bus Pirate Support / Re: BP Terminal SPI Read/Write to exact address
Thanks I will read this over.  Do I need to execute the "Turn off write Protect" [0b110] before each new write command?

Is there a command to dump the entire buffer to screen?  This seems to work for this particular eeprom.  [0b11 0 0 r:2038]  That will display the entire address contents without repeats.  The 2038 may be off by a few.
23
Bus Pirate Support / BP Terminal SPI Read/Write to exact address
I have read the Docs and know how to write/read to SPI device but always starting at 0x00

Example:

[0b10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]

That will write 0x00 to the first 32 registers.

How can I read/write starting at another address or one particular address.

For Example, what if I want to write to address Row 080 Column F

See the screenshot of MPLAB
24
Bus Pirate Development / Re: Re: Compiling Bus Pirate firmware with MPLABX (under lin
Thanks for  all the help.  Now to some obscure questions that to some of you may sound stupid but I am new to this.  Can I use MPLAB X with the Bus Pirate to read and write DATA to an SPI device connected to to BP but using MPLAB X or do I still have to use the terminal to do this?  I was unable to get BusPirategui for Mac to work in OSX 10.6.  I can execute the Open Pirate command in that Gui however when I try to read the SPI it fails.  I cannot generate the voltages on the GUI Application either and that is probably why its not reading the SPI device.  I like the frontend on MPLAB 8 using MPLAB stater kit to read write verify etc using that front end.  Its just kinda neat to see the entire address and working with the SPI in MPLAB 8.

Anyhow I know there is another GUI lurking around but its for Linux not Mac.
26
Bus Pirate Development / [SOLVED] Compiling Bus Pirate firmware with MPLABX (under l
I should have mentioned I am in OSX 10.5.8 right now. 

For now I want to upload the stock firmware not my own.

I cannot get ds30 to work in OSX 10.5.8 using mono so I have to try another method.

I tried to use pirate-loader_mac  and it is also not working I left a post on the message I get when I launch it.

sh-3.2# ./pirate-loader_mac
dyld: unknown required load command 0x80000022
Trace/BPT trap
sh-3.2#

Also that link you posted is not working below

To upload a new firmware here are the direction in our wiki: http://dangerousprototypes.com/docs/Pir ... c,_Windows)


EDITED ABOUT AN HOUR LATER:

I figured out the link missing a ")".  Anyhow I followed that tutorial the I get the message above.  I will try this in OSX 10.6 to see if the Pirate-Loader_Mac application was written for 64 bit or Snow Leopard rather than Leopard.

If not I suppose I could try it in Fedora Linux 64 bit.

I have to assume that I cannot upload the STOCK firmware in MPLABX which is what I was asking before.

Thanks


EDITED ABOUT ANOTHER HOUR LATER:

Well all my issues had to do with OSX 10.5.8.  Got everything working in OSX 10.6.8.  By everything I mean Bus Pirate Gui,  Pirate-loader_mac to upload the stock firmware.  So now its time to learn coding etc which I have little experience just some MSSQL and Power Builder.

After the firmware upgrade I was a bit confused on how to verify?  After the firmware upgrade do I need to disconnect the BP then do the verify or do the verify right after the update and exactly what is the exact script below gives me a blank screen.


Firmware updated successfully :)!
Use screen /dev/tty.usbserial-A900F57B 115200 to verify
27
Bus Pirate Development / Re: Re: Compiling Bus Pirate firmware with MPLABX (under lin
I just execute $ in xterm and it flashes BOOTLOADER.  In OSX 10.5.8

Then what is the procedure to burn the new firmware onto the BP in MPLABX?  DO I need to cnvert the HEX file as said here then go from there?  Is there a short protocol on the procedure to upload the new firmware to the BP?

I want to try Firmware version 5.9 but cannot find the firmware files inbetween my currently installed version 5.10 and the latest 5.9 version.

It has to be on SVN correct?  I just could not find them.

Anyhow what is the procedure after I install MPLABX?


Thanks
28
Bus Pirate Development / Re: Re: Compiling Bus Pirate firmware with MPLABX (under lin
Would I still need a PICKIT 2 or Sureelectronics PICKIT 2 mini to update the firmware on Bus Pirate 3.5b with MPLABX?

I have several OS's Mac OSX 10.7, Mac OSX 10.6, MAc OSX 10.5.8, Fedora Linux 15 64 bit, Fedora 13 32bit, windows 7 64 bit and two vmware OS's windows XP 32 bit and windows 7 64 bit.

I would like to get MPLABX running on MAc OSX 10.5.8 and Fedora Linux 15 64 bit and windows 7 64 bit right now.  Will it run on all 3 OS's and support firmware upgrade on the BP 3.5b without the PICKIT 2?

Thanks
29
Bus Pirate Development / [SOLVED] dyld: unknown required load command 0x80000022
sh-3.2# ./pirate-loader_mac
dyld: unknown required load command 0x80000022
Trace/BPT trap
sh-3.2#


I googled search this dvld and came up with a few links describing this as a possible OSX version problem.

Was pirate-loader_mac in the firmware 5.10 folder written for OSX 10.6 Snow Leopard?  I am currently in Leopard 10.5.8?

I know I did not include the --dev and firmware switches or paths. With or without them I still get that message.

I do not have Xcode tools installed do I need to install that in case there is a library missing and pirate-loader cannot find the library?  I am just guessing this.

Is there a Pirate-loader_mac version for 10.5.8 I can try?

Thanks


EDITED 9-23-11 9PM US CENTRAL TIME:

See this link:


viewtopic.php?f=28&t=1450&start=15#p28042
30
Flashrom / [Solved] Re: Latest flashrom binaries
I don't really see support for OSX 10.5/10.6/10.7?  I looked over the readme file from the source package and it sais there is support but I have to get the DirectIO driver and when I go to the link I get someones webpage with Pictures.

Edited 9-23-11:

I have to assume I need the MAC OSX developer tools to compile the source and create a DMG installer.  Have not attempted yet.

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