Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- Maybe it is a source of incorrect "value" : memory of integer "K" could be overwritten. "Strings" are located inline or at the end of program section, whereas data are in other section. It is a clue, i am not expert in multi processor. Good luck --- Quote End --- Mmmm, that's an interesting thought. but I checked the values from the debugger and they are correct. Only printf() function outputs the messed up values. I also tried sprintf() to get the integer values converted into a string, and the converted string is still incorrect. Biggest problem is why nothing gets printed when the normal C library is used.