Menu

Pickit2 it will not start

2019-01-16
2024-09-15
  • renzo zorzi

    renzo zorzi - 2019-01-16

    hi, I'm using Gcb latest version and I have a small problem. When I compile and flash my programs does not start Pickit2. If you start Pickit2 by clicking directly on the executable contained in PickiGUI, pickit2 starts regularly and clicking Auto Import + write device everything works.!

    )

     
  • renzo zorzi

    renzo zorzi - 2019-01-16


     

    Last edit: renzo zorzi 2019-01-16
  • renzo zorzi

    renzo zorzi - 2019-01-16
     
  • Anobium

    Anobium - 2019-01-16

    You seem to have changed the commandline from the default.... to the GUI exe... does not work like that.

    %instdir%\..\pickit2\pk2cmd.exe

    Change back to the command shown above.

    Anobium

     

    Last edit: Anobium 2019-01-16
  • renzo zorzi

    renzo zorzi - 2019-01-16

    useINI

    Great Cow BASIC Pre-processing (Copyright 2007..2018)

    Make Hex and Program
    Great Cow BASIC (0.98.04 2018-10-20 (Windows 32 bit))

    Compiling C:\Users\zorzi\OneDrive\desktop\Glcd 18F45K22\voltmetro 18F45k22.gcb ...
    Done

    Assembling program ...

    Program assembled successfully!

    Downloading program ...

    A warning has been generated:

    Warning: The chip may not have programmed properly. Programmer returned
    status (-1)

    The message has been logged to the file Errors.txt.

    The configuration looks fine, I am attaching the settings image.

     

    Last edit: renzo zorzi 2019-01-16
  • Anobium

    Anobium - 2019-01-16

    The configuration in your original JPG was not correct. It now is. Has this resolved the issue?

    My guess it has not. What part are you programming?

     
  • renzo zorzi

    renzo zorzi - 2019-01-16

    I'm trying the following code. It is working on pic 18F45K 22

     
  • Anobium

    Anobium - 2019-01-16

    The default config of 'Use if' is set toChipConfigWords = 2 or ChipConfigWords = 1 or ProgrammerPK2

    Which means the part you have select does not meet that constraint. You part have 7 configwords and does not have the constant ProgrammerPK2

    So, either remove the 'Useif' or add #define ProgrammerPK2

     
  • renzo zorzi

    renzo zorzi - 2019-01-16

    I had the doubt that it was an incompatibility with my SO (Win10 64bit)

    I deleted the "use IF" now it seems OK!

    foINI

    Great Cow BASIC Pre-processing (Copyright 2007..2018)
    Search for existing hexFile, compile if hexFile is not found, then program.
    Great Cow BASIC (0.98.04 2018-10-20 (Windows 32 bit))
    Compiling C: \ Users \ zorzi \ Downloads \ voltmeter 18F45k22.gcb ...
    Done
    Assembling program ...
    Program assembled successfully!
    Downloading program ...
    PICkit 2 Program Report
    16-Jan-2019, 13:48:54
    Device Type: PIC18F45K22

    Program Succeeded.
    Operation Succeeded

    thank you so much

     
    • Anobium

      Anobium - 2019-01-16

      Excellent to have you up and running.

      Think of upgrading to PICKitPlus!

      :-)

       
  • renzo zorzi

    renzo zorzi - 2019-01-16

    I was thinking about it, but my foldeer in GCB @ Syn \ PICKitPlus is empty, and I do not know how to do it.

     
    • Anobium

      Anobium - 2019-01-16
       
  • renzo zorzi

    renzo zorzi - 2019-01-16

    Now I'm using PIC only for hobbies / curiosities and the current version is more than enough, but when I have a deeper knowledge of GcBasic I will definitely switch to PckitPlus.
    Thank you again!

     
  • Charlie M

    Charlie M - 2024-09-14

    hello guys,
    I'm new to GCB and im rinning to this issue.
    ant help is greatly appreciated.

    charlie.

     
    • Anobium

      Anobium - 2024-09-15

      Hello Charlie,

      I will need a lot more information.

      Which chip are you using? and, a screen shot of your issue.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.