Rs232 propellor boot up, reset pin
Hello,
i would like to know more about the propellor boot up because I like to use the P31 and P30 pins to communicate with the PC and also I am debating whether or not I make the Propellor reset regularly with the reset pin. I would like to know the exact mechanism of the detection of the PC's presence by the Propellor as briefly summarized on p18 of the propellor manual WebPm-v1.01.pdf
2. The Boot Loader performs one or more of the following tasks, in order: a. Detects communication from a host, such as a PC, on pins P30 and P31. If communication from a host is detected, the Boot Loader converses with the host to identify the Propeller chip and possibly download a program into Main RAM and optionally into an external 32 KB EEPROM.
---
The context of my question comes from the fact that i am porting some code from another microcontroller that uses RS232 and the DTR line which is connected to the MCU reset pin. To ensure that the MCU is synchronized with the PC, I make the PC pulse the DTR line which resets the MCU and forces it at a know startup state. Now, I don't know yet if this is efficient with the Propellor for my particular application. What I like to know are what kind of characters and tests on the serial pins the Propellor does at its power up.
Thanks,
Frank
i would like to know more about the propellor boot up because I like to use the P31 and P30 pins to communicate with the PC and also I am debating whether or not I make the Propellor reset regularly with the reset pin. I would like to know the exact mechanism of the detection of the PC's presence by the Propellor as briefly summarized on p18 of the propellor manual WebPm-v1.01.pdf
2. The Boot Loader performs one or more of the following tasks, in order: a. Detects communication from a host, such as a PC, on pins P30 and P31. If communication from a host is detected, the Boot Loader converses with the host to identify the Propeller chip and possibly download a program into Main RAM and optionally into an external 32 KB EEPROM.
---
The context of my question comes from the fact that i am porting some code from another microcontroller that uses RS232 and the DTR line which is connected to the MCU reset pin. To ensure that the MCU is synchronized with the PC, I make the PC pulse the DTR line which resets the MCU and forces it at a know startup state. Now, I don't know yet if this is efficient with the Propellor for my particular application. What I like to know are what kind of characters and tests on the serial pins the Propellor does at its power up.
Thanks,
Frank
Comments
Thanks,
Frank
3:16:14 PM Propeller.exe IOCTL_SERIAL_SET_BAUD_RATE VCP0 SUCCESS Rate: 115200
Thanks for the response. The reason why I am asking this is to figure out if I can recycle the P31 P30 pins for my own personal communication after power up. I am not 100% sure if I understand correctly. Are you saying that each data bit is signalled with a error corecting code of three bits (001 or 011)on the serial line?
It's when you say "either one bit per character or 3 bits per character", I am not catching totally.
Frank
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
It might be easier to have a cog monitor the serial port for activity. Forego the DTR pulse. The activity could be a specific character, or simply a level change. If the Propeller will be resting at RCslow, then a level change on the serial input at p31 could can induce the Prop to gear up to full speed much faster than 1.5 seconds.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com