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
specify code to have it placed in CODE space. Have you looked at XCONST?
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
You need to use OHX51 - but look out for the bug in some versions: http://www.keil.com/forum/docs/thread2074.asp The version shipped with the latest C51 download (v7.07) still has this bug - you will have to request the fixed version from Keil. Also, have a look at this thread: http://www.keil.com/forum/docs/thread2636.asp
Hello, Thanks so lot. I've got two hex files now! :)