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 to use above 8k code+data of memory in fx2

Hi,
i really need help, i am still new at this keil and 8051...
using the evl fx2 board for cypress with the fx2 chip using the keil ver 3 (full version ...)
i can not program my program over 8k it show over flow error.
the chip is connected to the external memory i do'nt know how to define the settinh in keil

any help ?
rony
Thanks

Parents
  • > i reviewd the guide again but still i do not understand how can i define the off-chip code memory that define by keil as eprom and off-chip xdata memory defined as ram by keil from single memory chip that is connected to the fx2?

    EZ-USB hardware automatically directs on-chip/off-chip memory access, according to the EA pin and target address. You don't need to worry about the linker setting for on-chip/off-chip access.

    See this chapter of EZ-USB TRM
    "5.4 EZ-USB Memory Maps"

    EZ-USB_TRM.pdf
    " href= "http://www.cypress.com/?docID=6018">www.cypress.com/ )

    Choose your CODE/XDATA spaces so that they don't overlap to the debug monitor.

    Tsuneo

Reply
  • > i reviewd the guide again but still i do not understand how can i define the off-chip code memory that define by keil as eprom and off-chip xdata memory defined as ram by keil from single memory chip that is connected to the fx2?

    EZ-USB hardware automatically directs on-chip/off-chip memory access, according to the EA pin and target address. You don't need to worry about the linker setting for on-chip/off-chip access.

    See this chapter of EZ-USB TRM
    "5.4 EZ-USB Memory Maps"

    EZ-USB_TRM.pdf
    " href= "http://www.cypress.com/?docID=6018">www.cypress.com/ )

    Choose your CODE/XDATA spaces so that they don't overlap to the debug monitor.

    Tsuneo

Children