I have set BaudRate: 9600; Data bits: 8; Parity: none; Stop bits: 1; Flow control: none as works on Putty.
However when I send a simple command I get the command as a response but nothing happens on the board.
Any ideas?
Once I get this communicating I am going to need to write a script which sends a sequence of commands with time intervals. For example [command 1] wait 1 second [command 2] wait 1 second and so on... not sure how to do that either but it looks possible with this software.
Thank you!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
maybe Putty sends other chars for an enter key. You can set this in the settings dialog (console options/send on enter key). Or maybe you forgot to add an enter?
Best regards,
Stefan
Last edit: Stefan Zieker 2016-03-29
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, this sounds reasonable.
I went to Settings > console options>
I see a "send on enter key" with options of CR, LF, or CR+LF
None of them change the behavior? Which option do you think will behave as send on enter?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Your Manual (http://www.micro-components.com/downloads/RegisterdDownloadArea/DE_EN_Manual_mp6-QuadEVA_02-2015_rev.3.pdf) says that you have to complete command with an enter key . But I cannot see this in your HEX output. Go to the send area in the main window and type:
P1ON'enter key'
Now you can play with the 'send on enter key'.
Last edit: Stefan Zieker 2016-03-29
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Did you add the enter in the send area? I cannot see the enter key after P1ON (50 31 4f 4e). I have donwloaded Putty and could see that it sends \r\n on enter. Therefore you have to send (in hex): 50 31 4f 4e 0d 0a.
You can see my config in the attached images.
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hello,
I am currintly using PuTTY to communicate via USB serial COM with this board:
http://www.micro-components.com/downloads/RegisterdDownloadArea/DE_EN_Manual_mp6-QuadEVA_02-2015_rev.3.pdf
I have set BaudRate: 9600; Data bits: 8; Parity: none; Stop bits: 1; Flow control: none as works on Putty.
However when I send a simple command I get the command as a response but nothing happens on the board.
Any ideas?
Once I get this communicating I am going to need to write a script which sends a sequence of commands with time intervals. For example [command 1] wait 1 second [command 2] wait 1 second and so on... not sure how to do that either but it looks possible with this software.
Thank you!
Hi,
maybe Putty sends other chars for an enter key. You can set this in the settings dialog (console options/send on enter key). Or maybe you forgot to add an enter?
Best regards,
Stefan
Last edit: Stefan Zieker 2016-03-29
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Yes, this sounds reasonable.
I went to Settings > console options>
I see a "send on enter key" with options of CR, LF, or CR+LF
None of them change the behavior? Which option do you think will behave as send on enter?
Can you switch on the HEX console, send your string and then post the output of the HEX and the ASCII console please?
Last edit: Stefan Zieker 2016-03-29
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Im sending the command P1ON and getting back the same command so first bit is black and repeated bit is red.
Ascii:
P1ONP1ON
Hex:
0a
0a
0a
0a
50 31 4f 4e 50 31 4f 4e
Your Manual (http://www.micro-components.com/downloads/RegisterdDownloadArea/DE_EN_Manual_mp6-QuadEVA_02-2015_rev.3.pdf) says that you have to complete command with an enter key . But I cannot see this in your HEX output. Go to the send area in the main window and type:
P1ON'enter key'
Now you can play with the 'send on enter key'.
Last edit: Stefan Zieker 2016-03-29
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Still not working.
I can't find in PuTTY settings what the enter key does either...
But I tried and this is what happened.
P1ON'enter key' gave this:
2016-03-29 16:14:26.299
50 31 4f 46 46 27 65 6e 74 65 72 20 6b 65 79 27 0a
0a
50 31 4f 4e 50 31 4f 46 46 27 45 4e 54 45 52 20 4b 45 59 27 50 31 4f 4e
Did you add the enter in the send area? I cannot see the enter key after P1ON (50 31 4f 4e). I have donwloaded Putty and could see that it sends \r\n on enter. Therefore you have to send (in hex): 50 31 4f 4e 0d 0a.
You can see my config in the attached images.
Last edit: Stefan Zieker 2016-03-29