NoSCO
United Kingdom
6 Posts |
Posted - 01/13/2014 : 09:57:58
|
This is driving me nuts... hopefully someone can help? I've tried just about every terminal emulation program going, and get back nothing but nonsense to all commands EXCEPT '<GETVER>>' which actually sends something sensible.
Example:
lee@nukemon:~/nukemon/php$ sudo php gmc300.php Running. PID: 9993 Including PHP Serial Class ... ok. Installing SigHandlers ... ok. Setting device parameters (57600 8N1 FC:none)... ok. Device Version: GMC-300Re 2.36 Starting Heartbeat ... ok. ????????????????????????????????????????????????????????????????????????????????????????????????????????????^C
Caught SIGINT... Resetting device... Closing socket... Goodbye!
(1 '?' is generated every second)
In MiniCom I get the same reply to the 'Device Version' query, but sending <GETCPM>> gets me a newline. <GETCFG>> gets me a whole load of same-character gibberish.... and sending <HEARTBEAT1>> in minicom just gets me a space every second.
If <GETVER>> wasn't sending sensible information, I'd say my terminal settings are wrong. But because that sends valid data but nothing else does ... is my firmware a broken one??
Any help appreciated :( |
|