whitequark changed the topic of #glasgow to: digital interface explorer · code https://github.com/GlasgowEmbedded/glasgow · logs https://libera.irclog.whitequark.org/glasgow · discord https://1bitsquared.com/pages/chat · production https://www.crowdsupply.com/1bitsquared/glasgow (FUNDED)
pie__ has quit [*.net *.split]
Ekho has quit [*.net *.split]
jstoker has quit [*.net *.split]
lxdr has quit [*.net *.split]
pie_ has joined #glasgow
jstoker has joined #glasgow
lxdr has joined #glasgow
Ekho has joined #glasgow
egg|laptop|egg_ has joined #glasgow
ar has quit [Quit: brb]
ar has joined #glasgow
<d1b2> <brainstorm> "wait, you took it from the -datasheet-?"... argh, I just realised that I was wrongly reading the XC9572XL I had opened instead of my XC95288XL that was open in another tab, facepalm... anyway, I put that word_size=128 in place and managed to dump (seemingly legit data) 101KiB from the Aliexpress board! 😄 https://hardbin.com/ipfs/QmXgR7ATaofiz2JSpthEDxuLWsqsfGuyEFwhdL6HKdwVQi/#EbgNPNpwGzN2NpRamjAra9ur5p1VS58VBMjnrwkTwUxy That
<d1b2> Aliexpress board has a binary counting example pre-loaded (by looking at the flashing builtin board LEDs) that seems to allow readout 🙂 Thanks for the guidance/hints, @whitequark ! Next step is to make sense of the bitstream and fix the glasgow CLI backtrace... will study the usercode_low/high parameters after that.
egg|laptop|egg_ has quit [Remote host closed the connection]
egg|laptop|egg_ has joined #glasgow
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #glasgow
_whitenotifier-1 has joined #glasgow
<_whitenotifier-1> [glasgow] brainstorm opened pull request #285: XC95288XL support - https://git.io/JicYx
<_whitenotifier-1> [archive] brainstorm opened pull request #7: Add datasheet for Xilinx XC95288XL CPLD - https://git.io/Jic3s
<_whitenotifier-1> [glasgow] brainstorm synchronize pull request #285: XC95288XL support - https://git.io/JicYx
<d1b2> <brainstorm> After discovering what the archive is about, things start to make a bit more sense: https://github.com/GlasgowEmbedded/archive/tree/main/G00015 🙂
<d1b2> <brainstorm> The USERCODE attribute entity for the xc95288xl_tq144 .bsd file seems to be 11111101, which is 253, trying to determine the low/high (bounds?)... that's the only thing left to finish up the PR and move on to the original target CPLD.
<whitequark> it has nothing to do with the BSDL files
<whitequark> usercode_low is the start fuse number for usercode low byte
<whitequark> usercode_high is the same for the high byte
<d1b2> <brainstorm> "to get usercode_{low,high} I asked azonenberg to generate a pair of bitstreams" ... got it
<_whitenotifier-1> [archive] whitequark commented on pull request #7: Add datasheet for Xilinx XC95288XL CPLD - https://git.io/JicsM
<_whitenotifier-1> [archive] brainstorm synchronize pull request #7: Add datasheet for Xilinx XC95288XL CPLD - https://git.io/Jic3s
<_whitenotifier-1> [glasgow] brainstorm synchronize pull request #285: XC95288XL support - https://git.io/JicYx
<_whitenotifier-1> [GlasgowEmbedded/archive] whitequark pushed 1 commit to main [+1/-0/±0] https://git.io/JicGq
<_whitenotifier-1> [GlasgowEmbedded/archive] brainstorm 5a57c30 - Add G00081.
<_whitenotifier-1> [archive] whitequark closed pull request #7: Add datasheet for Xilinx XC95288XL CPLD - https://git.io/Jic3s
<_whitenotifier-1> [archive] whitequark commented on pull request #7: Add datasheet for Xilinx XC95288XL CPLD - https://git.io/JicGm
<_whitenotifier-1> [glasgow] whitequark reviewed pull request #285 commit - https://git.io/JicGa
<d1b2> <brainstorm> Alright, I'm no Andrew Zonenberg by any stretch, but having ISE I hope I'll be able to generate a bitstream somehow 🙂 I need to familiarise myself with the software.
<_whitenotifier-1> [glasgow] brainstorm synchronize pull request #285: XC95288XL support - https://git.io/JicYx
<whitequark> it's quite possible that USERCODE is always at 90,105
egg|laptop|egg_ has quit [Remote host closed the connection]
<d1b2> <brainstorm> I'm re-reading your docs to see how you determined it, don't want to mislead anybody 😒
<whitequark> so, generate a bitstream with USERCODE at 00000000 and one at 11111111
<whitequark> that should show you whether it's at those offsets
<whitequark> er, make that 00000000 00000000 and 11111111 11111111
<whitequark> if it's at the same offsets that's good enough, i don't think they swizzled the bits or anything
<d1b2> <brainstorm> Ah, cool, that makes sense, will do... also, how advanced is the RE tooling to determine functional blocks/gates from a .bit file from one of those Xilinx CPLDs? Now reading through prjbureau, need to become more fluent with all this.
<whitequark> prjbureau is targeting a completely different CPLD
<whitequark> i've not done any work with xilinx
<whitequark> ask on the ##openfpga IRC channel, perhaps?
<d1b2> <brainstorm> Thanks for the pointers!
<d1b2> <brainstorm> Is it ok to ask on #fpga on this 1BitSquared Discord server? Or is it better #openfpga over freenode/liberachat?
<whitequark> i don't use the discord server and have no idea whether the relevant people are in the #fpga channel
<whitequark> (also, note that it's ##openfpga, not #openfpga)
<d1b2> <brainstorm> Gotcha, I'll give it a shot on ##openfpga
<whitequark> oh, and i just got an XC9572 and an XC95288 devboard
<whitequark> the latter the exact same model you have
<d1b2> <brainstorm> Hah, how come? 🙂 ... are those really still useful in production? They seem to be rather power hungry compared to others according to the datasheet(s).
<whitequark> well, need something to test the applet on
<whitequark> most of the devboards i have are like that
<d1b2> <brainstorm> Thanks for today's super informative session @whitequark , I love to learn this stuff 🙂 It's getting late over here in Australia and tomorrow there's #dayjob again, going to sleep a bit, cheers!
bvernoux has joined #glasgow
codemin has quit [Ping timeout: 260 seconds]
codemin has joined #glasgow
egg|laptop|egg_ has joined #glasgow
egg|laptop|egg_ has quit [Remote host closed the connection]
balrog has quit [Quit: Bye]
balrog has joined #glasgow
egg|laptop|egg_ has joined #glasgow
mal has quit [Quit: mal]
egg|laptop|egg_ has quit [Remote host closed the connection]
egg|laptop|egg_ has joined #glasgow
jstein has joined #glasgow
Tom has joined #glasgow
codemin has quit [Ping timeout: 260 seconds]
mal has joined #glasgow
GNUmoon has quit [Ping timeout: 276 seconds]
ali_as has joined #glasgow
redstarcomrade has joined #glasgow
GNUmoon has joined #glasgow
jstein has quit [Quit: quit]
pg12 has quit [Ping timeout: 268 seconds]
pg12 has joined #glasgow