I'm getting the following warning message after I upgraded to V7.20. I'm using the MB2BA/02 MX IC. *** WARNING L47: NO SEGMENTS ASSIGNED TO USER CLASS CLASS: HDATA_EDATA Program Size: data=119.0 xdata=1430 const=512 code=6480 LX51 RUN COMPLETE. 1 WARNING(S), 0 ERROR(S) This did not happen on the previous version I had installed. Please help ASAP. Thanks, -Jim
I removed all info (reference) in the C classes / USER classes box. Still same warning.
I found the problem. It was caused by the following carried over from a previous app note and located in a .h file: #pragma userclass (HDATA=EDATA) I removed this and the warning went away. Another thing: Does Keil's app notes follow the new memory mapping per Philips new /02 Core? It doesn't seem to. I' referencing Philips USER MANUAL dated 2003 May 13 pages 12 & 13. Notice EDATA resides above HDATA and EDATA stops at 7f:01ff.
Which device is behind the "new /02 Core"
It's the new MX Looking at the micro, it is the P87C51MB2BA/02 Where the (/02 being rev. H)? Philips decreased the Edata memory spaced by moving it to the Xdata memory space as shown below: Edata WAS: 7f:0000 to 7f:04ff Edata IS: 7f:0000 to 7f:01ff Xdata WAS: 00:0000 to 00:02ff Xdata IS: 00:0000 to 00:05ff
Yes, this devices are included in the device database of V7.20. Just select for example: Philips 8xC51MB2/02.