-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SD Artnet record and playback issues #8
Comments
Hello
let me know |
Thanks for your quick reply! I'll give that a shot when I get back to my computer. Is there a way to make it not dependent on connecting to a wifi network? I'm trying to make a project that reads something prerecorded off the SD card where wifi is unavailable. Totally standalone. |
That adjustment did the trick! Thank you. It's running off the SD card if I'm connected to an AP now. Is there any sort of modification I can make to have it run off the SD card without WiFi? If it's running off an SD card and no longer reading the ArtNet coming in, what's the need for the wireless connection? Could a work around be to change the wireless mode to AP? Is it just looking for an IP address to reference for the previous artnet data? |
Great happy to hear that |
That would be wonderful, thank you. I can do that. Do you want a video of the project I'm using this for or a video of the modification to the code? I'm also noticing it's dropping anywhere from 30% to 50% of the frames on a 16x16 matrix which seems odd for that small of size. The number of frames dropped doesn't seem to change when I'm recording or when I increase the FPS sent to it, so I'm thinking it's a network issue and not a processing power issue. I was initially thinking of trying wired ethernet to see if that helps and maybe setting a static IP and receive via unicast. What would be your suggestion to help eliminate dropped frames? |
Hello |
Is this what you were looking for with the wifi debug?
|
In your experience, what has helped with the frames dropping? Would using an ESP32 with an external antenna possibly help? Do you think it's interference? When I view that actual universes coming in, I'd think it would be U0 and U1 repeated for each full frame but it comes in staggered and inconsistent like U0, U1, U1, U0, U0, U1, U0, U1, U0 Is there a way to do the recording on the PC side and load it onto the SD but the playback on the ESP32? |
Hi [Elusid108] and [hpwit]
[Elusid108] did you ever find a solution to dropped frames? Personally, I'm not having this problem yet. My prototyping matrix is only 8x8. But I think my WiFi is generally good. Perhaps that's the reason we're seing different results?
Very good question indeed. I've been wondering that as well... Did you learn more about this? About ethernet: Firstly, my current issue is also constant resetting when trying to play back from the SD card. What makes it quite hard to debug and fix, is that multiple threads seem to be operating concurrently. If you've learned anything, let me know! |
hello Firstly, my current issue is also constant resetting when trying to play back from the SD card. What makes it quite hard to debug and fix, is that multiple threads seem to be operating concurrently. |
Hi hpwit Thanks for replying. So first off, my situation is this: Merged code: BUT: Recording seems to go well actually!
readSD mod: Only, I have to upload a new code if I want to switch between recording new data and readSD.... I must have it fixed! Playback is stuttering. Have you tried and fixed this issue by any means?
Output from serial: --- Terminal on /dev/cu.wchusbserial1120 | 115200 8-N-1 RecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecord stopped framesartnet:110 framesrecorded:110 lostsframes:0 duration:3375 ms assert failed: xTaskGenericNotify tasks.c:5531 (xTaskToNotify) Backtrace:0x40083a41:0x3ffb26300x4008ce2d:0x3ffb2650 0x40092aa9:0x3ffb2670 0x4008f986:0x3ffb27a0 0x400d3269:0x3ffb27c0 0x400d3fd5:0x3ffb27e0 0x400d8099:0x3ffb2820 ELF file SHA256: 0000000000000000 Rebooting... rst:0xc (SW_CPU_RESET),boot:0x1a (SPI_FAST_FLASH_BOOT) RecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingnb frames read: 100 nb of incomplete frames:0 lost:0.00 % assert failed: multi_heap_free multi_heap_poisoning.c:253 (head != NULL) Backtrace:0x40083a41:0x3ffd7f800x4008ce2d:0x3ffd7fa0 0x40092aa9:0x3ffd7fc0 0x400926ef:0x3ffd80f0 0x40083f01:0x3ffd8110 0x40092ad9:0x3ffd8130 0x401426e2:0x3ffd8150 0x400d491b:0x3ffd8170 0x400d3137:0x3ffd81a0 ELF file SHA256: 0000000000000000 Rebooting... rst:0xc (SW_CPU_RESET),boot:0x1a (SPI_FAST_FLASH_BOOT) RecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingnb frames read: 100 nb of incomplete frames:0 lost:0.00 % assert failed: xTaskGenericNotify tasks.c:5531 (xTaskToNotify) Backtrace:0x40083a41:0x3ffb26300x4008ce2d:0x3ffb2650 0x40092aa9:0x3ffb2670 0x4008f986:0x3ffb27a0 0x400d3269:0x3ffb27c0 0x400d3fd5:0x3ffb27e0 0x400d8099:0x3ffb2820 ELF file SHA256: 0000000000000000 Rebooting... rst:0xc (SW_CPU_RESET),boot:0x1a (SPI_FAST_FLASH_BOOT) RecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingnb frames read: 100 nb of incomplete frames:0 lost:0.00 % assert failed: xTaskGenericNotify tasks.c:5531 (xTaskToNotify) Backtrace:0x40083a41:0x3ffb26300x4008ce2d:0x3ffb2650 0x40092aa9:0x3ffb2670 0x4008f986:0x3ffb27a0 0x400d3269:0x3ffb27c0 0x400d3fd5:0x3ffb27e0 0x400d8099:0x3ffb2820 ELF file SHA256: 0000000000000000 Rebooting... rst:0xc (SW_CPU_RESET),boot:0x1a (SPI_FAST_FLASH_BOOT) RecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingRecordingnb frames read: 100 nb of incomplete frames:0 lost:0.00 % assert failed: xTaskGenericNotify tasks.c:5531 (xTaskToNotify) Backtrace:0x40083a41:0x3ffb26300x4008ce2d:0x3ffb2650 0x40092aa9:0x3ffb2670 0x4008f986:0x3ffb27a0 0x400d3269:0x3ffb27c0 0x400d3fd5:0x3ffb27e0 0x400d8099:0x3ffb2820 ELF file SHA256: 0000000000000000 Rebooting... |
no this line should to be uncommented !!! |
Hi @Elusid108 , |
I've been trying to pick apart different examples people have made using ArtNet and recording to an SD card to understand how it's all working and I'm still left scratching my head. I've been able to use the example on here to write to an SD card but the file created is a bunch of random characters and when I go to read it, I get errors.
I'm running on an ESP32
SD card CS is on pin 5
pixel data pin is on 32
Here's the code I'm using to record
And here's the code I'm using to try to read from the SD card
It appears to mount and write to the SD card but this is what is showing up on the card
And when I go to play it back, it gets stuck in a reboot loop with these errors
Any help would be greatly appreciated. I'm stuck.
The text was updated successfully, but these errors were encountered: