<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
   1. Re: Basic questions (Michael Kramer)<br>
   2. Very basic questions (?? ???)<br>
   3. Re: Basic questions (J. F?lix Onta?on)<br>
   4. Re: Very basic questions (Holger Freyther)<br><br><br>---------- Forwarded message ----------<br>From: Michael Kramer <<a href="mailto:michael.kramer@uni-konstanz.de">michael.kramer@uni-konstanz.de</a>><br>To: "J. Félix Ontañon" <<a href="mailto:felix.ontanon@podsystem.com">felix.ontanon@podsystem.com</a>><br>Cc: <a href="mailto:simtrace@lists.osmocom.org">simtrace@lists.osmocom.org</a><br>Date: Thu, 10 Nov 2016 13:34:18 +0100<br>Subject: Re: Basic questions<br>Hey Felix,<br>
<br>
thank you for your answer!<br>
However since holger recommended dfu-util 0.4 I tried the 0.5 version since 0.4 was not available on the website. With the 0.5 version it works. Hope this helps you as well since it's easier to flash.<br>
<br>
Greetings,<br>
Michael<br>
<br>
Am Dienstag, 08. November 2016 17:47 CET, J. Félix Ontañon <<a href="mailto:felix.ontanon@podsystem.com">felix.ontanon@podsystem.com</a>> schrieb:<br>
<br>
> Hi Michael,<br>
><br>
> Just to let you know dfu-util 0.9 didn't worked for me either, but<br>
> SAM-BA/sam7utils did!<br>
><br>
> I just followed this simtrace wiki page instructions to do so (flashing<br>
> using libusb): <a href="https://osmocom.org/projects/simtrace/wiki/SIMtrace_Firmware" rel="noreferrer" target="_blank">https://osmocom.org/projects/<wbr>simtrace/wiki/SIMtrace_<wbr>Firmware</a><br>
> The wiki page has the firmware attached in the format required by SAM-BA. I<br>
> compiled it myself with the arm toolchain, though. The tricky part was<br>
> switching to SAM-BA mode, what the wiki page says is true: sometimes it<br>
> just not works ... After 3 or 4 attempts it worked.<br>
><br>
> I hope this helps.<br>
> Regards.<br>
><br>
> 2016-10-16 22:28 GMT+02:00 Holger Freyther <<a href="mailto:holger@freyther.de">holger@freyther.de</a>>:<br>
> ><br>
> ><br>
> > > On 16 Oct 2016, at 22:15, Michael Kramer <<a href="mailto:michael.kramer@uni-konstanz.de">michael.kramer@uni-konstanz.<wbr>de</a>><br>
> wrote:<br>
> > ><br>
> > ><br>
> > > Am Freitag, 14. Oktober 2016 22:19 CEST, Holger Freyther <<br>
> <a href="mailto:holger@freyther.de">holger@freyther.de</a>> schrieb:<br>
> > ><br>
> > >>><br>
> > >>> I've tried both dfu-utils 0.8 and 0.9 on a debian and kali machine.<br>
> Haven't used SAM-BA yet. Should I try that as well?<br>
> > >><br>
> > >> SAM-BA is a lot more inconvenient and slower than dfu-utils. Could you<br>
> try an older version of dfu-utils? E.g. I started with dfu-utils and<br>
<br>
> probably still have this version around.<br>
> > ><br>
> > > Could you maybe check which version it was?<br>
> ><br>
> > oh. I did and then didn't write it down. It was dfu-util 0.4 that I have<br>
> used in<br>
> > the past.<br>
> ><br>
> > holger<br>
<br></blockquote><div><br></div><div>ATMEL chip document [see section 7.2] states (and my experience confirming this is) that TST, PA0, PA1 and PA2 should be tied high.  On the next cycle, SAMBA will be booted into (this is SAM-BA boot recovery).  To do that, you jumper it just like SIMTRACE wiki states, but do not need to press a button.  On the specific chip used, that means you take a tweezer and short PIN 44/45 with pin 47/48.  That means one tip if the tweezer sits between pin 44 and pin 45 (PA2 and VDDIO[high]), and the other tip of the tweezer sits between pin 47 and pin 48 (PA1 and PA0)</div><div><br></div><div>MAKE SURE YOU DO NOT TOUCH OTHER PINS.  Pin 46 is Ground.  It would not be good to short between 45 and 46.</div><div><br></div><div>Once you have your tweezer in place and the jumper in place,  power up the board (should be able to hold the tweezer and board with one hand resting on it) by plugging in the USB cable.  Leave it powered up for about 20 seconds (it recovers -- flashes itself), then power off, remove the jumper, remove the tweezer.  Then when you plug the USB back in, it'll be ready for SAM-BA programming.   </div><div><br></div><div>Maybe someone can add this to the wiki?</div><div> <br></div></div></div></div>