Hello, If we create 2 Banks for our project, for using more than 64K program. 1.We wanted to common SRAM for both the banks. Please describe how we can control the SRAM with 2 banks program; 2.When we create 2 banks for program; after compile; our SRAM getting dubbeld Details: >> We are using 89C51X2BN, with External EP-Rom Winbond 27C010-70, SRAM: 62-256 >> earlier we are using Franklin 3.2; (Dos Based Compiler) and we created 2 different Hex Files(1 Main Program and 2 Print Program) with this our product working perfectly,) the same we did in Keil PK51) The system start working but when we use 2 part program; and same time used 1 Part program > system goes hang) After seen the Code banking on keil site, we did required correction; result our SRAM dubbeld. Please guide us.
Thanks, you understand me ;) We create 2 programs, and than compile it, map it, again compile it. :) and able to run the program. Any way we are working on PK51, and doing correction as required. support needed: Due to above 2 program is belong for one systems, now we wanted to correct the code and program as one hex into the ep-rom. if you have some tips, please let us know so we can fix the error fast.
Hello, We are able to compile our current code using code banking. after compiling PK51 generate 2 hex files for programming into the ep-rom. Now we stuck up in one more problem. 1. We are using P89C51 with 4 K internal Flash. We wanted to keep very little code into the micro controller for security only. rest all code we wanted to keep in external Rom, and we don't wanted to modify the micro controller code, wanted to fix the code. When ever we upgrade the program we just reprogram the ep-rom; As per my programmer told that after using code banking; we are unable to create the separate file for micro controllers, we have to program microcontroller each time. We seen the bootloader example, but it is to complex, we wanted to keep very few of function in microcontroller. As seen to other products in our same line, they are also keeping Little code in microcontroller and rest all code in ep-rom. please suggest the solution.