I am having a difficult time trying to wildcard segments using the following command in the linker options command menu ?pr?*?myfile (0400H) ie. SE (?pr?*?myfile (0400H)) I have alot of funtions in the files and if I type each name out I get a pc shutdown error Does this linker have the wildcard capability??? Any ideas on what my problem is??? Thanks, Jim-
Also when I do explicitly list the function name and file name and I want one function to be loacated next to another the linker ignores putting the second file after the first file specified. ie. SE(?PR?myfunc1?myfile1(0400H),?PR?myfunc2?myfile2) it does not located function 2 after function 1, even though I get a clean link. Any explaination for this ? What am I doing wrong???? I have alot of functions to locate together and they are in different files. I really need a wild card. I am trying to move them around within the CODE class. Thanks for any help -Jim
Any particular reason why you need them in a specific order?
Andrew, I need them all to start above address FF4000H. Right now they are all pushed down in code memory. I still intended to keep them in the code class but at or above the FF4000H location.
I was entering the files into the command window one by one and when the command line gets long, I get a general protection PC fault and I am no longer able to inter segment data, application shuts down.
If your command line gets too long, use a command input file; eg,
L251 @commandfile
View all questions in Keil forum