Searching \ for '[PIC] : Using PICKIT2, programming a single locati' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devprogs.htm?key=programming
Search entire site for: ': Using PICKIT2, programming a single locati'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] : Using PICKIT2, programming a single locati'
2007\08\31@181906 by alan smith

picon face
Does the format of the hex file give anything about the location to program?  In other words, I know there is some header info on the hex file such as....its this chip and whatever else but I want to program a single empty location AFTER the parts been programmed, using the PICKIT2. This is basically to identify the board being delivered to a specific customer, so part of the serial stream that comes out identifies the board by customer.  Make sense?  This location will be programmed as its being packaged for shipping, so they dont want to be programming them and then going thru testing again with them.


     
---------------------------------
Need a vacation? Get great deals to amazing places on Yahoo! Travel.

2007\08\31@184805 by Marcel Duchamp

picon face
alan smith wrote:
> Does the format of the hex file give anything about the location to program?  In other words, I know there is some header info on the hex file such as....its this chip and whatever else but I want to program a single empty location AFTER the parts been programmed, using the PICKIT2. This is basically to identify the board being delivered to a specific customer, so part of the serial stream that comes out identifies the board by customer.  Make sense?  This location will be programmed as its being packaged for shipping, so they dont want to be programming them and then going thru testing again with them.
>
>
>        
> ---------------------------------
> Need a vacation? Get great deals to amazing places on Yahoo! Travel.

Intel hex files have a format with a starting address, number of bytes
of data, then the actual data, then a checksum. (or something very
similar to this)

So it allows you to do what you want.  You must have a programmer that
is happy programming only a partial amount of an already programmed
chip.  These days, probably most do but in the past, I definitely had
one that didn't allow that.

Finally, you need to have a bullet-proof setup such that production
people can use this equipment, do the job and not screw anything up
since you are trying to avoid further testing.

2007\08\31@224610 by Xiaofan Chen

face picon face
On 9/1/07, alan smith <spam_OUTmicro_eng2TakeThisOuTspamyahoo.com> wrote:
> Does the format of the hex file give anything about the location to program?
> In other words, I know there is some header info on the hex file such as....
> its this chip and whatever else but I want to program a single empty location
> AFTER the parts been programmed, using the PICKIT2. This is basically to
> identify the board being delivered to a specific customer, so part of the serial
> stream that comes out identifies the board by customer.  Make sense?  This
> location will be programmed as its being packaged for shipping, so they dont
> want to be programming them and then going thru testing again with them.

Perhaps you can use the User ID words for that purpose. I think it is
possible to program the ID words only. The current PICkit 2 PC
application may not support it though and it does not have a
console version unless you hack the C# source codes.

The other choice is to use EEPROM. PICkit 2 supports programming
the EEprom only. This is provided you are using a PIC with EEProm.

SQTP with Promate III is another choice.

Bootloader might be an easier choice for you.


Xiaofan


'[PIC] : Using PICKIT2, programming a single locati'
2007\09\01@023455 by wouter van ooijen
face picon face
> I want
> to program
> > a single empty location AFTER the parts been programmed

It is no big deal to modify the .hex file. All PC side programming
software contains code to read (and in most cases write) .hex file.
Check XWisp, pickit2 softtware, Olins software, etc.

Wouter van Ooijen

-- -------------------------------------------
Van Ooijen Technische Informatica: http://www.voti.nl
consultancy, development, PICmicro products
docent Hogeschool van Utrecht: http://www.voti.nl/hvu



2007\09\01@103526 by Hector Garcia

picon face
Hi.

2007/8/31, alan smith <.....micro_eng2KILLspamspam@spam@yahoo.com>:
>... I want to program a single empty location AFTER the parts been programmed,
...so part of the serial stream that comes out identifies the board by
customer.

You have a serial port. You want to program a few id bytes on your
pic. You could
receive a command via serial comunication with custom data, an save
the data contained on the eeprom.

I'm implementing this procedure on an actual project, saving 25 bytes
of custom data on EEPROM without the neddings to reprogram the pic;
only connecting the device to PC and powering it for 1 minute

Regards
--
Hector
--
El Pic no pudo Iniciar correctamente.
Inserte el disco de arranque y presione cualquier pin para continuar...

More... (looser matching)
- Last day of these posts
- In 2007 , 2008 only
- Today
- New search...