Forum Discussion
Altera_Forum
Honored Contributor
19 years agoI point the RADDRESS at a pointer to memory that is malloced.
Yeah I agree that it probably doesn't have anything to do with printf... however I cannot find any other thing to make it work right. I have a feeling that printf just does something in the system that helps the transfer along... or accesses memory in a certain way... or something... Not really sure. The funny thing is ... is that the data that is transmitted when the printf is absent is not all garbage... it is only part garbage... maybe everyother byte or so.... although I haven't looked at it in minute detail. Thansk for the reply so far... I will try making the buffer pointer static and see if that works for now.... as far as I know the data isn't on the stack... just the pointer. Any other insight into the mystery will be appreciated!