We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I'v a obj file without its source code (.c file) and I must use the fuctions of this obj file in my project.The most important thing is I want to LOCATE the fuction (i.e. the obj file's entry address)at absolute address in code space(for example:3000H). How could I do it? any advices are helpful ,3x.
how to assign obj file's entry address through BL51
SIT DOWN BEFORE READING ON THIS WILL SHOCK YOU
SURPRISE! the answer can be found in the BL51 manual
Erik
thanks, Erik. I'v already seen the BL51 manual. It mentioned about the topic,but not give the detail method,as I questioned at another thread. Perhaps I'v not understood the real meaning in the BL51 manual. IF you know the answer exactly, pls tell me how to set BL51 options. You can say "I don't know" easily instead of answering me like above if you don't want to tell me .
3x
.
Thanks all. The details is obj file name is FPROUND.OBJ and the fuction named ?C?FPROUND in it that I use. I'v seen the "CODE Linker Directive" and want to set in uVision Options â€" BL51 Locate â€" Code Segments. Linker always reports error .WHAT IS THE CORRECT FORMAT FOR IT?
?PR?C?FPROUND?ROUND(0X3000) or ?C?FPROUND?(0X3000) or others?
HOW TO EXPRESS THE OUTSIDE OBJ FILE IN CODE SEGMENT OPTION? It troubles me for a long time.
that you are totally enamored by the IDE which suffer from many abilities
using the CODE keyword is dead easy in commandline operation