Messy code printed from uart when running RCU project on ProDK

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
5 posts / 0 new
Last post
Haitao
Offline
Last seen:1 year 7 months ago
加入:2018-06-29 01:59
Messy code printed from uart when running RCU project on ProDK

Dear support
when running the origin RCU project on the pro-dk, I get messy code from uart continiously. HW configuration and messy code screenshot is recorded in the attachment. How can I disable the messy code printing and manage the right debug message using the uart?

附件:
Device:
PM_Dialog
Offline
Last seen:1 day 23 hours ago
工作人员
加入:2018-02-08 11:03
Hi Haitao,

Hi Haitao,

Could you please clarify your question? Do you mean that you are not able to print the right message through UART and you only get this messy code? Or you can print your message but first you get this messy code? Be aware that this code is from bootloader, so after that code you can clear the screen from the Putty’s options.

Thanks, PM_Dialog

Haitao
Offline
Last seen:1 year 7 months ago
加入:2018-06-29 01:59
In the RCU project running on

In the RCU project running on DK-PRO, I wanna print my own debug messages through UART, but I am not able to print.
Maybe I find the reason, when I config J5 as UART mode, the bootloader does not guide the program, because there no ble advitisement, I guess the demo program does not run in the UART mode. But when I config J5 as SPI mode, the demo runs well , I successfully connect to the device. How can I do to print debug messages on the DK-PRO?

Haitao
Offline
Last seen:1 year 7 months ago
加入:2018-06-29 01:59
UART finally works. PRO-DK

UART finally works. PRO-DK can not be simply configured as UART mode, because SPI Flash is used in the RCU project , So I configure DK-PRO as SPI mode and UART TX added. Now debug messages can be printed out .

PM_Dialog
Offline
Last seen:1 day 23 hours ago
工作人员
加入:2018-02-08 11:03
Hi Haitao,

Hi Haitao,

Thanks for the indication and glad that you figured your issue out.

Thanks, PM_Dialog