2004-06-03 03:16 PM
how to map mainflash(256K0 into both code and xdata?
2011-05-17 03:01 AM
Dear Sir!
I want to map 256K mainflash into both code and xdata area. I config page register bit 0,1,2,and fs0 to fs6 is located in page 0 to page6 in xdata,fs7 in code area. fs0 to fs6,from ( 8000h to ffffh & !psen , I think !_rd&!_wr is also ok) fs7(8000h to ffffh &psen). but when I acess page 0~page6 using XBYE[0x8000+i], it seems fs0 (page0) is always selected whatever pageregister is 0 or other value, page switch can't work at all. can anybody help me? Thanks!2011-05-17 03:01 AM
I have solved this problem, rs0, csiop don't need any & operator! if _RD or _WR is mixed in the equaltion, problem will occur!