We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have a big problem now, When I try to acess adress upper 64k, my pointer to XDATA lost bits, The pointer only can to acess the addreses under 0xFFFF, and my flash memory is 128k. I make a video in the debugger mode, and you can see the problem...
www.youtube.com/watch
Please help me!
the Keil "standard" banking assumes external code memory. SILabs has appnotes how to configure for the SILabs internal extended flash.
Erik
The apps notes is about the FLASH is incorrects! and the appnotes is not for keil u vision, only for SilabsIDE
The dataSheet of si1020 say about baking switch,but in keil dont work, the XDATA pointer only can acess 2bytes information ( 64k ) and the flash is 128k .
"[...] the XDATA pointer only can acess 2bytes information ( 64k ) and the flash is 128k ."
And that is the specific reason why banking is needed. To use other means to select which subset of the memory that will be visible within the 64kB that the processor itself have processor instructions to reach.
So banking would normally make use of one or more GPIO pins as extra address lines, and the program code then need to set these GPIO pins in the correct state as part of "huge" memory accesses.
The problem is the baking switch dont work... I the Data Sheet, have 4 banks, 00, 01,10,11, I check the address, switch the bank, but dont have any change, the flash memory didn't write in correct address, I'm start a new video, and you can see this, I change the addres (offset ) switch the bank, and the write byte go to the bank 0, all the time bank 0. I have 1 conclusion, the swicth dont work... I can write a byte in bank 1 w/o the switch.... So confused problem.
the appnotes is not for keil u vision, only for SilabsIDE no problem, the linker in the Silabs IDE is keil.
And the Compiler?
Keil as well.
If you buy a SILabs devkit you get a uVision crippled to 4k
PS as MCU Architecture/Product: indicates this refer to the SILabs '51 derivatives. I believe the SILabs software for the ARM types is GCC
It is.
With Eclipse (and a load of SiLabs extras).