S08 - Defining more than one segment rule syntax ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S08 - Defining more than one segment rule syntax ?

1,931 次查看
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 回复

571 次查看
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 项奖励
回复