Forum Discussion
Altera_Forum
Honored Contributor
13 years agoSituation with Memcpy
Hallo, I have a situation here and i will try my best to explain it. I have two pointers, both of them allocated 6 bytes of memory through alt_remap_uncached. The source pointer h...
Altera_Forum
Honored Contributor
13 years agoHallo All,
Thank you very much for your answers. I tried initializing the target pointer with initial values to see if any other operation is overwriting my values. But that is not the case. Here is the funny part. There is a memcpy function being called right after this and that works perfectly. All six bytes are transferred between the source and the target perfectly. I simply cant place the error. I have tried using IORD and IOWR functions so that the Cache is bypassed. That is not working out too. If you have any other suggestions however bizarre, please let me know. Thank you.