문제

Simply i check and get data send to my microplaze by cheking payload of my pbuff at recieve callback function , and it works where i can see that microplaze echoes back my messages but when i tried to print them fro mmicroplaze to terminal(using printf() in c code) something strange happened here is the print out :

sent "a"  printed: "a";
sent "aa"  printed: "aa";
sent "aaa"  printed: "aaa";
sent "aaaa" printed: "aaaa
|Ì¥ìk…"

what is that and why and it happens to anything more than 3 chars .. why is that ? any ideas ?

I am using sprtan3a with microblaze processor of 16bit bus and 4mb ram .

도움이 되었습니까?

해결책

That happens because Characters are not terminated

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top