Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] UART RTS signal for the CDT serial port to reset the board

Hi Kondal,

The org.eclipse.cdt.native.serial is a nice little stand-alone bundle (in that it has no dependencies). What it provides is the class you mention that wraps a JNI serial port implementation. Therefore if you can do it with C you can expose that up to Java by adding to this bundle. The Java coding should be straightforward, building the native libraries is a bit more challenging. Late last year I started automating these builds so they build using Docker, this prevents you needing any other tools (other than docker :-) setup to build the native libraries. See the "native" section of for details, and/or come back here for any followup questions.

I don't know anything about javax.comm.SerialPort and the CDT Serial port was written by Doug many years ago.

PS You can start by creating a bug to track the work.


Jonah Graham
Kichwa Coders

On Mon, 27 Apr 2020 at 15:20, Kondal Kolipaka <kondal.kolipaka@xxxxxxxxx> wrote:
Hi All,

Could someone help me with this - I want to send the UART RTS signal for the CDT serial monitor port to reset the board? But I couldn't find any call in the org.eclipse.cdt.serial.SerialPort API class.

javax.comm.SerialPort is having a method setRTS(boolean) to do that. But it looks like CDT having its own native serial native API.

If I want to implement this functionality - how do I do that? Any pointers would be appreciated. 

cdt-dev mailing list
To unsubscribe from this list, visit

Back to the top