Shop OBEX P1 Docs P2 Docs Learn Events
SimpleIDE Mac Test — Parallax Forums

SimpleIDE Mac Test

jazzedjazzed Posts: 11,803
edited 2012-04-14 19:09 in Propeller 1
Hi all,

A MAC-OSX .zip package is available for testing at http://code.google.com/p/propside/downloads/list

A .zip package is being used this time instead of .dmg to make it easier to just load and run demo programs.
Having everything on .dmg means that some files are read-only and would require copying things around.
A .zip is more or less a download, unzip, and run in the package folder.

Some refinements are due in the app and the documentation. The core functions of the app are ready though.

If you have tried the app before, there is a Clean and Exit button in the Properties->General TAB.
Click that button to clean up and restart the application.

Please report any problems.

Thanks,
--Steve

Comments

  • doggiedocdoggiedoc Posts: 2,245
    edited 2012-04-04 16:57
    Works Great! Thanks Steve!


    Paul
  • pgbpsupgbpsu Posts: 460
    edited 2012-04-12 10:07
    Steve-

    I gave this a try and the IDE side of things works, but it looks like 10.7 doesn't get along with the USB2Serial stuff. The drop down menu in the upper right remains empty and the Console window shows an error when I plug in the USB device. I'm curious if others who have had success with this are running OS X 10.7 or something earlier.
    1024 x 893 - 94K
  • jazzedjazzed Posts: 11,803
    edited 2012-04-12 11:39
    pgbpsu wrote: »
    Steve-

    I gave this a try and the IDE side of things works, but it looks like 10.7 doesn't get along with the USB2Serial stuff. The drop down menu in the upper right remains empty and the Console window shows an error when I plug in the USB device. I'm curious if others who have had success with this are running OS X 10.7 or something earlier.

    Do me a big favor and open a "terminal" window. Then use this command: ls -l /dev/cu*
    Post the results back here. Thanks.
  • pgbpsupgbpsu Posts: 460
    edited 2012-04-12 12:49
    ls -l /dev/cu*
    crw-rw-rw-  1 root  wheel   18,   3 Mar 16 10:34 /dev/cu.Bluetooth-Modem
    crw-rw-rw-  1 root  wheel   18,   1 Mar 16 10:34 /dev/cu.Bluetooth-PDA-Sync
    
  • jazzedjazzed Posts: 11,803
    edited 2012-04-12 13:31
    pgbpsu wrote: »
    ls -l /dev/cu*
    crw-rw-rw-  1 root  wheel   18,   3 Mar 16 10:34 /dev/cu.Bluetooth-Modem
    crw-rw-rw-  1 root  wheel   18,   1 Mar 16 10:34 /dev/cu.Bluetooth-PDA-Sync
    

    Where is your Propeller Connected? Can you find the name in /dev ?
    I would expect to see /dev/cu.serial something. Maybe: ls -l /dev/*serial* ?
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-04-12 18:50
    Post #1000 - being helpful! (as opposed to making up things like Doppler Donut Reflectometers)

    You should see a /dev/tty.usbserial-nnnnnnnn where the nnnnnnnn is an alpha-numeric string (serial#?).

    Did you download the USB FTDI drivers for OS X?

    If you did, when you plug in a USB Propellerboard, you should see a /dev/tty.usbserial-nnnnnnnn device appear.

    I can do some Mac OS X Lion testing tomorrow.

    Hope this helps you at least find your devices.
  • ElectricAyeElectricAye Posts: 4,561
    edited 2012-04-12 19:02
    mindrobots wrote: »
    Post #1000 - being helpful! (as opposed to making up things like Doppler Donut Reflectometers)....

    Man, I'm crushed.

    custom_1245249209375_becksmaller_03.jpg
  • jazzedjazzed Posts: 11,803
    edited 2012-04-13 07:53
    The SimpleIDE looks for ports with usbserial in the name.
    mindrobots wrote: »
    ... I can do some Mac OS X Lion testing tomorrow.

    Wish I had a new package for you. I'm in Rocklin for a few days, so I'm away from my MAC.

    I've moved the SimpleIDE users guide to here where it will be maintained:

    https://sites.google.com/site/propellergcc/simpleide

    Any feedback from great tech writers is appreciated.
  • pgbpsupgbpsu Posts: 460
    edited 2012-04-13 07:57
    Steve-

    Thanks for all your work on this. I'm pretty sure my problems are with the OS. I recently upgraded to this machine (from a 10.6 machine) and mindrobots has likely identified the problem. I'll try to get to this later today but I'm swamped and tied up in meetings most of the day.

    Have a great time at Parallax.
    p
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-04-13 08:32
    Steve,

    The guide looks good (I snuck a quick peek) and the PropGCC Beta site looks excellent!! (I stumbled across that too!)

    You may be back to your Mac before I'm back to mine. I had a MAJOR network FAIL at home and in today's world, it's impacting my ability to finish my taxes.....so I have new federally mandated priorities.

    If I stumble across any great tech writers, I'll let them know!!

    Have fun in Rocklin!!
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-04-14 07:15
    I got a chance to sit down at my Mac for a couple of minutes.

    The PP-USB I'm using shows up as:

    crw-rw-rw- 1 root wheel 18, 4 Apr 14 09:52 /dev/tty.usbserial-A400A22N

    and

    crw-rw-rw- 1 root wheel 18, 5 Apr 14 10:10 /dev/cu.usbserial-A400A22N

    when I do ls -l in terminal.

    In SimpleIDE, it shows up as /dev/cu.usbserial-A400A22N. It works fine for loading and terminal I/O.

    The problem I was having with the BOARD drop down list being empty seemed to clear up once I went into Properties and made sure the Loader Folder was correct.

    Now it seems to play well in the Mac world.

    One general observation, I've seen a couple skipped lines and stammers in running HelloWorld to the serial terminal. It's not as bad as the Windows version used to be but it does drop a line every so often.

    I'm running the latest Lion on a 2011 Mac Mini w/ 8GB just for reference.

    Thanks Steve! Now I can write BAD C code for the Propeller on 3 different platforms with the same tool set!!! Good for me, bad for the C world!

    EDIT: Don't turn off a running Prop that's talking to SimpleIDE. SimpleIDE gets REAL upset! I forgot I was spewing "Hello World" to the SimpleIDE terminal and turned the Prop off and unplugged it. While I was putting it away, all of a sudden, my Mac powered up all the fans and I saw all for of the green monitor bars go to the max. SimpleIDE was using 135% of the CPU according to System Monitor! OOPS!! It really wanted to talk to a Prop! :lol: It's a user bug Steve can't fix!!
  • jazzedjazzed Posts: 11,803
    edited 2012-04-14 07:47
    mindrobots wrote: »
    The problem I was having with the BOARD drop down list being empty seemed to clear up once I went into Properties and made sure the Loader Folder was correct.

    Ya, it's pretty important to have the Compiler and Loader Folder set correctly. Did you download the .zip version and unpack it? I thought things were set up to do the paths automatically.

    mindrobots wrote: »
    Thanks Steve! Now I can write BAD C code for the Propeller on 3 different platforms with the same tool set!!! Good for me, bad for the C world!

    Uh oh :)

    mindrobots wrote: »
    EDIT: Don't turn off a running Prop that's talking to SimpleIDE. SimpleIDE gets REAL upset! I forgot I was spewing "Hello World" to the SimpleIDE terminal and turned the Prop off and unplugged it. While I was putting it away, all of a sudden, my Mac powered up all the fans and I saw all for of the green monitor bars go to the max. SimpleIDE was using 135% of the CPU according to System Monitor! OOPS!! It really wanted to talk to a Prop! :lol: It's a user bug Steve can't fix!!

    I'll look into this when I get home. Thanks for testing and reporting.
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-04-14 08:18
    I'll have to go out and buy a new Mac Air so I can test a clean install! :lol:
  • jazzedjazzed Posts: 11,803
    edited 2012-04-14 17:59
    mindrobots wrote: »
    I'll have to go out and buy a new Mac Air so I can test a clean install! :lol:


    Try Menu -> Project -> Properties -> General -> Clear and Exit.
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-04-14 19:09
    OK, does sound less expensive! :lol:
Sign In or Register to comment.