Hi there! I need to optimize the accessing the xdata memory (the speed) with C51. I am sending some files via modem and the transmission could be a bit faster. At present, I am reaching a transmission speed around 2kbyte/sec, which is kinda slow. Right now, my buffers are large arrays in xdata memory and before a byte reaches the UART, it went through a couple of buffers (for the prtotocol layers). I cannot prevent that. But maybe one or the other way can speed up my access time to xdata. I am not sure, I have heard somewhere that C51 will be faster if pointers instead of arrays are used. I didn't find anything about that in the search (maybe due to my keywords). Does anybody know more about that topic?
Another thought: Can you use PDATA? This should be quicker, as it only needs an 8-bit address? If you're really desperate, you could move the PDATA page for buffers >256 bytes - but that's probably need assembler! Can you turn your clock frequency up!?