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
http://www.keil.com/support/man/docs/uv4/
In particular: www.keil.com/.../uv4_ca_ovwconfigdialogs.htm
http://www.keil.com/support/man/docs/uv4/uv4_ex_hello.htm
Thanks for the realpy, but i really need help in how to define the off-chip code memory and the off-chip xdata memory setting for the FX2 evel board CY3681, i am unexperience with keil and i don't know what the values should be? the FX2 is connected to the CY7C1019CV33-12VC but i don't how to set it up in the keil target option...
Thanks rony
That's exactly why you need to spend time studying the Manuals!
I gave you a direct link to the section that describes setting the target parameters...
Thank you again for the replay, i am familiar with the Guide but i still can not understand how to configure the off-chip memory size, the Guide is very superficial and it tells you what are the options in short 2-3 lines but does not explan what or how to define by example/case i am trying this forum to get help. i am using the examples from cypress that came with the board but all of them using the inside 8k memory code+data but my project need more room so i need to use the off-chip memory.
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?
Thanks
> 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
But you do need to tell the linker what address ranges are available for it to use!
The 'Target' settings dialogue lets you specify the available CODE and XDATA address ranges