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
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.
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?
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.
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.
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.
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.
Yes and it displays the new firmware properly. So I cannot run any verify command before reseting the BP I assume? That message about use screen what is that all about? Thanks
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
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?
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?
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?
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.