This widget could not be displayed.
Not applicable
Jan 01, 2015
03:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 01, 2015
03:49 AM
Hello All,
I would like to ask for support for the below issue facing with the environment as mentioned below.
Working Environment:
controller- TC277TE
Compiler- Tasking 4.0r2
Debugger- trace32
Requirement: To create a build which should have all code at desired location (not default location) except jump instruction at RESET location.
Issue: Here I am using library for some functionality like- _c_init().But for this library code, I am not able to change the code location to desired location.
Here for your reference, i have attached the source files, LSL file, compiler, linker and map files. Please let us know how can I resolve the issue.
Regards,
Dharmik B
I would like to ask for support for the below issue facing with the environment as mentioned below.
Working Environment:
controller- TC277TE
Compiler- Tasking 4.0r2
Debugger- trace32
Requirement: To create a build which should have all code at desired location (not default location) except jump instruction at RESET location.
Issue: Here I am using library for some functionality like- _c_init().But for this library code, I am not able to change the code location to desired location.
Here for your reference, i have attached the source files, LSL file, compiler, linker and map files. Please let us know how can I resolve the issue.
Regards,
Dharmik B
3 Replies
This widget could not be displayed.
Not applicable
Jan 02, 2015
01:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 02, 2015
01:28 PM
_c_init() function is for the initialisation of the assigned global variables which is in the start-up file(cstart.c). And if u want to change your code segment in some other location then u can do it in LSL file by changing the address location of the text segment(PFlash).For this you also need to the check type of bus access to the memory.
This widget could not be displayed.
Not applicable
Jan 03, 2015
09:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 03, 2015
09:24 AM
Thank you for your response. By using lsl file, I am able to change code location for cstart.c and application.c, but I am not able to change for library, which is used from the available compiler library files. Do I have any option to change for application?
This widget could not be displayed.
Not applicable
Mar 18, 2015
07:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 18, 2015
07:42 AM
Hello Dharmik,
of course you are able to change code location for every symbol, even the ones supplied by the compiler.
Just add an select ".text._c_init*"; to your group if you want to change the c_init() location.
of course you are able to change code location for every symbol, even the ones supplied by the compiler.
Just add an select ".text._c_init*"; to your group if you want to change the c_init() location.
This widget could not be displayed.