pepijndevos changed the topic of #apicula to: Project Apicula: bitstream documentation and tooling for Gowin FPGAs https://github.com/YosysHQ/apicula -- logs https://freenode.irclog.whitequark.org/apicula
_whitelogger has joined #apicula
FabM has joined #apicula
<trabucayre> pepijndevos: have you tested my fix ?
<pepijndevos> sorry no, I've been fighting spice this weekend
<pepijndevos> Is it merged yet, or do I need to checkout a special branch?
<trabucayre> special branch
<pepijndevos> okay lemme see
<trabucayre> All my tests prove openFPGALoader is not broken with other FPGAs/cable. My first goal for the week-end was to improve transaction... Finally, I have search how to integrate ADALM-2000 in sigrok
<pepijndevos> SRAM Flash: FAIL
<pepijndevos> 8124 0000
<pepijndevos> could just be secure bit?
<trabucayre> with : review_usb_transaction
<pepijndevos> it does actually appear to work
<pepijndevos> yea
<trabucayre> use -v and take log please
<pepijndevos> https://bpa.st/YCFQ
<trabucayre> Everything is good but status register seems not reloaded...
<trabucayre> could you provide your fs ?
<pepijndevos> yea how can I send it?
<trabucayre> I dont know :-/
<trabucayre> too big for a mail ?
<pepijndevos> It should work I think... worth a try
<trabucayre> gwe@trabucayre.com
<pepijndevos> on the way
<trabucayre> in the mail :)
<trabucayre> ok the bitstream is correctly written but the checksum is not updated ...
<trabucayre> Your bitstream take time to be loaded. I've added a delay before reading checksum and it's work
<omnitechnomancer> Can you query the doneness via JTAG?
<trabucayre> omnitechnomancer: yep. it's my idea too
<trabucayre> omnitechnomancer: it's weird, but if I poll in status register the bitstream fails to load...
<trabucayre> with a delay a bit longer it's works
<omnitechnomancer> weird
<pepijndevos> That sums up Gowin pretty well
<trabucayre> gowin programmer don't poll too. I need to check timestamp in wireshark dump for that
<trabucayre> pepijndevos: :)
<trabucayre> and of course this delay is not documented at all
<omnitechnomancer> who documents things
<trabucayre> omnitechnomancer: Yes I know... :-/
<trabucayre> pepijndevos: can you pull repo and test again? Now it must work.
<pepijndevos> CRC check: Success
<trabucayre> yess !
<pepijndevos> awesome
<trabucayre> I need to be sure openFPGALoader is not broken with others FPGAs and cables
<trabucayre> of course I'm open to able contribution :)
<trabucayre> your EBR is a good thing, thank to that I've fixed some limitations :)
<pepijndevos> EBR?
<trabucayre> UG290 p.46
<trabucayre> I seen this in another doc with size with and without this
<trabucayre> Extented Block Ram ? :)
<daveshah> embedded block ram iirc
<daveshah> that's what lattice use anyway
<pepijndevos> ahhh ok
<trabucayre> Am unable to find datasheet with bitstream size ...
<pepijndevos> yea I don't think you'll find that anywhere.
<trabucayre> I've read this this week
<trabucayre> after your problem with wrong CRC
<pepijndevos> oh? in that case I'm curious to read this document. Maybe it contains other useful bitstream information.
<trabucayre> I search :)
<trabucayre> but since I read crosslink datasheet, gowin, etc. I'm a bit lost :)
<trabucayre> UG290 p45
<pepijndevos> Table 6-1? So that
<pepijndevos> So that is the maximum number with BRAM right? It does not say the "minimum" size.
<trabucayre> yep 6-1
<trabucayre> awesome
<trabucayre> you need UG290-1.04
<trabucayre> WTF
<pepijndevos> ?
<trabucayre> I have ug290 1.04 and 2.0: first show configuration file size (with and without EBR), second shows max configuration file size
<pepijndevos> heeeeey
<pepijndevos> of course their site only has the latter, but my google drive has the former. or at least an old enough version
<trabucayre> funny :-/
FabM has quit [Quit: Leaving]
omnitechnomancer has quit [Quit: killed]
kprasadvnsi[m] has quit [Quit: killed]
notafile has quit [Quit: killed]
wiizzard has quit [Quit: killed]
wiizzard has joined #apicula
notafile has joined #apicula
kprasadvnsi[m] has joined #apicula
omnitechnomancer has joined #apicula