A related question is a question created from another question. When the related question is created, it will be automatically linked to the original question.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi, I am printing some data(large data, say 40lines data) ,but at same time some garbage data is printing, Here is data
enter main()
this is task
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
So do i need to clear any buffer ??
Can you show the code you are using to print the data to the console? Are you converting the eeprom data into ascii characters before sending them to the console?
How and where are rxBuffer and Whole_EEPROM_Data[] defined?
Are they global or local variables?
If these are local variables, is the stack of the task which they exist on large enough to contain them?
The '%x' format character expects an integer to be passed as its corresponding argument.
If Whole_EEPROM_Data is a char array, then you may need to cast its contents as ints in the argument: (Int)Whole_EEPROM_Data[i].
Which System.SupportProxy are you using (ie SysStd or SysMin)?
If SysMin is being used, is the SysMin.bufSize large enough to contain all 50 of the ascii lines you are sending to it?