Menu

GC Basic with MPLAB Xpress and Curiosity Board - RESOLVED

2021-04-26
2023-05-29
  • Reginald Neale

    Reginald Neale - 2021-04-26

    I programmed a 16F1829 chip using GC Basic and PicKit 3 and it works as expected. Now I have made some changes to the program and it no longer works. So (for the first time) I want to try debugging. I want to use the Microchip LCP curiosity board and MPLAB XPress with Windows 10.
    I created a project and connected the curiosity board with MPLAB USB Bridge.
    Which GC Basic file for my program do I put into the project, and where does it need to be put? I tried pasting the hex file into the source file area, but when I try to run it I get an error “no file arguments.”
    Same with the asm file. I looked at some of the tutorials but didn’t find answers.

     
  • Chris Roper

    Chris Roper - 2021-04-26

    MPLAB debugger only works with Microchip Compilers, it is a closed tool chain.
    It used to work with the ASM file generated by GCBASIC but they have killed support for MASM in the latest release of the debugger which has annoyed many of there older customers.

    Anobium used it often to debug the core compiler so hopefully he will comment here as well and let you know if he has found a way round it.

     
    • Anobium

      Anobium - 2021-04-27

      Have a look my tutorial - https://www.youtube.com/watch?v=4sY57E8eqCs

      Note: You will need MPLAB-X IDE version 5.35 (no later than this version).


      I am working on debugging using the later version of MPLAB-X IDE- I have some more work to do to complete the task.

       
  • Clive Rowlands

    Clive Rowlands - 2023-05-28

    I have installed GCBasic on a new laptop but when I try to upload to Curiosity Xpress I get an error message suggesting 'pickitcommandline.exe' is missing. My old laptop (running an older version of GCBasic) has no difficulty. Any suggestions.
    New laptop running Windows 11, old laptop running windows 10.

     

    Last edit: Clive Rowlands 2023-05-28
    • Angel Mier

      Angel Mier - 2023-05-28

      can you post a video or a screenshot of the issue?, that would help us troubleshoot faster

       

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.