Search found 1027 matches

by ESP_igrr
Wed Jul 18, 2018 7:06 am
Forum: ESP32 IDF
Topic: is sdmmc driver reentrant?
Replies: 3
Views: 101

Re: is sdmmc driver reentrant?

Yes, simultaneous read from the same file from different tasks is possible.
by ESP_igrr
Tue Jul 17, 2018 1:49 pm
Forum: General Discussion
Topic: JTAG Debugging
Replies: 2
Views: 291

Re: JTAG Debugging

bin/openocd -s share/openocd/scripts -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp-wroom-32.cfg Does your Wrover-KIT come with WROOM or WROVER module? If it's WROVER (like most ESP-WROVER-KITs) then you need to specify config file esp32-wrover.cfg. If your WROVER-KIT uses WROOM module, then y...
by ESP_igrr
Tue Jul 17, 2018 7:20 am
Forum: ESP32 IDF
Topic: is sdmmc driver reentrant?
Replies: 3
Views: 101

Re: is sdmmc driver reentrant?

If you are reading files from FAT filesystem via standard C library functions, then you can do so from multiple concurrent tasks. Keep in mind that FATFS library does not support some concurrent operations on same file (reading/writing from one task and deleting it from the other). If you aren't usi...
by ESP_igrr
Tue Jul 10, 2018 1:14 am
Forum: ESP32 IDF
Topic: cjson error handling
Replies: 3
Views: 110

Re: cjson error handling

Based on the call stack, the error does not come from cjson. You may get more precise error indication if you enable GDBStub, but my guess would be that one of cJSON_GetObjectItem calls returns NULL, which you immediately dereference with ->valueint. Try checking the return value before dereferencing.
by ESP_igrr
Sat Jul 07, 2018 5:56 am
Forum: ESP32 IDF
Topic: Cannot use GPIO17 for UART0, UART1, UART2 TX - causes guru mediation errors.
Replies: 2
Views: 106

Re: Cannot use GPIO17 for UART0, UART1, UART2 TX - causes guru mediation errors.

On D2WD, pins GPIO16, GPIO17, SD_CMD, SD_CLK, SD_DATA_0, SD_DATA_1 are used to connect the built-in SPI Flash chip. Using them for some other purpose will interfere with code execution from flash, leading to illegal instruction exception. Also note that D2WD uses a 1.8V flash chip, so all pins in VD...
by ESP_igrr
Wed Jul 04, 2018 10:04 am
Forum: Hardware
Topic: openocd & esp32 Freematics ONE+ on Linux
Replies: 4
Views: 190

Re: openocd & esp32 Freematics ONE+ on Linux

I guess there is no chance of using the onboard adapter to connect to another board, right? If you already have a WROVER-KIT board, you can use it to debug external boards. Disconnect 4JTAG jumpers which go to the onboard WROVER module, and connect external board using cables instead. Depending on ...
by ESP_igrr
Tue Jul 03, 2018 1:15 am
Forum: Hardware
Topic: openocd & esp32 Freematics ONE+ on Linux
Replies: 4
Views: 190

Re: openocd & esp32 Freematics ONE+ on Linux

CP210x is only a USB-UART converter. You need a separate JTAG adapter. FT2232H-based ones are known to work well, for example.
by ESP_igrr
Sat Jun 30, 2018 1:39 pm
Forum: General Discussion
Topic: what will cause reboot issue
Replies: 7
Views: 299

Re: what will cause reboot issue

Alternatively, use espefuse.py to set flash voltage to 3.3V. Then the state of GPIO12 will not matter.
by ESP_igrr
Fri Jun 29, 2018 1:34 pm
Forum: General Discussion
Topic: Does ESP32 erases whole sector while writing a byte to flash
Replies: 3
Views: 179

Re: Does ESP32 erases whole sector while writing a byte to flash

Note that there are some flash chips which contain "software erase" feature, and they do erase one page even if only one byte is written (and therefore allow changing 0 -> 1 without an explicit erase operation). However, at the moment, such flash chips are not used in ESP32 modules produce...

Go to advanced search