Pages: 1 ... 4 5 [6] 7   Go Down
Author Topic: [Update] Tellurium: serial monitor  (Read 9886 times)
0 Members and 1 Guest are viewing this topic.
Melbourne, Australia
Offline Offline
God Member
*****
Karma: 8
Posts: 567
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yeah this is definitely what I am seeing. Taking it low and then high resets no problems. Working on it.
Logged

Windows serial port monitor: Tellurium | Arduino serial port debugging library: DBG | Cusom LCD char generator | Technical questions will only be answered in forum threads

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 127
Posts: 8519
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

BTW, nice feature to have the option to connect without resetting.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Melbourne, Australia
Offline Offline
God Member
*****
Karma: 8
Posts: 567
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks. It was the first thing  I made optional.

Ok. So I updated the PurgeComm call to

PURGE_RXCLEAR OR PURGE_RXABORT

and it doesn't seem to work. That should purge the Rx buffer and cancel - immediately - any Rx operation.

As documented here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa363428%28v=vs.85%29.aspx

Quote
PURGE_RXABORT: Terminates all outstanding overlapped read operations and returns immediately, even if the read operations have not been completed.

This may also be why I have been experiencing anomalies elsewhere.

I'll keep working on it but can't promise a fix tonight.
Logged

Windows serial port monitor: Tellurium | Arduino serial port debugging library: DBG | Cusom LCD char generator | Technical questions will only be answered in forum threads

Melbourne, Australia
Offline Offline
God Member
*****
Karma: 8
Posts: 567
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I need to dig into the serial monitor from Arduino, coz its reset is far more effective than simply bouncing the DTR line. Eesh.
Logged

Windows serial port monitor: Tellurium | Arduino serial port debugging library: DBG | Cusom LCD char generator | Technical questions will only be answered in forum threads

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 127
Posts: 8519
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
can't promise a fix tonight
No rush, it is quite usable as is and it's not like I paid a fortune for it smiley

_____
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Melbourne, Australia
Offline Offline
God Member
*****
Karma: 8
Posts: 567
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

roflcopters.

So I read the source for Serial Monitor. Java. Ew.

Nothing.

Read the source for Serial. More Java. Ew.

Nothing.

Managed to find a hint to RxTx and downloaded the source for that, with a quick look at Serial Monitor behaviour when resetting (eg: select the same baud rate in the drop down to trigger a reset) and I think I have managed to work something out...

Intuition can be a wonderful thing, sometimes...
Logged

Windows serial port monitor: Tellurium | Arduino serial port debugging library: DBG | Cusom LCD char generator | Technical questions will only be answered in forum threads

Melbourne, Australia
Offline Offline
God Member
*****
Karma: 8
Posts: 567
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I had the reset working last night, consistently and beautifully.

Turn the Uno on this morning and no longer the case.

...

...

Logged

Windows serial port monitor: Tellurium | Arduino serial port debugging library: DBG | Cusom LCD char generator | Technical questions will only be answered in forum threads

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 127
Posts: 8519
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

smiley
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Melbourne, Australia
Offline Offline
God Member
*****
Karma: 8
Posts: 567
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

When things aren't panning out, I tend to do something that I know will work.



The memo annoys me, as the font (Courier New) should render every character with the same width, but this memo doesn't. Fancy shmancy. May revert to a vanilla memo and see if it fixes it. Later.
« Last Edit: June 28, 2013, 09:30:57 am by aarondc » Logged

Windows serial port monitor: Tellurium | Arduino serial port debugging library: DBG | Cusom LCD char generator | Technical questions will only be answered in forum threads

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 127
Posts: 8519
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Lookin' good.

_____
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Melbourne, Australia
Offline Offline
God Member
*****
Karma: 8
Posts: 567
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks. Turns out any memo is going to display the funny characters like that.

Also: FPGAs have really got me thinking... smiley-grin
Logged

Windows serial port monitor: Tellurium | Arduino serial port debugging library: DBG | Cusom LCD char generator | Technical questions will only be answered in forum threads

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 127
Posts: 8519
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Also: FPGAs have really got me thinking
Yes so I see.

_____
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Melbourne, Australia
Offline Offline
God Member
*****
Karma: 8
Posts: 567
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I compiled a sketch via command line today. It's possible I might reinvent the wheel and throw together a little windows editor for Arduino development...

Logged

Windows serial port monitor: Tellurium | Arduino serial port debugging library: DBG | Cusom LCD char generator | Technical questions will only be answered in forum threads

Rapa Nui
Offline Offline
Edison Member
*
Karma: 60
Posts: 2073
Pukao hats cleaning services
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It takes 32seconds to start the Tellurium monitor (latest, XP SP3). Maybe a similar issue as the one with the IDE and Bluetooth dongle connected (new rxtxSerial.dll needed)?

PS: it does not work with Bluetooth COMs. It shots down the BT COM driver (teraterm and IDE serial work fine via BT).
« Last Edit: July 01, 2013, 12:01:50 pm by pito » Logged

Melbourne, Australia
Offline Offline
God Member
*****
Karma: 8
Posts: 567
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks for the feedback. when you say bluetooth dongle, what do you mean?

i have not tested with BT, but it's definitely on the list.

an embarrassing startup time!
Logged

Windows serial port monitor: Tellurium | Arduino serial port debugging library: DBG | Cusom LCD char generator | Technical questions will only be answered in forum threads

Pages: 1 ... 4 5 [6] 7   Go Up
Jump to: