Search found 10 matches

by jamesarm97
Thu Feb 16, 2023 2:58 pm
Forum: ESP-IDF
Topic: Host-Based Heap Tracing
Replies: 3
Views: 2286

Re: Host-Based Heap Tracing

Got it. The gdbinit has to have the line:

mon esp sysview start file://xxxx.svdat changed to:

mon esp sysview start file://heap0.svdat file://heap1.svdat (or something similar).

Since there are two cores, it wants a dump file for each.
by jamesarm97
Thu Feb 16, 2023 2:05 pm
Forum: ESP-IDF
Topic: Host-Based Heap Tracing
Replies: 3
Views: 2286

Re: Host-Based Heap Tracing

I am dealing with exactly the same error message now. Nothing in my code continues that is past the heap trace start command.
by jamesarm97
Tue Jan 10, 2023 1:18 am
Forum: Hardware
Topic: ESP32-WROVER-IE-N8R8 programming errors
Replies: 11
Views: 5410

Re: ESP32-WROVER-IE-N8R8 programming errors

Yes, now I understand. If I program the module out of circuit (which I did for testing) and put it in, it will run because normal boot mode (SPI) doesn't care about GPIO2, but anytime you use the programmer / esptool, even to get the chip info, it must always be pulling GPIO0 low which is an undefin...
by jamesarm97
Mon Jan 09, 2023 10:08 pm
Forum: Hardware
Topic: ESP32-WROVER-IE-N8R8 programming errors
Replies: 11
Views: 5410

Re: ESP32-WROVER-IE-N8R8 programming errors

So I unsoldered the ESP32 wrover module and put wires on every pin and put a socket on the board then proceeded to plug in every wire one at a time. With just power, EN, IO0 and RX/TX I was able to get the flash id and it shows 8MB. It appears that IO2 is the culprit. We have a pull-up on IO2 so we ...
by jamesarm97
Fri Jan 06, 2023 4:34 pm
Forum: Hardware
Topic: ESP32-WROVER-IE-N8R8 programming errors
Replies: 11
Views: 5410

Re: ESP32-WROVER-IE-N8R8 programming errors

esptool with trace and no-stub option: /DownTemp/TEST32/test/.pio/build/esp_wrover_kit  esptool.py --chip auto -p /dev/cu.usbserial-00003314B -b 115200 --no-stub -t write_flash --flash_size detect 0 ./firmware.bin esptool.py v3.1 Serial port /dev/cu.usbserial-00003314B Connecting...TRACE +0.000 com...
by jamesarm97
Fri Jan 06, 2023 4:02 pm
Forum: Hardware
Topic: ESP32-WROVER-IE-N8R8 programming errors
Replies: 11
Views: 5410

Re: ESP32-WROVER-IE-N8R8 programming errors

Getting back to trying to figure this issue out. I wrote the fuse to force the VDD_SDIO to 1.8V and that did not fix anything. I finally got back from vacation and have the boot up messages. It tries to boot SPI Flash but I guess that fails and then falls back to UART_BOOT. If I press reset after th...
by jamesarm97
Sat Dec 31, 2022 12:11 am
Forum: Hardware
Topic: ESP32-WROVER-IE-N8R8 programming errors
Replies: 11
Views: 5410

Re: ESP32-WROVER-IE-N8R8 programming errors

I have tried powering from the ESPPROG and through a bench top adjustable / current regulated power supply and it didn't pull more than I had it set for. I have the ESP32-ETHERNET-KIT dev board and it is what this is based on and that board works fine powered from the built in ESPPROG circuit. A hea...
by jamesarm97
Thu Dec 29, 2022 6:22 pm
Forum: Hardware
Topic: ESP32-WROVER-IE-N8R8 programming errors
Replies: 11
Views: 5410

Re: ESP32-WROVER-IE-N8R8 programming errors

Here is schematic, mostly bits taken from the ESP32-ETH-KIT with the phy replaced with a RMII compatible chip.
esp32.png
esp32.png (427.16 KiB) Viewed 4112 times
by jamesarm97
Wed Dec 28, 2022 9:09 pm
Forum: Hardware
Topic: ESP32-WROVER-IE-N8R8 programming errors
Replies: 11
Views: 5410

Re: ESP32-WROVER-IE-N8R8 programming errors

Yeah, I tried that. I measured the resistance on the MTDI pin and It is about 7.4Mohm to ground and to 3.3 so I guess 1.6 would be about right with it pulled half way. That pin goes nowhere else except to the ESPPROG debug header. Debugging doesn't work either. Gives a bunch of weird cpu errors. I m...
by jamesarm97
Tue Dec 27, 2022 6:02 pm
Forum: Hardware
Topic: ESP32-WROVER-IE-N8R8 programming errors
Replies: 11
Views: 5410

ESP32-WROVER-IE-N8R8 programming errors

We have received some of the ESP32-WROVER-IE-N8R8 (8MB Flash and 8MB PSRAM) modules on a new board design and are having issues flashing the modules. The flash_id is coming back as unknown and usually shows 00 or FF and flash size is not known. I have tried overriding them with the flash_mode QIO an...