I'm usig the Cypress FX2 USB chip for a project and i have a question about the "Option for target" dialog in uVision 2. There is a checkbox that is called "Use on chip XRAM(0xE000 - 0xE3FF)", but the FX2 datasheet specifies that the area between 0xE200 and 0xE3FF is reserved. Is it safe to use the range specified by uVision or is something wrong with the device database? If anyone could tell me more about the proper use of the memory in the FX2 chip i would be very greatfull!
"the FX2 datasheet specifies that the area between 0xE200 and 0xE3FF is reserved" Reserved for what? "it safe to use the range specified by uVision" The tools will just do what you tell them. If you tell them to use this area, they will. If using this area will trash the chip, then your chip will be trashed!
I don't know what is reserved for, they don't say. Maybe for future use, some spooky internal use or maybe for the mars exploration missions ... i don't know!! :)) My question was ambigous, i guess! So there it is a little bit clearer: if i have a linker file in wich i specify the memory ranges used, would that linker file override the option specified in uVision? I couldn't find an answer in the tool documentation. My chip gets trashed and i want to know if that option is the reason or i do something else wrong! Thanks
" if i have a linker file in wich i specify the memory ranges used, would that linker file override the option specified in uVision?" The Linker Listing file (the "map" file) shows the command line passed to the Linker - so you can look there to see if both options are actually passed to the Linker; eg,
BL51 BANKED LINKER/LOCATER V5.12 01/24/2005 16:21:48 PAGE 1 BL51 BANKED LINKER/LOCATER V5.12, INVOKED BY: C:\PROGRAM FILES\KEIL\C51\BIN\BL51.EXE .\obj\Hello.obj, .\obj\START900.obj TO .\obj\Hello >> PRINT (.\lst\Hello.m51) PAGEWIDTH (132) PA >> GELENGTH (32760) NOLINES IXREF RAMSIZE (256)