Showing posts with label PIC programming. Show all posts
Showing posts with label PIC programming. Show all posts

Thursday, September 24, 2009

The Advantages of Intel

Here are my thoughts about the advantages of Intel.

Intel China Research Center is working on a model-based computing to optimize the use of its multi-core microprocessor technology. Tip, Microsoft is currently more in the virtualization software. It seems that virtualization is more related to server technology. The virtualization strategy with utility computing using virtual machines, and the third most important, the scalability of multi-core chip, and energy efficiency to achieve high workload consolidation in data centers.

Tera-scale computers based on 10 to 100s of integrated processor cores to 3 workload in the computer-based model or pattern recognition of objects in one database (source database mining identical or similar objects with patterns that match the target object find), and synthesis of information (data mine different models and objects together in a way that the user can digest, the user can obtain practical solutions), quoted by De vived and member of Intel.

Short side comparison, nuclear offers both Intel and AMD quad-core. You can see that the strategy of AMD is the weakness of the competitors as their power increases. AMD maintains that his superior, 2MB L3 cache, touted as better than any of its competitors, while competition with Intel in their previous performance. Intel is to stay away from the head to "play chicken" with AMD head by producing new products much faster than its closest competitors, although it lacks some innovative shots as a new L3 cache.

However, Intel more than offset by the improvement of microprocessors in other ways, such as the SSE4 instructions and more efficient materials such as silicon technology hafnium metal door. Intel Speed of having new products in the consumer market is the main reason is the market leader in microprocessors today. People generally want a new product that can be used now instead of waiting for a product a little better after a few months. AMD chance the new leader will come from its ability to do the same as Intel, not just talk the talk but walking the walk.

Dunnington 6-core Intel processors are the next in line to be launched in the consumer market. Users Dunnington microprocessor will own a piece of the level of computer technology Peta flop. The flop Peta computer technology, a computer calculates one trillion floating point per second, it exists in the Intel lab demonstration of a powerful computer that uses microprocessors PETA flop Dunnington.

It seems that in terms of marketing, is Intel's research and development arm to show the consumer the full capacity of the microprocessors. It is unlikely that an individual home user or purchased as 60 more pieces of microprocessors on a computer Dunnigton PETA flop building. However, the attraction that exists, and people go like "You know, I own an Intel 6-core microprocessor which the capabilities of the computer is peta flop!" Granted, it is a very attractive prospect!

Wednesday, September 2, 2009

How To Program The PIC

Here are my thoughts on how to program the PIC.

There are three ways to program a PIC microcontroller

1. Using normal programming hardware (high voltage programming HVP).
2. Low Voltage Programming (LVP).
3. Boot Loading.

The first two methods use the programming port of PIC microcontrollers labeled ICSP (In Circuit Serial).

This port is shared between the existing pins after programming of microcontrollers and pin back to the normal operation of the microcontroller.

Note: To work your ICSP effects and consider the requirements of the programmer, for example ICSP HPV is a high voltage on the Vpp pin (the circuit must be capable of high voltage - 13V to handle). The burden of other signs of PGC PGD and may not be too high not to one of these pens LED 20mA - if not the tension level high enough at the entrance of the PIC for programming.

It is relatively easy to design for ICSP through the use of insulation resistance for the normal channels and not using heavy loads on these pins.

ICSP provides 6 connections from the pic ICSP programmer to the board as follows:

VPP - (o MCLRn) programming voltage (typically 13V).

Vcc - Power (usually 5V).

GND Ground (zero volts).

DGP - Data Port and connection RB7 custom.

PGC - Clock usual connection port RB6.

PGM - LVP is habit and RB3/RB4 port connection.

PIC Micro: High V programming

To use the first method of a hardware interface that is required or a PIC programmer "to the interface between the programming software (usually running on the PC) and the PIC chip. This is the hardware information from the PC via one of three of the interfaces:

* RS232 COM port
* Parallel port
* The USB port

You choose the interface you want, and then choose a suitable PIC programmer. The PC communicates with the hardware generation of the series (ICSP) signals to the PIC hex file translate into a serial data stream suitable for the target microcontroller.

Note: Almost all PIC microcontrollers using the ICSP interface, so once you have HPV can program virtually any PIC microcontroller. For example, you can program 12F675, 16F84, 16F88, 16F877 (A), 18F2550, 18F452, etc

There are several programs for programming PIC eg ICPROG monkeys and many different hardware developers.

PIC Micro: Low-voltage programming (LVP)

LVP is exactly the same as HVP except:

* The Vpp voltage is set to the normal voltage.
* The PGM pin, the programming mode.

Note: In this mode you can not use the PIN-code of the PGM for something else that is dedicated solely to LVP control.

Devices are manufactured with PGM mode enabled and the only way to PGM mode to disable the program that a developer of HPV applications.

Note: Some PIC microcontrollers can only method of HPV, used as the LVP method you must sacrifice a pin - PGM - (to tell the PIC Micro either that it is programmed (high volts eg 5V) or not programmed (0 V)) and some PIC micros have only 8 pins eg 12F675. For this chip the PGM pin is not available for HPV is the only way.

The real advantage of using the LVP mode is that you can plan several Micros PIC on a board without that each individual program - could be one extra daisy chain each master micro micro than the agenda of any one turn - and This is only possible from the Vpp signal is a normal level of logic in LVP mode.

PIC Micro: Boat Loading

Loading Boot uses any available interface to a program to load the program memory. It requires a bootstrap program interface to the data to interpret and translate into instructions of program memory.

Note: Note: only new devices that are able to program your own memory can use this method.

Normally, a serial port for boot loading and PIC microcontroller program will start waiting for a time after listening to the serial port of a reserved word that tells the boot program to start is to listen sequence of characters that normally not be used in the interface

Once you get this order, starting mode is a hex-file is passed to the microcontroller interface. He interprets this and programs the memory of the microcontroller and then starts the program.

There are two problems with this method:

1. You have to program the boot code using HVP or LVP.
2. Use one of the resources of the microcontroller.

Once programmed it offers a convenient way to use the device if it is not necessary hardware and programming an important advantage is that you can reprogram a device without the example of bodies, if you boxed project teams can still return to program the serial port!
Bookmark and Share