Thursday, 2020-06-18

*** tpb has joined #tomu00:00
*** pepijndevos has quit IRC01:50
*** pepijndevos has joined #tomu01:52
xobs1mithro: good morning. What's up?02:42
*** xobs1 is now known as xobs02:44
*** daniellimws has quit IRC03:16
*** daniellimws_ has joined #tomu03:17
*** ppisati has quit IRC04:05
*** ppisati has joined #tomu04:12
*** CarlFK has quit IRC05:27
*** futarisIRCcloud has quit IRC06:00
*** CarlFK has joined #tomu06:25
*** cdmatter has quit IRC07:02
*** cdmatter has joined #tomu07:02
*** tcal has quit IRC07:55
*** tcal has joined #tomu08:00
*** tcal has quit IRC08:04
*** federico3_ is now known as federico311:30
*** futarisIRCcloud has joined #tomu11:45
*** emeb has joined #tomu13:30
acathlaHum, I chose a MX25R1635FZUIH0 flash rom for a fomu-like circuit, but it's not recognised by flashrom, what are my other options to flash it through SPI? I use a buspirate for now.14:15
xobsacathla: it should work with most standard programmers. it doesn't have anything bizarre, particularly if you're not interested in doing quad-spi.14:16
xobsIs there a "generic" chip you can choose?14:16
acathlaFlashrom says : Found Macronix flash chip "unknown Macronix SPI chip" (0 kB, SPI) on buspirate_spi.14:17
acathlaI could force to write it14:17
xobsThat'd most likely work.14:17
acathlaOk, I try14:18
acathlaoh and xobs, what are the differences between foboot evt-* and evt-spi-* ?14:22
xobsThat's actually an excellent question, and I should explain more.14:23
xobs`evt-spi` is a precompiled version with `spibone`, suitable for use with `wishbone-tool` to e.g. debug USB.14:23
xobs`evt` has normal USB debug, just like `pvt` and `hacker` do.14:24
acathlaok, it adds an spi-bone to the raspberry pi14:27
xobsYeah. Basically, when I'm developing something like tinyusb, that's the build I'll use.14:27
*** emeb1 has joined #tomu15:23
*** emeb1 has quit IRC15:25
*** emeb has quit IRC15:26
*** emeb has joined #tomu15:27
acathlaxobs, flashrom can't be forced, so I copy/pasted the MX25R3235F to a new MX25R1635F, divided everything by 2, and it works15:29
xobsThat works. Weird, I'd imagine they would have a generic programmer.15:30
xobsEvery flash chip I've worked with has been the same: Write an unlock byte, followed by an erase byte, and poll the status register until it's ready. Then write an unlock byte, write 256 bytes of data, and poll the status register until it's ready.15:31
xobsThings get a bit weird when it comes to enabling quad mode, but flashrom doesn't support quad mode.15:31
xobsAnyway, happy it's working for you!15:31
tntAnd most have SPD now where you can discover erase block / page size dynamically as well.15:31
xobsYeah.15:32
xobsOn Betrusted we have an OSPI, which at that point why even call it "S"PI?15:32
xobsIt starts up as a normal SPI flash device though, and still supports the same command set.15:32
tntIs that 2 QSPI chips or is there really OSPI ?15:32
tntI guess I saw some ... next to hyperram chips IIRC.15:32
xobstnt: It's really OSPI, even runs DDR. On Betrusted it runs at 100 MHz DDR.15:33
tntOh nice. Most flash chip I found with QSPI DDR had a max freq of half their SDR max freq making the DDR mode ... not so useful.15:34
xobshttps://www.mxic.com.tw/Lists/Datasheet/Attachments/7721/MX66UM1G45G,%201.8V,%201Gb,%20v1.1.pdf15:36
*** tcal has joined #tomu15:38
acathlaIt blinks green like the real FOMU \o/ but it does not enumerate on USB :(15:52
xobsThe LED is the same on all ice40 parts, and if it's blinking then that means you've got the crystal correct too.15:53
xobsCould be the other pins are swapped. Or otherwise incorrect. But the blinking means you've got a CPU at least!15:53
acathlayeah but no mean to program it yet15:54
xobsIt could also be that your pull resistor isn't correct.15:54
*** squelch has quit IRC15:56
acathlaHum, that could be because the schematics of the usb plug on kicad for the EVT is VBUS, D-, D+, GND, and mine has switched D+ and D- :(16:05
*** tcal has quit IRC16:08
*** tcal has joined #tomu16:08
*** tcal has quit IRC16:28
*** tcal has joined #tomu16:28
*** tcal has quit IRC16:32
*** tcal has joined #tomu16:43
acathlaxobs, what if I don't type --seed 19 to build foboot?16:55
acathlaIt passes the timings but does not blink anymore, and of course no usb16:57
acathlaooops I forgot to release the reset pin, sorry =)16:57
*** tcal has quit IRC17:20
mithroxobs: Need help figuring out how Make, anaconda and Windows interact for https://github.com/SymbiFlow/conda-env-make/issues/717:26
tpbTitle: Fix the Windows build · Issue #7 · SymbiFlow/conda-env-make · GitHub (at github.com)17:26
*** CarlFK has quit IRC18:55
*** CarlFK has joined #tomu19:00
*** eightdot_ is now known as eightdot19:51
*** tmenari is now known as spaceinvader20:27

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!