AURIX™ MCU: Uploading a program for the SCR core from Aurix™ TC3xx TriCore™ system - KBA236332
Store the program as a data array in the TriCore™ flash memory and load it during start up via TriCore™ routine to the SCR XRAM.
For this two C-compilers, TriCore™ and SCR (8051) are used. The SCR program compiler generates a HEX file which is converted to a C array for the TriCore™ linker. After building the project, data array containing the SCR code as HEX data, and the TriCore™ start-up function loads this data to the SCR XRAM. The SCR XRAM now contains the SCR program. TriCore™ starts SCR by enabling the appropriate special function register using Core-0 for initialization.
Figure 1 Data flow of the SCR code to the SCR XRAM
Figure 2 Compilation flow
Note: This KBA applies to the following series of AURIX™ MCUs:
- AURIX™ TC3xx series