Hello Hymalai,
In the default RAM lcf file P4080DS_gcc-eabi_core0.lcf, the stack and heap definitions are out of the range of 1M CPC as SRAM, and the TLB miss exception will be encountered. Please use SRAM version LCF file e500mc_gcc-eabi_SRAM.lcf, which I mentioned in the previous thread.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------