Exact match. Not showing close matches.
PICList
Thread
'[PIC] ICD3 Saving HEX file - Silly Question'
2011\10\01@112611
by
Chris Roper
Hi All,
I have an ICD3 and wish to read the contents of a Device and save it,
before Flashing the CPU with a new program. I searched in vain for a
standalone application, such as is available for the PICKit2, so I
tried it using MPLab 8.x.
I can set it up as a programmer and I can read the device, but nowhere
can I find an option to save it as a HEX file.
I know it must be simple, but I just cant find it, not even in the
documentation, hence the silly question.
Cheers
Chri
2011\10\01@121348
by
Harold Hallikainen
> Hi All,
>
> I have an ICD3 and wish to read the contents of a Device and save it,
> before Flashing the CPU with a new program. I searched in vain for a
> standalone application, such as is available for the PICKit2, so I
> tried it using MPLab 8.x.
> I can set it up as a programmer and I can read the device, but nowhere
> can I find an option to save it as a HEX file.
> I know it must be simple, but I just cant find it, not even in the
> documentation, hence the silly question.
>
> Cheers
I believe once you read the contents of the old device, you can use
file-export to save the hex file.
Harold
-- FCC Rules Updated Daily at http://www.hallikainen.com - Advertising
opportunities available
2011\10\01@122010
by
Chris Roper
Thanks Harold :)
Works a charm.
On 1 October 2011 18:13, Harold Hallikainen <spam_OUTharoldTakeThisOuT
hallikainen.org> wrote:
{Quote hidden}>
>> Hi All,
>>
>> I have an ICD3 and wish to read the contents of a Device and save it,
>> before Flashing the CPU with a new program. I searched in vain for a
>> standalone application, such as is available for the PICKit2, so I
>> tried it using MPLab 8.x.
>> I can set it up as a programmer and I can read the device, but nowhere
>> can I find an option to save it as a HEX file.
>> I know it must be simple, but I just cant find it, not even in the
>> documentation, hence the silly question.
>>
>> Cheers
>
> I believe once you read the contents of the old device, you can use
> file-export to save the hex file.
>
> Harold
>
>
>
>
> --
> FCC Rules Updated Daily at
http://www.hallikainen.com - Advertising
> opportunities available!
>
2011\10\03@082756
by
V G
2011\10\03@083853
by
Jan-Erik Soderholm
V G wrote 2011-10-03 14:27:
> On Sat, Oct 1, 2011 at 12:20 PM, Chris Roper<caroper
KILLspamgmail.com> wrote:
>
>> Thanks Harold :)
>> Works a charm.
>
>
> Anyone know how to flash a hex file?
Using a programmer
2011\10\03@094341
by
Joe Wronski
On 10/3/2011 8:27 AM, V G wrote:
> On Sat, Oct 1, 2011 at 12:20 PM, Chris Roper<.....caroperKILLspam
.....gmail.com> wrote:
>
>> Thanks Harold :)
>> Works a charm.
>
> Anyone know how to flash a hex file?
First you build or buy a programmer for your target device.
Then you start at wikipedia to learn the specifications for a hex file. <http://en.wikipedia.org/wiki/Intel_HEX>
Next, write a program to read the hex file and send it to the programmer in the proper format for the programmer.
Test, re-write, re-test until it works.
If it's a PIC you want to program, MPLab has menu selections to load hex files.
Joe W
2011\10\03@095937
by
alan.b.pearce
> > Anyone know how to flash a hex file?
> First you build or buy a programmer for your target device.
> Then you start at wikipedia to learn the specifications for a hex file.
> <http://en.wikipedia.org/wiki/Intel_HEX>
> Next, write a program to read the hex file and send it to the programmer
> in the proper format for the programmer.
> Test, re-write, re-test until it works.
> If it's a PIC you want to program, MPLab has menu selections to load hex
> files.
Yeah, I was going to say the rest of us just load it into MPLAB and program from there, but I assume solarwind is wanting to program a PIC ... don't know how one would do it otherwise with a non-microchip product.
-- Scanned by iCritical.
2011\10\03@100808
by
V G
On Mon, Oct 3, 2011 at 8:27 AM, V G <EraseMEx.solarwind.xspam_OUT
TakeThisOuTgmail.com> wrote:
> On Sat, Oct 1, 2011 at 12:20 PM, Chris Roper <caroper
spam_OUTgmail.com> wrote:
>
>> Thanks Harold :)
>> Works a charm.
>
>
> Anyone know how to flash a hex file?
>
Let me clarify. Anyone know how to flash a precompiled hex file to a PIC
from within MPLAB with REAL ICE/ICD? I don't see the option to load a hex
file, unlike the PICKIT2 program
2011\10\03@100943
by
Jan-Erik Soderholm
alan.b.pearce@stfc.ac.uk wrote 2011-10-03 15:59:
>>> Anyone know how to flash a hex file?
>> First you build or buy a programmer for your target device. Then you
>> start at wikipedia to learn the specifications for a hex file.
>> <http://en.wikipedia.org/wiki/Intel_HEX> Next, write a program to read
>> the hex file and send it to the programmer in the proper format for
>> the programmer. Test, re-write, re-test until it works. If it's a PIC
>> you want to program, MPLab has menu selections to load hex files.
>
> Yeah, I was going to say the rest of us just load it into MPLAB and
> program from there, but I assume solarwind is wanting to program a PIC
> ... don't know how one would do it otherwise with a non-microchip
> product.
I might have missunderstood the question, but any "programmer"
should be able to "flash a hex file". Wisp648, PICkit2 or whatever
2011\10\03@102931
by
Chris Roper
On the ICD3 it is the direct opposite of saving that is:
File->Import
and then use the toolbar or menu to burn the file to the target pic.
On 3 October 2011 16:07, V G <@spam@x.solarwind.xKILLspam
gmail.com> wrote:
{Quote hidden}> On Mon, Oct 3, 2011 at 8:27 AM, V G <
KILLspamx.solarwind.xKILLspam
gmail.com> wrote:
>
>> On Sat, Oct 1, 2011 at 12:20 PM, Chris Roper <
RemoveMEcaroperTakeThisOuT
gmail.com> wrote:
>>
>>> Thanks Harold :)
>>> Works a charm.
>>
>>
>> Anyone know how to flash a hex file?
>>
>
> Let me clarify. Anyone know how to flash a precompiled hex file to a PIC
> from within MPLAB with REAL ICE/ICD? I don't see the option to load a hex
> file, unlike the PICKIT2 program.
>
2011\10\03@104020
by
Joe Wronski
|
On 10/3/2011 9:59 AM, spamBeGonealan.b.pearcespamBeGone
stfc.ac.uk wrote:
>>> Anyone know how to flash a hex file?
>> First you build or buy a programmer for your target device.
>> Then you start at wikipedia to learn the specifications for a hex file.
>> <http://en.wikipedia.org/wiki/Intel_HEX>
>> Next, write a program to read the hex file and send it to the programmer
>> in the proper format for the programmer.
>> Test, re-write, re-test until it works.
>> If it's a PIC you want to program, MPLab has menu selections to load hex
>> files.
> Yeah, I was going to say the rest of us just load it into MPLAB and program from there, but I assume solarwind is wanting to program a PIC ... don't know how one would do it otherwise with a non-microchip product.
My first exposure to using hex files was at Bolt Berenek and Newman where I needed to send PowerPC code to a proprietary router board. All custom stuff, the software department had ported gcc, but no linker yet for the PowerPC. The board had a 68HC11 processor to receive the data and put it in the PowerPC memory. I looked up Intel Hex and coff file formats and wrote the software to convert and send the data from a Sun pizza box. Another project was using Ohlin's EmbedInc programmer where I needed to (re)program just 4 bytes of a pre-programmed part to set a serial number. I used custom software to make it quicker in a prodction environment.
Joe W
2011\10\03@114555
by
V G
On Monday, October 3, 2011, Chris Roper <TakeThisOuTcaroperEraseME
spam_OUTgmail.com> wrote:
> On the ICD3 it is the direct opposite of saving that is:
>
> File->Import
>
> and then use the toolbar or menu to burn the file to the target pic.
Thank you, Chris. That's the answer I was looking for
2011\10\03@120158
by
Nicola Perotto
On 03/10/2011 14.07, V G wrote:
> On Mon, Oct 3, 2011 at 8:27 AM, V G<RemoveMEx.solarwind.x
TakeThisOuTgmail.com> wrote:
>
>> On Sat, Oct 1, 2011 at 12:20 PM, Chris Roper<caroperEraseME
.....gmail.com> wrote:
>>
>>> Thanks Harold :)
>>> Works a charm.
>>
>> Anyone know how to flash a hex file?
>>
> Let me clarify. Anyone know how to flash a precompiled hex file to a PIC
> from within MPLAB with REAL ICE/ICD? I don't see the option to load a hex
> file, unlike the PICKIT2 program.
Thank you, Solarwind, that's the question we was looking for. ;-)
It's monday...
2011\10\04@231758
by
Xiaofan Chen
On Mon, Oct 3, 2011 at 10:07 PM, V G <EraseMEx.solarwind.x
gmail.com> wrote:
> Let me clarify. Anyone know how to flash a precompiled hex file to a PIC
> from within MPLAB with REAL ICE/ICD? I don't see the option to load a hex
> file, unlike the PICKIT2 program.
Either use MPLAB to Import the hex file or you can use the console
command line program, similar to PICkit 2's pk2cmd.
C:\Program Files\Microchip\MPLAB IDE\Programmer Utilities\ICD3\ICD3CMD.exe
C:\Program Files\Microchip\MPLAB IDE\Programmer Utilities\RealICE\RealICECMD.exe
C:\Program Files\Microchip\MPLAB IDE\Programmer Utilities\PICkit3\PK3CMD.exe
C:\Program Files\Microchip\MPLAB IDE\Programmer Utilities\ICD3>ICD3CMD.exe
Options Description
----------------------------------------------------------------------------
B Batch Mode Operation
C Blank Check Device
E Erase Flash Device
F<file> Hex File Selection
G<region><Type><path> Read functions
region:
E = EEPROM
I = ID memory
C = Configuration memory
B = Boot Flash Memory
If no region is entered, the entire
device will be read.
Type F: = read into hex file,
Path = full file path,
H Hold In Reset
L Release from Reset
I Use High Voltage MCLR
M<region> Program Device
region:
P = Program memory
E = EEPROM
I = ID memory
C = Configuration memory
B = Boot Flash Memory
If no region is entered, the entire
device will be programmed.
N####,#### Program Memory Range
#### is a hexidecimal number representing
Start and End Address in sequence
P<part> Part Selection. Example: 18F67J50
R<file> Reporgram
S<file> SQTP File Selection
U## Program calibration memory,where:
## is a hexidecimal number representing
the least significant byte of the
calibration value to be programmed
V<Voltage> Power Target from ICD3
Y Verify Device
against selected HEX File
? Help Screen
?E Displays Exit Code
Example: ICD3CMD /P18F67J50 /GFc:\HexCode.hex
or
Example: ICD3CMD -P18F67J50 -GFc:\HexCode.hex
Version 01.00.11
Copyright (C) Microchip Technology Inc. 2009
-- Xiaofa
2011\10\05@045351
by
Chris Roper
Very useful, thanks Xiaofan , I searched for that utility but never
thought to look on my own hard drive :
More... (looser matching)
- Last day of these posts
- In 2011
, 2012 only
- Today
- New search...