Propeller rebooting
Don Pomplun
Posts: 116
My house control program (half a dozen objects) runs fine until there is a reboot (usually a power failure). When it comes back up, almost any input causes a restart. But if I plug in the USB cable to the PC and reload eeprom, it again works fine. Almost looks like an eeprom corruption, but I haven't gotten to the step of saving anything there yet. Any insight?
TIA
Don
TIA
Don
Comments
Isolation from transients and good clean power supplies are likely solutions.
Power supply is a big walwart. I'd be disappointed if eeprom were corrupted by transients!
Don
Of course, the environment they are working in has a lot of heavy inductive motors. And in a machine shop, electric welding adds to the hazard.
I just wonder if you are picking up transients from the AC interface that you have deployed.
Two questions:
Do the old Prop Sticks experience the alleged problem since they don't have the USB FTID interface?
Do the new USB Prop Sticks solve the problem?
TIA
Don
If you have the Prop Plug is connected to a Propeller, but not connected to a USB port, make sure that you keep P30 and P31 low. If you set either pin high when the FT232RQ on the Prop Plug isn't receiving any power, the voltage on the FT232RQ's I/O pin will be much higher than its internal VCC. Any time the I/O pin voltage is more than 0.5 V above VCC, it can cause unintended behavior, including toggling DTR, which will reset the Propeller.
— David Carrier
Parallax Inc.
Still wondering about these two questions:
Do the old RS232 Prop Sticks experience the alleged problem since they don't have the USB FTID interface?
Do the new USB Prop Sticks solve the problem?
Looking at the PropSTICK USB schematic (and not based on personal experience), I would have to say that it does not solve the problem. The main reason is that the connection between the FTDI chip and the Propeller is unbuffered. A proper 74LVC buffer would prevent the Propeller chip from powering the FT232R parasitically, which is the root cause of the problem:
-Phil