S08 - Defining more than one segment rule syntax ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S08 - Defining more than one segment rule syntax ?

1,632件の閲覧回数
airbusboy20
Contributor I
Hi
 
In my mc9s08 .prm file, one particular code segment has a requirement for more than one rule, ie, i'd like to use both the RELOCATE_TO and the FILL rules, as per :-
 
    ROM_IMAGE                =  READ_ONLY    0xFC00 TO 0xFDFF 
                                              RELOCATE_TO  0x01B8       
                                              FILL 0xFF;
Unfortunately, i'm having problems with the syntax as whenever i attempt to asign more than one rule, i get a compilation error stating that i have a missing ';' after the first rule.
 
I can specify either rule individually, but not together.
 
Am i missing something here ? Of course, i'm assuming that i can apply more than one rule...
 
Thanks
 
Gary
 


Message Edited by airbusboy20 on 2007-09-07 12:18 PM

Message Edited by airbusboy20 on 2007-09-07 12:18 PM

--
Alban Edit: FSL Part Number in Subject line + split/moved to appropriate location.



Message Edited by Alban on 2007-09-07 02:13 PM
ラベル(1)
0 件の賞賛
返信
1 返信

272件の閲覧回数
CrasyCat
Specialist III
Hello
 
I get it working writing
 
    ROM_IMAGE                =  READ_ONLY    0xFC00 TO 0xFDFF 
                                              RELOCATE_TO  0x01B8       
                                              ALIGN 1 FILL 0xFF;
 
I do not see the reason why you are trying to do that though. The memory area 0xFC00 TO 0xFDFF will be filled up with 0xFF but I am not sure this sis what you are looking for.
 
According to my understanding it should be possible to use RELOCATE_TO and FILL without ALIGN.
 
I would recommend you to submit a service request for that.

Click here to submit a service request.

Make sure to attach a reproducible project and installed product information to the service request.
To generate the required information:
- Start CodeWarrior
- Open the project
- Select "Help" -> "Pack and Go" and follow instructions on the screen.

Attach the generated .zip file to the SR.
CrasyCat
0 件の賞賛
返信