redstarcomrade has quit [Read error: Connection reset by peer]
meklort has quit [Quit: ZNC 1.9.0+deb2build3 - https://znc.in]
meklort has joined #glasgow
meklort has quit [Quit: ZNC 1.9.0+deb2build3 - https://znc.in]
andymandias has quit [Ping timeout: 244 seconds]
andymandias has joined #glasgow
anubis has quit [Ping timeout: 248 seconds]
mikecoatsdotcom[ has joined #glasgow
<mikecoatsdotcom[>
Apologies for the wall of text... has anyone got any recommendations for debugging the Glasgow when you think you might have killed its USB somehow? I was running the `uart` applet when the `pty` disappeared and since then, despite reboots, the Glasgow doesn't show up any more. I can't see it under `lsusb` either. It doesn't seem to be the USB port or cable since running `udevadm monitor` shows other devices connecting just fine,
<mikecoatsdotcom[>
just not the Glasgow. When it's plugged in, all the user leds come on, the PWR led comes on, and the 5v, 3v3 and 1v2 test points all read fine on the back. The ICE and ACT leds show a dim point of light in them and I can't tell if the FX2 led is off, or equally dim - it's outshone by PWR.
<whitequark[cis]>
check the FX2 LED with a multimeter (you have one for the test points right?)
<whitequark[cis]>
the other thing you could do is to plug it in while shorting the two pads labelled REC near the FX2 memory
<whitequark[cis]>
these would be the first two basic steps in your case
<whitequark[cis]>
also, did you have the firmware flashed?
<mikecoatsdotcom[>
FX2 LED is glowing very dim and reads 2.35v. I've not flashed the firmware, I saw the message so it was on my list of todos but not yet. Shorting the FX2MEM & RECOVER doesn't seem to make any difference.
<whitequark[cis]>
ok, so without the firmware it wouldn't be lighting any LEDs necessarily
<whitequark[cis]>
can you take a photo of what you shorted? you need to connect those pads and then plug the device in, it should enumerate
<mikecoatsdotcom[>
So, I found my pointiest pair of tweezers and shorted the pins again and I now get lots of messages about /devices/pci0000:00/0000:00:08.1/0000:c1:00.3/usb1/1-1/1-1:1.0 when I plug whilst shorted.
<mikecoatsdotcom[>
lsusb now tells me Bus 001 Device 012: ID 04b4:8613 Cypress Semiconductor Corp. CY7C68013 EZ-USB FX2 USB 2.0 Development Kit too.
<mikecoatsdotcom[>
I managed to follow the steps in https://glasgow-embedded.org/latest/build.html and `glasgow factory --rev C3 --using-modified-design-files=no` and we're back in business. `lsusb` is returning `Bus 001 Device 015: ID 20b7:9db1 Qi Hardware Glasgow Debug Tool` again and `glasgow run selftest leds` is flashing away happily! Thanks so much for your help!
<whitequark[cis]>
perfect
<whitequark[cis]>
it's designed to be unbrickable
<whitequark[cis]>
i have no idea how you managed to have the EEPROM wiped though
<whitequark[cis]>
had I thought of it earlier I'd ask you for an EEPROM dump
<mikecoatsdotcom[>
Yeah, genuinely no idea how that happened!
<whitequark[cis]>
it's so puzzling
<mikecoatsdotcom[>
I’ll try out what I was doing earlier and see if I can get a reproducible condition. No promises though!
redstarcomrade has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
benny2366[m] has quit [Quit: Idle timeout reached: 172800s]
smkz has quit [Quit: smkz]
smkz has joined #glasgow
smkz has quit [Quit: smkz]
smkz has joined #glasgow
duskwuff[m] has joined #glasgow
<duskwuff[m]>
I've had another FX2 based device lose its configuration with unstable power (tried powering it from a USB battery bank) - I haven't tried to replicate it but I imagine the EEPROM misinterpreted the FX2's read request as a write
esden[m] has joined #glasgow
<esden[m]>
Just as a sidenote... the way you called factory erased the serial number from the flash. So it will now not match the sticker on the back of the board.
<esden[m]>
I think it put a new serial number in the flash if you force factory prog. It is not a functional issue, but don't be surprised that the sticker does not match your board any more. 🙂
q3k[cis] has joined #glasgow
<q3k[cis]>
<whitequark[cis]> "i have no idea how you managed..." <- i mean, REQ_EEPROM is one bitflip away from REQ_FPGA_CFG :)
l0rds474n[m] has quit [Quit: Idle timeout reached: 172800s]
jfsimon has quit [Quit: Leaving]
jfsimon has joined #glasgow
mei[m] has quit [Quit: Idle timeout reached: 172800s]
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #glasgow
redstarcomrade has joined #glasgow
PistonMiner has joined #glasgow
PistonMiner has quit [Client Quit]
jn_ is now known as jn
redstarcomrade has quit [Read error: Connection reset by peer]