[SOLVED] Can a PIC be programmed over the SPI bus ?

Status
Not open for further replies.

henninggs

Member level 2
Joined
Nov 10, 2011
Messages
45
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Location
Denmark
Activity points
1,688
Hi.

I'm (trying) to design a CANbus node for my home automation project. Any given node consist of a main-board with a power supply circuit, a PIC18F26K80 and a demultiplexer to handle the chip select of up to 8 daughter boards.

A daughter board will at have a (small) PIC running in SPI slave mode. The main board will thus be the SPI master.

It would be nice to have the ability to change the program in the PIC of a daughter board remotely. Is it possible for the SPI master to alter the program code in the slave with just the SCLK, MOSI, MISO and SS lines connected or do I need something more ?

Best regards
Henning
 


Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…