Google this and a whole bunch of option come up.
"close a DOS window"
Google this and a whole bunch of option come up.
"close a DOS window"
Dave
Always wear safety glasses while programming.
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.
My bat file produces the following file names format: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
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
Last edited by Normnet; - 29th August 2009 at 22:21.
Look at your PBP install CD, I think there is infor there about the PM assembler.
But I will ask, why even bother with PM?
Dave
Always wear safety glasses while programming.
The help section of MicroCode Studio says PM assembler is faster and also is
required for non pro version. However PM doesn't do 18's.
Their may be some who have written their programs with the PM style of
configuration fuses.
Didn't see any info on the install CD unless I are blind.
I noticed there isn't any dos bat file appearing on PM with MicroCode Studio.
Norm
Last edited by Normnet; - 30th August 2009 at 03:09.
I must be blind too. I was going by the printed manual. I can not find it either.
If all else fails you could have your program rename the hex file when PM is finished.3.2.6. Option -O
The -O option causes the letters following it to be passed to the assembler on its command line as options. Some pertinent PM options are listed in the following table:
PBP -ol filename
This example tells PBP to generate a filename.lst file after a successful compilation.
More than one -O option may be passed to the assembler at a time.
The PICmicro Macro Assembler's manual on disk contains more information on the assembler and its options.
Be another pain in the _ _ _ though.
Dave
Always wear safety glasses while programming.
Bookmarks