Do you mean PBP version 2.46?
I discovered that my program would "Compile and Run" just fine, it just wouldn't "ICD Compile and Run" reliably, which is neccessary for single-stepping, animation and breakpointing, etc.
Further, I discovered that if I did a "ICD Compile and Run" on one of the small sample programs, that it would work fine, then afterwards a "ICD Compile and Run" would work temporarily with my program.
I've sent my source program to Mechanique for review.
Anyone know the command line setting for Microcode studio to automatically compile and program a PIC?
I haven't been able to get IC-Prog to LOAD the program. It does everything else, ie sets the com port, selects the right pic chip etc but always starts up with an empty hex file.
The microcode studio help files says to use $hex-filename$, but this doesn't work.
so far I am using this, without luck:
-L$hex-filename$ -P -I -O1 -T146 -Q
Help much appreciated.
J
PS just downloaded the latest version of MC studio. Very nice.
Mechanique responded to my inquiry but did not have a magic bullet. They checked out my program at their facility, and experienced no issue with it. They asked how long my serail cable is (6 feet), and if I was using a MAX232 chip (yes), but could only suggest that I try enabling/disabling debug at various places in my program to help isolate the problem.
Has anyone else experienced unreliable operation of MicroCode Studio Plus on their systems?
MCS+ works just fine for me, never had any problem with the loader or ICD.Originally Posted by J. Mark Wolf
What kind of help are you expecting if you don't post your code and schematic?
regards
Ralph
_______________________________________________
There are only 10 types of people:
Those who understand binary, and those who don't ...
_______________________________________________
What I'm hoping is that someone will have had similar experience with their large programs and suggest possible fixes.Originally Posted by NavMicroSystems
I doubt you would want to review my code. It nearly fills an 8KByte 16F877, which is why I'm porting it to PicBasic Pro, which supports the larger 18F devices.
The schematic of the serial port interface is directly from the Mechanique app notes.
Bookmarks