i'm currently developing a shell to communicate with a MCU (STM32 Microcontroller Unit) and i have a problem with your software. (when i talk about shell it just commands implemented on the MCU)
Let's explain it with another terminal (Tera Term). When I write help in Tera Term (when the MCU receives one char, it sends it back via the UART communication) then enter, I receive the answer from the MCU ("help\r" is a command that i've implemented in the MCU).
When i try to send the send the same command with another terminal (RealTerm), it woks fine too.
Now if i try to send help command with your software, i do not receive the information from the MCU
(it seems that the MCU does not receive all chars)
i've attached many pictures :
1 : tera Term parameters I
2 : tera Term parameters II
3 : tera Term parameters III
4 : tera Term command help (success)
5 : ScriptCommunicator parameters I
6 : ScriptCommunicator parameters II
7 : ScriptCommunicator parameters (failure, nothing is printed excepted the h and the l of the help, help should be written entirely and some informations related to help command should be printed on the terminal)
Another question (1) :
is it possible to configure your software to instantly send the character written ?
to send data/text you have three options:
1. enter your text in a console (the characters are sent directly after you type them)->the 'send input check box' must be checked (under the consoles)
2. enter your text in the main window send area (under the consoles) and press the send button
3. define a sequence in the send window click on it with the right button (in the send window) or double click the sequence in the main window sequence area (on the right side).
If you want to send an '\r' you have to open the console options tab in the settings dialog. Here you have to set the 'send on enter key' to CR.
Example 'text\r'
1. (console): Enter you text in a console and press enter (to send \r)
2. (send area): enter you text, press enter (to send \r) and then click the send button
3. (sequence): enter you text, press enter (to send \r) and then send it (click on it with the right button in the send window or double click the sequence in the main window sequence area)
🎉
1
Last edit: Stefan Zieker 2020-03-10
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey,
i'm currently developing a shell to communicate with a MCU (STM32 Microcontroller Unit) and i have a problem with your software. (when i talk about shell it just commands implemented on the MCU)
Let's explain it with another terminal (Tera Term). When I write help in Tera Term (when the MCU receives one char, it sends it back via the UART communication) then enter, I receive the answer from the MCU ("help\r" is a command that i've implemented in the MCU).
When i try to send the send the same command with another terminal (RealTerm), it woks fine too.
Now if i try to send help command with your software, i do not receive the information from the MCU
(it seems that the MCU does not receive all chars)
i've attached many pictures :
1 : tera Term parameters I
2 : tera Term parameters II
3 : tera Term parameters III
4 : tera Term command help (success)
5 : ScriptCommunicator parameters I
6 : ScriptCommunicator parameters II
7 : ScriptCommunicator parameters (failure, nothing is printed excepted the h and the l of the help, help should be written entirely and some informations related to help command should be printed on the terminal)
Another question (1) :
is it possible to configure your software to instantly send the character written ?
any clue ?
Regards,
AJT
Hi,
to send data/text you have three options:
1. enter your text in a console (the characters are sent directly after you type them)->the 'send input check box' must be checked (under the consoles)
2. enter your text in the main window send area (under the consoles) and press the send button
3. define a sequence in the send window click on it with the right button (in the send window) or double click the sequence in the main window sequence area (on the right side).
If you want to send an '\r' you have to open the console options tab in the settings dialog. Here you have to set the 'send on enter key' to CR.
Example 'text\r'
1. (console): Enter you text in a console and press enter (to send \r)
2. (send area): enter you text, press enter (to send \r) and then click the send button
3. (sequence): enter you text, press enter (to send \r) and then send it (click on it with the right button in the send window or double click the sequence in the main window sequence area)
Last edit: Stefan Zieker 2020-03-10
Ok thanks for your fast answer, it is crystal clear !
Don't have other questions for the moment !
AJT
Last edit: AJT 2020-03-10