Hello,
I have a large application (in combination with CTPL ) that needs to be placed in HIFRAM. I used -mlarge and -mcode-region=either. The code compiles but does not run.
I isolated the issue to CTPL. CTPL code compiled with -mlarge and -mcode-region=either does not execute, just hangs at the beginning. On comparing assembly file with and without mcode-region, the ctpl functions like ctpl_init are placed in 0x0000 when compiled for placing code in higher fram. Does this affect execution? How do I get to execute CTPL correctly with these settings?
I have shared the assembly listings in links below.
The assembly listing for regular ctpl: https://drive.google.com/file/d/1OFOcCro5Iup-1d6Z9dlP0LmsdokRhVHt/view?usp=sharing
And for ctpl compiled with -mcode-region=either : https://drive.google.com/file/d/1-Gc-NJ2Wok1airfU3VzcA-0LKSsnvk9B/view?usp=sharing
Regards,
Archie S