Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to display debug message?

debug display message
0
Posted

How to display debug message?

0

• Turn On PDA OS debug mode (Please refer to “How to enable/disable PDA OS debug mode [link]”) • Use an RS-232 DB9 cable to connect PDA external COM port and PC RS-232 port. • The cable pin should be crossover – meaning connect Pin 2 to Pin 3 and Pin 3 to Pin2. (TX-RX) • The cable only needs to use pin 2, pin 3, and pin 5. • Run HyperTerminal on the PC side and set the following parameters:\ • Hyper Terminal will show the OS calling API status. • If PDA OS is in debug mode, external COM port will be occupied by the OS. Other programs will show “fail” when calling external serial port functions. • To output debug string for users to develop programs or drivers in C++, users can add code- TRACE().

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123