View previous topic :: View next topic |
Author |
Message |
Guest
|
Remote programming ? |
Posted: Fri Jun 11, 2004 12:43 pm |
|
|
Has anyone done any remote programming for the 18f series processors? I am looking to do something web based or telephone based? Let me knoiw if you have any ideas? Thanx guys.. TTY |
|
|
future
Joined: 14 May 2004 Posts: 330
|
|
Posted: Sat Jun 12, 2004 6:44 am |
|
|
I never did this before, but I think you can use an external modem hooked to your pic. To reprogram it you dial to your modem... once connection is done you have a serial link, like your pic is directly connected to computer...
In your firmware you program something like if it receives a "R" it resets the processor.
After that the bootloader starts and waits the new firmware for a few seconds... and then you send it. |
|
|
Guest
|
|
Posted: Sat Jun 12, 2004 12:28 pm |
|
|
I think that feature is only on certain pics like the 16f877. Not sure that would work fo this one. Not from what I have read so far.. TTY |
|
|
Haplo
Joined: 06 Sep 2003 Posts: 659 Location: Sydney, Australia
|
|
Posted: Sat Jun 12, 2004 5:41 pm |
|
|
Once I modified the CCS bootloader and used it over a modem connection. For this to work properly you'll need to add proper handshaking, error checking and possibly frame sequencing. Otherwise it will be too dodgy. The last thing you want is your PIC receiving the wrong bytes and crashing after restart. |
|
|
AllanL5
Joined: 05 Apr 2004 Posts: 6
|
|
Posted: Thu Jun 17, 2004 2:03 pm |
|
|
Yes, I believe there do exist several 18Fxxx bootloader modules, which should allow this sort of thing. |
|
|
|