• AVR Freaks

AnsweredHot!PG164100 virtual COM

Author
DungeonLords
New Member
  • Total Posts : 9
  • Reward points : 0
  • Joined: 2019/05/05 08:41:21
  • Location: 0
  • Status: offline
2019/08/25 08:30:44 (permalink)
0

PG164100 virtual COM

In my computer there is snap virtual COM port (COM2). I put wire between 7 (TX) and 8 (RX) pins of snap. I use putty and send 5 and try to receive 5, but nothing. What is wrong?
post edited by DungeonLords - 2019/08/25 11:42:46

Attached Image(s)

#1
1and0
Access is Denied
  • Total Posts : 10294
  • Reward points : 0
  • Joined: 2007/05/06 12:03:20
  • Location: Harry's Gray Matter
  • Status: offline
Re: PG164100 virtual COM 2019/08/25 10:10:47 (permalink)
0
DungeonLords
In my computer there is snap virtual COM port (COM2). I put wire between 7 (TX) and 8 (RX) pins of snap. I use putty and to to send 5 and receive 5, but nothing. What is wrong?

No wire for GND connection?
 
#2
judd
New Member
  • Total Posts : 19
  • Reward points : 0
  • Joined: 2019/04/15 22:30:22
  • Location: 0
  • Status: offline
Re: PG164100 virtual COM 2019/08/25 22:49:12 (permalink) ☼ Best Answerby DungeonLords 2019/08/26 04:26:23
5 (1)
Connect up GND and also Vdd - the level shifters need a reference voltage...
#3
Kevil
New Member
  • Total Posts : 16
  • Reward points : 0
  • Joined: 2019/09/09 13:29:33
  • Location: 0
  • Status: offline
Re: PG164100 virtual COM 2019/09/26 14:57:44 (permalink)
0
How to display Virtual COM data (USART communication) in MPLAB X IDE  (similar to Serial Monitor in Arduino IDE)?
#4
judd
New Member
  • Total Posts : 19
  • Reward points : 0
  • Joined: 2019/04/15 22:30:22
  • Location: 0
  • Status: offline
Re: PG164100 virtual COM 2019/09/26 22:41:33 (permalink)
#5
Kevil
New Member
  • Total Posts : 16
  • Reward points : 0
  • Joined: 2019/09/09 13:29:33
  • Location: 0
  • Status: offline
Re: PG164100 virtual COM 2019/09/27 00:18:27 (permalink)
0
Thank you very much for your advice, I am new to MPLAB.
#6
Kevil
New Member
  • Total Posts : 16
  • Reward points : 0
  • Joined: 2019/09/09 13:29:33
  • Location: 0
  • Status: offline
Re: PG164100 virtual COM 2019/09/30 11:41:10 (permalink)
0
I am just trying to visualize ASCII chars '0' to '9' I am sending to USART in a loop but I don't know how to visualize them as ASCII chars in Data Visualizer? What should I do?
 

#7
judd
New Member
  • Total Posts : 19
  • Reward points : 0
  • Joined: 2019/04/15 22:30:22
  • Location: 0
  • Status: offline
Re: PG164100 virtual COM 2019/09/30 11:55:46 (permalink)
0
If you want text, then you should use a terminal view rather than a graph.  
I think there is a terminal view in Visualiser, or else just use Putty or another common-garden terminal emulator.
Edit: Sorry, it appears that the terminal window is not there just yet, but should be "coming soon".
In that case I recommend a standalone terminal emulator for now.  Come back to Data Visualizer when you want to stream more complex data to a graph component (as you have already done :)
post edited by judd - 2019/09/30 12:09:42
#8
Kevil
New Member
  • Total Posts : 16
  • Reward points : 0
  • Joined: 2019/09/09 13:29:33
  • Location: 0
  • Status: offline
Re: PG164100 virtual COM 2019/10/01 01:07:00 (permalink)
0
The orange graph shows the char values sent out of USART TxD e.g. ASCII value of '5' is 53 in decimal. I just need to display the decimal values in ASCII chars.
#9
Kevil
New Member
  • Total Posts : 16
  • Reward points : 0
  • Joined: 2019/09/09 13:29:33
  • Location: 0
  • Status: offline
Re: PG164100 virtual COM 2019/10/01 05:19:44 (permalink)
0
I was given advice to use Teraterm, it works ;-).
 

#10
Jump to:
© 2020 APG vNext Commercial Version 4.5