• AVR Freaks

Hot!PIC16F18446 Curiosity Nano & Mac OS X

Author
DandyDon
Junior Member
  • Total Posts : 94
  • Reward points : 0
  • Joined: 2005/01/21 09:37:33
  • Status: offline
2019/06/27 21:28:27 (permalink)
0

PIC16F18446 Curiosity Nano & Mac OS X

I just bought a PIC16F18446 Curiosity Nano board to play around with.
 
Unfortunately, I can't get MPLAB X to work with it.....  I'm using MPLAB X v4.10 with XC8 v1.45 on a MacBook Pro.
 
Looking at the User Guide for that board, Section 2. Getting Started states that the driver file supports both 32- & 64-bit versions of Windows.  No mention of Mac OS X.....
 
Is the new version of MPLAB able to work with the Curiosity boards & Mac OS X?
 
I have a PIC24F Curiosity Board that I am able to program using the same version of MPLAB X & my Mac....  
#1

17 Replies Related Threads

    ric
    Super Member
    • Total Posts : 26133
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: PIC16F18446 Curiosity Nano & Mac OS X 2019/06/27 21:48:00 (permalink)
    +2 (2)
    Why not try MPLABX 5 ?
     

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #2
    DandyDon
    Junior Member
    • Total Posts : 94
    • Reward points : 0
    • Joined: 2005/01/21 09:37:33
    • Status: offline
    Re: PIC16F18446 Curiosity Nano & Mac OS X 2019/12/10 16:40:19 (permalink)
    0
    Sorry for the delay! 
     
    That's what it was.  It works now.
     
    Thanks!!
    #3
    DandyDon
    Junior Member
    • Total Posts : 94
    • Reward points : 0
    • Joined: 2005/01/21 09:37:33
    • Status: offline
    Re: PIC16F18446 Curiosity Nano & Mac OS X 2019/12/10 16:41:51 (permalink)
    0
    One more thing....
     
    I notice that my board is rev4.  On Microchip's site, I found Altium design files for rev 5 thru rev 8.  I don't see any files for rev 4....  Can someone provide those, please?
     
     
     
    #4
    DandyDon
    Junior Member
    • Total Posts : 94
    • Reward points : 0
    • Joined: 2005/01/21 09:37:33
    • Status: offline
    Re: PIC16F18446 Curiosity Nano & Mac OS X 2020/03/21 20:16:24 (permalink)
    +1 (1)
    UGH!!  I can't believe this but it is not working again....  
     
    I had to restore my MacBook after a crash & now the MPLAB X doesn't recognize my Curiosity Nano board again!!
     
    I tried MPLAB X version 5.15 & 5.20 but neither version works.  I tried MPLAX Xpress Cloud-based IDE but that didn't work either.
     
    Is there a patch or something to get the Curiosity boards working with Mac OS?
     
     
    #5
    judd
    Starting Member
    • Total Posts : 25
    • Reward points : 0
    • Joined: 2019/04/15 22:30:22
    • Location: 0
    • Status: offline
    Re: PIC16F18446 Curiosity Nano & Mac OS X 2020/03/22 01:16:53 (permalink)
    0
    So you are unable to select the Curiosity Nano when you try to program / debug?
    Or does it fail during programming?
    #6
    DandyDon
    Junior Member
    • Total Posts : 94
    • Reward points : 0
    • Joined: 2005/01/21 09:37:33
    • Status: offline
    Re: PIC16F18446 Curiosity Nano & Mac OS X 2020/03/22 21:07:51 (permalink)
    0
    Correct.  I can build my project fine but can't connect to the Curiosity board....
     
    #7
    judd
    Starting Member
    • Total Posts : 25
    • Reward points : 0
    • Joined: 2019/04/15 22:30:22
    • Location: 0
    • Status: offline
    Re: PIC16F18446 Curiosity Nano & Mac OS X 2020/03/22 23:03:59 (permalink)
    0
    If you click on the "refresh" icon in the dashboard with your project active, do you get any messages in the PKoB nano tab of the output window?
    #8
    DandyDon
    Junior Member
    • Total Posts : 94
    • Reward points : 0
    • Joined: 2005/01/21 09:37:33
    • Status: offline
    Re: PIC16F18446 Curiosity Nano & Mac OS X 2020/03/23 18:11:07 (permalink)
    0
    I do not get a message in the output window....  I get a dialog box that says:
     
    The last tool used for this project (nEDBG) is unavailable.  Please select the tool that you want to use to debug or program from the following list of available tools: 
     
    PKOB nano is listed under Alternate Tools but it has 2 yellow dots beside it.  The tool tip that pops up when I hover over it says Debugger - Beta Support, Programmer - Beta Support
     
    Curiosity/Starter Kits (PKOB4) is listed under Microchip Kits.  It has 2 green dots beside it.  The tool tip that pops up on that one says Debugger - Production Tested, Programmer - Production Tested.
     
    Neither one works.
     
    Did the debugger chip on the nano loose its bootloader...?
     
    #9
    judd
    Starting Member
    • Total Posts : 25
    • Reward points : 0
    • Joined: 2019/04/15 22:30:22
    • Location: 0
    • Status: offline
    Re: PIC16F18446 Curiosity Nano & Mac OS X 2020/03/23 23:27:53 (permalink)
    +1 (1)
    Well firstly Curiosity Nano has a PKoB nano debugger on-board, so its the "alternative tool" thats relevant, not the PKOB4.  The yellow/green dots have very little meaning for PKoB nano, and this interface has also changed somewhat in MPLABX 5.35 - I take it you are using release 5.30?
     
    Regarding the debugger - does the "Curiosity" disk pop up in your finder when you plug the kit in? This would indicate that the debugger application is running.
    If the debugger's LED is blinking consistently slowly, then the debugger is probably in its bootloader mode, awaitign upgrade.
     
    #10
    DandyDon
    Junior Member
    • Total Posts : 94
    • Reward points : 0
    • Joined: 2005/01/21 09:37:33
    • Status: offline
    Re: PIC16F18446 Curiosity Nano & Mac OS X 2020/03/24 13:07:34 (permalink)
    0
    Ok.  No, I'm using MPLAB X v5.15 or v5.20.  I will install v5.35 & see what happens.....
     
    Regarding the debugger:  Nothing pops up when I plug in the nano curiosity board.  I have seen it come up before, even when I use the PIC24 curiosity board I have.  But this board is being disrespectful!!
     
    Thanks for your help!!
     
     
    #11
    DandyDon
    Junior Member
    • Total Posts : 94
    • Reward points : 0
    • Joined: 2005/01/21 09:37:33
    • Status: offline
    Re: PIC16F18446 Curiosity Nano & Mac OS X 2020/03/24 16:12:21 (permalink)
    0
    Rats!!  After installing v5.35 the curiosity nano still doesn't come up.....
     
     
    #12
    judd
    Starting Member
    • Total Posts : 25
    • Reward points : 0
    • Joined: 2019/04/15 22:30:22
    • Location: 0
    • Status: offline
    Re: PIC16F18446 Curiosity Nano & Mac OS X 2020/03/24 16:14:00 (permalink)
    0
    No "Curiosity Disk"?
    No blinking LED?
    #13
    DandyDon
    Junior Member
    • Total Posts : 94
    • Reward points : 0
    • Joined: 2005/01/21 09:37:33
    • Status: offline
    Re: PIC16F18446 Curiosity Nano & Mac OS X 2020/03/24 20:08:38 (permalink)
    0
    No.
     
    The LED blinks, but I think that's from the last time I was able to program it.....
     
     
    #14
    DandyDon
    Junior Member
    • Total Posts : 94
    • Reward points : 0
    • Joined: 2005/01/21 09:37:33
    • Status: offline
    Re: PIC16F18446 Curiosity Nano & Mac OS X 2020/03/24 20:28:12 (permalink)
    0
    I see the PKOB nano listed in the project dashboard, but I can't connect to it....
     
     
    #15
    DandyDon
    Junior Member
    • Total Posts : 94
    • Reward points : 0
    • Joined: 2005/01/21 09:37:33
    • Status: offline
    Re: PIC16F18446 Curiosity Nano & Mac OS X 2020/03/25 08:38:50 (permalink)
    0
    Ok.  There is something wrong with that Nano board.  I found another Nano board & plugged it in & MPLAB recognized it right away.  I see the kit window & it shows the board info & other stuff....
     
    I am now able to program the PIC & run my code!
     
    I left the original board @ home so I will test it again later to see if it will work or is broke.
     
     
    #16
    judd
    Starting Member
    • Total Posts : 25
    • Reward points : 0
    • Joined: 2019/04/15 22:30:22
    • Location: 0
    • Status: offline
    Re: PIC16F18446 Curiosity Nano & Mac OS X 2020/03/25 11:10:18 (permalink)
    0
    Alright, so there are two leds on each CNANO - one on the target side which blinks when you write code which tells it to blink.  The other one is on the debugger side which blinks in various states as described in the user guides.
    Is the one on the debugger side doing anything at all?
    #17
    DandyDon
    Junior Member
    • Total Posts : 94
    • Reward points : 0
    • Joined: 2005/01/21 09:37:33
    • Status: offline
    Re: PIC16F18446 Curiosity Nano & Mac OS X 2020/03/25 20:53:53 (permalink)
    0
    Ok.  I think I figured it out....  it's cockpit trouble!
     
    To get the nano boards to work I have to be sure that MPLAB X is not open, plug in the board my Mac, watch Finder to make sure the board shows up as a removable drive, then open MPLAB X.  Then I can see the board in MPLAB X & am able to program the board.
     
    I have seen this problem before a long time ago when using the PICkit 3.  If I had MPLAB X open then connect the PICkit 3 MPLAB X would not recognize it.... 
     
    VERY FRUSTRATING!!
     
    Sorry for all the confusion.  I should have tested this in the first place.  Thanks for your help!!
     
     
    #18
    Jump to:
    © 2020 APG vNext Commercial Version 4.5