Tag Archives: pic programmer

Intel Hex Files Explained

We often come across a problem where an understanding of Intel Hex file format will help in solving a programming issue or technical point.  Intel Hex format is a standard layout for files produced by assemblers or C compilers when they compile your source code.  It is used by device programmers to program the target microcontroller with your code.

Continue reading “Intel Hex Files Explained” »

Which Pic Programmer Do You Need?

Microchip PIC microcontrollers come in a wide variety of types from very old PIC16C family through to the latest PIC16F and PIC18F devices, with several other less common types as well. Apart from some very old chips, they are all In Circuit Serial Programmable, which means that they can be programmed in circuit using a PIC ICSP programmer.

Continue reading “Which Pic Programmer Do You Need?” »

Firmware Updates in the Field

All microcontroller based applications include the microcontroller code called firmware but it is surprising how many people forget that they may need to update it when their products are scattered at customer locations. This may be because (heaven forbid) that they discover a bug in the system that needs to be corrected or, more commonly, that the product needs new features in response to customer feedback or competitor’s actions. So how do we simplify firmware updates?

Continue reading “Firmware Updates in the Field” »

PIC In-system Programming

PIC microcontrollers, like most modern microcontrollers, can be programmed in system (or in circuit – ICSP) rather than in a socket programmer. This has advantages in development and in production, for example, to use different firmware for different versions or to speed up production. The major benefit though is field upgrades. We can give you lots of horror stories about people who didn’t think of firmware upgrades and had to recall products to fix a bug, not a cheap option. So how do you add In System Programming to your designs?

Continue reading “PIC In-system Programming” »

PIC Hex File Format

Microchip have scored a winner over Atmel AVR by including all the information required to program a PIC microcontroller in one Hex file. This includes code, EEPROM data, User bytes (User ID) and most importantly, configuration words.

This makes it much easier to transfer the project from development to production or between engineers, as all the information needed is in one file. Atmel, now they have been taken over by Microchip have belatedly added an ELF production file format that can do the same thing. See this post for details – Producing AVR and ATxmega ELF production files So, what is this PIC file format?

Continue reading “PIC Hex File Format” »