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 am using the uVision 3 (ver. 3.72) tool and working with a Silicon Labs 8051F340 MCU. I need to map a device (an FPGA with registers) into external memory and access it with the MCU. There are not very many FPGA registers to access.
I am trying to use Split Mode without Bank Select and a multiplexed address/data bus. I'm looking for some guidance in setting up the target options, startup assembly code, and anything else that's necessary.
I have code compiling which is basically:
volatile uint8_t xdata *fpga_reg = (volatile uint8_t xdata *)0x1000; ... *fpga_reg = 0x12;
Thanks in advance for any help.
the code before main pre-process xdata, thus it is imperative that all memory configuration is done at the start of (a local copy of) startup.a51
Erik,
Do you have trouble keeping up with those keys on your keyboard that keep jumping around?
But it really is imoerative to care about your meomory configuration.
Besides, he just happens to have an understimulated ring finger requesting some attention.