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 Banking

Hello,

Is there any way to make different bank use different address space(starting address and ending address is not same to each other)? Thank you!

Parents
  • if we impletement our system with 8031+PSD913, the PSD913 is from WSI, it contains 128K Main Flash, so that the programmer MUST apply the code bank switch tech, the KEIL C provide the bank port support, such as P1, xdata RAM, but KEIL C will take all P1 or xdata RAM, for example, PSD913 page address is CSIOP+0xE0, if the system flash have 8 pages, we only need 3 bit page register, the others 5 bit page register can be used for other application. but we change the BANK-Switch.A51 code, every switch, we only change the 3 bit page register, others will not be effected.

Reply
  • if we impletement our system with 8031+PSD913, the PSD913 is from WSI, it contains 128K Main Flash, so that the programmer MUST apply the code bank switch tech, the KEIL C provide the bank port support, such as P1, xdata RAM, but KEIL C will take all P1 or xdata RAM, for example, PSD913 page address is CSIOP+0xE0, if the system flash have 8 pages, we only need 3 bit page register, the others 5 bit page register can be used for other application. but we change the BANK-Switch.A51 code, every switch, we only change the 3 bit page register, others will not be effected.

Children
No data