Code Banking Configuration

Hi,

Please anyone can help me on Code Bank setting configute?.

I'm using at89c52 and 4 32kB EPROM I have using keil example Bank_EX1 as my exercise. I plan to have 4 EPROM as my CODE.

The define in L51_BANK.A51:
B_NBANKS = 4
B_MODE = 0
B_RTX = 0
B_VAR_BANKING = 1

In the Option for Target -> Target setting:

Off-chip Code memory:-
Eprom: start=0x0000, size=0x4000
Off-chip Xdata memory:-
Ram: start=0xD800, size-0x2700

tick Code Banking:
Banks: 4
Bank Area: start=0x8000, End=0xFFFF

The above setting is it correct?
The acture problem is i can't display the func0 and func1 message. It alway disply the C_root and func2 message only. :(

Do you know why?

Thank you.

Parents Reply Children
No data
More questions in this forum