I've managed to get the serial traces:<div><br></div><div><b>Linux trace on latest firmware (works fine):</b></div><div><br></div><div><div><font class="Apple-style-span" face="'courier new', monospace">(C) 2006-2011 by Harald Welte <<a href="mailto:hwelte@hmw-consulting.de">hwelte@hmw-consulting.de</a>></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">This software is FREE SOFTWARE licensed under GNU GPL</font></div><div><font class="Apple-style-span" face="'courier new', monospace">Version 0.1.12-fa72 compiled 20110815-230016 by <a href="mailto:laforge@nataraja.de.gnumonks.org">laforge@nataraja.de.gnumonks.org</a></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace">DEBUG Interface:</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">0) Set Pull-up 1) Clear Pull-up 2) Toggle LED1 3) Toggle LED2</font></div><div><font class="Apple-style-span" face="'courier new', monospace">9) Reset</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">RSTC_SR=0x00010200</font></div><div><font class="Apple-style-span" face="'courier new', monospace">                  Inititalizing usbcmd_gen_init</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">                                               udp_open(437): entering</font></div><div><font class="Apple-style-span" face="'courier new', monospace">USART Initializing</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">pio_irq_register(109): registering handler 0010777c for PIOA 7</font></div><div><font class="Apple-style-span" face="'courier new', monospace">ISO_SW Initializing</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">pio_irq_register(109): registering handler 00107c00 for PIOA 8</font></div><div><font class="Apple-style-span" face="'courier new', monospace">pio_irq_register(109): registering handler 00107af4 for PIOA 30</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">USART Entering Rx Mode</font></div><div><font class="Apple-style-span" face="'courier new', monospace">RST</font></div><div><font class="Apple-style-span" face="'courier new', monospace">computed Fi(1) Di(1) ratio: 372</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">MODE: SNIFFER</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace">main(76): entering main (idle) loop</font></div>
<div><br></div><div><br></div><div><b>Mac OS X 10.7 Lion trace (repeats itself over and over and over (red led blinks every time it resets)):</b></div><div><br></div><div><div><font class="Apple-style-span" face="'courier new', monospace">(C) 2006-2011 by Harald Welte <<a href="mailto:hwelte@hmw-consulting.de">hwelte@hmw-consulting.de</a>></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">This software is FREE SOFTWARE licensed under GNU GPL</font></div><div><font class="Apple-style-span" face="'courier new', monospace">Version 0.1.12-fa72 compiled 20110815-230016 by <a href="mailto:laforge@nataraja.de.gnumonks.org">laforge@nataraja.de.gnumonks.org</a></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace">DEBUG Interface:</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">0) Set Pull-up 1) Clear Pull-up 2) Toggle LED1 3) Toggle LED2</font></div><div><font class="Apple-style-span" face="'courier new', monospace">9) Reset</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">RSTC_SR=0x00010200</font></div><div><font class="Apple-style-span" face="'courier new', monospace">                  Inititalizing usbcmd_gen_init</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">                                               udp_open(437): entering</font></div><div><font class="Apple-style-span" face="'courier new', monospace">USART Initializing</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">pio_irq_register(109): registering handler 0010777c for PIOA 7</font></div><div><font class="Apple-style-span" face="'courier new', monospace">__pio_irq_demux(43): PIO_ISR_STATUS = 0xffffffff</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">RST</font></div><div><font class="Apple-style-span" face="'courier new', monospace">computed Fi(1) Di(1) ratio: 372</font></div><div><font class="Apple-style-span" face="'courier new', monospace">ISO_SW Initializing</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">pio_irq_register(109): registering handler 00107c00 for PIOA 8</font></div><div><font class="Apple-style-span" face="'courier new', monospace">pio_irq_register(109): registering handler 00107af4 for PIOA 30</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">USART Entering Rx Mode</font></div><div><font class="Apple-style-span" face="'courier new', monospace">RST</font></div><div><font class="Apple-style-span" face="'courier new', monospace">computed Fi(1) Di(1) ratio: 372</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">MODE: SNIFFER</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace">main(76): entering main (idle) loop</font></div>
</div><div><br></div><div><br></div>Problem is obviously somewhere in the beginning, Mac OS X trace has these 3 lines more than Linux:</div><div><div><font class="Apple-style-span" face="'courier new', monospace">__pio_irq_demux(43): PIO_ISR_STATUS = 0xffffffff</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">RST</font></div><div><font class="Apple-style-span" face="'courier new', monospace">computed Fi(1) Di(1) ratio: 372</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br>
</font></div><div>I honestly don't know what could be the problem here but perhaps this can lead someone to an idea :)</div><div><br></div><div>Lukas</div><div class="gmail_quote">On Mon, Oct 3, 2011 at 9:47 PM, Lukas Kuzmiak <span dir="ltr"><<a href="mailto:lukash@backstep.net">lukash@backstep.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hey, <br><br>I can confirm this problem on my fresh OS X 10.7 (Lion) installation.<div><br></div><div>The IRQ storm bug you're referring to was caused by TCK byte difference between T=1 and T=0 protocols and has been fixed in firmware 0.2 (<a href="http://laforge.gnumonks.org/weblog/2011/08/16/" target="_blank">http://laforge.gnumonks.org/weblog/2011/08/16/</a>).</div>

<div>This however should not be related I guess as if you connect the simtrace without a phone and simcard attached to it, this bug should not trigger (correct me if i'm wrong).</div><div><br></div><div>to debugging: you can use a serial cable connected to the 2.5" jack (something like FTDI based one for osmocom motorola phones if you have one) - that's the debugging interface. I'm currently travelling and don't have my usb->serial cable with me so I will check back at home.</div>

<div><br></div><div>Cheers,</div><div>Lukas</div><div><div></div><div class="h5"><div><div><br><div class="gmail_quote">On Mon, Oct 3, 2011 at 8:29 PM, Peter Stuge <span dir="ltr"><<a href="mailto:peter@stuge.se" target="_blank">peter@stuge.se</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>Holger Hans Peter Freyther wrote:<br>
> > Mac OS is really really strict about USB descriptors being correct,<br>
> > where both Windows and Linux are more lenient. But the error messages<br>
> > say the device would not even accept the address it was assigned, so<br>
> > there is some more fundamental problem with the USB firmware. :\<br>
><br>
> any debug hints? it will be my first real adventure into the USB<br>
> land. Right now I would just play trial and error to see how far in<br>
> the setup things go.<br>
<br>
</div></div>The device address being assigned by the PC is very very early in the<br>
USB enumeration (device discovery after plug-in) process, so<br>
something goes wrong pretty early.<br>
<br>
I understood that the firmware is based on an example firmware from<br>
Atmel, so maybe look around their developer resources for any info<br>
about known problems with Mac OS.<br>
<br>
I would probably add some serial output to the firmware in main() and<br>
in the USB interrupt handler, and try to see what differs between Mac<br>
OS and other systems during enumeration.<br>
<br>
I recall Harald mentioned an interrupt storm in some circumstances,<br>
this could also cause the device address assignment to fail if it<br>
isn't fixed already.<br>
<font color="#888888"><br>
<br>
//Peter<br>
<br>
</font></blockquote></div><br></div>
</div>
</div></div></blockquote></div><br></div>