ChanServ changed the topic of #glasgow to: glasgow debug tool · code https://github.com/GlasgowEmbedded/glasgow · logs https://freenode.irclog.whitequark.org/glasgow · discord https://1bitsquared.com/pages/chat · production https://www.crowdsupply.com/1bitsquared/glasgow · no ETAs at the moment
SwapK has quit [Remote host closed the connection]
electronic_eel has quit [Ping timeout: 260 seconds]
electronic_eel_ has joined #glasgow
PyroPeter_ has joined #glasgow
PyroPeter has quit [Ping timeout: 265 seconds]
PyroPeter_ is now known as PyroPeter
FFY00 has quit [Remote host closed the connection]
<d1b2> <brainstorm> Hello folks, I have a very specific question... I have a working hand-assembled Glasgow Rev.C1 board. At the current nMigen development stage, how hard you reckon it'd take me to be able to read/write this TSOP56 Flash IC?: https://www.digikey.com/product-detail/en/cypress-semiconductor-corp/S29PL127J70TFI130/S29PL127J70TFI130-ND/5788094 I've noticed that nmigen-stdio's repo still does not have SPI support, so I guess the steps to get there would
<d1b2> be (veery high level point of view): 1) Implementing SPI support there. 2) Defining that flash Pinout and client-side read/write loops? Could any of you point me to alternative toolchains/example code, etc... if my outline would be too painful to implement at this stage of development? Thanks in advance!
FFY00 has joined #glasgow
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #glasgow
<d1b2> <TiltMeSenpai> doesn't glasgow have spi support?
<d1b2> <tnt> @brainstorm That flash has more than 16 pins ...
<d1b2> <brainstorm> > @brainstorm That flash has more than 16 pins ... @tnt True, only 8 channels available on the Glasgow. How would one implement it? Fast shift registers and/or multiplexing?
<d1b2> <tnt> yeah you'd need external latching / muxing ...
Getorix has joined #glasgow
Getorix_ has quit [Ping timeout: 240 seconds]
Stormwind_mobile has quit [Remote host closed the connection]
Stormwind_mobile has joined #glasgow
<d1b2> <brainstorm> I wonder how FlashCat does it: https://www.embeddedcomputers.net/products/FlashcatUSB/
<noopwafel> does that flash IC support SPI?
<d1b2> <brainstorm> Yeah, an conforms with CFI: https://www.cypress.com/file/207091/download
<d1b2> <noopwafel> CFI just gives you some metadata for parallel interface flash
<d1b2> <h0m3us3r> i dont see that flash in the flashcat's supported list
<d1b2> <noopwafel> and I don't see any possibility for serial access in the datasheet of the flash chip you're looking at
<d1b2> <brainstorm> > i dont see that flash in the flashcat's supported list @h0m3us3r https://www.embeddedcomputers.net/products/FlashcatUSB_Mach1/
<d1b2> <noopwafel> ah, so I guess that has more pins 😄
<d1b2> <brainstorm> Indeed XD... ok, glasgow doesn't seem to match the specs I need, fair enough, thanks folks!
<d1b2> <noopwafel> shouldn't be a problem with some external muxing, but yeah sadly not straightforward
Stormwind_mobile has quit [Read error: Connection reset by peer]
Stormwind_mobile has joined #glasgow
Stormwind_mobile has quit [Ping timeout: 256 seconds]
bvernoux has joined #glasgow
niklas has joined #glasgow
niklas is now known as Guest53742
Guest53742 has quit [Client Quit]
_whitelogger has joined #glasgow
<whitequark> brainstorm: there is already support for parallel flashes
<whitequark> in fact you should be able to easily read and write that specific flash IC
<whitequark> do `glasgow run memory-prom --help` and follow the instructions
<whitequark> noopwafel: tnt: this is literally in the README... please don't misinform people
<_whitenotifier-b> [GlasgowEmbedded/glasgow] whitequark pushed 2 commits to master [+3/-0/±4] https://git.io/JJPDM
<_whitenotifier-b> [GlasgowEmbedded/glasgow] whitequark 5a9f4f4 - applet.program.avr.jtag: new applet. (WIP)
<_whitenotifier-b> [GlasgowEmbedded/glasgow] whitequark 37ad79a - README: parallel memories can be written too, not just read.
<whitequark> argh
<_whitenotifier-b> [GlasgowEmbedded/glasgow] whitequark pushed 1 commit to master [+0/-0/±1] https://git.io/JJPD9
<_whitenotifier-b> [GlasgowEmbedded/glasgow] whitequark a450d1e - README: parallel memories can be written too, not just read.
<_whitenotifier-b> [glasgow] Error. The Travis CI build could not complete due to an error - https://travis-ci.org/github/GlasgowEmbedded/glasgow/builds/715825611?utm_source=github_status&utm_medium=notification
Stormwind_mobile has joined #glasgow
FFY00 has quit [Remote host closed the connection]
<d1b2> <noopwafel> Oh nice, I thought you would need the shift ICs
<tnt> But ... you _do_ need external circuitry ... unless I'm missing something.
<whitequark> you do need it
<whitequark> the difference is that it's actually well supported
<whitequark> you won't need to fiddle with shift registers *and* then fiddle with gateware
<d1b2> <noopwafel> Sorry, anyway
<whitequark> you can just add some shift registers and then everything else will work right away
<tnt> You also need to dump it twice just because ... 16 bits databus ..
<whitequark> tnt: huh, my bad, sorry
<tnt> Not sure how that works for write actually, is there a byte mask ?
<whitequark> i thought it has ~BYTE
<whitequark> but... it doesn't
<whitequark> yes, then it's just not possible to write, you are right
<d1b2> <noopwafel> Easy to do it twice anyway
<d1b2> <noopwafel> For read
<whitequark> gah, should not use IRC while not fully awake :/
Stormwind_mobile has quit [Ping timeout: 264 seconds]
Stormwind_mobile has joined #glasgow
tomtastic_ has quit [Quit: ZNC - https://znc.in]
tomtastic has joined #glasgow
Stormwind_mobile has quit [Ping timeout: 240 seconds]
Stormwind_mobile has joined #glasgow
m4ssi has joined #glasgow
tomtastic has quit [Ping timeout: 240 seconds]
tomtastic has joined #glasgow
m4ssi has quit [Remote host closed the connection]
bvernoux1 has joined #glasgow
bvernoux has quit [Ping timeout: 246 seconds]
bvernoux1 has quit [Quit: Leaving]
bvernoux has joined #glasgow
electronic_eel_ is now known as electronic_eel
bvernoux has quit [Quit: Leaving]
ali_as has quit [Ping timeout: 246 seconds]