[Question] Uploading file to flash with UART command
Hi, I would like to upload file to display flash with UART from Arduino. What is the command to upload file? What response should I expect? Do I need to restart the display after that?Tell me the specific model of the screen you are using? For example: DMT**** or DMG****
Is it convenient to tell your company name? Sorry forgot to mention the screen. I have DMG85480C050_03WN. So I found that I need to send these UART commands
Sending file content (13TouchFile.bin) to 0x8000 RAM:
5AA5 0582 8000 FFFF
Send write command to flash
5AA5 0F82 00AA 5A02 0068 8000 1770 0000 0000
My question is do I need to terminate the file end somehow?
I noticed that DGUS sends file by UART like this "5AA5 0782 8000 FFFF 0000" instead of my command "5AA5 0582 8000 FFFF".
When do need to terminate file with zeros at the end? Hotter 发表于 2020-9-19 15:45
So I found that I need to send these UART commands
Sending file content (13TouchFile.bin) to 0x8000 ...
Hello! After you upload to FLASH through UART,AA this instruction, after the execution, the CPU automatically reset, also automatically stopped, you can determine whether the high byte D11 inside is zero, if it is zero has been sent, not zero has not been sent to complete.
页:
[1]