trying to use sprintf with a F28069 and am seeing some strange result. Trying to format a hex values. Have an array of Uint8. Tried %02X and I am getting 2X. just tried %X and am getting some non garbage. any ideas?
This thread has been locked.
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.
trying to use sprintf with a F28069 and am seeing some strange result. Trying to format a hex values. Have an array of Uint8. Tried %02X and I am getting 2X. just tried %X and am getting some non garbage. any ideas?
I was also able to get it to work. I tried setting the printf support to full from minimal. When I did that, I started to get illegal instruction ISR. I increased the stack size. I also moved the stack to a larger area in RAM. Seemed to work after that.