*** tpb has joined #tomu | 00:00 | |
*** pepijndevos has quit IRC | 01:50 | |
*** pepijndevos has joined #tomu | 01:52 | |
xobs1 | mithro: good morning. What's up? | 02:42 |
---|---|---|
*** xobs1 is now known as xobs | 02:44 | |
*** daniellimws has quit IRC | 03:16 | |
*** daniellimws_ has joined #tomu | 03:17 | |
*** ppisati has quit IRC | 04:05 | |
*** ppisati has joined #tomu | 04:12 | |
*** CarlFK has quit IRC | 05:27 | |
*** futarisIRCcloud has quit IRC | 06:00 | |
*** CarlFK has joined #tomu | 06:25 | |
*** cdmatter has quit IRC | 07:02 | |
*** cdmatter has joined #tomu | 07:02 | |
*** tcal has quit IRC | 07:55 | |
*** tcal has joined #tomu | 08:00 | |
*** tcal has quit IRC | 08:04 | |
*** federico3_ is now known as federico3 | 11:30 | |
*** futarisIRCcloud has joined #tomu | 11:45 | |
*** emeb has joined #tomu | 13:30 | |
acathla | Hum, 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 |
xobs | acathla: 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 |
xobs | Is there a "generic" chip you can choose? | 14:16 |
acathla | Flashrom says : Found Macronix flash chip "unknown Macronix SPI chip" (0 kB, SPI) on buspirate_spi. | 14:17 |
acathla | I could force to write it | 14:17 |
xobs | That'd most likely work. | 14:17 |
acathla | Ok, I try | 14:18 |
acathla | oh and xobs, what are the differences between foboot evt-* and evt-spi-* ? | 14:22 |
xobs | That'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 |
acathla | ok, it adds an spi-bone to the raspberry pi | 14:27 |
xobs | Yeah. Basically, when I'm developing something like tinyusb, that's the build I'll use. | 14:27 |
*** emeb1 has joined #tomu | 15:23 | |
*** emeb1 has quit IRC | 15:25 | |
*** emeb has quit IRC | 15:26 | |
*** emeb has joined #tomu | 15:27 | |
acathla | xobs, flashrom can't be forced, so I copy/pasted the MX25R3235F to a new MX25R1635F, divided everything by 2, and it works | 15:29 |
xobs | That works. Weird, I'd imagine they would have a generic programmer. | 15:30 |
xobs | Every 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 |
xobs | Things get a bit weird when it comes to enabling quad mode, but flashrom doesn't support quad mode. | 15:31 |
xobs | Anyway, happy it's working for you! | 15:31 |
tnt | And most have SPD now where you can discover erase block / page size dynamically as well. | 15:31 |
xobs | Yeah. | 15:32 |
xobs | On Betrusted we have an OSPI, which at that point why even call it "S"PI? | 15:32 |
xobs | It starts up as a normal SPI flash device though, and still supports the same command set. | 15:32 |
tnt | Is that 2 QSPI chips or is there really OSPI ? | 15:32 |
tnt | I guess I saw some ... next to hyperram chips IIRC. | 15:32 |
xobs | tnt: It's really OSPI, even runs DDR. On Betrusted it runs at 100 MHz DDR. | 15:33 |
tnt | Oh 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 |
xobs | https://www.mxic.com.tw/Lists/Datasheet/Attachments/7721/MX66UM1G45G,%201.8V,%201Gb,%20v1.1.pdf | 15:36 |
*** tcal has joined #tomu | 15:38 | |
acathla | It blinks green like the real FOMU \o/ but it does not enumerate on USB :( | 15:52 |
xobs | The 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 |
xobs | Could be the other pins are swapped. Or otherwise incorrect. But the blinking means you've got a CPU at least! | 15:53 |
acathla | yeah but no mean to program it yet | 15:54 |
xobs | It could also be that your pull resistor isn't correct. | 15:54 |
*** squelch has quit IRC | 15:56 | |
acathla | Hum, 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 IRC | 16:08 | |
*** tcal has joined #tomu | 16:08 | |
*** tcal has quit IRC | 16:28 | |
*** tcal has joined #tomu | 16:28 | |
*** tcal has quit IRC | 16:32 | |
*** tcal has joined #tomu | 16:43 | |
acathla | xobs, what if I don't type --seed 19 to build foboot? | 16:55 |
acathla | It passes the timings but does not blink anymore, and of course no usb | 16:57 |
acathla | ooops I forgot to release the reset pin, sorry =) | 16:57 |
*** tcal has quit IRC | 17:20 | |
mithro | xobs: Need help figuring out how Make, anaconda and Windows interact for https://github.com/SymbiFlow/conda-env-make/issues/7 | 17:26 |
tpb | Title: Fix the Windows build · Issue #7 · SymbiFlow/conda-env-make · GitHub (at github.com) | 17:26 |
*** CarlFK has quit IRC | 18:55 | |
*** CarlFK has joined #tomu | 19:00 | |
*** eightdot_ is now known as eightdot | 19:51 | |
*** tmenari is now known as spaceinvader | 20:27 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!