16:42
<
pepijndevos >
trabucayre, does this packbits change make sense to you? Maybe that's why CRC hasn't been working, but just want to make sure it's the correct fix, and we're not just matching bugs on Apicula and OpenFPGALoader
17:06
<
trabucayre >
I didn't see anything about CRC computation... Maybe I'm stupid (or tired :))
17:06
<
trabucayre >
CRC is working for Apicula and OpenFPGALoader no?
17:07
<
trabucayre >
I'have compared results between fs content (when usercode is not used) and Apicula or OpenFPGALoader and it's always match
17:07
<
pepijndevos >
Uhhhh, maybe? I got kind of in a habit of ignoring any "fail" messages from OpenFPGALoader
17:08
<
trabucayre >
OpenFPGALoader never fails (or issue are required) ;-)
17:09
<
pepijndevos >
I thought there was also this issue that you had to set a bit to allow it to read back the bitstream to verify
17:10
<
trabucayre >
Yes I need to add a reback. But With gowin you need to disable something otherwise you read only 0xff
17:11
<
trabucayre >
for all device I need to implement readback...
17:13
<
trabucayre >
security bit maybe
17:14
<
pepijndevos >
I'll try the fix, to see if I can actually get an error-free upload with or without...
17:43
<
pepijndevos >
yea... works as-is for me for gw1n-1
17:47
<
pepijndevos >
well, for gw1n-9 it fails SRAM Flash: FAIL
17:47
<
pepijndevos >
ce26 fede
17:48
<
pepijndevos >
let's see if the axis fix does anything useful
17:49
<
pepijndevos >
yea it actually fixes it for gw1n-9
17:49
<
pepijndevos >
let's see 4
17:51
<
pepijndevos >
oh f my nextpnr branch doesn't have the db yet.
18:20
<
trabucayre >
your gw1n-9 bitstream is with EBR ?
18:21
<
trabucayre >
weird I'm sure apicula working to compute CRC for gw1n-9
18:21
<
trabucayre >
embedded block ram
18:22
<
pepijndevos >
no bram
18:22
<
pepijndevos >
Yea weird... I'm not sure where the bug came from... but I can confirm it was broken and works now
19:45
<
pepijndevos >
welp, GW1N-4 still broken checksum but 0000 661c
20:00
<
pepijndevos >
So I guess that means it can't read back the bitstream at all, right?
20:13
<
trabucayre >
not currently yep...
20:14
<
trabucayre >
I've somewhere code to read back
20:15
<
pepijndevos >
So why is it different for the different gowin devices? Is it just the different ftdi chip? or do they use different jtag commands?
20:17
<
trabucayre >
everything same...
20:17
<
trabucayre >
No I'm wrong gw1n-1 has some different timings compare to others
20:18
<
trabucayre >
1/ Need to add readback 2/ need to order one gw1n-4
20:18
<
pepijndevos >
Then why does it work for gw1n-9 but give 0000 for gw1n-4?
20:19
<
trabucayre >
(3/ need to play to lotto :)))
20:19
<
trabucayre >
good question -> 4/ need to reread datasheet...
20:19
<
pepijndevos >
lol okay
20:21
<
trabucayre >
but in my mind gw1n-1 has specifics timings, others models same but gw1n-9 has padding
20:23
<
pepijndevos >
right
20:43
<
trabucayre >
for RUNBER CRC has always been broken?
20:44
<
pepijndevos >
Uh... it's only been supported for a week. What I could do is try a vendor bitstream
20:47
<
trabucayre >
but anyway, if it's supported by openFPGALoader I need to have corresponding FPGA to check
20:47
<
trabucayre >
it's a bit expensive hobby ;-)
20:47
<
pepijndevos >
heh, since people are giving me money I can get you one if you want
21:51
<
trabucayre >
people give you money to support your work :)
21:52
<
trabucayre >
In fact I'm a bit uncomfortable with gifts (I know it's definitely stupid)
21:53
<
trabucayre >
An idea for CRC==0, timing before reading register is too short. For design with EBR I had to increase delay