I have two modules. And for firmware upgrade necessary, we need to assign fix code address. Ex: BL51 myfile.obj CODE(?PR?*myfile (0x1000)) If we need 2 modules in fix code segment myfile1.obj(0x100) myfile2.obj(0x200) How to type command ?
In that case, you should rewrite. A requirement for fixed addresses indicate code that is not maintainable (the possibility to make a change by brute force does not make a code maintainable). Erik
Sorry, I forgot to annotate. In assembly environment, we can easily do this by "ORG xxx". During firmware upgrade phase, we can overwrite program below xxx. But in C environment, we only have BL51(Lx51)to assign program address. How to do this ? Or is there any tip or trip for program location in C environment ?