This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How does W77E532 onchip code banking work?

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?

Parents
  • 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?

Reply
  • 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?

Children