raspberry pi serial port
hobbyProgrammer
Posts: 9
I've programmed a prop with a raspberry pi using the usb with Simple ide. Can you use the serial port on the raspberry pi to program a propeller. I've tried before with no luck, but I didn't know I had to disable the raspberry pi serial port login. Just making sure it is even possible before I try again.
thanks for any tips or input
Charlie
thanks for any tips or input
Charlie
Comments
The problem is that the loader needs to be able to reset the Propeller using the serial port DTR signal (Or whatever it is, I forget now.) That signal is not available on the Raspi GPIO UART.
However, I have made a version of the loader that is supplied with prop-gcc that uses another GPIO pin to wiggle the Propeller reset.
The latest version of propgcc in the source code repository does include my code to do this. However, nobody has tested it yet and I suspect it's not quite finished.
I would love to be able to test this and get you a version that works, but my "Propeller time" is very limited just now. Be sure it will be possible eventually....
Thanks for your patients and time
Charlie
I am still using a pre-historic version, but it has a major advantage... it works for me
hobby - yep, you can talk to the prop for debugging with a serial terminal program on the Pi. I usually use Putty or GtkTerm
EDIT: I can't remember but I think you have to install the Python serial module by typing this in a terminal window - sudo apt-get install python-serial