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.
Dear colleagues, we are using the TINI DS80C400 platform and the KEIL PK51 development tools. We would like to perform a fast memcpy of some physical CAN registers located in far memory to a buffer also located in far memory. We use the following code lines: #pragma moddp2 #include "absacc.h" unsigned char far *SrcPtr; unsigned char far *DestPtr; SrcPtr = &FVAR(unsigned char, 0xFFDBF7); /* physical register COM15D0 */ /* or alternatively: SrcPtr = (void far*)0xFFDBF7; */ DestPtr = ...; memcpy(DestPtr, SrcPtr, 8); /* should copy 8 bytes */ But it does not work! What's wrong here? Thanks for any hint. Raoul
But would XBANKING.C even be involved at all, for a Dallas 390? In contiguous mode?