| Details | Message |
|---|
Read-Only Author Degang Zou Posted 20-Nov-2003 23:42 GMT Toolset C51 |  How does W77E532 onchip code banking work? Degang Zou 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? |
|
Read-Only Author JIMMY sayavong Posted 11-Mar-2005 15:05 GMT Toolset C51 |  RE: How does W77E532 onchip code banking work? JIMMY sayavong 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 |
|
Read-Only Author erik malund Posted 11-Mar-2005 15:20 GMT Toolset C51 |  RE: How does W77E532 onchip code banking work? erik malund 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 |
|
Read-Only Author JIMMY sayavong Posted 13-Mar-2005 01:54 GMT Toolset C51 |  RE: How does W77E532 onchip code banking work? JIMMY sayavong 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 |
|
Read-Only Author donald yang Posted 18-May-2005 04:08 GMT Toolset C51 |  RE: How does W77E532 onchip code banking work? donald yang can u control code banking now? i have same problem with u. |
|
Read-Only Author JIMMY sayavong Posted 18-May-2005 13:59 GMT Toolset C51 |  RE: How does W77E532 onchip code banking work? JIMMY sayavong 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 |
|
Read-Only Author donald yang Posted 19-May-2005 02:19 GMT Toolset C51 |  RE: How does W77E532 onchip code banking work? donald yang 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? |
|
Read-Only Author JIMMY sayavong Posted 19-May-2005 18:12 GMT Toolset C51 |  RE: How does W77E532 onchip code banking work? JIMMY sayavong What you have done still incomplete. You need to read part spec under memory banking for that chip. |
|