S08 - Defining more than one segment rule syntax ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S08 - Defining more than one segment rule syntax ?

1,686 Views
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
Labels (1)
0 Kudos
Reply
1 Reply

326 Views
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 Kudos
Reply