Comm port missing, Arduino mega + ramps 1.4

Home Forum Makelangelo Polargraph Art Robot Comm port missing, Arduino mega + ramps 1.4

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #29071
    Avatarjesus zalba
    Participant

    Hi, I’m using a mac and an arduino mega with ramps 1.4.
    When I try to connect the computer I can´t select any port, the ‘list’ is empty, and I can see a warning in the console:
    “…
    020-12-03 20:37:11 starting GUI…
    WARNING: An illegal reflective access operation has occurred
    WARNING: Illegal reflective access by com.jogamp.common.os.NativeLibrary$3 (file:/Users/jesuszalba/Desktop/Makelangelo/Makelangelo/Makelangelo-7.23.0-with-dependencies.jar) to method java.lang.ClassLoader.findLibrary(java.lang.String)
    WARNING: Please consider reporting this to the maintainers of com.jogamp.common.os.NativeLibrary$3
    WARNING: Use –illegal-access=warn to enable warnings of further illegal reflective access operations
    WARNING: All illegal access operations will be denied in a future release


    Do you know what ca I do?

    #29075
    DanDan
    Keymaster

    Does this help? I just added a section for linux/osx
    https://mcr.dozuki.com/Guide/How+to+update+Makelangelo+firmware/4#s356

    #29080
    Avatarjesus zalba
    Participant

    I don’t know if this is important, but with other app. I haves detected this:
    Removed : wchusbserial410
    ———————
    ———————
    Added : wchusbserial410
    ———————
    ———————
    Removed : wchusbserial410
    ———————
    ———————
    Added : wchusbserial410
    ———————
    ———————
    Removed : wchusbserial410
    ———————
    ———————
    Added : wchusbserial410

    I thing there is an issue and the port is restarting

    • This reply was modified 1 month, 2 weeks ago by Avatarjesus zalba.
    #29082
    Avatarjesus zalba
    Participant

    Hi, I know what is the problem but I don’t know how can I solve.
    I tried to connect with ‘universal gcode sender’ and it had the same problem but if you write the name of the port in the selection list it is able to connect with the arduino.
    The problem is in the communications library, it does not recognize all port names.
    So I think you can solve the issue if you put a text area where we can write the port name.

    The real problem, I think, is the serial chip in some arduino boards. If the serial port is named like the standard there is not problems.

    Thanks a lot.

    #29077
    Avatarjesus zalba
    Participant

    sorry but it doesn’t work.
    The name of this port is:
    /dev/cu.wchusbserial410

    and I can see this

    ls -l /dev/cu.wchusbserial410
    crw-rw-rw- 1 root wheel 17, 9 4 dic 16:46 /dev/cu.wchusbserial410

    and with the terminal in arduino soft works fine:

    HELLO WORLD! I AM ZARPLOTTER #0
    Firmware v10
    Built Dec 4 2020 16:45:21
    == http://www.marginallyclever.com/ ==
    As well as the following G-codes (http://en.wikipedia.org/wiki/G-code):
    G00,G01,G02,G03,G04,G28,G90,G91,G92,M18,M100,M101,M114
    Has LCD

    #29098
    DanDan
    Keymaster

    Well then I’m not certain why it’s not working. In the past it’s always your user or your java does not have permission to access the serial port. The question now is how do we debug this?

    what model mac? what os version?

    #29100
    Avatarjesus zalba
    Participant

    I have read this is a problem with the jssc library and the chinese arduino boards. With a different usb serial adaptar (ch340).
    I have tried with an arduino original and it works.
    The Arduino ide detects both because, i thing, it use a different versión of the jssc.jar (jsscarduino.jar???)

    https://stackoverflow.com/questions/18261996/java-simple-serial-connector-jssc-no-ports-detected/18321865

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.