Maker Pro
Maker Pro

Microcontroller debugging

electronicsLearner77

Jul 2, 2015
306
Joined
Jul 2, 2015
Messages
306
I am facing run time issues while running the code. To trace such issues i developed one serial port program from which I can send data. Now my question is i want to receive this data on computer and display in the form of gui. What tools can I use for gui. Please suggest.
 

OBW0549

Jul 5, 2016
157
Joined
Jul 5, 2016
Messages
157
If you Google the phrase, "terminal emulator" lots of choices come up, for Windows, Linux and Mac.

On Windows I use PuTTY and TeraTerm. On the Mac, I use CoolTerm.
 

electronicsLearner77

Jul 2, 2015
306
Joined
Jul 2, 2015
Messages
306
I am bit confused about this i have no serial rs232 or D type connector on the pc. How should I connect the terminal emulator to receive. Can you briefly explain the connections from the pc to controller.
 

OBW0549

Jul 5, 2016
157
Joined
Jul 5, 2016
Messages
157
If your PC does not have a serial port, just use a USB-to-Serial adapter to create one; any of these should do the job.
 

electronicsLearner77

Jul 2, 2015
306
Joined
Jul 2, 2015
Messages
306
The additional debug program is taking time and actual program is getting disturbed how to handle this situation? Is there a way?
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
By removing the debug program?
 

BobK

Jan 5, 2010
7,682
Joined
Jan 5, 2010
Messages
7,682
Use the simulator to debug timing problems

Bob
 

Wilksey

Mar 3, 2010
11
Joined
Mar 3, 2010
Messages
11
Often, with timing issues, adding a debug will "fix" your issues, this means you need to wait longer between operations, sometimes it will "add" time issues, this means it is taking too long, most common issue I see with these kinds of issues are processing on interrupt with a Micro.
 
Top