@User If you feed the serial loader a continuous stream of zeros or ones and trigger the load signal multiple times, shouldn't they all eventually end up being 1 or 0 no matter any setup / hold violations?
t
Tim Edwards
01/06/2022, 2:20 PM
Yes, but that will give you only a minimal amount of information. It will at least tell you that the count comes to and end and that the load worked.
t
tnt
01/18/2022, 7:13 AM
The count definitely comes to an end because this loops a coupe of times then finishes (a0 is the IO config base) :
Note that it only loops a few time because with the flash fetch, it takes a lot of cycles to fetch even a single riscv instruction, so there are a lot of cycle. It's hard to know exactly how many cycles because it's not clear where it start / end exactly but in the order of ~ 1000 cycles probably.