Hi,
When booting from EMIF16 CS0 NOR flash (C6678), so fetching code directly from flash, it is possible to change the A1CS register so too speed up the execution?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
When booting from EMIF16 CS0 NOR flash (C6678), so fetching code directly from flash, it is possible to change the A1CS register so too speed up the execution?
Hi Alberto,
Your idea is a good one but you might want to take it a step further. I suggest that you create your two stage bootloader but expand on your first stage. The EMIF16 bootloader doesn't set up the PLLs so your SOC is still running at the bypass frequency. In addition, the maximum delays are set for the EMIF16 interface and these delays are based internal clock for the EMIF16 IP. This frequency is the SYSCLK1 frequency divided by 6 where SYSCLK1 is still equal to the bypass frequency of the system PLL. As you've determined, this will result in a very slow boot. I suggest that you load your first stage into internal memory and use it to set up the PLL, initialize the DDR3, reconfigure the EMIF16 registers for faster accesses and then copy the remaining boot code to the DDR3 memory. Once the boot code is loaded into DDR3, you can then jump to an entry point in the DDR3 and execute from there.
Regards,
Bill
The RBL configures the system PLL to set the device speed
[...]
The main PLL stays in bypass mode for no-boot, SPI, and I2C boot. For other boot modes, a PLL initialization sequence executes inside the boot ROM to configure the main PLL in PLL mode