How to Store Data in DWIN HMI NOR Flash Using UART Commands (DGUS Step-by-Step Guide)
You enter a server address, port and machine number on a DWIN touch display, power it off, and everything is gone. That happens because values typed on a DWIN HMI live in its VP (RAM) variables, which are cleared on every restart. This guide shows how to save those values permanently in the display's NOR Flash memory with a single UART command, and how to read them back after power-up. It covers the DGUS screen setup, the command frame byte by byte, and a real test with Docklight. The example screen: Server address, Port no and Machine no, designed in DGUS. What you need Display: DWIN DMG32240C035_03WTC (3.5", DGUS II). The same method works on other DGUS II displays. Software: DWIN DGUS tool, and Docklight (or any serial terminal) for testing. Hardware: USB-to-UART (TTL) converter, micro SD card and card reader. Serial settings used here: 115200 baud, 8 data bits, no parity, 1 stop bit (115200 8N1). VP (RAM) vs NOR Flash: why data disappears Mem...