We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
Just want to make two HEX files and load them to one EPROM. One is .H00 file and .H01 file. CODE (0X0000-0X7fff) => TARGET->OFF-chip code memory ->start:0x0000 and the other's Size is 0x8000.
You didn't answer Jon's question: what did YOU intend the Linker to do with this directive:
CODE( 0X0000-0X7FFF , 0x30 )
http://www.keil.com/support/man/docs/bl51/bl51_code.htm