Discussion in "Project Help" started by    Utsavi    Jul 5, 2017.
Wed Jul 05 2017, 11:12 AM
#1
Hello

I am using Tasking EDE and working on XAG-49.

How can I place a code at absolute address.

In FC51 just by changing batch file I am able to place code on absolute address. But in Tasking How can I do that?

Where can I find my linker file location?

I go through Linker/Locator->Change CODE option but that show me an error.

I also change RESET_VECTOR in XA.dsc file but that fails to place code at absolute address(seen from .hex file).

Regards
Utsavi Bharuchwala
Wed Jul 05 2017, 07:53 PM
#2
If this can be done, it will be specialised for the linker you are using.
I certainly don't know how
In 'c' it is very unusual to put code at a fixed location.
Why do you need to do it ?
Thu Jul 06 2017, 04:20 AM
#3
Hi Experimental UK,

In my case I have made a custom bootloader for XAG-49. And I want to place my bootloader in Block 0 (0H-2000H).

My main program is large having size of 0xD147. And If I can shift it to block 1 then, I can erase all blocks except block1.

Regards,
Utsavi Bharuchwala


[ Edited Thu Jul 06 2017, 04:22 AM ]
Thu Jul 06 2017, 09:08 PM
#4
Most IDEs (Integrated Development Environment) call the linker using a
command line string.
Does your IDE have a Linker settings tab, that allows you to add items to the string ?

Most IDEs echo the build strings in the compilation message window.

If you can see that string, you may be able to call the linker separately
using your own string with the Location command added.
Mon Jul 17 2017, 06:32 AM
#5
Tasking EDE has linker script facility available you need to link your code to start location where you wanted the code start area for application.
If you do not want to write a linker script then inside project Linker/Locator option you can specify ROM address in "Memory" tab. You can specify the start address where you want to load application code.
Mon Jul 17 2017, 09:57 AM
#6
Hello Ajay_Bhargav,

Thanks for your reply. Yes, you are right. By writing HCODE and CODE sections address in Linker/Locator->Code, I am able to relocate program at my desire address.

The name of address I got from .map file and the syntax I got from .i file and from documents I have.

Regards
Utsavi Bharuchwala

Get Social

Information

Powered by e107 Forum System

Conversation

ExperimenterUK
Wed Jul 26 2017, 07:51 PM
Please post questions in the forum, the chat box is for chat
msd007
Wed Jul 26 2017, 11:27 AM
i need code if any one have aduc706 interfacing lcd 16*2
msd007
Wed Jul 26 2017, 11:26 AM
pl help me how to write code of interfacing ADuc7026 controlleo lcd pl any one help me hoe to initializend configure the direction
rammichael
Wed Jul 26 2017, 06:04 AM
can you explain what is timer and how to use their modes ...
rammichael
Wed Jul 26 2017, 06:03 AM
ExperimenterUk thank you for your quick reply okay
ExperimenterUK
Wed Jul 26 2017, 01:43 AM
rammichael & Sarvn We will help,but mainly by answering questions about problems.
rammichael
Tue Jul 25 2017, 10:59 AM
i want few tips to learn to become an expert in embedded systems ...?anybody is there to help me?
Sharmi
Sun Jul 23 2017, 04:13 AM
Sir, I wants to make a digital clock with RTC using AT89C51 or AT89C2051 and seven segment led. Sir will u help me?
Sarvn
Sat Jul 22 2017, 11:42 AM
I wnt to learn embedded could anyone help me
Sarvn
Sat Jul 22 2017, 11:41 AM
Hi

Downloads

Comments

msd007
Wed Jul 26 2017, 11:23 AM
hmn16
Wed Jul 26 2017, 01:04 AM
rammichael
Tue Jul 25 2017, 07:12 AM
Rohanmore26
Tue Jul 25 2017, 04:26 AM
AlFaller
Mon Jul 24 2017, 02:31 PM
Sarvn
Sat Jul 22 2017, 11:34 AM
diablom
Fri Jul 21 2017, 01:44 PM
Alihaider.007
Thu Jul 20 2017, 03:07 PM

Online

Guests: 55, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 37866
Newest member: msd007
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Jul 26 2017, 07:35 PM
A byte such as 0xfa will not pass through the sys...
hmn16 Avatar
Posted By hmn16
Wed Jul 26 2017, 01:08 AM
Hello, I am current;y trying to send a hexadecimal...
Rohanmore26 Avatar
Posted By Rohanmore26
Tue Jul 25 2017, 04:29 AM
Hello I want to know How 3D stitching of 2 3D imag...
AlFaller Avatar
Posted By AlFaller
Mon Jul 24 2017, 02:40 PM
Here is a lot information about using virtual COM ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Jul 20 2017, 04:08 PM
can it be possible ?? Alihaider.007No.You will nee...
Alihaider.007 Avatar
Posted By Alihaider.007
Thu Jul 20 2017, 03:14 PM
Sir I am using AT89S8253 I have trying to use this...
Utsavi Avatar
Posted By Utsavi
Mon Jul 17 2017, 09:57 AM
Hello Ajay_Bhargav,Thanks for your reply. Yes, you...
ajay_bhargav Avatar
Posted By ajay_bhargav
Mon Jul 17 2017, 06:41 AM
I do not think it would be a good idea to kind of ...
ajay_bhargav Avatar
Posted By ajay_bhargav
Mon Jul 17 2017, 06:32 AM
Tasking EDE has linker script facility available y...
Ramweit Avatar
Posted By Ramweit
Thu Jul 13 2017, 06:58 AM
Thank you for response,Sim300 gsm Modem am using h...