The keil micro vision help files say that up to 64 code banks are allowed using LX51 linker/locator. I'm getting this error message when i try to use 64 bank registers: *** ERROR: ADDRESS OUTSIDE INTEL-HEX RANGE (USE 'H386'CONTROL) What does it mean exactly? Also, is there any way to use more than 64 banks? Modifying the L51_BANK file? Thanks.
the H386 control is enabled with Project - Options for Target - Output - HEX format: HEX-386. I agree, the message is a bit confusing. Reinhard
Ok! Thanks, no more error. However, there is a new warning when I try to use more than 8 banks in mode 0: L_51BANK.A51(492): warning A52: VALUE HAS BEEN TRUNCATED TO 8 BITS Any idea?
I have no Idea, but one thought comes to mind: if chip selewct is generated on P1, then you can not have more than 8. Erik Again, WHY, WHY, WHY are you trying to make the '51 a PC?
This is a device that incorporates a 8051 micro and a modem in the same IC. Long program codes may be necessary to control the modem. There are 8 pins in my P1, up to 256 banks may be selected with this port. Thanks.
Long program codes may be necessary to control the modem. yes, about 2k's worth There are 8 pins in my P1, up to 256 banks may be selected with this port. My best6 recollection from the days when I stupidly considered banking is that there are 2 modes: P1 make chip select (max 8) and P1 makes chip number (256) Erik
Why? Because we can't say that our device is able to do something and sell it before we test it... I don't need to select different chips, all the banks are in the same memory chip, I use P1 to switch bank within this memory.