i want to use ibanking. Micom is sda55xx(micronas). i know that C51M*.LIB is needed in ibanking. i have it. am using keil compiler v7.0,linker v4.2 The problem is that when i move some files in a bank to another bank, sometimes it works wrong. so i think about that... i dealt with startup.a51 file. CLR EA ---> first added : 50% success MOV IEN0, #0 MOV IEN1, #0 MOV IEN2, #0 MOV IEN3, #0 ---> second added: 65% success MOV MEX1, #0 MOV MEX2, #0 MOV MEX3, #0 MOV MEXSP, #0 ---> third added : 80% success LJMP CSTART tell me why they work wrong or good. In case ibanking, interrup function and startup.a51 is located in bank0, is it correct ?? or is located in common? where i must locate main function ? in bank0 or in bank1, or in bank 2 ? is it any rule ?? sometimes common size make trouble. In how much common size it works well? Thanks for reading my curiosity....
Maybe you should take a look at the following knowledgebase article: http://www.keil.com/support/docs/158.htm Jon
sorry... please send me details... i have read that over and over.... there is no solution for me... if you have any experience,,, tell me...
In case ibanking, interrup function and startup.a51 is located in bank0, is it correct ?? or is located in common? The Common Code area MUST INCLUDE the reset vector, the interrupt vectors, and the interrupt routines. where i must locate main function ? in bank0 or in bank1, or in bank 2 ? is it any rule ?? Probably also in the common area. sometimes common size make trouble. In how much common size it works well? A 32K common area is typical. Jon
IBANKING is also used in the Mentor EW8051 core. Therefore look to: http://www.keil.com/appnotes/docs/apnt_171.asp