I am working on a bootloader for the TC39x and am looking for a large amount of contiguous RAM so that I can download firmware into memory and verify it before flashing it over the existing application. I am told by our customer that we may only need about 1MB, but I am intrigued that there is 4MB in the EMEM address space.
I am wondering if that EMEM is available for use in this way. In the bootloader we are not running a normal application so I am not worried about it being used for ADAS and other things it is there for while we are running in bootloader mode.
I see things about minimum read/write size, SRI, and am also wondering if there is an app note or more information available on accessing it from the TriCore since it does not appear to be accessed like normal memory.
If this is a bad idea and there is a better idea for large contiguous memory I am also interested in that.
Please check if your device supports EMEM & if yes, please refer to the sections 21.3.2 (importantly 220.127.116.11) & 21.3.3 in the UM below regarding the unlocking & using the EMEM.