<div dir="ltr"><span style="font-size:12.8px">> Now I always unplug the AC adapter and remove the battery before</span><br style="font-size:12.8px"><span style="font-size:12.8px">> powering up my flasher (although I do leave the chip-clip </span><span style="font-size:12.8px">connected).</span><br><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">This is about right. I programmed most of INTEL platforms using dediprog SF100: ATOM: from D4xx/D5xx (Pine Creek) series, TNC, BYT-M/I, BSW and CORE (IVB, HSW, BDX-DE, BDW-H, SKL-Y/U), whereas for some HSW-U series it was necessary to put platform in S5 state by shutting down them to S5. AC in most cases removed, I did not have battery since I played with test platforms. And there were 4x2 pins connectors for most of platforms, recently with special small connector forms and adapters for SF100 programming heads, but in some cases I needed clip to connect directly to flash.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Zoran</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 1, 2016 at 3:02 PM, Trammell Hudson <span dir="ltr"><<a href="mailto:hudson@trmm.net" target="_blank">hudson@trmm.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Dec 01, 2016 at 01:15:59PM +0000, Peter Stuge wrote:<br>
> Michael Carbone wrote:<br>
> > I have been attempting to use a raspberry pi for spi flashing and when I<br>
> > use the 3.3v pin the raspberry pi doesn't power up as the chip draws too<br>
> > much power through the 3.3v pin for the raspberry pi to also run.<br>
><br>
> It's not the flash chip drawing current, it's the rest of the mainboard.<br>
<br>
</span>For some mainboards (like the 15" 2014 Macbook Pro) I had to add a 1-10<br>
Ohm resistor on the power lead from my flasher, which basically glitches<br>
the rest of the mainboard, but since many SPI flash chips can run at<br>
a slightly lower voltage it allowed me to read/write the firmware.<br>
This is probably not the right way to do it.<br>
<br>
> [...]<br>
<span class="">> > Looking online [1] some folks recommend using laptop AC adapter +<br>
> > wake-on-lan (and not using the VCC/3.3v pin), but I'm not sure<br>
> > that's a dependable strategy<br>
><br>
> In fact I consider it the *only* dependable strategy. It is the<br>
> obvious way to adhere to the required power up sequence.<br>
<br>
</span>I've never had success with this technique due to the multi-master<br>
situation that you described.  The PCH (or ME?) on modern CPUs<br>
seemed to always be driving the IO lines when I provided power.<br>
Now I always unplug the AC adapter and remove the battery before<br>
powering up my flasher (although I do leave the chip-clip<br>
connected).<br>
<br>
Perhaps I'm a little more YOLO with many of my test machines than<br>
is prudent, so I don't worry too much about what other bits are being<br>
powered up by the 3.3V rail.  On the x230 I used an external bench<br>
supply and found that the rail needed about 110 mA to function:<br>
<br>
<a href="https://www.flickr.com/photos/osr/28494632165/lightbox" rel="noreferrer" target="_blank">https://www.flickr.com/photos/<wbr>osr/28494632165/lightbox</a><br>
<br>
So on my teensy 2 flasher I replaced the small SMD regulator with<br>
a larger UA78M33 regulator in a TO-220 package that can supply 500mA:<br>
<br>
<a href="https://www.flickr.com/photos/osr/30531707094/lightbox" rel="noreferrer" target="_blank">https://www.flickr.com/photos/<wbr>osr/30531707094/lightbox</a><br>
<br>
My biggest problem these days is that the chipclips seem to wear out<br>
after a few hundred applications (the pins get pushed upwards, making<br>
the connection flaky).  Anyone have a recommendation for one that can<br>
stand up to constant use?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Trammell<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a href="https://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://www.coreboot.org/<wbr>mailman/listinfo/coreboot</a><br>
</div></div></blockquote></div><br></div>