trabucayre changed the topic of #openFPGALoader to: Universal utility for programming FPGA / Github: https://github.com/trabucayre/openFPGALoader/ Logs: https://libera.irclog.whitequark.org/openFPGALoader
<trabucayre> cr1901: I have reread piece of code: it's seems "just" required to do a more deeply bit parsing to extract configuration data, no?
<trabucayre> the latticeBitParser must be updated to provide required data/featurebits
<trabucayre> But before: i'm to finish the pof file analyze to write max10's flash.
<trabucayre> and rfb uncompressing
<trabucayre> s/rfb/rbf/g
<trabucayre> unfortunately jevinskie[m] has gone
<trabucayre> and also a iceVwireless draft ;)
<trabucayre> iceV is almost ready (I suppose: I haven't the board) :)
<cr1901> trabucayre: Yes, I think so. I think the same bitstream image is used regardless of internal or external flash. So .jed/.bit should do the right thing for both internal/external
<cr1901> I've no easy way to test with an external flash for MachXO2, but it probably should be supported at some point
<trabucayre> never tried external flash :)
<trabucayre> I have always used jed for flash
<cr1901> Rarely, compressed bitstreams won't fit in internal flash, although I think most useful designs will
<cr1901> just like how most useful text strings compress to be smaller
<trabucayre> It's weird: internal flash must theoretically have enough space for the bitstream. Maybe some part must be move in others sections?
<trabucayre> Usually a bitstream for a specific device has always the same size, regardless to the content (and without compress).
<trabucayre> But maybe I'm wrong
<cr1901> Oh, MachXO2 internal bitstream must be compresse
<cr1901> d*
<trabucayre> Ok.
<trabucayre> I have to re-read datasheet for this deviceÃ.
<trabucayre> And using the .bit seems not really hard to implement
<cr1901> Happy to test it if/when you have a branch
<trabucayre> Thanks!
<cr1901> Would be really happy if I don't have to implement it again (I did the tinyfpga a programmer support)
<trabucayre> :)
<trabucayre> parser is almost ready: I have to cleanup code and try with my board.
<cr1901> I will be back in a bit
<trabucayre> whoa 98 fpgas supported (ok most are the same with different size)
<trabucayre> I think it's time to me to go to the bed tomorrow it's day job... And my cat want me to stop :)