Go to Post A Red Ryder 200-shot carbine Range model air rifle!!! - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 15-06-2005, 12:59
BrianBSL BrianBSL is offline
Registered User
FRC #0190
 
Join Date: Sep 2004
Rookie Year: 2000
Location: Worcester, MA
Posts: 251
BrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud of
Re: Programming a 2nd PIC

Quote:
Originally Posted by ImmortalAres
In order to easily handle the analysis of PWM signal input I'm using a second PIC (PIC18F452) to do the calculation and plan on using the RC as the Master device where the two PICs communicate through the TTL serial line on the RC and a serial port on the demo board (PICDEM 2 Plus demonstration board from Microchip). I have a question about the programming of the 2nd PIC. Since both 40 pin PIC's are of the PIC18Fxx2 family their pin configuration and registers associated with each are the same. Does this then make it possible to transport the code that I had working on the RC to this 2nd PIC directly? Or do I have to completely rewrite my own code?

(Essentially I don't know what's in that RC box and if there is more to it then just a PIC and tracks that attach the pins to the headers for signal input on the outside)

Any advice would be greatly appreciated
You can't just program it with a project from the RC, the RC has 2 pic chips in it (a master processor, and the user processor that you program) and therefore a lot of the IO (tho mostly output) you do on the user processor actually goes through the master processor. You would have to start your project from scratch, but you could certinally reuse functions that you wrote for the RC on the demo board.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VEX programming Gene F Programming 14 08-08-2006 22:21
Organizing a programming team. scitobor 617 Programming 7 28-01-2005 19:18
'Fix It Window' and Programming.... JMac Programming 19 25-01-2005 18:57
Programming and Electronics — Getting Started Sidney San Martín Technical Discussion 7 12-01-2005 15:25
pic: Match 0105: 2nd highest score in the nation CD47-Bot Extra Discussion 6 31-03-2003 11:14


All times are GMT -5. The time now is 20:48.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi