Difference between revisions of "Microcontrollers and accessories"

From AIRWiki
Jump to: navigation, search
(Hardware)
Line 4: Line 4:
  
 
== Hardware ==
 
== Hardware ==
 +
In AIRLab/Lambrate you can find three Microchip ICD2 "debuggers", i.e. devices which let you write, read and run the code running on a PIC. To do that, the PIC can be accessed in two ways:
 +
* if you were thoughtful enough, you designed your PCB including a port to connect to the pins of the PIC used for programming: in this case, the PIC can be left on the PCB and it is sufficient to hook up the ICD2 to the board with a suitable cable;
 +
* if you were not so thoughtful (or if the PCB comes from someone else who wasn't), each time you need to communicate with the PIC you have to extract it from its socket and put it into an auxiliary board connected to the ICD2, then to put it back into the socket when you are finished.
 +
 +
Of course you have to POWER DOWN THE CIRCUIT when
  
 
ST REva Evaluation Board STM32 -> Martino Migliavacca (9/4/8)
 
ST REva Evaluation Board STM32 -> Martino Migliavacca (9/4/8)

Revision as of 12:21, 16 April 2008

Many AIRLab projects use microcontrollers. There are many producers of microcontrollers, but for legacy reasons we usually tend to use the PIC line of products by Microchip.

Here you can find a good introduction to the design of circuits based on PIC microcontrollers.

Hardware

In AIRLab/Lambrate you can find three Microchip ICD2 "debuggers", i.e. devices which let you write, read and run the code running on a PIC. To do that, the PIC can be accessed in two ways:

  • if you were thoughtful enough, you designed your PCB including a port to connect to the pins of the PIC used for programming: in this case, the PIC can be left on the PCB and it is sufficient to hook up the ICD2 to the board with a suitable cable;
  • if you were not so thoughtful (or if the PCB comes from someone else who wasn't), each time you need to communicate with the PIC you have to extract it from its socket and put it into an auxiliary board connected to the ICD2, then to put it back into the socket when you are finished.

Of course you have to POWER DOWN THE CIRCUIT when

ST REva Evaluation Board STM32 -> Martino Migliavacca (9/4/8)