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

Code Bank Problem about EPROM

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

Parents
  • 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

Reply
  • 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

Children