AnsweredAssumed Answered

Required flash size by bootable loader file/ CLDP

Question asked by matthiaswe on Mar 1, 2018
Latest reply on Mar 7, 2018 by Kader.M



I want to boot code from external SPI2 flash memory. Therefore I've created a bootable loader file from within CCES with the elfloader.exe utility. Its format is binary. In the next step I use the CLDP utility to flash the loader file to the flash memory.


My first question: does the size of the binary loader file directly refer to the memory size occupied in the flash memory?


I need this information to estimate the size to be reserved for the Second Stage Loader as there will be another loader file and constant data be stored on the flash device as well.


My second question: can the CLDP directly be used to write arbitrary constant binary data to specified offsets in the flash - or is the loader file interpreted and only specific parts extracted from the binary?


Kind regards,