Newbie difficulties
pfla
Posts: 1
Hi, we're two propeller newbies, working on a Windows and a Debian computer. We've got a couple propeller chips in the DIL case plus prop plug, and have successfully run the LED blinking demo in spin on the Windows Propeller Tool.
- We haven't managed to get any of the printing (hello world) examples to print anything to the serial terminal, though. The prop plug does not indicate any data (no blinking), and the propeller TX pin (P30, = pin 39) is constant (I don't remember whether hi or lo).
- When using propgcc, i.e. SimpleIDE, on Debian, I've run into many issues with paths, in the end I moved to using the command line instead, which seems to work ok, except that I'd be happy to have makefiles instead; I wonder if the *.side files can be converted to Makefiles automatically (is it even possible to write such a program, is all necessary info contained in them?).
- We manage to compile examples, like 'Blink Light.c', both on Windows and Debian, and upload them, but on neither we manage to actually make the propeller blink. Any ideas? From Debian:
chrispropeller@novo:~/SimpleIDE/Learn/Examples/Circuits$ propeller-load -v -Dreset=dtr -r -p /dev/ttyUSB0 cmm/Blink\ Light.elf
Propeller Version 1 on /dev/ttyUSB0
Loading cmm/Blink Light.elf to hub memory
2384 bytes sent
Verifying RAM ... OK
but no blinking on P26 nor any other pin.
Thanks for any help!
- We haven't managed to get any of the printing (hello world) examples to print anything to the serial terminal, though. The prop plug does not indicate any data (no blinking), and the propeller TX pin (P30, = pin 39) is constant (I don't remember whether hi or lo).
- When using propgcc, i.e. SimpleIDE, on Debian, I've run into many issues with paths, in the end I moved to using the command line instead, which seems to work ok, except that I'd be happy to have makefiles instead; I wonder if the *.side files can be converted to Makefiles automatically (is it even possible to write such a program, is all necessary info contained in them?).
- We manage to compile examples, like 'Blink Light.c', both on Windows and Debian, and upload them, but on neither we manage to actually make the propeller blink. Any ideas? From Debian:
chrispropeller@novo:~/SimpleIDE/Learn/Examples/Circuits$ propeller-load -v -Dreset=dtr -r -p /dev/ttyUSB0 cmm/Blink\ Light.elf
Propeller Version 1 on /dev/ttyUSB0
Loading cmm/Blink Light.elf to hub memory
2384 bytes sent
Verifying RAM ... OK
but no blinking on P26 nor any other pin.
Thanks for any help!
Comments
Welcome to the forums!
Would you be able to post your source code and maybe a picture of your hardware setup/circuit? This way, we can get a good idea of what is going on.
Thank you,
Daniel
forum. I would like to gravitate to the propeller. I am a hobbiest of linux, like C++ programming, and
enjoy learning about other people's projects. I would try to help you, if I can.
I'm exactly the same way. I am much, much happier with basic makefiles and a real IDE. Whether you use the source files or not, you might appreciate the ability to use Eclipse and your own Makefiles via PropWare's common.mk.
Everyone has their own preferences. The main focus of SimpleIDE is educational.
Competent C programmers typically don't need (or want) any help. They are also in my experience usually the hardest to please