#pragma CODE_SEG no effect

Discussion created by David LECOMTE on Nov 7, 2008
Latest reply on Nov 12, 2008 by David LECOMTE
I would like write my application SW between E000->F7AD and the bootloader application between F7AD->FFAD. So i modify prm file like this:
/* This is a linker parameter file for the mc9s08qe8 */
NAMES END /* CodeWarrior will pass all the needed files to the linker by command line. But here you may add your own files too. */
SEGMENTS /* Here all RAM/ROM areas of the device are listed. Used in PLACEMENT below. */
    Z_RAM                    =  READ_WRITE   0x0060 TO 0x00FF;
    RAM                      =  READ_WRITE   0x0100 TO 0x025F;
    ROM                      =  READ_ONLY    0xE000 TO 0xF7AD;
    BOOTLOADER               =  READ_ONLY    0xF7AE TO 0xFFAD;
    ROM1                     =  READ_ONLY    0xFFC0 TO 0xFFCD;
 /* INTVECTS                 =  READ_ONLY    0xFFCE TO 0xFFFF; Reserved for Interrupt Vectors */
I put in my .c file
#pragma CODE_SEG
Bootloader SW
#pragma ROM
But when i open my .s19 file, the data position begins 0xE000 to E150 (150 Bytes is sizeof all code). I would like see
0xE000->E100 (100 bytes size of application SW )
0xF7AD->0xF7FD (50 bytes size of bootloader SW )
Do you have any idea my issue? i use MC9S08QE8
Thanks David