Serial Comms with Puter
heathclf
Posts: 43
I got my computer to work with the prop chip over serial comms, but only bc I took the computer's logic to an inverter first. I'm using the serial libraries that come with the chip (Simple, FullDuplex, etc), and am wondering how to do this without the inverter, as it seems extremely silly to need to use such a chip when I have a processor.
In the "Debug.start(31, 30, 1, 57600)", there's the option to mess wit the 3rd bit, which I thought would reverse the logic and such, but I can't seem to get it to work.
Did anyone else have this problem? I haven't seen it posted?
thanks.
In the "Debug.start(31, 30, 1, 57600)", there's the option to mess wit the 3rd bit, which I thought would reverse the logic and such, but I can't seem to get it to work.
Did anyone else have this problem? I haven't seen it posted?
thanks.
Comments
it might be a problem of not loading your new version of the program into the eeprom
third parameter zero does work for me in many programs without inversion as it is normal mode
BUT
if you just load a new version of the program to RAM and reopen the comport.
the reopening of the com-port causes a reset of the propeller and the reset makes the propeller
boot. In the bootprocess the content of the EEPROM is loaded into RAM and overwrites your new version
which was only loaded to RAM
This is the case if in the EEPROM is still a version using third parameter "1" instead of zero
If you use PINs 30,31 for the serial connection you HAVE TO load every new program-version to the EEPROM
best regards
Stefan
If you are using the right serial terminal you should not get a reset when you close/re-open the port.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pull my finger!
I do not load to EEPROM. My EEPROM contains code that flashes a LED on my PCB, so I know that this code is running. I change the frequency (flash rate when I load other test code.
Post Edited (Cluso99) : 10/23/2008 11:23:44 AM GMT
@Cluso and BradC you are right PST.EXE and PropViewer in PST-emulation-mode
do NOT reset the propeller
best regards
Stefan