I use TMS320F2812 !
Software is made in two parts:
Project 1 is Bootloader in Flash A
Project 2 is main program in remaining Flash B,C.....
All two projects need Flash API.
To save more space in main project I want to call Flash API in Bootloader from main project!
I can compile both projects that Flash API is always at same position in flash.
But it crashes! I think it is because ram position of variables is not same and I don't know how to solve this problem.
May be I can recompile Flash API and reserve same ram position in both projects.
How to get Flash API source code or is there a other solution to solve this problem?