hello!! could you tell me from where the function load_overlay call its parameter "int n" PS:the function is implemented by keil team
Why would you think that?
What does the documentation say?
no but the linker can overlay modules automatically without adding an overlay_manager but i want to do it manually without optimising the overlay_manager mechanism
You're getting way over your skis again.
Expand the example from TWO to SIX, understand the mechanics fully
Once you understand how it works fully you'll likely be in a place where you can replace pieces of the code or tailor it, or decide if you need to actually write something like a linker or loader to achieve your end goals.
thank's sir i have just a doubt that the linker reserve automatically section to overlay and he optimize the mecanism of overlay manager !! could you help me on this point ?
So have you studied the documentation to resolve that doubt?
yes i read it unfortunately there is no a clear explanation for this mecanism
i couldn't force the linker to use the mecanism overlay_manager implemented by keil because the linker do it automaically
Hello Hamzi,
It sounds like you want to do something like this:
www.keil.com/.../armclang_dev_pge1466073357552.htm
If so, please tell the Keil IDE not to use the values from the options for target -> Target tab, to automatically generate a linker scatter file.
You can then customize the scatterfile to fit your needs
These links might help:
http://www.keil.com/support/man/docs/uv4/uv4_dg_adsld.htm
http://www.keil.com/support/docs/3701.htm
http://www.keil.com/support/docs/3629.htm
Also, I assume that you cross-posted this request at:
community.arm.com/.../overlay_manager
If so, you might want to link from there to over here.
thanks for your help Ron , in fact am working with the toolchain 5.02 so there is some linker command such as --overlay_veneers wich are not supported on my toolchain so am searching how to force the linker to not overlay section automatically i want that the overlay_manager will do the job
The overlay mechanism works differently in ARM compiler 5. This article may be useful to you:
infocenter.arm.com/.../index.jsp
See also:
www.keil.com/.../armlink_pge1362066004071.htm
thanks for replying kevin , in fact i read all document in the keil support but there is no unfortunately a clear explanation ! haven't you any extra information to add ! because the mecanism deescribed such as overlay_manager and load overlay .. doesn't work i want to force the linker to overlay modules with that mecanism not automatically
any news Westonsupermare Pier ?
Not really, this isn't my project, so not going to sink man-hours of resources into it.
If behaviour isn't documented you'll need to reverse engineer things.
If the behaviour isn't desirable or controllable you'll have to code a linker or manipulate the object files to change the functionality.
Determine if you're trying to solve the right problem with the right tools. Do you need to partition functionality differently, manage the interaction of multiple modules, or implement a different loader mechanism.
If the software provided doesn't do what you want, write software that does, that's really what software engineering is about.
If this is a school project, you should be seeking help from your teachers.
If this is a work project, you should be seeking help from your colleagues or superiors - maybe to hire-in support or training.
i just thought you had worked with overlay mechanism i deduct that from your previous reply so i asked you if i could force the linker to use overlay_manager instead of douing it automatically that's all thanks for your time and help sir
Hi ham ham,
I am the Technical Specialist for the Arm Compiler Toolchains and would like to get you some help.
Would you kindly email me at peterson.quadros@arm.com with details about what are you trying to achieve. Also please provide me details about the version of the toolhchain and whether it is a licenced version or not.
Best regards, Peterson