SimpleIDE Propeller "Run with Terminal" Error

I'm attempting to push test code to my propeller from Ubuntu 16.04 with SimpleIDE 1.0.1 and am getting the following error:

propeller-load -Dreset=dtr -I /opt/parallax/propeller-load/ -b ACTIVITYBOARD cmm/Welcome.elf -r -p /dev/ttyS0Error is : Permission denied
error: opening serial port '/dev/ttyS0'

Error is : Permission denied
error: opening serial port '/dev/ttyS0'

Is this an issue with the FTDI driver, or actual permissions? I've tried a few different things and have not had any success in getting the propeller to work with Linux. Any suggestions are greatly appreciated. Thanks.

Comments

  • 4 Comments sorted by Date Added Votes
  • I would think the SimpleIDE installer would do this for you, but check if your user is in the dialout group. Try running "groups" at the command line and see if the word "dialout" shows up in the output. If not, run "sudo usermod -a -G dialout $USER" and then log off and back on again before trying to run your program.
    David
    PropWare: C++ HAL (Hardware Abstraction Layer) for PropGCC; Robust build system using CMake; Integrated Simple Library, libpropeller, and libPropelleruino (Arduino port); Instructions for Eclipse and JetBrain's CLion; Example projects; Doxygen documentation
  • Possible progress. Now it cannot find the chip.

    propeller-load -Dreset=dtr -I /opt/parallax/propeller-load/ -b ACTIVITYBOARD cmm/Welcome.elf -r -p /dev/ttyS0tcgetattr failed
    tcflush failed
    tcsetattr failed
    Error writing port
    error: no propeller chip on port '/dev/ttyS0'

    tcgetattr failed
    tcflush failed
    tcsetattr failed
    error: no propeller chip on port '/dev/ttyS0'
  • Oh, forget my previous reply. I was on the wrong port. That did fix my issue. Thanks.
  • Excellent! :) Happy coding. I do find programming in C and C++ (whether for x86 or Propeller) much easier on Linux - I hope you do too!
    David
    PropWare: C++ HAL (Hardware Abstraction Layer) for PropGCC; Robust build system using CMake; Integrated Simple Library, libpropeller, and libPropelleruino (Arduino port); Instructions for Eclipse and JetBrain's CLion; Example projects; Doxygen documentation
Sign In or Register to comment.