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.
Also, is there any way to use more than 64 banks? Modifying the L51_BANK file? Is it possible to shoot a mockingbird with a rocket propelled grenade, sure. What the h... are you doing trying to cramr that much into a '51? Erik
Actually, I am not writing any program that uses that amount of banks with a 8051, but i need to test that my 8051 device is able to do it. With this particular 8051 device, there might be situations where customers might need more than 4,8,16,32 or even 64 pages.
the H386 control is enabled with Project - Options for Target - Output - HEX format: HEX-386. I agree, the message is a bit confusing. Reinhard
but i need to test that my 8051 device is able to do it WHY? Erik
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.
I cannot duplicate this error here. Can you send the current configuration of the L51_BANK.A51 to support.intl@keil.com.
Don't worry, I found the problem, I forgot that ?B_FIRSTBIT=5 from my previous setup. I've changed it to 0 and is working properly. I still would like to know if modifying the L51_BANK.A51 file would be enough to use up to 128 or even 256 banks, will the linker complain if I try it? Thanks.
Don't worry I do worry about your sanity. Erik
I know, i'm a bit insane...
View all questions in Keil forum