Keil Logo

overlay_manager

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Author
ham ham
Posted
6-Apr-2018 08:57 GMT
Toolset
ARM
New! overlay_manager

hello!! could you tell me from where the function load_overlay call its parameter "int n"
PS:the function is implemented by keil team

Author
Andrew Neil
Posted
6-Apr-2018 10:37 GMT
Toolset
ARM
New! RE: overlay_manager

I guess you're still struggling with this:

http://www.keil.com/forum/63466/

And I guess you're now talking about this:

http://www.keil.com/support/man/docs/armclang_dev/armclang_dev_pge1466157476779.htm

'from where the function load_overlay call its parameter "int n"'

A function does not "call" its parameters; you supply the parameters when you call the function.

As the example shows, it identifies which overlay is to be loaded.

Author
ham ham
Posted
6-Apr-2018 11:36 GMT
Toolset
ARM
New! RE: overlay_manager

does overlay_manager support only 2 modules ?

Author
Andrew Neil
Posted
6-Apr-2018 11:59 GMT
Toolset
ARM
New! RE: does overlay_manager support only 2 modules ?

Why would you think that?

What does the documentation say?

Author
ham ham
Posted
6-Apr-2018 14:01 GMT
Toolset
ARM
New! RE: does overlay_manager support only 2 modules ?

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

Author
Westonsupermare Pier
Posted
6-Apr-2018 22:26 GMT
Toolset
ARM
New! RE: does overlay_manager support only 2 modules ?

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.

Author
ham ham
Posted
8-Apr-2018 21:43 GMT
Toolset
ARM
New! RE: does overlay_manager support only 2 modules ?

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 ?

Author
Andrew Neil
Posted
9-Apr-2018 09:13 GMT
Toolset
ARM
New! RE: i have just a doubt ...

So have you studied the documentation to resolve that doubt?

Author
ham ham
Posted
9-Apr-2018 11:23 GMT
Toolset
ARM
New! RE: i have just a doubt ...

yes i read it unfortunately there is no a clear explanation for this mecanism

Author
ham ham
Posted
9-Apr-2018 17:42 GMT
Toolset
ARM
New! RE: i have just a doubt ...

i couldn't force the linker to use the mecanism overlay_manager implemented by keil because the linker do it automaically

Author
Ron Wedge
Posted
10-Apr-2018 18:25 GMT
Toolset
ARM
New! RE: i have just a doubt ...

Hello Hamzi,

It sounds like you want to do something like this:

http://www.keil.com/support/man/docs/armclang_dev/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:

https://community.arm.com/tools/f/discussions/10007/overlay_manager

If so, you might want to link from there to over here.

Author
ham ham
Posted
11-Apr-2018 09:30 GMT
Toolset
ARM
New! RE: i have just a doubt ...

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

Author
Kevin from Support
Posted
11-Apr-2018 15:59 GMT
Toolset
ARM
New! RE: i have just a doubt ...

Hello Hamzi,

The overlay mechanism works differently in ARM compiler 5. This article may be useful to you:

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka4234.html

See also:

http://www.keil.com/support/man/docs/armlink/armlink_pge1362066004071.htm

Author
ham ham
Posted
11-Apr-2018 23:03 GMT
Toolset
ARM
New! RE: i have just a doubt ...

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

Author
Kevin from Support
Posted
9-Jul-2018 19:11 GMT
Toolset
ARM
New! RE: i have just a doubt ...

Hello Ham,

Are you still having issues with this?

On the 2nd link, did you see that there was example code in a zip file?

the "Download example source code" link.

It provided the bare bones of an overlay manager. You will need this overlay manager because the Arm libraries will not do the overlays automatically for you.

If you are having issues adapting this sample code to work in a Keil IDE project, let us know.

Good luck with your project.

Author
ham ham
Posted
16-Apr-2018 09:18 GMT
Toolset
ARM
New! RE: does overlay_manager support only 2 modules ?

any news Westonsupermare Pier ?

Author
Westonsupermare Pier
Posted
16-Apr-2018 16:51 GMT
Toolset
ARM
New! Any news

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.

Author
Andrew Neil
Posted
16-Apr-2018 16:58 GMT
Toolset
None
New! This is your project

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.

Author
ham ham
Posted
16-Apr-2018 21:49 GMT
Toolset
ARM
New! RE: Any news

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

Author
Peterson Quadros from Arm
Posted
17-Apr-2018 12:09 GMT
Toolset
ARM
New! RE: Any news

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

Next Thread | Thread List | Previous Thread Start a Thread | Settings

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.