I am working on a project where I need frequently to use the Pickit2+ UART monitor tool and also read the EEPROM memory slots content. But if Pickit2+ is open in the background, GCSTUDIO cannot program the PIC and both programs will hang.
Is that a normal behaviour, mean, both environment cannot be open on same time and will conflict?
Or is something wrong in my setup?
Thank
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Short answer:
Yes, this is expected. GCSTUDIO&the programming software and the PICkit2+ programming GUI&UART tools will conflict if both try to use the PICkit programmer at the same time.
What’s really happening:
GCSTUDIO needs full control of the PICkit to program the device.
The PICkit2+ UART monitor also keeps the PICkit busy because it continuously polls the pins.
If both are active, the PICkit gets “locked” by one tool and the other freezes.
Important point:
You can have GCSTUDIO and PICkit2+ open at the same time,
but only one of them can actively connect to the PICkit hardware.
Fix:
Close or disconnect the PICkit inside PICkit2+ before programming in GCSTUDIO
After programming, reopen the UART monitor or EEPROM viewer
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank for the previous answer.
Any chance that one day PICkit2+ can be managed by GCSTUDIO directly to avoid these conflicts ? I am asking because I do not see how to close/disconnect the PICkit2 in PICkit2+, but for sure I can close UART monitor windows before.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, more simply, start and close PK+ over GCSTUDIO interface (or close automatically PK+ by GCSTUDIO if opened). Many time I forgot to close PK+ and then both are hanging. (need to terminate process over task manager, or even some time reboot computer).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am working on a project where I need frequently to use the Pickit2+ UART monitor tool and also read the EEPROM memory slots content. But if Pickit2+ is open in the background, GCSTUDIO cannot program the PIC and both programs will hang.
Is that a normal behaviour, mean, both environment cannot be open on same time and will conflict?
Or is something wrong in my setup?
Thank
Short answer:
Yes, this is expected. GCSTUDIO&the programming software and the PICkit2+ programming GUI&UART tools will conflict if both try to use the PICkit programmer at the same time.
What’s really happening:
GCSTUDIO needs full control of the PICkit to program the device.
The PICkit2+ UART monitor also keeps the PICkit busy because it continuously polls the pins.
If both are active, the PICkit gets “locked” by one tool and the other freezes.
Important point:
You can have GCSTUDIO and PICkit2+ open at the same time,
but only one of them can actively connect to the PICkit hardware.
Fix:
Thank for the previous answer.
Any chance that one day PICkit2+ can be managed by GCSTUDIO directly to avoid these conflicts ? I am asking because I do not see how to close/disconnect the PICkit2 in PICkit2+, but for sure I can close UART monitor windows before.
You are thinking that PK+ could have the USB/Serial capability?
No, more simply, start and close PK+ over GCSTUDIO interface (or close automatically PK+ by GCSTUDIO if opened). Many time I forgot to close PK+ and then both are hanging. (need to terminate process over task manager, or even some time reboot computer).
We can look at killing the existing PK+ GUI process if is running. Would that work?
Maybe, need to try, to see if not unexpected behaviours happen !
If Stuart can implement then this will simply remove PICKit+ GUI from task manager.
:-)