Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service


Please accept the use of cookies on our site

At PEmicro we use web browser cookies in order to provide you with an enhanced experience and in order to be able to do things like shopping cart processing and identify you when you login to our website.

Click here to accept



search inside this forum
search inside all forums
Programming warning. Can't program 8 bytes to address 0xfffff8 because this range isn't included in the selected modules!
Nagaraj G. Dec 19, 2017 at 07:28 AM (07:28 hours)
Staff: Juan S.

  • Hi All, 
    I am getting the below error after flashing our S12ZVL32 controller,
    ___________________________________________________________________________
    Device MC9S12ZVL32_EEPROM
    Programming ......
    Programming warning. Can't program 8 bytes to address 0xfffff8 because this range isn't included in the selected modules!
    Device MC9S12ZVL32_EEPROM
    Program Command Succeeded
    Flash Operation. done
    ___________________________________________________________________________
    We are afraid that, some of our EEPROM data is not writting into..Please help me if anyone aware of it. why debugger is skipping 8 bytes? we need any algorithm for this? please help!




    Comments

    • Hi Nagaraj, 

      What software are you using to program the S12ZVL32?

  • Hi Juan,
    I am using codeworrior IDE flash option-10.6 version
    Please find the below setup:
    1) IDE-codeworrior
    2)debugger- PE micro multilink
    3)connection type- BDM

    Please help in resolving this warning

  • Hi Juan,
    I am using codeworrior IDE flash option-10.6 version
    Please find the below setup:
    1) IDE-codeworrior
    2)debugger- PE micro multilink
    3)connection type- BDM

    Please help in resolving this warning

  • Hi Nagaraj, 

    It seems like you are using the "Target Tasks" feature in CodeWarrior 10.6. This feature was designed and developed by NXP. Even so, I will try and help you.

    In your "Target Task" window, under "S12Z Flash Programmer Task", please make sure that you select "MC9S12ZVL32_FLASH 32Kx32x1".

    According to your message, the "MC9S12ZVL32_EEPROM" was selected, which does not include the address range 0xfffff8.

  • Hi Juan,
    I am not getting the options you have mentioned in your comment.
    Can you please upload some screenshot if possible. i have MC9S12ZVL32.xml file as flash configuration file.

    Thanks,
    Nagaraj

  • Hi Juan, Also we are using your flash programmer tool called S12Z flash programmer in production.
    can you please confirm that, this will not cause issue, what I have mentioned in my previous comments? we are using freescale_9s12zvla32_1x16x16k_all.s12zp algorithm.

    Thanks.

  • Hi Nagaraj, 

    I wasn't aware that you imported the flash configuration file MC9S12ZL32.xml. Now I am observing the same warning message that you see. From what I can tell, the MC9S12ZVL32.xml that you are using will always try to program the project's .elf file into FLASH and EEPROM.

    In my test case after importing MC9S12ZVL32.xml, my .elf file only has FLASH data, which is from 0xff8000 0xffffff. Because I don't have any EEPROM, which is from 0x100000 to 0x10007f, the "Target Task" flash programmer throws a warning when it tries to program EEPROM with my FLASH data. Below is the output I observed:

    fl::target -lc "S12ZVL32_FLASH_PnE U-MultiLink"
    fl::target -b 0x1000 0x400
    fl::target -v off -l off
    cmdwin::fl::device -d "MC9S12ZVL32_FLASH" -o "32Kx32x1" -a 0xff8000 0xffffff
    cmdwin::fl::image -f "C:\\CW106_workspace\\S12ZVL32\\FLASH\\S12ZVL32.elf" -t "Auto Detect" -re on -r 0xff8000 0xffffff -oe off
    cmdwin::fl::erase image
    Beginning Operation ...
    -------------------------
    Auto-detection is successful.
    File is of type Elf Format.

    Performing target initialization ...
    Device MC9S12ZVL32_FLASH
    Detect frequence ...
    Frequence 5272.21 Khz
    Erasing ..........
    Erase Command Succeeded.
    Device MC9S12ZVL32_FLASH
    cmdwin::fl::write
    -------------------------
    Flash Operation. ...
    Auto-detection is successful.
    File is of type Elf Format.

    Device MC9S12ZVL32_FLASH
    Programming .....
    Device MC9S12ZVL32_FLASH
    Program Command Succeeded
    Flash Operation. done
    cmdwin::fl::verify
    -------------------------
    C:\CW106_workspace\S12ZVL32\FLASH\S12ZVL32.elf
    Flash Operation. ...
    Auto-detection is successful.
    File is of type Elf Format.

    Device MC9S12ZVL32_FLASH
    Verify Command Succeeded
    cmdwin::fl::device -d "MC9S12ZVL32_EEPROM" -o "128x32x1" -a 0x100000 0x10007f
    cmdwin::fl::image -f "C:\\CW106_workspace\\S12ZVL32\\FLASH\\S12ZVL32.elf" -t "Auto Detect" -re on -r 0x100000 0x10007f -oe off
    cmdwin::fl::erase image
    -------------------------
    Auto-detection is successful.
    File is of type Elf Format.

    Image size is 0 bytes, nothing to erase.
    Nothing to erase. No sectors selected
    Erase Command Succeeded.
    cmdwin::fl::write
    -------------------------
    Flash Operation. ...
    Auto-detection is successful.
    File is of type Elf Format.

    Device MC9S12ZVL32_EEPROM
    Programming ....
    Programming warning. Can't program 8 bytes to address 0xfffff8 because this range isn't included in the selected modules!
    Device MC9S12ZVL32_EEPROM
    Program Command Succeeded
    Flash Operation. done
    cmdwin::fl::verify
    -------------------------
    C:\CW106_workspace\S12ZVL32\FLASH\S12ZVL32.elf
    Flash Operation. ...
    Auto-detection is successful.
    File is of type Elf Format.

    Device MC9S12ZVL32_EEPROM
    0 Bytes Verified, Check Restricted Address Range
    Verify Command Succeeded


    If I had to guess, this is expected behavior. I suggest you contact NXP technical support to confirm. As I mentioned previously, the "Target Tasks" feature in CodeWarrior 10.6 was designed and developed by NXP.

    As for the freescale_9s12zvl32_1x16x16k_all.s12zp algorithm, this will not cause the issue in your previous comment.

  • Thanks a lot for your reply Juan.. we are now clear with our doubts..

Add comment


   Want to comment? Please login or create a new PEMicro account.







© 2018 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement