• AVR Freaks

MPLABX v5.35 simulator broken for UART output on PIC18F45K20

Author
dan1138
Super Member
  • Total Posts : 3496
  • Reward points : 0
  • Joined: 2007/02/21 23:04:16
  • Location: 0
  • Status: offline
2020/05/23 16:27:42 (permalink)
5 (2)

MPLABX v5.35 simulator broken for UART output on PIC18F45K20

This is not a bug report. This is a rant!

The simulation model for UART transmit is broken for at least the PIC18F4520, PIC18F45K20 and the PIC18F47Q10.

There is no UART 1 Output tab in the project Output view.

The simulator still works using MPLABX v4.05, v5.25 and MPLAB v8.92.

You can find a ZIP archive of my test projects here on github.

These projects were created with the MPLAB Code Configurator.

Come on Microchip, does anyone even check this stuff at all anymore?
post edited by dan1138 - 2020/05/26 07:27:39

Attached Image(s)

#1

3 Replies Related Threads

    g1l1t1
    Starting Member
    • Total Posts : 13
    • Reward points : 0
    • Joined: 2020/02/27 06:19:02
    • Location: 0
    • Status: offline
    Re: MPLABX v5.35 simulator broken for UART output on PIC18F45K20 2020/05/25 15:52:51 (permalink)
    +1 (1)
    If you do decide to submit an official bug report, keep in mind that these forums are not the right place for that.
    #2
    dan1138
    Super Member
    • Total Posts : 3496
    • Reward points : 0
    • Joined: 2007/02/21 23:04:16
    • Location: 0
    • Status: offline
    Re: MPLABX v5.35 simulator broken for UART output on PIC18F45K20 2020/05/25 17:17:28 (permalink)
    +1 (3)
    gtackett
    If you do decide to submit an official bug report, keep in mind that these forums are not the right place for that.

    Thank you for the comment but this ain't my first simulator rodeo.

    I started this topic to alert the people trying to use Microchip tools to do real work about a problem that could cost them a few hours before they realize that MPLABX is broken in a new way.

    George Pauley does try very hard to help but I suspect he has little sway when it comes to getting the simulator fixed for systemic problems. The Microchip attitude regarding the simulator seems to be one where if issues are ignored for long enough the users will just give up and go away.

    This specific issue has been extant in MPLABX for at least releases 5.25, 5.30 and 5.35 and gone undetected by Microchip for that time. What this show me is that if Microchip even does regression tests, what they do is ineffective.

    Perhaps it's understandable that "legacy" controllers are not first in line for simulator regression testing but the PIC18F47Q10 was announced around November 2019. The oldest official document I could find that mentioned the PIC18F47Q10 is AN3174 Getting Started with PIC18 Q10 and that was created in August 2018. So not even "new" controllers seem to be tested to actually work with the simulator.

    I am sure that Microchip spends a lot to maintain the simulation tool it's just not getting what it's paying for and they are not motivated to fix that.

    In all likelihood this not a simulator bug but the MPLABX IDE failing to display the "UART 1 output" message box in the project output pane. Such is Java, a write once and wrong everywhere programming environment.
    post edited by dan1138 - 2020/05/26 07:26:19
    #3
    GeorgePauley
    Moderator
    • Total Posts : 1239
    • Reward points : 0
    • Joined: 2009/12/01 13:59:30
    • Location: Chandler AZ
    • Status: offline
    Re: MPLABX v5.35 simulator broken for UART output on PIC18F45K20 2020/05/26 06:07:50 (permalink)
    +1 (1)
    I believe this is a known issue that has been discussed elsewhere.  UART output window disappeared, for 8 bit devices, in MPLAB X 5.35, it should be back in MPLAB X 5.40.
    #4
    Jump to:
    © 2020 APG vNext Commercial Version 4.5