Command line compiles to asm and asm to hex with MPASM!
Now to trouble shoot compile with PBPW to asm and to hex with PM for 16's.
The following instructions in a bat file produces files but with different file names format than MicroCode Studio IDE.
Code:
PATH = E:\1PicBasicPro\PBP;E:\2TEST
E:
cd E:\2TEST
E:\1PicBasicPro\PBP\PBPW.exe -e -p16F877 "E:\2TEST\PBP16F877TEST2.pbp"
E:
cd E:\2TEST
E:\1PicBasicPro\PBP\PM.exe "E:\2TEST\PBP16F877TEST2.asm"
E:\EasyPIC3 7-8-06\PICFLASH2.exe -ppic16F877 -f"E:\2TEST\PBP16F877TEST2.hex" -w
My bat file produces the following file names format:
PBP16F877TEST2.pbp
PBP16F877TEST2.ASM
PBP16F877TEST2.ER
PBP16F877TEST2.MAC
PBP16F~1.HEX
MicroCode Studio produces the following file names format:
PBP16F877TEST2.pbp
PBP16F877TEST2.asm
PBP16F877TEST2.mac
PBP16F877TEST2.hex
Both hex files are valid but how to produce the full length hex filename?
I am reading the PM.txt file in PBP directory but have not seen a solution.
Norm
Bookmarks