This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem with xdata const

Hello,
I try some like this:

xdata const char table[]={"BBBB"};

to place consts in ext. ROM.

Everything is OK,
but i get only ONE hex file.

I need hex file to burn internal flash ROM in 89s8252, and another hex to burn external
data rom. How can i make two hex file from
OMF2 file?

Is this possible?...

Tomasz Halat

Parents
  • Hello,

    I need to place code into code memomory, and constans into external ROM.

    When i use
    #pragma STRING (XDATA)
    #pragma XCROM

    then all strings i "xdata const" data
    should be placed into external ROM.

    I've got HEX with CODE,
    but I have no HEX with strings and datas.
    That is my problem.

    Best regards,
    Tomasz

Reply
  • Hello,

    I need to place code into code memomory, and constans into external ROM.

    When i use
    #pragma STRING (XDATA)
    #pragma XCROM

    then all strings i "xdata const" data
    should be placed into external ROM.

    I've got HEX with CODE,
    but I have no HEX with strings and datas.
    That is my problem.

    Best regards,
    Tomasz

Children