I have found just one paper about Winbond W77E532. As for the onchip banking technology, there is just one paragraph:"En128K:on-chip ROM banking enalbe. Set this bit to enable APFLASH0 and APFLASH1 by banking mechanism. By default, P1.7 is defined as A16". When I enable this feature, my program crashed. Why?
What you have done still incomplete. You need to read part spec under memory banking for that chip.
I am using w77e532 now,the same with u. and the configuration settings in l51_bank.a51 ?N_BANKS EQU 2 ; Two banks are required. ?B_MODE EQU 4 ; User-provided bank switch code. ROMSIZE DATA 0ABH ; SFR Address SWITCH0 MACRO ; Switch to Memory Bank #0 MOV ROMSIZE,#05H ; Enable on-chip 16KB ROM ENDM SWITCH1 MACRO ; Switch to Memory Bank #1 MOV ROMSIZE,#00H ; Disable on-chip 16KB ROM ENDM But didn't work.. Is the w77e532 same framework with on-chip ROM in User's Guild?
Yes, but we did a slight different than what we found on the web. Each chip requires different treatment as far a code banking. You really have to fine tune your code setup to that particular chip. JIMMY
can u control code banking now? i have same problem with u.
Thanks, I find that Silicon Lab website has a lot more usefull information than Keil 's website with regard to Code banking. I have never found any documents from Keil's talks about code banking using processor internal flash memory beyong 64K. JIMMY
SILabs http://www.silabs.com/tgwWebApp/appmanager/tgw/tgwHome?_nfpb=true&_pageLabel=GenericContentPage&contentObjectId=/public/web_content/products/Microcontrollers/en/index.htm has on-chip code banking and it works there. If the Winbond on chip code banking is the same there may be some help to find in the SILabs litterature. I have no idea in either case since my attitude is that if you need code banking you have chosen the wrong chip. Erik
Has anybody in this forum been successfull using code banking on W77E532? We still can not find a "reliable" method to do this as yet. Sometime the the code hung, and other time it behaves erratically. JIMMY
View all questions in Keil forum