aderusha / HASwitchPlate

LCD touchscreen for Home Automation
MIT License
732 stars 128 forks source link

Uploading firmware or TFT to nextion display #92

Closed jaygrovr closed 4 years ago

jaygrovr commented 4 years ago

I bought a nextion display from amazon and the part number is NX3224T024_011, and when i try to update the firmware on the device, I get the following message "model does not match Device model: NX3224T024_011R". What am I doing wrong? This part number seems to match what your readme file describes,.

aderusha commented 4 years ago

How are you handling the update? SD card? Serial through HASP? Any screenshots of what you're seeing? Can you provide a link to the device you bought?

jaygrovr commented 4 years ago

Sorry, doing the update using an SD card.. i formatted it as fat32, and the device recognizes the file, but for some reason doesnt allow it. Here is the link for the screen https://www.amazon.com/gp/product/B015DMP45K/ref=ppx_yo_dt_b_asin_title_o00_s02?ie=UTF8&psc=1

it does say the exact part number on the PCB.,. without the R at the end..

aderusha commented 4 years ago

Weird :( There should only be two models of that device per the Wiki: https://nextion.tech/datasheets/nx3224t024/#2

One ending in "R" for resistive touchscreen, and one ending in "N" for no touch sensor.

Do you have a spare UART kicking around? I wonder if loading up the Nextion editor and attempting to send the project that way would yield any different results or at least tell you more about what it thinks is happening.

jaygrovr commented 4 years ago

20200224_124424 20200224_124433

aderusha commented 4 years ago

Allright one more idea - can you show me the contents of the SD card?

jaygrovr commented 4 years ago

i can try with a uart, but was hoping to not have to do that. Could it possibly be not enough power for the screen? Capture nextion

aderusha commented 4 years ago

That is the correct file for your display model. Power problems can present themselves in all sorts of wacky ways but I've not seen it do this...

I'd have to default back to using the Nextion editor. Once it connects it should identify your device and give you some options for the current project to make sure it matches your LCD.

jaygrovr commented 4 years ago

ok so with a uart, i should be able to connect to the screen directly with the editor?

aderusha commented 4 years ago

That's the idea I'm shooting for. Take HASP out of the middle, let the Nextion software talk directly to the Nextion panel and see what it makes of the situation.

jaygrovr commented 4 years ago

by the way I figured out my issue.  For some reason github wasnt downloading the correct file.  i was downloading some other file type.  Once I signed in, the files were much larger and now everything works.  Totally my mistake and I feel very dumb about it. jason On Tuesday, February 25, 2020, 04:17:30 AM PST, Allen Derusha notifications@github.com wrote:

That's the idea I'm shooting for. Take HASP out of the middle, let the Nextion software talk directly to the Nextion panel and see what it makes of the situation.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

aderusha commented 4 years ago

Hey brother glad you got it sorted!

thatoneprogram commented 3 years ago

how am I supposed to get rid of this error

thatoneprogram commented 3 years ago

I

thatoneprogram commented 3 years ago

need

thatoneprogram commented 3 years ago

help

aderusha commented 3 years ago

Can you maybe help us out by explaining what you've done, what you expected, and what happened?

thatoneprogram commented 3 years ago

nvmd i have done it

simoelazzab commented 2 years ago

I have the same error but when trying to uplad the tft file via the the serial port using the whmi-wri instruction. The same file can be uploaded properly using the SDcard, so the version is normally correct. But when I try to appload it via serial port, I receive the first message back from the screen (0x5) meaning that it is ready to receive, then I send the first 4096 bytes of the file, then the screen shows the error : Model does not match.

The file is generated using Nextion Editor on windows, then I move it to a Linux machine connected to the nextion touchscreen 3.5" Basic.

aderusha commented 2 years ago

Which version of the HASPone firmware are you running, and what serial speed to do have set?

simoelazzab commented 2 years ago

don't know what is the HASPone. Can you please explain what it is and how to get the version? I am using the Nextion NX4832T035_011R, which is a 3.5" Basic, with a baudrate of 9600, I can establish a communication with the screen and send commands etc with that baudrate, only the TFT upload that doesn't work.

aderusha commented 2 years ago

Are you using the HASwitchPlate project? This repo is no longer maintained and everything has moved over to the HASPone repo. If you stumbled into this looking for general Nextion help, maybe try the Unofficial Nextion Forum.

ageorgiev86 commented 1 year ago

what do we do if the model is correct. because in this case it is exactly like that. The model is correct, but it tells me that it does not match