Hi all,
From my understanding Caravel bootloader takes the executable from an external spi flash and then copies it to internal sram and then runs from there. Once the chip comes, will the test board provide necessary hw to flash an bin file into the spi flash ?. Please correct me if I am wrong. Also what would be the on board connected clock frequency to the Caravel SoC ?
m
Matt Venn
10/18/2021, 2:32 PM
yes, it will have USB FTDI interface that can program the flash via the managment area of the caravel soc
Matt Venn
10/18/2021, 2:32 PM
think the clock is 10M
s
Siva Prasad
10/18/2021, 2:36 PM
Thanks🙂
t
Tim Edwards
10/18/2021, 2:37 PM
@Siva Prasad: It is not a bootloader per se, although it can be done that way. Normally the program runs directly off of the SPI flash, not from SRAM (which is pretty limited). The program can configure the SPI flash for quad DDR mode, which should be able to read only (I think) 4x slower than it would read the program from SRAM. The external clock we use on the boards is 10MHz, although if you switch to the DLL, you should be able to drive the processor at 50MHz, which is what it was designed to.
s
Siva Prasad
10/18/2021, 3:20 PM
Oh is it like xip mode in flash . Execute in place , directly from flash ? . How can we configure the DLL ?
a
Amro Tork
10/18/2021, 4:32 PM
@Moataz Alaa@Rawan Adel
t
Tim Edwards
10/18/2021, 6:46 PM
@Siva Prasad: I have documentation on the DLL somewhere in the caravel repository under docs/, I think, unless somebody removed it. It is pretty straightforward, with a feedback divider and an output divider, that can be programmed through the SPI. There is also a mode for the SoC to drive the SPI to change the same settings, but the settings themselves are part of the SPI.
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.