Used JSSC to write/read data from a COM serial device. COM was detected but attempting to write or read gives this error: EXCEPTION_ACCESS_VIOLATION
Fatal error attempting to write to COM port using JSSC [EXCEPTION_ACCESS_VIOLATION]
1.9k Views Asked by Peter Griffen At
1
There are 1 best solutions below
Related Questions in SERIAL-PORT
- Nonin Oximeter 3231
- How would I go about filtering non-standardly formatted serial data which contains some junk binary between data entries?
- SerialPort timeouts in ReadChar() method, WPF, "The operation has timed out."
- Rust tokio_serial: async fn readable does not block execution. Runs with 100% CPU load
- Why is there a large ploting delay/lag in my real-time serial port ploting app after more than 10000 datapoints reading?
- I get "DevTools was disconnected from the page" error when connecting Arduino to the computer and switching between tabs
- RS422 communication using PySerial (Raspberry PI)
- Python script becomes unresponsive at 100% CPU usage (single core)
- Redirecting stdin and stdout to the same device in shell
- C# System.IO.Ports throws System.IO.Ports is currently only supported on Windows, but i'm currently using windows
- C# COM Port slowing down to read one byte a second after sending message
- What are the differences between a windows serial port and a macos serial port using NodeJS?
- How to increase baudrate on Device Manager Windows?
- Nextion with Arduino change text
- no console after using :wq in vim
Related Questions in JSSC
- Is there a way to pause and resume virtual threads in Java?
- Using serial port of Moxa UC-8200 for communication using java JSSC library
- Method SerialInputStream.read(byte[] bytes) returns 0 even though data is available for reading
- EXCEPTION_ACCESS_VIOLATION: No Core Dump Will Be Written
- Java jssc read from multiple COM ports, simultaneously, write all data out on one port
- JSSC not recognizing Arduino board
- Getting Ring Indicator isRING() and add it to the listener using jssc library?
- JRE crash in Java serial app with JSSC in W10 enviroment
- read data from rs-485 using java jssc
- How do I pass multiple types of data over a serial port connection using JSSC?
- Java JSSC serial read consuming 100% CPU
- Running a method after the end of the response from serialPort?
- RS232 - JSSC 2.8.0 Serial Port Reader - Ambiguous reading
- How to add a Library in the main module [module-info.java]?
- NullPointerException thrown when running program but not when in debug mode Java jssc Serial port communication
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This is a known bug in JSSC. Several other people noticed it too (e.g. https://github.com/arduino/Arduino/issues/6788). It seems to happen with Java SE 9 on Windows 10, x64.
Unfortunately, it appears that the JSSC project is no longer maintained/dead. However, as of this writing, there are over 150 forks, some of which appear to be active. For example, maybe the following fork might contain what you're looking for: https://github.com/aploese/spsw
In case you want to go with a different library altogether, this question provides a working example using jSerialComm: How to fix Java rxtxSerial.dll or jSSC-2.7_x86_64.dll Serial Port Error in Windows 10?