Search found 10 matches

by Baptisto
Sun Sep 04, 2022 3:46 pm
Forum: General Discussion
Topic: SD Card suddenly not connecting
Replies: 0
Views: 677

SD Card suddenly not connecting

Hello. ESP32, IDF-4.3, MMC 4b card. After switch SD card from one device to another, im found, what ESP cant connect with: [0;31mE (60) sdmmc_sd: sdmmc_check_scr: send_scr returned 0xffffffff [0m It works well with another card. So, probmlem in card? But! Card is work with PC easy, without any probl...
by Baptisto
Sat Aug 27, 2022 4:41 am
Forum: General Discussion
Topic: May i disable coredump writing to flash, during the runtime?
Replies: 0
Views: 723

May i disable coredump writing to flash, during the runtime?

Hello. Im check dump partition during startup and write it on SD if it found. But there is a case, when ESP crashes in seconds after boot. It leads to heavy flash wearing. So im have non-volatile module, what ensures what coredumps saves to file only if specific time runs out. It save SD from wearin...
by Baptisto
Thu Nov 12, 2020 8:18 pm
Forum: Hardware
Topic: How to deal with UART2 Tx FIFO "Garbrage after reset" bug.
Replies: 1
Views: 2292

How to deal with UART2 Tx FIFO "Garbrage after reset" bug.

Hello. Im stucket with UART Tx Fifo bug after soft reset. It described here https://github.com/espressif/esp-idf/issues/5274 Im using IDF 4.0 with VisualGDB and cant change to higher version for now. So im trying to make changes in my copy of IDF4.0, using the lastet fixes. But commit, what must fix...
by Baptisto
Thu Nov 12, 2020 7:24 pm
Forum: General Discussion
Topic: Solved. To delete
Replies: 1
Views: 1597

Re:

Solved.

Debuger doesnt know about reset =).
by Baptisto
Thu Nov 12, 2020 7:20 pm
Forum: General Discussion
Topic: Solved. To delete
Replies: 1
Views: 1597

Solved. To delete

Im trying the next code.

Code: Select all

	static uint8_t i = 0;
	volatile uint8_t j = 0;
	if(!i) {
		j++;
		i = 1;
	}
	esp_restart();
Breakpoint on "j" hit once, and never more.
What im doing wrong?
by Baptisto
Wed Jul 15, 2020 8:38 pm
Forum: ESP-IDF
Topic: Does redirected printf-like function called in same task as well as its ESP_LOGx ?
Replies: 0
Views: 1557

Does redirected printf-like function called in same task as well as its ESP_LOGx ?

Hello, the question is in title.
If yes, does it means, what some task may wait before other's task PRINT function ends work and give back semaphore?
Or PRINT function must be reentrant?
by Baptisto
Wed Jun 03, 2020 10:24 am
Forum: General Discussion
Topic: Update firmware form SD card?
Replies: 1
Views: 2407

Update firmware form SD card?

Hello. Does this functionality has implemented in IDF? I cant find any examples or topics on it.
by Baptisto
Tue Jun 02, 2020 6:33 pm
Forum: Hardware
Topic: Using ESP-PROGs second channel as UART with enabled JTAG
Replies: 3
Views: 3562

Re: Using ESP-PROGs second channel as UART with enabled JTAG

Ok the problem was what Interface 1 drivers was not "True" FTDI drivers, but Zadig's USB-CDC, they successfuly work as serial port, but someway's conflicting with WinUSB in interface 0.

After installing FTDI's drivers on interface 1 the problem is gone.
by Baptisto
Tue Jun 02, 2020 5:07 pm
Forum: Hardware
Topic: Using ESP-PROGs second channel as UART with enabled JTAG
Replies: 3
Views: 3562

Re: Using ESP-PROGs second channel as UART with enabled JTAG

Im using MVS + VisualGDB. Wrover devkit seems refers to "esp32 ftdi" Im checked interface/ftdi/esp32_devkitj_v1.cfg and it seems ok (code below). It must use interface 0, but when i try to begin debug - it fails, says what interface 0 has no WinUSB drivers (but it has, interface 1 has not). interfac...
by Baptisto
Tue Jun 02, 2020 1:36 pm
Forum: Hardware
Topic: Using ESP-PROGs second channel as UART with enabled JTAG
Replies: 3
Views: 3562

Using ESP-PROGs second channel as UART with enabled JTAG

Hello. Im trying to use FTDI's B channel as UART simultaneously with JTAG on channel A. On schematic I see no obstacles. But if im install default drivers on B interface, JTAG stops to work with "libusb_claim_interface() failed with LIBUSB_ERROR_NOT_SUPPORTED" Can i workaround this? Or in JTAG mode ...

Go to advanced search