CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

multiple ICSP programming

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
AlastairM



Joined: 28 Apr 2008
Posts: 28

View user's profile Send private message

multiple ICSP programming
PostPosted: Mon Sep 05, 2011 4:14 am     Reply with quote

Hi,
Has anyone got some suggestions - I'm in the process of designing a system with multiple channels (probably 20).
Since each channel is identical I thought I could have a low end PIC for each channel taking in serial data, doing some simple processing and then presenting the data on a parallel bus when addressed by the main PIC processor.
This should work fine but what's the best way to program them all in circuit!
How about connecting all the CLKs and DATs together and then multiplex the Vpp to select the chip to be programmed and then use LVP??
Thanks
Al
Geps



Joined: 05 Jul 2010
Posts: 129

View user's profile Send private message

PostPosted: Tue Sep 06, 2011 7:15 am     Reply with quote

Depending on your skill level and application constraints you could use a bootloader and the common bus between devices to send the new data down?
AlastairM



Joined: 28 Apr 2008
Posts: 28

View user's profile Send private message

PostPosted: Tue Sep 06, 2011 7:23 am     Reply with quote

Yes I thought that a bootloader would be an elegant solution.
I've decided to have a PIC monitoring all 20 input serial lines that also outputs a common frame sync and data clocking signal to all serial devices simultaneously. In this way I get synchronised data coming back from all devices.
Should be easy...
Thanks for your response
Al
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group