Trying to get propgcc working on MacOS
Forest Godfrey
Posts: 38
I have a Prop demo board and an PropPlug that both work fine (verified under Windows running in Parallels, and they've worked for several years). I cannot, however, get this hardware to work with SimpleIDE/propgcc. No matter what I do, I get a "propeller not found" error when trying to load the resulting binary. I've tried the load delay at 0 and 1. Nothing helps. I had this problem about a year or so ago trying to get bst to work on my old Mac (I never did get it to work successfully).
Since you can't copy-and-paste from the output screen in SimpleID, I tried off the command line and got the same error:
/Applications/SimpleIDE/parallax/bin> ./propeller-load -I ../propeller-load -b EEPROM -p /dev/tty.usbserial-A10022I7 ~/propgcc/demos/C-VGA/a.out -e -r
error: no propeller chip on port '/dev/tty.usbserial-A10022I7'
I connected to the serial port with "screen" after loading something onto the prop that does both input and output (I loaded with the Windows IDE). That works fine. An Arduino also works fine with this Mac as do a variety of PIC based serial ports (the PIC in question has USB built in).
I have a 17" MacBook Pro, late-2011 edition, running MacOS X 10.7.4. Again, the exact same computer, prop-plug, and board work fine with the Windows IDE.
Thanks for any insights anyone has! Great to see gcc come to the Prop!
Since you can't copy-and-paste from the output screen in SimpleID, I tried off the command line and got the same error:
/Applications/SimpleIDE/parallax/bin> ./propeller-load -I ../propeller-load -b EEPROM -p /dev/tty.usbserial-A10022I7 ~/propgcc/demos/C-VGA/a.out -e -r
error: no propeller chip on port '/dev/tty.usbserial-A10022I7'
I connected to the serial port with "screen" after loading something onto the prop that does both input and output (I loaded with the Windows IDE). That works fine. An Arduino also works fine with this Mac as do a variety of PIC based serial ports (the PIC in question has USB built in).
I have a 17" MacBook Pro, late-2011 edition, running MacOS X 10.7.4. Again, the exact same computer, prop-plug, and board work fine with the Windows IDE.
Thanks for any insights anyone has! Great to see gcc come to the Prop!
Comments
BTW, in the SimpleIDE in the build status output, you should be able to right-click select-all and then right-click copy to capture the output. Single left click in that output is for finding code errors and warnings.
I tried installing MacOS X under Parallels (the virtual machine). WIth straight Lion, the serial port didn't appear. So, I downloaded the FTDI VCP driver (64-bit, MacOS X Intel), and installed it. The serial port appeared fine in /dev. Fired up SimpleIDE and.... same problem. Weird that this problem has followed me through two machines and a virtual machine (I was never able to get bst working with the same symptom).
I'm pretty stumped. Unless someone else has any suggestions, I guess next I'll try a scope to see if it's really resetting the Prop.