Espixelstick contro...
 
Notifications
Clear all

Espixelstick controllers with SD cards

35 Posts
4 Users
0 Reactions
12.4 K Views
MartinMueller2003
Posts: 7615
(@martinmueller2003)
Illustrious Member
Joined: 14 years ago

I assume by "program" you mean "upload an image to the device". That is odd since the firmware is not involved in uploading a new firmware image in any way. The IDE does it all. If you are using the uploader in the "dist" directory then I would suspect the uploader is having an issue.

Are you using the uploader or the IDE to install a new image?
If you are building using the IDE do you have the core libraries at the latest revisions?


Reply
MartinMueller2003
Posts: 7615
(@martinmueller2003)
Illustrious Member
Joined: 14 years ago
EE351 wrote: If I manually copy a file from my computer, the esp will see it.
The previous version I used (ESPixelStick_TRAVIS-20210124013315) works fine for upload/download of files to the sd card.

Not sure what you mean by manually copy?

I just tried a drag and drop of fseq and pl files and it is working properly. Keep in mind that .fseq and .pl must be all lowercase. The filename can have any case you wish to use.


Reply
MartinMueller2003
Posts: 7615
(@martinmueller2003)
Illustrious Member
Joined: 14 years ago
EE351 wrote:Thanks, yes I am using an ESP8266 (wemos d1 mini with an sd card shield). Let me know if there is anything I can test.

Another unusual issue is that I can only program the wemos without the sd card shield attached with the latest firmware. With the older firmware, I can program it with the shield in place.

I just programmed my WeMos D1 R1 using all three methods [Arduino IDE | Java Utility | Admin Page OTA] and it works fine. FYI: The OTA method just got fixed in the past few days. A bug got introduced in the latest OS update that caused a reboot in the middle of the transfer. This issue is resolved and should be in a dist build soon.

If adding the Shield causes one of the methods to fail then the shield is causing the 2nd UART output pin to be held in a bad state and possibly other pins that the latest uploader uses. The internal uploader from the Arduino team needs that pin to be able to "move" while in the uploading process.

The only scenario in which the active image is involved with the update is the OTA version. Hence my question: How are you uploading the image?


Reply
Posts: 313
Topic starter
(@ee351)
Reputable Member
Joined: 13 years ago
MartinMueller2003 wrote:I assume by "program" you mean "upload an image to the device". That is odd since the firmware is not involved in uploading a new firmware image in any way. The IDE does it all. If you are using the uploader in the "dist" directory then I would suspect the uploader is having an issue.

Are you using the uploader or the IDE to install a new image?
If you are building using the IDE do you have the core libraries at the latest revisions?

I'm using the ESPixelstick flash tool to upload the firmware to the ESP, not the arduino IDE.


Reply
Posts: 313
Topic starter
(@ee351)
Reputable Member
Joined: 13 years ago
MartinMueller2003 wrote:Not sure what you mean by manually copy?

I just tried a drag and drop of fseq and pl files and it is working properly. Keep in mind that .fseq and .pl must be all lowercase. The filename can have any case you wish to use.

By manual copy, I mean inserting the sd card in a computer to copy the .fseq file, and then install the sd card into the esp device.


Reply
Posts: 313
Topic starter
(@ee351)
Reputable Member
Joined: 13 years ago
MartinMueller2003 wrote:I just programmed my WeMos D1 R1 using all three methods [Arduino IDE | Java Utility | Admin Page OTA] and it works fine. FYI: The OTA method just got fixed in the past few days. A bug got introduced in the latest OS update that caused a reboot in the middle of the transfer. This issue is resolved and should be in a dist build soon.

If adding the Shield causes one of the methods to fail then the shield is causing the 2nd UART output pin to be held in a bad state and possibly other pins that the latest uploader uses. The internal uploader from the Arduino team needs that pin to be able to "move" while in the uploading process.

The only scenario in which the active image is involved with the update is the OTA version. Hence my question: How are you uploading the image?

For both firmware versions I'm using the flash tool. For the latest version I get this message repeatedly in the serial output monitor of the flash tool while trying to upload a .fseq file:

.FileMgr::WriteSdFile::ERROR::Invalid File Handle: 29043


Reply
Posts: 313
Topic starter
(@ee351)
Reputable Member
Joined: 13 years ago

I just tried both firmwares with an lolin board and sd card attachment I made. I'm having the exact same issue, the older firmware works fine while the newer one does not allow me to upload the fseq file through the web browser. I thought maybe there was an issue with the wemos board/sd shield but I don't think this is the problem.

IMG 20210711 101634791

Reply
MartinMueller2003
Posts: 7615
(@martinmueller2003)
Illustrious Member
Joined: 14 years ago
EE351 wrote:I just tried both firmwares with an lolin board and sd card attachment I made. I'm having the exact same issue, the older firmware works fine while the newer one does not allow me to upload the fseq file through the web browser. I thought maybe there was an issue with the wemos board/sd shield but I don't think this is the problem.

I have been trying larger and larger files. I have no issue with fseq files under 100MB. I AM having an issue with a 200MB fseq file. It looks like the browser times out even though the transfer is still going on.


Reply
Posts: 313
Topic starter
(@ee351)
Reputable Member
Joined: 13 years ago
MartinMueller2003 wrote:I have been trying larger and larger files. I have no issue with fseq files under 100MB. I AM having an issue with a 200MB fseq file. It looks like the browser times out even though the transfer is still going on.

Are you using the flash tool to upload the firmware or the IDE? Maybe the problem is with the flash tool?

Edit: I just tried 4 different web browsers and the result is the same.


Reply
MartinMueller2003
Posts: 7615
(@martinmueller2003)
Illustrious Member
Joined: 14 years ago

Confirmed the issue is a timeout on the browser side even though progress is being made.


Reply
Page 2 / 4
Share: