I meant simulation of the program. I understand that hardware debugger is more advance and needs resources.
At least the simulator could be fixed in MPLABX. Or made in Microcode...
Ioannis
I meant simulation of the program. I understand that hardware debugger is more advance and needs resources.
At least the simulator could be fixed in MPLABX. Or made in Microcode...
Ioannis
Simulation may not be enough.
It my case with some real time audio signal processing functions I need an hardware debugger.
All my tests were done with a PicKit 2. I have just tryied with a PicKit 3. No change.
Sorry about that but I do not see any other solution than going to the C worldI hate this language
C'est la vie !
MikeBZH
Hi everybody,
I am back from C to PBP.
I have spent one month with MPLAB X, XC8, etc.., trying to transform my old PBP programs into XC8.
I got lost with the syntax, MCC, the very complex MPLAB X IDE, the useless warnings, type castings and so on...
Finally I realized that I could make the same job with a less modern PIC (18F26K22) than the 18F27K40 but with a much more reusable, readable and maintenable code than with C.
I will have to make an effort to cope with the smaller Flash space (I use huge data tables to be coded differently). The PPS capability was also interesting but I can live without it. My greatest regret is the power management capability which is great and would have allowed some interesing power savings.
Anyway, I am back with you and PBP and happy to be there !
MikeBZH
MikeBZH, Thats interesting. I have also been doing some coding for an 18F27K40 and found that the DEBUG, EEPROM, and DATA statements do not work. I am waiting for a reply or the next version of PBP to come out before continuing. I also wish there was support for the newer versions with things like UMC Loader. So for now I will also stick with the standard 18F26K22.
Dave Purola,
N8NTA
EN82fn
Oups ! The PIC18FK22 HAS a power management capability called PMD (Peripheral Module Disable), so no more regrets for me.
Oh yes, one regret however. A crazy designer has mixed PGC/PGD and RX2/TX2 on the same pins ! How can one use USART2 and debug with PicKit at the same time ? Fortunately PBP has SERIN/SEROUT bit-bang functions which allows to use any pins and do not need the integrated USART to do the job.
MikeBZH
Bookmarks