Steve Hicks (N5AC)
10-16-2006, 07:19 AM
I would like to be able to do a couple of things with a serial port:
1. Interface to a PC to update operating parameters in my Propeller software
2. Reprogram the EEPROM on the propeller with new software from a PC application
My questions are:
1. Can I reuse the "main" serial port (P30/31) to both program the EEPROM attached to the propeller as well as interact with my program? -- I believe this is a "yes," and so I'm trying to understand the DTR/RESn·relationship.· I am guessing that the Propeller tool pulses RESn (via DTR) and then communicates with the chip to reprogram the software.· If this is the case, I assume that my PC program can just interact with the running software provided it doesn't mess with DTR.
2. My PC application is a .NET application that will be periodically updated.· Can I use the application to also update the propeller software via the on-board boot-loader program?· In other words, can I pulse DTR and interact with the boot-loader to rewrite the EEPROM also?· Is there documentation on how to do this?
Thanks,
Steve
1. Interface to a PC to update operating parameters in my Propeller software
2. Reprogram the EEPROM on the propeller with new software from a PC application
My questions are:
1. Can I reuse the "main" serial port (P30/31) to both program the EEPROM attached to the propeller as well as interact with my program? -- I believe this is a "yes," and so I'm trying to understand the DTR/RESn·relationship.· I am guessing that the Propeller tool pulses RESn (via DTR) and then communicates with the chip to reprogram the software.· If this is the case, I assume that my PC program can just interact with the running software provided it doesn't mess with DTR.
2. My PC application is a .NET application that will be periodically updated.· Can I use the application to also update the propeller software via the on-board boot-loader program?· In other words, can I pulse DTR and interact with the boot-loader to rewrite the EEPROM also?· Is there documentation on how to do this?
Thanks,
Steve