Closed jolivepetrus closed 7 years ago
Thanks, I'll try to reproduce this tomorrow. Could you please attach sdkconfig file you have used for this test?
Of course:
I think my flash chip now has a nice hole in this region, as the test is running for about an hour already. Unfortunately I haven't been able reproduce the issue so far.
Thanks for your test. I will try to do more tests, and start the buy process for a new flash ship :) ... In my tests, exeption is raised after a few seconds to start it.
Have you tested with the attached sdkconfig in the previous comments? I have tested again and fails. If I test with sdkconfig attached to this comment don't fail. This sdkconfig has the WDT disabled. sdkconfig.txt
Yes, i have tested with sdkconfig you have provided above. Which commit of ESP-IDF have you been testing this with?
This is the comit (git rev-parse HEAD):
c8a43508e5a08737b5e4eb0c1e43a374cb84ddb7
Sorry, I know that this is not suitable for this, but I need email to some one of the esp-idf developers. I think that we are working in an interesting thing and maybe part of our work will be useful for you. Our work have key parts that need FreeRTOS changes ...
Here is my email: jolive@iberoxarxa.com
I think that this issue is related with something wrong with one of our UART interrupt handler, where the following code is running, and intensive spi_flash access (read) is done from another task. When interrupt is processed, then we give panic.
.... .... compute byte calling functions on IRAM .... .... xQueueSendFromISR(q, &byte, &xHigherPriorityTaskWoken); ..... ..... if (xHigherPriorityTaskWoken) { portYIELD_FROM_ISR(); }
I'm trying to set up JTAG. I hope to provide more information about this in the following days.
This issue was caused because we don't crear the interrupt flag on the right place in our UART interrupt handler.
Sorry for the inconvenience.
We are working in SPIFFS. Things go well, using SPIFFS in our Lua RTOS, with file system access from Lua. But some times we received exceptions, and I think that some dead locks running on multicore. It seems that not happens using uni core.
I try to reproduce this in the attached code (tested, I think that flash address are on my flash bounds). In our build we receive this exception:
Sorry, I don't have more information about this, I haven't a JTAG for know more about this ... but something happens with spi_flash function and multicore ....
Sample code: