Propellor USB Prop Plug and serial communication newbie question
whiteoxe
Posts: 794
My propellor should be arriving any time now and I'm excited! I wanted to get the PE Education Kit but it was sold out, no matter, Ill get by!
My question is pretty basic, does the prop plug behave like a serial com port ? I will be writing a Visual Basic program to commiunicate with the Propellor and the only way I know how how to do this with any chip is using serial ports.
My question is pretty basic, does the prop plug behave like a serial com port ? I will be writing a Visual Basic program to commiunicate with the Propellor and the only way I know how how to do this with any chip is using serial ports.
Comments
-Phil
Yes the prop-plug has an FTDI-chip that does the conversion from USB to serial creating a virtual COM-Port.
Make sure you have installed the newest driver for the FTDI-Chip
There is one thing to know. Most Applications toggle the DTR-line when opening the COM-Port this creates a reset on the propeller.
Whenever the propeller resets the content of the RAM gets lost and overwritten by the content of the EEPROM.
So when working with the serial connection on PIN 31,30 it's better to store EVERY new program-version in the EEPROM
because in RAM it will be lost after opening the COM-Port. An Exception to this rule is the PST.EXE (Parallax Serial Terminal)
it does NOT automatically toggle the DTR-Line
best regards
Stefan
Download "DongleBasic" from the Propeller Object Exchange. It's a Basic subset interpreter that uses a minimal Propeller and just needs the programming comm port and a terminal program (like Hyperterm) on the PC for a console. It'll let you experiment with the Propeller's I/O pins and the built-in counters among other things.
Mike.L.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,