I need to locate a large number of functions in the a specific memory range. I have tried using the ?pr?*?myobject wildcard like this:
?PR?*?myobject (0XC11200)
(myobject has 3 functions: fxn1,fxn2,fxn3)
all it does is locate the first function and then gives these error messages:
*** ERROR L120: CONTENT BELONGS TO ERRONEOUS SEGMENT SEGMENT: ?PR?fxn2?myobject *** ERROR L120: CONTENT BELONGS TO ERRONEOUS SEGMENT SEGMENT: ?PR?fxn3?myobject
=== is there a better way to do this? can i simply specify a new memory class and assign my new functions to the new class? if so, how do i do this?
I'm afraid you're mistaken about what that does. If that wild-card does work, it'll locate all the matching sections to that single location. Which, of course, explains why it doesn't work, and also explains the exact error message.
I don't think the Keil tools are prepared to allow the kind of trick you want to pull off. You'll have to name all functions' sections individually in a CODE [BL51] or SEGMENTS [LX51] directive.