AXCodeBlocks Output

Hello all,

Debug link library allows to print out in the debugger window, but is there any automated form of storing all displayed in a log, .txt or something similar? I am trying to use the FILE library, fprintf…, but AxCode block does not recognize.

If someone could give some advice, I would appreciate it since I am not an expert on c programming.

Thanks in advance


There is no easy way to create a log file directly within the AX8052 environment. I am not even sure if there is any implementation of a “fprintf” for 8052 architecture.
The easiest way would be to print debug data via the UART and save the logged output manually on the PC.

Thank you for using our community forum!

Hello Martin,

Many thanks for your response. Yes, this is what I’m doing to store the output…

Irene Guitart

Missatge de Martin via onsemi Community Forums <> del dia dl., 27 de juny 2022 a les 13:34: