Hello,
I was wondering if it is possible to reset a PIC via software command.
I am having a bootloader developed for me, original specification was that resetting the PIC from PC application be available, programmer says not possible because he is using Visual C# express edition, he says it can only be done if he has access to hardwire pin in COM port.
Can code be written in a bootloader that can issue a reset command to some type of register in a PIC 16F886/7 and 18F2620/4620?
PC application sends command via RS232 port to PIC/bootloader, bootloader resets PIC?
Thanks
Ron
Resetting PIC Via Software
- Steve
- Matrix Staff
- Posts: 3433
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: Resetting PIC Via Software
I think there is a RESET command in the 18F series PICs.
For the 16F PICs, you could simple jump to location zero - but remember that the registers will not be at their default settings (e.g. TRIS registers will not necessarily be 0xFF).
For the 16F PICs, you could simple jump to location zero - but remember that the registers will not be at their default settings (e.g. TRIS registers will not necessarily be 0xFF).