I seem to be having the same issue that <@U04TF78Q...
# caravel-board
j
I seem to be having the same issue that @Christian Duffee and others had with reprogramming the flash (in my case after overwriting the GPIO configurations that are shared with the SPI), even while holding down the reset switch and/or shorting the rstb gpio to ground. It doesn't seem like the caravel core is re configuring the GPIO to the default state properly in reset. I've seen a few people with the problem, was a definitive solution ever found? I'm trying to reflash with an external device using the memory headers in the meantime but also without success so far. I know it's a long shot, but does anyone have the script @Tim Edwards mentioned to reflash through the spi using the gpio and memory headers?
t
(1) Everybody has moved from Slack (was owned by Efabless, will soon go to the free version and viewable history will be very short-term) to Matrix on https://fossi-chat.org.
(2) The issue is that the GPIO state is not reset by the reset pin (although this is, essentially, a design error) but only by a power cycle. Holding the RESET pin down is necessary to keep the processor from running the program and immediately reprogramming the GPIOs. The trick (and it really is a bit tricky) is to hold down the reset button, and while you are holding the reset button down, power cycle the board by unplugging and re-plugging the USB. Then (keep holding that button down!) run the script to re-program the SPI flash. One the program says that it is erasing the flash, then it's safe to let go of the button.
j
Thanks I'll join over there!