-
Notifications
You must be signed in to change notification settings - Fork 105
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
How to configure correct pcap creation timestamp on sd card? #39
Comments
This doesn't sound like a normal behaviour, builtin RTC support for M5core2 was added to Chimera-Core long ago and should be silently synched when M5.begin() is called. One thing you can try is edit the lib_deps section of platformio.ini: Removing the version numbers should be enough of a test: LovyanGFX
ESP32-Chimera-Core
M5Stack-SD-Updater Also make sure your pcap folder is empty before testing anything, your screenshot shows the "Date modified" byt not the "Date created", and the SD driver has a long history of bugs :-) |
I'm experiencing the same issue on Core2. Tried bumping packages to latest as @tobozo suggested, same issue. My RTC is set correctly (I have a quick and dirty program to set it using NTP). Here are my dependency versions...
|
I know it's annoying to read that so I apologize in advance, but it worked for me using Arduino and the latest stable package. I couldn't reproduce with platformio either. The latest espressif changelog, highlights a long history of problems with the SD driver, but comes with fixes for SDl and I believe this will solve the issue you're describing. It isn't clearly documented how to use 2.0.3 framework package with 4.x espressif32 platform though, so here's my platformio.ini: [platformio]
src_dir = ESP32-WiFi-Hash-Monster
;default_envs = m5stack-fire
;default_envs = m5stack-core-esp32
default_envs = m5stack-core2
;default_envs = odroid_esp32
[env]
platform = espressif32@^4
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32/archive/refs/tags/2.0.3.zip
framework = arduino
upload_speed = 921600
monitor_speed = 115200
; deep needed in order to pick up SD.h dependency of M5Stack-SD-Updater
lib_ldf_mode = deep
lib_compat_mode = strict
; lib_extra_dirs = ~/Documents/Arduino/libraries/
lib_deps =
LovyanGFX@^0.4.0
ESP32-Chimera-Core@^1.4.0
M5Stack-SD-Updater@^1.2.0
[env:m5stack-fire]
board = m5stack-fire
lib_deps =
${env.lib_deps}
[email protected]
[env:m5stack-core-esp32]
board = m5stack-core-esp32
lib_deps =
${env.lib_deps}
lib_ignore =
M5Stack
[env:m5stack-core2]
board = m5stack-core2
lib_deps =
${env.lib_deps}
lib_ignore =
M5Core2
[env:odroid_esp32]
board = odroid_esp32
lib_deps =
${env.lib_deps}
please let me know how it went so I can eventually submit a PR for this |
This may be helpful to identify a better SD Card model. |
It's not clear for me how I can configure hash monster firmware to use correct timestamp of created file on sd card. Looks like RTC module works well with right time setup but dumped files have wrong date.
The text was updated successfully, but these errors were encountered: