Able to connect to Prop 1 with Propeller Tool but not with SimpleIDE
Hi! New to the forums and the propeller community as a whole.
I am using a Prop Plug REV E to connect and program my Prop 1 in a custom circuit. When I attempt to load SPIN code via Propeller Tool I get no issues, the 'Identify Hardware' tool instantly sees my chip and programs both EEPROM and RAM without issue.
When I try to load compiled C code using SimpleIDE 1.1.2 I have no such luck. I have the same COM port selected and the board type is set to GENERIC. Proploader fails with a return code of -1 and gives this message for any program I attempt to run:
proploader.exe -e -r -I C:/Program Files (x86)/SimpleIDE/bin/../propeller-gcc/propeller-load/ -b rcfast -p COM4 cmm/Hello Message.elf Opening file 'cmm/Hello Message.elf' ERROR: Download failed: -1 Opening file 'cmm/Hello Message.elf' ERROR: Download failed: -1
I have tried to see if Prop Tool uses a similar proploader command that I could use as a reference but I'm not sure if it relies on it to begin with.
Is there an obvious mistake that I am making here?
I am using Windows 10 if that helps.
Any help is appreciated, thanks!
Comments
Try building and running this program
Check your com port, try reset port, build and run
I tried this with the code you sent.
The compiler is successful but I get the same error even after resetting the port.
Update:
Running the following command seems to work for getting the program written to the prop:
I'm not sure exactly where to go from here, if there's anybody who knows more about this who can point me in the right direction it would be a great help.
Check com port, try build run with serial terminal. If it works with the spin tool maybe you need to delete simple IDE and reload it. I mainly use spin, so I'm not an expert at simpleIDE
Might be an issue with the space in the file name, lots of things break on them.
Is there a way that I can see the default config file that propeller-load uses? The default seems to have no problem loading
Oh yes, I remember there being a problem with proploader config loading : https://forums.parallax.com/discussion/171953/proploader-board-config-file-mystery
Now that I'm thinking about it, try uninstalling SimpleIDE and installing it in a user directory - Windows with enabled UAC does some weird stuff with files in Program Files and similar directories, maybe that's it
+1
Mike