Hi there,
It seems that even I did follow this linkhttps://support.dialog-semiconductor.com/faq/how-debug-uart. It seems to be a problem for my Tera Term to display the output from the arch_printf function. I do not know what is the reason for this since I have defined the variables according to the respective link. I put the arch_printf just before the while (1) loop in the arch_main.c. Any advice will do. Thanks!
Device:
Hi herochua617,
As mentioned in the previous thread please use the SDK5 instead of SDK3, regarding the FAQ that you found this is for a much older SDK 3.0.2.1. Apart from that since you are using the SDK3.0.10.1 which is the only available release for the 3.0.10 in the previous software releases in order print with the arch_printf() what you should do is the following (tested on the template_project).
Thanks MT_dialog
Hi there,
I have tried but it still cannot print. Here's the attachment that you can have a look. Hopefully, you can find some errors. Thank you very much!
Hi herochua617,
In the attachments that you have uploaded you have the port/pin of the UART in their original configuration GPIO_PORT_1 and GPIO_PIN_2 and GPIO_PIN_3, if you wish to use those ports for printing you will need an additional FTDI cable to connect to those ports or you can use the FTDI of the pro kit or the Jlink from the basic kit, you will just need to connect the P12 and P13 to the RX/TX of the FTDI or JLINK depending on which dev kit you are using with fly wires or change the pin/port configuration as i ve indicated above in order to re-configure the pins and just use the default jumper configuration that dev kits have.
Thanks MT_dialog
Thanks!..It works now.