Hi,
I have a question about the behavior of C674x Bootloader.
According to Bootloader document, L1D seems to be configured as Full-Cache in emulation boot mode:
Kawada
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,
I have a question about the behavior of C674x Bootloader.
According to Bootloader document, L1D seems to be configured as Full-Cache in emulation boot mode:
Hi Kawada-san,
I checked the ROM memory map and can confirm that L1D is not configured as complete cache when the bootloader is running. L1D (starting from 0x00f04000) is configured as 16Kb cache. The initial 16KB are used for stack, miscellaneous purpose and following 8KB are used as a memory buffer to load page data from NAND during NAND boot. The cached portion of the memory should not be used by any initialized section of the user application.
But as Mukul mentioned before the RBL exits, it restores the device DSP cache configuration back to what you would see at power on reset of the device i.e. L1P and L1D all cache and L2 all RAM. Inorder to use L1D as SRAM users have to change L1D cache to L1D SRAM as part of the application initialization.
Regards,
Rahul
Note: Secondary bootloader is also an user application so let us not get confused with the terminologies. Code that runs after boot needs to configure L1D as SRAM to access it.