Truncated match.
PICList
Thread
'PICLIST Digest - 29 Sep 1996 to 30 Sep 1996'
1996\10\01@012347
by
Bill Bau
I need to program 16C5X parts with assembly code that was assembled
using the old PICALC assembler which output .OBJ files and was
formatted as INHX16. This was ok when I was using the older PICPRO II
programmer but now I am using the PROMATE II which only recognizes
INHX8M format and .HEX files. Is there a way to convert the INHX16/OBJ
files to INHX8M/HEX files? Any help would be appreciated.
1996\10\01@020029
by
TONY NIXON 54964
You may have to re-assemble the code with MPASM and to do this you
need to specify which processor you are using with the command line
or the LIST directive.
You should move all of you lables to column 1 and Directives to
column 2, but avoiding this only generates minor errors.
Any Radix changes also need to be made compatible with the current
MPASM version. eg. movlw .5, movlw b'00001111' etc.
Regards
Tony
Just when I thought I knew it all,
I learned that I didn't.
1996\10\02@094736
by
Jim Robertson
At 10:22 PM 9/30/96 -0700, you wrote:
>I need to program 16C5X parts with assembly code that was assembled
>using the old PICALC assembler which output .OBJ files and was
>formatted as INHX16. This was ok when I was using the older PICPRO II
>programmer but now I am using the PROMATE II which only recognizes
>INHX8M format and .HEX files. Is there a way to convert the INHX16/OBJ
>files to INHX8M/HEX files? Any help would be appreciated.
>
Bill,
I strongly suggest you reassemble with MPASM if at all possible.
Failing that, if you are really stuck, I could rework my programmer
code to do the conversion for you if you really need it.
Let me know if you still need help.
Jim
1996\10\03@114625
by
David Tait
1996\10\03@114840
by
David Tait
Bill Bau aksed:
> Is there a way to convert the INHX16/OBJ
> files to INHX8M/HEX files? Any help would be appreciated.
MPSIM can be used as a format converter because it loads INHX16 files
automatically and saves in INHX8M by default. Use "lo" to load your
file and "o" to save the new file. MPSIM will probably complain about
the lack of supporting files (.COD and .LST) but it will load the hex
file anyway.
I have written a set of utilities for PIC16C84 hex files and they
might help you if you wanted to make your own conversion tool. The
utilities come with source and a short tutorial on the difference
between INHX16 and INHX8M:
www.man.ac.uk/~mbhstdj/files/pichex01.zip
or
ftp://ftp.mcc.ac.uk/pub/micro-controllers/PIC/pichex01.zip
David
--
.....david.taitKILLspam
@spam@man.ac.uk
More... (looser matching)
- Last day of these posts
- In 1996
, 1997 only
- Today
- New search...