01:41
_whitelogger has joined #glasgow
02:59
<
_whitenotifier-9 >
[whitequark/Glasgow] whitequark e54fb1a - protocol.vgm: fix off-by-1 in 0x7X opcodes.
04:26
<
bgamari >
how much RAM should the fx2 firmwre require?
04:29
<
bgamari >
My build seems to be about 10 kBytes
04:30
<
bgamari >
which is larger than the 8 kB size of the CY7C68013's RAM
04:38
<
bgamari >
whitequark, ^
06:11
_whitelogger has joined #glasgow
10:53
ec0 has joined #glasgow
12:23
emily has quit [Remote host closed the connection]
12:23
emily has joined #glasgow
12:41
_whitelogger has joined #glasgow
13:36
emily has quit [Remote host closed the connection]
13:36
emily has joined #glasgow
14:07
<
_whitenotifier-9 >
[whitequark/Glasgow] whitequark 3cfc95f - applet.yamaha_opl: unbreak handling of VGMs for a different chip.
14:09
<
whitequark >
bgamari: CY7C68013 has 16 KB of RAM
14:10
<
whitequark >
can you please run `glasgow -vv factory`?
15:14
<
_whitenotifier-9 >
[Glasgow] bgamari opened pull request #100: hardware: Make Fab layers more readable -
https://git.io/fhbDv
15:15
<
_whitenotifier-9 >
[Glasgow] bgamari opened pull request #101: software: Don't request RAM writes of > 4096 bytes -
https://git.io/fhbDU
15:16
<
whitequark >
thanks!
15:16
<
_whitenotifier-9 >
[whitequark/Glasgow] bgamari 390955a - device.hardware: don't request RAM writes of >4096 bytes.
15:16
<
_whitenotifier-9 >
[Glasgow] whitequark closed pull request #101: software: Don't request RAM writes of > 4096 bytes -
https://git.io/fhbDU
15:17
<
_whitenotifier-9 >
[Glasgow] whitequark commented on pull request #100: hardware: Make Fab layers more readable -
https://git.io/fhbDt
15:28
setrofim has joined #glasgow
15:37
<
bgamari >
it's quite unfortunate that github doesn't support svg uploads
15:42
<
_whitenotifier-9 >
[Glasgow] bgamari commented on pull request #100: hardware: Make Fab layers more readable -
https://git.io/fhbDS
15:54
<
_whitenotifier-9 >
[whitequark/Glasgow] bgamari 4694b59 - hardware: make Fab layers more readable
15:54
<
_whitenotifier-9 >
[Glasgow] whitequark closed pull request #100: hardware: Make Fab layers more readable -
https://git.io/fhbDv
15:54
<
_whitenotifier-9 >
[Glasgow] whitequark commented on pull request #100: hardware: Make Fab layers more readable -
https://git.io/fhbyf
15:54
<
whitequark >
bgamari: cool!
15:56
<
bgamari >
sigh, FPGA configuration failed
15:57
<
whitequark >
interesting
15:57
* bgamari
suspected that this FPGA would be harder than it seemed
15:57
<
bgamari >
this is my first time doing a BGA
15:57
<
whitequark >
how did you solder it exactly?
15:57
<
bgamari >
it looks like it sat down well
15:57
<
whitequark >
you could try heating it up and pushing down on it gently
15:57
<
bgamari >
steel stencil, newish paste and a steady hand
15:57
<
whitequark >
alternatively, remove and reball
15:58
<
whitequark >
IME you can reball a c hip maybe 3-4 times before the chip and board are FUBAR
15:58
<
whitequark >
sometimes more
15:58
* bgamari
doesn't have a reballing stencil
15:59
<
bgamari >
nor balls
15:59
<
bgamari >
i can try giving it a tap though
15:59
<
whitequark >
you can place the balls manually
15:59
<
whitequark >
in principle
15:59
<
whitequark >
but both a 0.8 mm stencil and balls are really cheap
15:59
<
whitequark >
look for cellphone repair shops
15:59
<
_whitenotifier-9 >
[Glasgow] DurandA commented on pull request #100: hardware: Make Fab layers more readable -
https://git.io/fhby3
15:59
<
bgamari >
whitequark, would you recommend flooding it with flux before doing so?
16:01
<
_whitenotifier-9 >
[Glasgow] whitequark commented on pull request #100: hardware: Make Fab layers more readable -
https://git.io/fhby8
16:01
<
whitequark >
bgamari: from the sides? nah, pointless
16:02
<
whitequark >
you won't get flux under it anyway
16:02
<
whitequark >
i guess it doesn't hurt
16:02
<
bgamari >
I have a super-aggressive liquid flux
16:02
<
bgamari >
but it's conductive
16:02
<
bgamari >
so I never use it
16:02
<
whitequark >
yeah no never use that with bga
16:02
<
bgamari >
it's essentially impossible to clean
16:02
<
whitequark >
i don't use conductive fluxes in general
16:02
<
whitequark >
they are shit
16:02
<
bgamari >
that purchase is now considered a mistake
16:03
<
_whitenotifier-9 >
[Glasgow] DurandA commented on pull request #100: hardware: Make Fab layers more readable -
https://git.io/fhbyB
16:11
<
bgamari >
whitequark, why is the pull-up on R9 so strong?
16:15
<
whitequark >
R9 is 100k
16:16
<
bgamari >
whitequark, rather on SYNC
16:17
<
whitequark >
mmm, because on revAB it was open collector
16:17
<
whitequark >
open drain*
16:19
<
bgamari >
hmm, tap didn't seem to help, sadly
16:19
<
bgamari >
perhaps it's time to just try another device
16:19
* bgamari
has a few spares
16:19
<
whitequark >
you could give it to phone repair guys
16:20
<
whitequark >
and tell them you want it to be reballed and replaced
16:20
<
bgamari >
fair point
16:20
<
whitequark >
they are usually very good at it
16:20
<
whitequark >
one time, i tore off a pad on the PCB
16:20
<
whitequark >
with ViP
16:20
<
bgamari >
thankfully while the ICE40 isn't cheap, it's not devastatingly expensive either
16:20
<
whitequark >
drilled out the PCB substrate to get at the copper via
16:20
<
whitequark >
gave them the device
16:21
<
whitequark >
it worked afterwards
16:23
<
bgamari >
whitequark, should the glasgow tools cache the bitstreams that it generates?
16:23
<
whitequark >
not really
16:23
<
whitequark >
it "caches" the bitstream in the actual FPGA
16:24
<
whitequark >
this achieves a good balance of convenience with cache invalidation bugs
16:24
<
whitequark >
you can e.g. update yosys/nextpnr and get a different bitstream, which will not get reuploaded because the cache key is the verilog sha
16:24
<
whitequark >
but the stale bitstream will persist no longer than you unplugging the device and plugging it back
16:25
<
bgamari >
that is fair
16:26
<
bgamari >
whitequark, what is your typical success rate with BGA mounting?
16:27
<
whitequark >
bgamari: i do not assemble boards with BGA
16:27
<
whitequark >
i only ever rework BGA
16:27
<
whitequark >
often on 15+ year old devices
16:27
<
whitequark >
my statistics is not representative
16:27
<
whitequark >
in fact i don't think i have
*ever* mounted a completely new BGA IC
16:40
<
bgamari >
fair enough
16:40
<
bgamari >
lucky you :)
16:43
<
whitequark >
BGA rework is... not easy
16:44
<
bgamari >
apparently placement isn't either :)
16:44
<
bgamari >
chip 2 met a similar outcome to chip 1
16:45
<
bgamari >
definitely have IFCLK
16:45
<
bgamari >
and CLKREF
16:45
<
bgamari >
not sure about the remainder of the FX2-FPGA interface
16:46
<
bgamari >
FPGA configuration happens with the FPGA behaving as an SPI slave, yes?
16:52
<
whitequark >
are you sure the FX2 is soldered correctly?
17:03
<
bgamari >
I just did another pass over the FX2 pads to be certain
17:03
<
bgamari >
it looks fine
17:03
* bgamari
is trying to work out how to probe the relevant nets
17:04
<
whitequark >
you can probe the pins of FX2 at the side
17:04
<
bgamari >
squeezing both chips doesn't help, FWIW
17:08
<
bgamari >
CDONE is actually high
17:09
<
whitequark >
interesting
18:23
<
_whitenotifier-9 >
[whitequark/Glasgow] whitequark 7af5478 - README: update to account for ECP5 RE effort.
20:22
<
_whitenotifier-9 >
[whitequark/Glasgow] whitequark 83dbf5e - applet.yamaha_opl: try to enable missing features.
20:22
<
_whitenotifier-9 >
[whitequark/Glasgow] whitequark 0a8722a - applet.yamaha_opl: web: clean up player queueing.
20:22
<
_whitenotifier-9 >
[whitequark/Glasgow] whitequark e997514 - applet.yamaha_opl: web: add YM3526 support.
20:25
xorrbit has joined #glasgow
20:32
<
_whitenotifier-9 >
[Glasgow] whitequark opened issue #103: Changing pin assignment only doesn't change bitstream ID -
https://git.io/fhbdZ
21:12
davidc__ has joined #glasgow
21:20
<
davidc__ >
anybody thinking of doing a glasgow revC production run (either for sale, or that wants to tack a few more onto an order?)
21:21
<
whitequark >
esden will sell revCs once i'm done with revC1
21:22
<
davidc__ >
Cool. Are there major known Errata with revC?
21:23
<
whitequark >
not major
21:23
<
whitequark >
a few missing resistors for discharging output capacitors
21:23
<
whitequark >
and i've still not qualified the configurable pulls
21:24
<
whitequark >
revC0 is already usable and much better than revAB
21:24
<
whitequark >
but it's not yet what i'd call production ready
22:16
<
ylamarre >
I don't know if this was ever noted, but I find it rather ironic that Glasgow was built avoiding FTDI chips at all cost considering FTDI HQ is located in Glasgow...
22:17
<
ylamarre >
... and this has been on my mind for way too long.
22:17
<
sorear >
that is in fact the reason it was named Glasgow
22:18
<
sorear >
it was a USB-JTAG interface that grew a bunch of features
22:19
<
ylamarre >
Oh, it wasn;t clear from wq's old tweets, or maybe I skiped that part, my bad.
22:24
<
whitequark >
it was never particularly public
22:24
<
whitequark >
in fact at one point i forgot why i chose the name
22:26
<
ylamarre >
Ok, so I wasn't insane... I did remember you saying you forgot about the name.
22:28
<
ylamarre >
I mean, I don't have memory issue in that regard...
22:29
<
ylamarre >
But thanks for confirming the fact!
22:51
<
_whitenotifier-9 >
[whitequark/Glasgow] whitequark 7c034f0 - applet.jtag_pinout: fix a confusing message.
22:51
<
_whitenotifier-9 >
[whitequark/Glasgow] whitequark 96ac88e - applet.jtag: scan: improve output for complex chains.