It is... I'll upgrade now I guess... and ya PBP is still available in compilers list, my code will compile, but it wont allow me to debug. Even when I program it with working code, it doesn't operate. As a side note, the code works in MP SIM
It is... I'll upgrade now I guess... and ya PBP is still available in compilers list, my code will compile, but it wont allow me to debug. Even when I program it with working code, it doesn't operate. As a side note, the code works in MP SIM
Last edited by Perrin`; - 9th January 2009 at 16:44.
Hi, Perrin
I do not understand very well ...
Which chip do you want to compile for ??? 12F629 are not exactly 18F series ...
on the other hand the 12F629 needs a special adapter to debug "in circuit" with the ICD2 ( AC 162050 )
...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Maybe this will clear it up... I have products for both the 12F629 and the 18F2520. (both are written in PBP) I need to be able to program both of these when necesary. Someone else is replaceing me while I go back to school and they demanded use of C18, so it got here and I installed it. I got the programs to compile and tested them using MPLAB SIM. I'm now going back to my projects and trying to program chips using PBP for both projects and I'm unsuccessful. I'm now trying an extremely simple program in the 18F2520 and I can get it to compile but when I try to run debug, it gives me the afore mentioned error. When I just program it acts happy and says everything went well but then the program doesnt run.
Ok,
Looks your MPLAB Projects files have been somewhat "disturbed" ...
Did you try to re-build a Full MPLAB project with the the PBP source ???
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
I tried your suggestion Ace and it didnt work.
I then proceeded to jack around with the tool locations... which didnt work either. I then(laugh all you like) got really angry and click a stream of about 4-5 run step over step into on the debugger when it wasnt connected and working. The IDE decided to freeze... I had to end its task after about 2 min of looking around on the web trying to find some other threads of people with similar issues. On a hunch I restarted my computer again and when the ICD2 connected, it had to DL a new operating system. This is quite common always does this when going from programming 12F's to 18F's. After downloading the operating system it still didnt work. I opened a 12F project and hit program, it didnt DL a new operating system(???). I switched back to a 18F and it DL'd a new one. Then it worked. No ****ing clue as to how or why...
So the good news is I've actually got PBP running and compiling and debug/programing. The bad news is... while PBP does this, C18 only compiles but still wont debug/program. And with that I'll gladly take suggestions however I'll pose the question on another, more appropriate, forum.
Bookmarks