No worries, hopefully m5stack people can consider enabling it for future production runs; i recon it would lower the threshold for some users.
Best posts made by notsonominal
-
RE: PoESP32 OTA updates?
Latest posts made by notsonominal
-
RE: AtomS3 0.85" OLED unable to wake from buttom
@teastain but G41 isnt supported as a wake-up pin from deep sleep - when the AtomS3 has a ton of free pins this seems like something that could be adressed in a future revision to make the product more usable.
-
AtomS3 0.85" OLED unable to wake from buttom
Recently tried using the AtomS3 with 0.85" OLED for a CAN-bus project and it seems like a missed opportunity to not have the (only) button under OLED connected to a pin that support waking up the ESP.
Is there an easy workaround for this?
I would also have to find a way to put the isolated CAN bus base to sleep to make this project viable with M5Stack products so I guess odds are I'll have to make my own, but I would be nice if new products were designed with deep sleep and power saving in mind.
-
RE: PoESP32 OTA updates?
No worries, hopefully m5stack people can consider enabling it for future production runs; i recon it would lower the threshold for some users.
-
RE: PoESP32 OTA updates?
@felmue said in PoESP32 OTA updates?:
AT+USEROTA works for me
could you confirm the esp-at build your device shipped with? I'm not so much interested in getting it to work as to knowing if it works on currently shipping devices - which for me it does not.
edit: this is what i get
AT+USEROTA=104 ERROR
and the command isnt listed with AT+CMD which leads me to think its not enabled?
AT+CMD? +CMD:0,"AT",0,0,0,1 +CMD:1,"ATE0",0,0,0,1 +CMD:2,"ATE1",0,0,0,1 +CMD:3,"AT+RST",0,0,0,1 +CMD:4,"AT+GMR",0,0,0,1 +CMD:5,"AT+CMD",0,1,0,0 +CMD:6,"AT+GSLP",0,0,1,0 +CMD:7,"AT+SYSTIMESTAMP",0,1,1,0 +CMD:8,"AT+SLEEP",0,1,1,0 +CMD:9,"AT+RESTORE",0,0,0,1 +CMD:10,"AT+SYSRAM",0,1,0,0 +CMD:11,"AT+SYSFLASH",0,1,1,0 +CMD:12,"AT+RFPOWER",0,1,1,0 +CMD:13,"AT+SYSMSG",0,1,1,0 +CMD:14,"AT+SYSROLLBACK",0,0,0,1 +CMD:15,"AT+SYSLOG",0,1,1,0 +CMD:16,"AT+SYSLSPCFG",0,0,1,0 +C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:55,"AT+CIPMUX",0,1,1,0 +CMD:56,"AT+CIPRECVMODE",0,1,1,0 +CMD:57,"AT+CIPRECVDATA",0,0,1,0 +CMD:58,"AT+CIPRECVLEN",0,1,0,0 +CMD:59,"AT+CIPSERVER",0,1,1,0 +CMD:60,"AT+CIPSERVERMAXCONN",0,1,1,0 +CMD:61,"AT+CIPSSLCCONF",0,1,1,0 +CMD:62,"AT+CIPSSLCCN",0,1,1,0 +CMD:63,"AT+CIPSSLCSNI",0,1,1,0 +CMD:64,"AT+CIPSSLCALPN",0,1,1,0 +CMD:65,"AT+CIPSSLCPSK",0,1,1,0 +CMD:66,"AT+CIPMODE",0,1,1,0 +CMD:67,"AT+CIPSTO",0,1,1,0 +CMD:68,"AT+SAVETRANSLINK",0,0,1,0 +CMD:69,"AT+CIPSNTPCFG",0,1,1,0 +CMD:70,"AT+CIPSNTPTIME",0,1,0,0 +CMD:71,"AT+CIPRECONNINTV",0,1,1,0 +CMD:72,"AT+MQTTUSERCFG",0,0,1,0 +CMD:73,"AT+MQTTCLIENTID",0,0,1,0 +CMD:74,"AT+MQTTUSERNAME",0,0,1,0 +CMD:75,"AT+MQTTPASSWORD",0,0,1,0 +CMD:76,"AT+MQTTCONNCFG",0,0,1,0 +CMD:77,"AT+MQTTCONN",0,1,1,0 +CMD:78,"AT+MQTTPUB",0,0,1,0 +CMD:79,"AT+MQTTPUBRAW",0,0,1,0 +CMD:80,"AT+MQTTSUB",0,1,1,0 +CMD:81,"AT+MQTTUNSUB",0,0,1,0 +CMD:82,"AT+MQTTCLEAN",0,0,1,0 +CMD:83,"AT+HTTPCLIENT",0,0,1,0 +CMD:84,"AT+HTTPGETSIZE",0,0,1,0 +CMD:85,"AT+HTTPCPOST",0,0,1,0 +CMD:86,"AT+BLEINIT",0,1,1,0 +CMD:87,"AT+BLEADDR",0,1,1,0 +CMD:88,"AT+BLENAME",0,1,1,0 +CMD:89,"AT+BLEADVPARAM",0,1,1,0 +CMD:90,"AT+BLEADVDATA",0,1,1,0 +CMD:91,"AT+BLEADVDATAEX",0,1,1,0 +CMD:92,"AT+BLEADVSTART",0,0,0,1 +CMD:93,"AT+BLEADVSTOP",0,0,0,1 +CMD:94,"AT+BLESCANRSPDATA",0,1,1,0 +CMD:95,"AT+BLEGATTSSRVCRE",0,0,0,1 +CMD:96,"AT+BLEGATTSSRVSTART",0,0,1,1 +CMD:97,"AT+BLEGATTSSRVSTOP",0,0,1,1 +CMD:98,"AT+BLEGATTSSRV",0,1,0,0 +CMD:99,"AT+BLEGATTSCHAR",0,1,0,0 +CMD:100,"AT+BLEGATTSNTFY",0,0,1,0 +CMD:101,"AT+BLEGATTSIND",0,0,1,0 +CMD:102,"AT+BLEGATTSSETATTR",0,0,1,0 +CMD:103,"AT+BLESCANPARAM",0,1,1,0 +CMD:104,"AT+BLESCAN",0,0,1,0 +CMD:105,"AT+BLECONNPARAM",0,1,1,0 +CMD:106,"AT+BLECONN",0,1,1,0 +CMD:107,"AT+BLEDISCONN",0,0,1,1 +CMD:108,"AT+BLEDATALEN",0,0,1,0 +CMD:109,"AT+BLECFGMTU",0,1,1,0 +CMD:110,"AT+BLEGATTCPRIMSRV",0,0,1,0 +CMD:111,"AT+BLEGATTCINCLSRV",0,0,1,0 +CMD:112,"AT+BLEGATTCCHAR",0,0,1,0 +CMD:113,"AT+BLEGATTCRD",0,0,1,0 +CMD:114,"AT+BLEGATTCWR",0,0,1,0 +CMD:115,"AT+BLESPPCFG",0,1,1,0 +CMD:116,"AT+BLESPP",0,0,0,1 +CMD:117,"AT+BLESECPARAM",0,1,1,0 +CMD:118,"AT+BLEENC",0,0,1,0 +CMD:119,"AT+BLEENCRSP",0,0,1,0 +CMD:120,"AT+BLEKEYREPLY",0,0,1,0 +CMD:121,"AT+BLECONFREPLY",0,0,1,0 +CMD:122,"AT+BLESETKEY",0,1,1,0 +CMD:123,"AT+BLEENCDEV",0,1,0,0 +CMD:124,"AT+BLEENCCLEAR",0,0,1,1 +CMD:125,"AT+BLEHIDINIT",0,1,1,0 +CMD:126,"AT+BLEHIDKB",0,0,1,0 +CMD:127,"AT+BLEHIDMUS",0,0,1,0 +CMD:128,"AT+BLEHIDCONSUMER",0,0,1,0 +CMD:129,"AT+MDNS",0,0,1,0 +CMD:130,"AT+WPS",0,0,1,0 +CMD:131,"AT+CWSTARTSMART",0,0,1,1 +CMD:132,"AT+CWSTOPSMART",0,0,0,1 +CMD:133,"AT+PING",0,0,1,0 +CMD:134,"AT+CIPETHMAC",0,1,1,0 +CMD:135,"AT+CIPETH",0,1,1,0 +CMD:136,"AT+CEHOSTNAME",0,1,1,0 +CMD:137,"AT+CIUPDATE",0,1,1,1 +CMD:138,"AT+UART",0,1,1,0 +CMD:139,"AT+UART_CUR",0,1,1,0 +CMD:140,"AT+UART_DEF",0,1,1,0
ed: formatting.
-
PoESP32 and Wifi
The page for PoESP32 (SKU:U138 / https://docs.m5stack.com/en/unit/poesp32 ) clearly states
ESP32-WROOM-32U 240MHz dual core, 600 DMIPS, 520KB SRAM (without integrated 3D antenna, does not support WiFi wireless function)
But the ESP-AT firmware that ships with the device is configured to host an AP by default, and the device ships without an antenna or dummy terminator - is this safe for the ESP32-WROON-32U? I found no mention of this in the datasheet other than Espressif stating
external antenna connector (which needs to be
connected to an external antenna)without any reference to weather that is a requirement for function or safe operation, but most other RF devices have warnings about operating the radio without antenna or terminator/dummy load on the output to prevent damage.
AT+RESTORE OK +ETH_CONNECTED ready +ETH_GOT_IP:10.10.0.147 AT+GMR AT version:2.2.0.0(s-62ccc56 - ESP32 - Nov 12 2021 13:38:12) SDK version:v4.2.2-76-gefa6eca8b8 compile time(fc52c33):Mar 15 2022 15:59:59 Bin version:2.2.0(WROOM-32) OK AT+CWSTATE? +CWSTATE:0,"" OK AT+CWMODE? +CWMODE:2 OK
CWMODE:2 means the unit is in SoftAP mode by default, and it is confirmed by the prescense of the ESP_241B91 wifi network it creates.
https://docs.espressif.com/projects/esp-at/en/latest/esp32/AT_Command_Set/Wi-Fi_AT_Commands.html#parametersIs this the intended operation?
ed: formatting.
-
PoESP32 OTA updates?
Is the PoESP32 (SKU:U138) configured to allow OTA updates? While opening the case and using J2 and a serial adapter works for loading custom firmware it would be much simpler if the pre-loaded ESP-AT firmware allows for updates over the air.
Not sure if if I'm doing something wrong or if it is not set up for updates at all. User updates via AT+USEROTA or AT+WEBSERVER seems to not be enabled.
AT+CIPFWVER? returns error with or without wifi connected (in adittion to PoE + Ethernet) and trying to update with AT+CIUPDATE returns error for both HTTP and HTTPS it seems.
Is it possible to do OTA updates? And would it be possible to start using a ESP-AT build that supports user updates over the air as well?
AT+GMR AT version:2.2.0.0(s-62ccc56 - ESP32 - Nov 12 2021 13:38:12) SDK version:v4.2.2-76-gefa6eca8b8 compile time(fc52c33):Mar 15 2022 15:59:59 Bin version:2.2.0(WROOM-32) AT+CIPFWVER? ERROR AT+CIUPDATE=0 +CIPUPDATE:1 +CIPUPDATE:2 ERROR AT+CIUPDATE=1 +CIPUPDATE:1 +CIPUPDATE:2 ERROR
ed: formatting.