12864 Screen Not Refreshing Menus



  • Hopefully this is a quick answer for someone.

    I've used the screen menus provided by @mudcruzr and I'm attempting to modify it. However, any changes I make don't register on the screen. I'm editing the files directly through the web interface. It's seems like the Duet has a backup version of the original screen files and it is referencing that file instead. I have reset the Duet, and even tried power cycling it. How can I get the screen to refresh and show my changes?


  • administrators

    You should only need to go to a different menu on the 12864 display and then back to the menu you just edited, and it should pick up the changes. It works for me.

    Which firmware version are you using?



  • System Info:
    Firmware Electronics: Duet Maestro 1.0
    Firmware Version: 2.02RC5(RTOS) (2018-11-28b1)
    Web Interface Version: 1.22.5

    For example, I have gone into the "Main" macro file in the System Editor and changed the fifth line
    from
    button V5 " CTRL " A"menu control"
    to
    button V5 " MENU " A"menu control"

    After power cycling the printer the 12864 main screen still shows "CTRL." and does not reflect the change that I made.


  • administrators

    If you edit the file again, does it contain your changes? Did you click Save in the editor after you made them?



  • @dc42 said in 12864 Screen Not Refreshing Menus:

    Did you click Save in the editor

    🙂 While I am capable of this level of mistake, It's not the case this time.

    Yes. After rebooting the printer and looking at the "Main" macro once again, it still contains my edit.

    On a separate but possibly related note: When I was first setting up this board, I ran the the M552 S1 command in YAT, in order to obtain an IP address. This did not work. It kept returning the same IP address which was given to the board at the factory. To solve this issue, I had to remove the SD card from the board, and put all the macro files (such as config.g) onto the SD card using my PC. After reinstalling the SD card back into the Maestro I was able to get an IP address using an M552 S1 though YAT.


  • administrators

    @punamenon said in 12864 Screen Not Refreshing Menus:

    Yes. After rebooting the printer and looking at the "Main" macro once again, it still contains my edit.

    I can only think that the file you are editing is not the one that the Duet is reading. The normal way to edit menu files is to go to the Display Editor in Duet Web Control, and click on the file there. Is that what you are doing?



  • @dc42 That's done it! It was user error after all. I manually installed the screen macros into the system editor thinking that was where they belonged, and I was editing them there. The actual version being read is what was auto-installed into Display Editor. Thank you for taking the time to set me straight.


Log in to reply