¿ªÔÆÌåÓý

Nextion Display "File Version is too low"


 

Hi all,

I have a uBITX V6, and wanted to add the Nextion with the CEC firmware.

I just got a Nextion 2.8 from Amazon, and when trying to load CEC firmware via the SD card, the display shows "File Version is too low."

I downloaded the Nextion editor, and loaded the *.HMI file.? When I try to complie it, I get an error message:??
Error:Page pqrcode The remaining memory is not enough to run the temporary use of QR code (-261).please decrease the value of txt_maxl to reduce the consumption of the memory.
Error:Compile failed! 1 errors, 0 Warnings.

If I use the LTS version of the editor, it compiles fine, but when I try to load it, I get the same message on the scree, File Version too low.

I have tried both loading via sd card (tft) and with a usb to serial adapter.

Any ideas?

73 de Tim, AG4RZ


 

Hi Tim,

I would verify that the device selected is the same as the device you are trying to transfer the file.? After you load the .HMI file there should be a gear with the tag Device ID.? Check it and then select the Nextion display that matches your device.

73
Evan
AC9TU


 

So the display I have is a NX3224T028_11, and I am using the ubitx_28.HMI file., as well as the ubitx_28.tft file.

When using the HMI file in the editor and looking at device ID screen, the model numbers match.? Thats part of the reson I am confused about it not compiling..

My display is the basic version, and if I am correct, those file are for the basic, not enhanced, display.??

I also tried the ubitx_28.tft file loaded straight on several different freshly formatted micro SD cards of various sizes


I downloaded the files from?


 

On Thu, Dec 2, 2021, at 08:54 PM, Tim A. King, Jr wrote:
When using the HMI file in the editor and looking at device ID screen, the model numbers match.? Thats part of the reson I am confused about it not compiling..
Tim,
Once you access the .HMI file with the new version editor will convert the file to the new version format.? The newer versions of the editor take up more room in the final compiled file and will generate an out-of-memory error.? Trying to then go back and use the LTS version of the Nextion editor on the file that was already updated to the new format will not compile.? Try extracting the uvitx_28.HMI file from the zip archive again, and this time open it with the LTS version of the editor.? It should compile.

With the above, that still does not explain what is happening when you transfer the ubitx_28.tft to the microSD card.? I would reformat the microSD card with?

and then transfer the file.? I always format the microSD before transferring a new .tft file.

I have found that the Windows 10 format will not always work, even when selecting FAT or exFAT as the format option.

The other issue is to be sure that the ubitx_28.tft is the only file on the microSD card.

I should have asked what OS you are using on the PC.

73
Evan
AC9TU


 

Evan,

I should have specified what OS I am on.? I have Win 10 on my main machines, and I do have an old laptop with XP I keep (completely offline) for legacy needs.? There are also a couple of Linux machines in the shop for CNC usage as well.

I have used both versions of Windows, as well as Formatter from the link you sent to format the card.? (I actually use Formatter quite a bit for the onboard DVR's on some of my model aircraft.? Great program.)

I can compile in the LTS version of the editor, and after formatting a card, transfer the .tft file.? When I put it in the display, it does the countdown to firmware load, then gives me the "File Version too low message," even with the LTS compiled version.

I have verified each time that the SD card was freshly formatted (each of them) and nothing else has been on the card.

I have sent an email to Nextion tech support just to see if they have any advice.

This evening, I am going to "back up and punt," by grabbing an Arduino Uno out of the stash and going through a simple tutorial on the display.? Hopefully, I'll be able to isolate/eliminate the display as a potential source of my problem.? I realize the display is likely fine, given the demo Nextion preloads functioned fine, but at this point I don't have anything to lose.

73,
Tim, AG4RZ


 

Tim,

I did a Google search for "nextion file version is too low" and got this as one of the hits:


The solution was to get a different microSD card.? I read that you have tried multiple cards, but maybe another try will solve the issue.? I have had good luck with SAMSUNG (MB-ME32GA/AM) 32GB 95MB/s? cards.


These have worked for me as well:


73
Evan
AC9TU


 

Evan,

I saw that post as well.? I'll see if I can find a Samsung card locally today that matches those specs.? I have a few of the Sandisk cards you linked already, and they were in the rotation last night.? Maybe I'll get lucky and find the right card!

73,

Tim, AG4RZ


 

Evan and anyone else following along,

I got it going!

First, I verified the screen was working properly by hooking it up to a spare Arduino Uno, and doing the follwing tutorial:


Once I knew my screen was good, I loaded the ubitx_28.HMI?file into the Nextion 1.63 editor, and did some looking.??

The error I got when trying to compile is:
Error:Page pqrcode The remaining memory is not enough to run the temporary use of QR code (-261).please decrease the value of txt_maxl to reduce the consumption of the memory.

So, I looked at Page pqrcode, and "clicked" the qr code on the canvas.? In the lower right corner of the screen in the attribute window, I found the line "txt_maxl." the original value was 84.? I set it to 70, and was able to compile.? After that, through trial and error, I discovered the maximum value it will compile with is 78.

After compiling, I generated the TFT, copied it to a freshly formatted SD card, and loaded it into the display.??

Stuck the card in the display, powered it up, and it loaded.? Pulled the card out, verified all connections to the raduino were correct, and fired up the rig.? So far, everything seems to be working correctly.? I have not tested the QRT code backup yet, but band switching, tuning, etc. are all doing as expected.

I haven't tested CAT control yet, but I did verify I can talk to the rig with Ian's memory manager.

I'll call this a success.? I have a few more things I want to do to take advantage of the capabilites of Ian's firmware, but I won't clutter this thread with them.

Evan, thanks for your advice.

73 de AG4RZ, Tim


 

Thanks? ?Tim A. King, Jr? ?for the update it worked

73 VU2REE


Ulf Westman
 

Hi Tim,

have You tested using the "QR code backup"?? I have the same problem as you "... The remaining memory is not enough to run the temporary use of QR code (-261)..." I succeeded complie but I can't use the QR backup function, getting "Error- data file is short". Do You have the same problem ?
73 de SM0TRY, Ulf


 

Hi Ulf,

I haven't tested the QR code backup yet..I should probably do that.? I'll try it and get back to you.

73,

Tim A. King Jr.
Amateur Radio Station AG4RZ


On Wed, Aug 10, 2022 at 2:52 AM Ulf Westman <ulfwestman@...> wrote:

Hi Tim,

have You tested using the "QR code backup"?? I have the same problem as you "... The remaining memory is not enough to run the temporary use of QR code (-261)..." I succeeded complie but I can't use the QR backup function, getting "Error- data file is short". Do You have the same problem ?
73 de SM0TRY, Ulf


 

Tim - many thanks for posting this solution - I had exactly the same problem, followed your solution and now up and running. What a wonderful world we live in, so great to be able to share learnings.

73 de W5ARH, Richard


 

Since the original post, I have been trying to collect all the Nextion screens on this github:



Screens in the "recent" folders are built with the latest Nextion editor and should not generate the error of the original post. If you have an "older" screen, you might want to try the files in the "legacy" folder first. The older Nextion editor uses less memory than the latest editor version.

73
Mark
AJ6CU