• AVR Freaks

Hot!Enabling Trace in IDE v5.35?

Author
nickalsal
New Member
  • Total Posts : 12
  • Reward points : 0
  • Joined: 2018/11/26 08:49:30
  • Location: 0
  • Status: offline
2020/04/21 08:05:18 (permalink)
0

Enabling Trace in IDE v5.35?

 
The MPLABX IDE user's manual lists the following:
See also: File>Project Properties to enable trace
 
 
From there, other instructions say to select REAL ICE, under categories, to enable trace.
I do not see any options listed under the REAL ICE regarding enabling trace.
 
 
 
Does this IDE v5.35 support the trace option?  Any help to enable trace would be appreciated.
 
 
 
  
#1

8 Replies Related Threads

    GeorgePauley
    Moderator
    • Total Posts : 1261
    • Reward points : 0
    • Joined: 2009/12/01 13:59:30
    • Location: Chandler AZ
    • Status: offline
    Re: Enabling Trace in IDE v5.35? 2020/04/21 08:19:32 (permalink)
    +4 (4)
    Not all devices (or tools) support trace as it involves high speed transmission of trace data while the chip is executing.  Further, different chips and tools accomplish this tricky feature in different ways (e.g. branch tracing, high speed trace, instrumented trace, etc.)  Here are some links to investigate whether your device/tool support trace, and what type of trace.

    https://www.microchip.com...bug-features-by-device
    #2
    Ivan Cenov
    Super Member
    • Total Posts : 291
    • Reward points : 0
    • Joined: 2003/11/07 12:36:51
    • Location: Bulgaria
    • Status: offline
    Re: Enabling Trace in IDE v5.35? 2020/06/05 01:25:13 (permalink)
    0
    This problem is in MPLAB X 5.40 too. There is no option to enable trace in project configuration, under Simulator. This leads to not collecting data for the logic analyzer. The logic analyzer window remains empty after simulating. I am trying to simulate PIC16F18346.
    post edited by Ivan Cenov - 2020/06/05 01:27:33
    #3
    Ivan Cenov
    Super Member
    • Total Posts : 291
    • Reward points : 0
    • Joined: 2003/11/07 12:36:51
    • Location: Bulgaria
    • Status: offline
    Re: Enabling Trace in IDE v5.35? 2020/06/05 03:01:50 (permalink)
    0
    GeorgePauley
    Not all devices (or tools) support trace as it involves high speed transmission of trace data while the chip is executing.  Further, different chips and tools accomplish this tricky feature in different ways (e.g. branch tracing, high speed trace, instrumented trace, etc.)  Here are some links to investigate whether your device/tool support trace, and what type of trace.

    https://www.microchip.com...bug-features-by-device




    MPLAB X 5.40 / PIC16F18346. Documents at above link says that Trace, WatchDog and Analyzer are supported for PIC16F18346. However, MPLAB X does not offer trace command in Project Properties.Simulator...
    #4
    ric
    Super Member
    • Total Posts : 28006
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: Enabling Trace in IDE v5.35? 2020/06/05 03:53:49 (permalink)
    +1 (1)
    This topic is about tracing a real device with a debugging tool.
    Simulating is a whole different kettle of bugs. However, George is the ideal person to comment about why it may or may not work on your device.
     
     

    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!
    #5
    GeorgePauley
    Moderator
    • Total Posts : 1261
    • Reward points : 0
    • Joined: 2009/12/01 13:59:30
    • Location: Chandler AZ
    • Status: offline
    Re: Enabling Trace in IDE v5.35? 2020/06/05 11:32:32 (permalink)
    +1 (1)
    Simulator trace is broken for MPLAB X 5.40.  I would recommend reverting to MPLAB X 5.35.
    #6
    crosland
    Super Member
    • Total Posts : 2017
    • Reward points : 0
    • Joined: 2005/05/10 10:55:05
    • Location: Warks, UK
    • Status: offline
    Re: Enabling Trace in IDE v5.35? 2020/06/05 12:19:14 (permalink)
    0
    Trace in a PIC16? Really?
    #7
    GeorgePauley
    Moderator
    • Total Posts : 1261
    • Reward points : 0
    • Joined: 2009/12/01 13:59:30
    • Location: Chandler AZ
    • Status: offline
    Re: Enabling Trace in IDE v5.35? 2020/06/05 14:06:30 (permalink)
    +2 (2)
    crosland
    Trace in a PIC16? Really?

    The conversation moved from real hardware to simulator.  The simulator can do ANYTHING.  (Assuming the IDE actually displays the button that tells the simulator to do it.)

    A little more on this.  The lack of simulator trace problem can be fixed by updating device packs.  However, those packs, while available internally, are not available to customers yet.  I can't get any sort of answer about when the packs will be made available to the customers.  Which is why I recommended going back to 5.35.  But  those packs will show up someday and then you'll be able to simulator trace in 5.40 again.
    #8
    mpgmike
    Super Member
    • Total Posts : 449
    • Reward points : 0
    • Joined: 2014/01/23 17:27:06
    • Location: NJ
    • Status: offline
    Re: Enabling Trace in IDE v5.35? 2020/06/06 07:56:27 (permalink)
    0 (2)
    It might seem reasonable to bundle all those new Packs into a new MPLABX v5.41.

    I don't need the world to know my name, but I want to live a life so all my great-grandchildren proudly remember me.
    #9
    Jump to:
    © 2020 APG vNext Commercial Version 4.5