Reply by ge3f...@cox.net November 29, 20072007-11-29
Try exporting the .hex file(file menu) once you have a successful read.

I'd suggest you do this as a two step process:

1) Create a .txt file detailing the contents, name it the same as the file
- describe microcontroller, date, function of program, any other notes.
-
2) Export the .hex file.

If possible create a sub directory with those two items. You will save yourself much grief later when you try to figure out what version it was.

Best Regards,

Glen Farrell
Reply by r_corriveau November 28, 20072007-11-28
If you cannot disassemble it send it to me with the chip number it
comes from and I'll see what I can do.

Robert
--- In p..., Dwayne Reid wrote:
>
> At 10:53 PM 11/14/2007, kg4pid wrote:
> >Does anyone know how to use MPLAB to read the hex code out of a non
> >code protected pic chip and then to save that to a hex file.
> >Under "Programmer" there is a "Read" command but I don't see any
way
> >to save it or even display to data that was read. I've gone thru
the
> >help and doen't see anything.
>
> Make sure that you have the "Program Memory" window visible /
> enabled. You will find this under either the "View" or "Window"
> captions at the top of MPLAB (depends on which version of MPLAB you
are using).
>
> You should also have the option of displaying disassembled code as
> well. I **think** you might have to right-click on the Program
> Memory window to see that option. Again, depends on which version
of
> MPLAB you are using.
>
> Hope this helps.
>
> dwayne
>
> --
> Dwayne Reid
> Trinity Electronics Systems Ltd Edmonton, AB, CANADA
> (780) 489-3199 voice (780) 487-6397 fax
> www.trinity-electronics.com
> Custom Electronics Design and Manufacturing
>
Reply by Dwayne Reid November 15, 20072007-11-15
At 10:53 PM 11/14/2007, kg4pid wrote:
>Does anyone know how to use MPLAB to read the hex code out of a non
>code protected pic chip and then to save that to a hex file.
>Under "Programmer" there is a "Read" command but I don't see any way
>to save it or even display to data that was read. I've gone thru the
>help and doen't see anything.

Make sure that you have the "Program Memory" window visible /
enabled. You will find this under either the "View" or "Window"
captions at the top of MPLAB (depends on which version of MPLAB you are using).

You should also have the option of displaying disassembled code as
well. I **think** you might have to right-click on the Program
Memory window to see that option. Again, depends on which version of
MPLAB you are using.

Hope this helps.

dwayne

--
Dwayne Reid
Trinity Electronics Systems Ltd Edmonton, AB, CANADA
(780) 489-3199 voice (780) 487-6397 fax
www.trinity-electronics.com
Custom Electronics Design and Manufacturing
Reply by kg4pid November 15, 20072007-11-15
Thanks

Max

--- In p..., dlc wrote:
>
> Sure, read it in using either the "arrow in" icon or the menu
item.
> Then export it (file menu item) as the type of hex file you want.
>
> DLC
>
> kg4pid wrote:
> > Does anyone know how to use MPLAB to read the hex code out of a
non
> > code protected pic chip and then to save that to a hex file.
> > Under "Programmer" there is a "Read" command but I don't see any
way
> > to save it or even display to data that was read. I've gone thru
the
> > help and doen't see anything.
> >
> > Thanks in advance
> >
> > Max
> >
> >
> >
> > to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions
> >
Reply by dlc November 15, 20072007-11-15
Sure, read it in using either the "arrow in" icon or the menu item.
Then export it (file menu item) as the type of hex file you want.

DLC

kg4pid wrote:
> Does anyone know how to use MPLAB to read the hex code out of a non
> code protected pic chip and then to save that to a hex file.
> Under "Programmer" there is a "Read" command but I don't see any way
> to save it or even display to data that was read. I've gone thru the
> help and doen't see anything.
>
> Thanks in advance
>
> Max
>
>
>
Reply by Eirik Karlsen November 15, 20072007-11-15
Read the chip so that its code comes up in the editor, then from the
File menu
export or save as..

kg4pid wrote:

> Does anyone know how to use MPLAB to read the hex code out of a non
> code protected pic chip and then to save that to a hex file.
> Under "Programmer" there is a "Read" command but I don't see any way
> to save it or even display to data that was read. I've gone thru the
> help and doen't see anything.
>
> Thanks in advance
>
> Max
>

--
*******************************************
VISIT MY HOME PAGE:

LAST UPDATED: 23/08/2003
*******************************************
Regards
Eirik Karlsen
Reply by kg4pid November 15, 20072007-11-15
Does anyone know how to use MPLAB to read the hex code out of a non
code protected pic chip and then to save that to a hex file.
Under "Programmer" there is a "Read" command but I don't see any way
to save it or even display to data that was read. I've gone thru the
help and doen't see anything.

Thanks in advance

Max