Hi,
I got a problem about code banking when making a HEX file and the size of code is more about 22KB. The result of linking is as follows. Can u give any idea about below.
. . . TO "example" BankArea(0x8000,0xFFFF) CODE( 0X0000-0X7FFF , 0x30 ) XDATA( 0X0000-0X7FFE ) *** FATAL ERROR L236: ADDRESS IS NOT IN ASCENDING ORDER POS: 375 K.obj} TO example BANKAREA (0X8000, 0XFFFF) CODE (0X0000-0X7FFF, 0X30)# Target not created
OK. Let me try again.
In the following entry on your linker command line...
CODE( 0X0000-0X7FFF , 0x30 )
You have 0X0000-0X7FFF followed by a comma (',') followed by 0x30.
What are the number range (0X0000-0X7FFF) and the number (0x30) supposed to do?
If you can help me out by explaining this, I can tell you what causes the error.
Jon
Actually, I use the GUI of Keil monitor to make the following setting we saw happened. I also have no idea about 0x30.
Device->AT89C51 Target->Off-chip code memory-> start: 0x0000, -> size: 0x7fff
The above setting makes the commands we saw.
OK - Can you give me the complete path to the project you use?