Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Me No Dev
@me-no-dev
then build an empty sketch (select the proper device)
and it will tell you the location of the temp folder that it used
Helio Machado
@0x2b3bfa0
Decoding 49 results
0x40205808: spiffs_object_find_object_index_header_by_name_v at spiffs_nucleus.c line ?
0x40204839: spiffs_stat_pix at spiffs_hydrogen.c line ?
0x4010676c: printf at ?? line ?
0x402116f9: String::changeBuffer(unsigned int) at ?? line ?
0x40203a01: check_poison$part$0$constprop$4 at umm_malloc.c line ?
0x40203b06: check_poison_block at umm_malloc.c line ?
0x40203c13: check_poison_all_blocks at umm_malloc.c line ?
0x40203d9e: malloc at ?? line ?
0x402116f9: String::changeBuffer(unsigned int) at ?? line ?
0x4021174e: String::reserve(unsigned int) at ?? line ?
0x4021177e: String::copy(char const*, unsigned int) at ?? line ?
0x402117cc: String::String(char const*) at ?? line ?
0x40203db4: malloc at ?? line ?
0x4020c777: AsyncAbstractResponse::_ack(AsyncWebServerRequest*, unsigned int, unsigned int) at ?? line ?
0x402038e4: _umm_free at umm_malloc.c line ?
0x40203fa0: free at ?? line ?
0x40211844: String::move(String&) at ?? line ?
0x4020c1f4: AsyncAbstractResponse::_respond(AsyncWebServerRequest*) at ?? line ?
0x4020b584: AsyncWebServerRequest::send(AsyncWebServerResponse*) at ?? line ?
0x40211880: String::operator=(String const&) at ?? line ?
0x4020b600: AsyncWebServerRequest::send(fs::FS&, String, String, bool) at ?? line ?
0x4021177e: String::copy(char const*, unsigned int) at ?? line ?
0x402117cc: String::String(char const*) at ?? line ?
0x402101eb: std::_Function_handler ::_M_invoke(std::_Any_data const&, AsyncWebServerRequest*) at main.cpp line ?
0x40203fa0: free at ?? line ?
0x4020d4d5: AsyncCallbackWebHandler::handleRequest(AsyncWebServerRequest*) at ?? line ?
0x4021174e: String::reserve(unsigned int) at ?? line ?
0x4020ba78: AsyncWebServerRequest::_parseLine() at ?? line ?
0x40211b98: String::concat(char) at ?? line ?
0x402014e0: operator delete(void*) at ?? line ?
0x4020bade: AsyncWebServerRequest::_parseByte(unsigned char) at ?? line ?
0x4020bc9f: AsyncWebServerRequest::_onData(void*, unsigned int) at ?? line ?
0x4020c048: AsyncWebServerRequest::AsyncWebServerRequest(AsyncWebServer*, AsyncClient*) at ?? line ?
0x402038e4: _umm_free at umm_malloc.c line ?
0x402038e4: _umm_free at umm_malloc.c line ?
0x4020be6d: std::_Function_handler ::_M_invoke(std::_Any_data const&, void*, AsyncClient*, void*, unsigned int) at WebRequest.cpp line ?
0x4020a06d: AsyncClient::_recv(tcp_pcb*, pbuf*, signed char) at ?? line ?
0x40221599: pbuf_alloc at ?? line ?
0x4022261e: tcp_input at ?? line ?
0x4020a0db: AsyncClient::_s_recv(void*, tcp_pcb*, pbuf*, signed char) at ?? line ?
0x402220dd: tcp_input at ?? line ?
0x402221db: tcp_input at ?? line ?
0x4022103e: ip_input at ?? line ?
0x4022037f: etharp_find_addr at ?? line ?
0x4022092a: ethernet_input at ?? line ?
0x4021c40b: system_get_sdk_version at ?? line ?
0x4020155f: loop_task(ETSEventTag*) at core_esp8266_main.cpp line ?
Is that what you want?
Is this output well?
Me No Dev
@me-no-dev
yes
how did you run it though?
Helio Machado
@0x2b3bfa0
I built a empty sketch, seen the build folder, and replaced the elf and the bin of the empty sketch with the ones from the platformio build.
Me No Dev
@me-no-dev
funny it does not show the line numbers
but yes that should be the correct output
Helio Machado
@0x2b3bfa0
Maybe @ivankravets should think how to implement the stack trace decoder. If he does the interface, I'll do the backend.
Me No Dev
@me-no-dev
exception seem to be in spiffs itself
Helio Machado
@0x2b3bfa0
Maybe my bad, adding a conditional to see if file "exists" (even if I upload it).
Helio Machado
@0x2b3bfa0
Spiffy said that the file exists.
@me-no-dev: Maybe you could try to reproduce the problem?
webServer.on("/memory.txt", [](AsyncWebServerRequest *request) {
    Serial.println("Requesssssssssssssst");
    if(SPIFFS.exists("/codes.txt")) {Serial.println("Existssssssssssss");}
    request->send(SPIFFS, "/codes.txt", String(), true);
  });
Me No Dev
@me-no-dev
request->send(SPIFFS, "/codes.txt", String(), true); checks if the file exists also
maybe something is wrong with the file or spiffs itself
ystrem
@ystrem
@skorokithakis looks good thx
bidyutper
@bidyutper
This message was deleted
This message was deleted
This message was deleted
need smd of magnetic relay anyone
5V DC SPDT Relay
any info?
bidyutper
@bidyutper
switchin current 230V AC
well, that s 3v..
bidyutper
@bidyutper
thts DPDT...only need SPDT ratin currents 3v k @tzapu
xbary
@xbary
Hello I have a question.
on ESP12F function spi flash write (. I use the address space of 0x0fc000 to 0x3fbfff. The question which addresses to use for ESP01 (1MB) if it works in the variant 64kb SPIFFS. ?? (I'm not using the application SPIFFS)
Me No Dev
@me-no-dev
1MB - 16KB(system settings) - 64KB = start of the space you are asking for
xbary
@xbary
that is beginning SPIFFS in this case will be at 0x14000
xbary
@xbary
I mean functions spi_flash_write
Stavros Korokithakis
@skorokithakis
@tzapu I'm a bit hazy as to what the wifimanager does, i thought it was some sort of web AP but that doesn't appear to be the case
Martin Ayotte
@martinayotte
For those who wish Internet Radio using ESP-VS1053 : http://www.esp8266.com/viewtopic.php?f=6&t=2688&p=46092#p46092
Michael Miller
@Makuna
@martinayotte That would imply they are accessing the buffer as a 32bit type wouldn't it? Maybe the buffer should be declared as uint32_t [8]?
Martin Ayotte
@martinayotte
@Makuna , Unfortunately, the Radio code handles uint8_t, not uint32_t. It is the SPI.writesBytes() that requires alignment enforcement.
Baruch Even
@baruch
I'm trying to use the coroutine code that is already written for my system by creating a cooperative threading mini-system to simplify my code. For that it would be extra nice to be able to override the delay function when running inside a coroutine from the normal delay to the coroutine switching out. For this I need to make the delay function a weak symbol. Will such a change be acceptable for the project?
Obviously, I'd be happy to contribute the cooperative threading as well
andig
@andig
@helio check if you're using any function that yields. E.g. file->readstring is not possible inside async handler.
OT: does anyone have experience with using LoRa radio, e.g. on Adafruit Feather? What is a good starting point for hw and sw?
Lars Englund
@larsenglund
Can I use the ESP RX pin for GPIO while still using the TX pin with Serial.println etc?
Jan Chrillesen
@janchrillesen
larsenglund: If you just need to transmit you can use GPIO 2 for TX. Search for Serial1 on https://github.com/adafruit/ESP8266-Arduino
Lars Englund
@larsenglund
@janchrillesen All other pins are taken in my design :) But I just tried using gpio3 after running Serial.begin and it seems to be working just fine!
Jan Chrillesen
@janchrillesen
larsenglund: OK - for for applications where you need the UART on GPIO1/3 and also needs serial debug using Serial1 is a good solution
torntrousers
@torntrousers
Hi. How hard would it be to update a local build of the trunk code to use the latest sdk, 1.5.3? Could i just do something like overlay the 1.5.3 zip over the trunk checkout somewhere or is it more complicated that that?
Me No Dev
@me-no-dev
no, it's a bit more complicated than that
torntrousers
@torntrousers
any hints or pointers?
Me No Dev
@me-no-dev
you need to replace li libs, weaken libmain for umm_malloc to work and update the relevant headers in the SDK folder of the core with whatever they have added between 1.5.2 and 1.5.3
you can not replace the headers in the SDK folder, just add what's new to them
torntrousers
@torntrousers
mmm, ok, thanks. sounds a bit hard
Michael Miller
@Makuna
@larsenglund Yes it does work, just make sure to init the pin after the Serial.begin() and it will override the pin feature.