Forwarding. Please "reply to all".<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Nabs</b> <span dir="ltr"><<a href="mailto:ch12011-7@yahoo.com.au">ch12011-7@yahoo.com.au</a>></span><br>
Date: 2012/12/5<br>Subject: Re: [flashrom] BPv3.6 w flashrom<br>To: "<a href="mailto:vidwer@gmail.com">vidwer@gmail.com</a>" <<a href="mailto:vidwer@gmail.com">vidwer@gmail.com</a>><br><br><br><table border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td style="font:inherit" valign="top"><p dir="ltr">Just had a Eureka moment.<br>
I think what confused me was the fact that the cables were soldered onto the actual soic clip!<br>
So all I need to do is desolder and resolder them into their correct layouts, or desolder and use alligator clips instead?<br>
Is that right? Cheers, Nabs.</p>
</td></tr></tbody></table>            <div>
                <div>
                    <br><div class="hm HOEnZb">
                    </div><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div class="hm HOEnZb">
                        <font face="Tahoma">
                            <hr size="1">
                            <b>
                                <span style="font-weight:bold">From:</span>
                            </b>
                            Idwer Vollering <<a href="mailto:vidwer@gmail.com" target="_blank">vidwer@gmail.com</a>>;                            <br>
                            <b>
                                <span>To:</span>
                            </b>
                            Nabs <<a href="mailto:ch12011-7@yahoo.com.au" target="_blank">ch12011-7@yahoo.com.au</a>>;                                                     <br>
                            <b>
                                <span>Cc:</span>
                            </b>
                            <a href="mailto:flashrom@flashrom.org" target="_blank">flashrom@flashrom.org</a> <<a href="mailto:flashrom@flashrom.org" target="_blank">flashrom@flashrom.org</a>>;                                                                             <br>

                            <b>
                                <span>Subject:</span>
                            </b>
                            Re: [flashrom] BPv3.6 w flashrom                            <br>
                            <b>
                                <span style="font-weight:bold">Sent:</span>
                            </b>
                            Wed, Dec 5, 2012 12:05:04 PM                            <br>
                            </font></div><div><div class="h5">
                            <br>
                            <table border="0" cellpadding="0" cellspacing="0">
                                <tbody>
                                    <tr>
                                        <td style="font:inherit" valign="top">2012/12/5 Nabs <<a>ch12011-7@yahoo.com.au</a>>:<br>> Hi, sorry for the trouble. I'm running bus piratev3.6, bootloaderv4.4,<br>> firmwarev6.1 on flashrom-0.9.6.1, i plan to run the BP at 1M.<br>
><br>> When i run the command "flashrom -p buspirate_spi:dev=/dev/ttyUSB0 -Vr<br>> oldbios.bin"<br>> I get:<br>> "<br>> Found Generic flash chip "unknown SPI chip (RDID)" (0 kB, SPI) on<br>
> buspirate_spi.<br>> Probing for Generic unknown SPI chip (REMS), 0 kB: probe_spi_rems: id1 0x0,<br>> id2 0x0<br>> Found Generic flash chip "unknown SPI chip (RDID)" (0 kB, SPI).<br>> ===<br>> This flash part has status NOT WORKING for operations: PROBE READ ERASE<br>
> WRITE<br>> " etc...<br>><br>><br>> I think i have the wiring wrong which is why i get that error, i wonder
 if<br>> you could help me as its my first time?<br>> I'm trying to use In-circuit programming with a soldered bios chip using an<br>> 'SOIC 8 clip' and it has 8 wires. But the bus pirate has 10 pins.<br>
><br>> From another thread, these are the connections i need:<br>> Bus Pirate "MISO" (Pin 1) <----- SPI Device "DO" (Wire/Pin 2)<br>> Bus Pirate "CS" (Pin 2) -----> SPI Device "CS" (Wire/Pin 1)<br>
> Bus Pirate "MOSI" (Pin 3) -----> SPI Device "DI" (Wire/Pin 5)<br>> Bus Pirate "CLK" (Pin 4) -----> SPI Device "CLK" (Wire/Pin 6)<br>> Bus Pirate "GND" (Pin 10) <----> SPI Device "GND" (Wire/Pin 4)<br>
><br>> It appears to me that GND is pin 10 and that the wires of the SOIC8 clip<br>> only contact pins 1-8, so how can this work?<br>><br>> Also, could i just check the layout of the pins on the bus pirate if i'm<br>
> reading it correctly on BPv3.6:<br>> 10  9<br>> 8   
 7<br>> 6    5<br>> 4    3<br>> 2    1<br>><br>> Corresponding to:<br>> GND  3V3<br>> +5V    ADC<br>> VPU   AUX<br>> CLK    MOSI<br>> CS     MISO<br><br>Forget the existence of +5V, VPU, ADC and AUX for now (<br>
<a href="http://dangerousprototypes.com/docs/Bus_Pirate_I/O_Pin_Descriptions" target="_blank">http://dangerousprototypes.com/docs/Bus_Pirate_I/O_Pin_Descriptions</a> ),<br>connect the clip to the buspirate so that the clip passes the<br>
buspirate pins like mentioned in this post:<br><a href="http://www.coreboot.org/pipermail/flashrom/2012-November/010178.html" target="_blank">http://www.coreboot.org/pipermail/flashrom/2012-November/010178.html</a><br><br>
This works for me, with a MX25L1605A soic8 chip:<br><br>CS# (CS)                                     
     [1  chip  8]    VCC<br>(bridge with buspirate pin 3+7)<br>SO (MISO)                                        [2  chip  7]    HOLD# (+3V3)<br>WP# (bridge with buspirate pin 7+8)    [3  chip  6]    SCLK (CLK)<br>GND (GND)                                       [4  chip  5]    SI (MOSI)<br>
<br>><br>> Or are the pin numbers read in the opposite direction?<br>> ie<br>> 9  10<br>> 7  8<br>> 5  6<br>> 3  4<br>> 1  2<br>><br>> Here's an image of my bus pirate if it helps:<br>> <a href="http://dangerousprototypes.com/wp-content/media/2012/11/Bus-Pirate-v3.6interface_01-W600.jpg" target="_blank">http://dangerousprototypes.com/wp-content/media/2012/11/Bus-Pirate-v3.6interface_01-W600.jpg</a><br>
><br>> Your help is much appreciated and i appreciate your patience, Nabs.<br>><br>> _______________________________________________<br>> flashrom mailing list<br>> <a>flashrom@flashrom.org</a><br>> <a href="http://www.flashrom.org/mailman/listinfo/flashrom" target="_blank">http://www.flashrom.org/mailman/listinfo/flashrom</a><br>
</td>
                                    </tr>
                                </tbody>
                            </table>
                    </div></div></div>
                </div>
            </div>
</div><br>