Search found 31 matches

by RobMeades
Mon Jan 06, 2020 5:27 pm
Forum: ESP32 IDF
Topic: Changing stdout to a pin that is also an RTC pin
Replies: 2
Views: 280

Re: Changing stdout to a pin that is also an RTC pin

FYI, I found no way to make this work in the end so instead I re-directed stdio once I got into main and that worked fine, code below in case anyone else finds it useful. #include "esp_vfs_dev.h" // For redirection of stdio // More header inclusions here #define CONFIG_DEBUG_UART_PORT 0 #define CONF...
by RobMeades
Fri Dec 20, 2019 11:32 am
Forum: ESP32 IDF
Topic: Changing stdout to a pin that is also an RTC pin
Replies: 2
Views: 280

Re: Changing stdout to a pin that is also an RTC pin

Anyone have any ideas on this? I've tried slapping in a: DPORT_CLEAR_PERI_REG_MASK(RTC_IO_TOUCH_PAD6_REG, RTC_IO_TOUCH_PAD6_MUX_SEL_M); ...before the UART is configured in uart_console_configure() inside bootloader_init.c , since that's what rtc_gpio_deinit() would do for GPIO14, but that hasn't hel...
by RobMeades
Tue Dec 17, 2019 5:07 pm
Forum: ESP32 IDF
Topic: Changing stdout to a pin that is also an RTC pin
Replies: 2
Views: 280

Changing stdout to a pin that is also an RTC pin

I need console output to exit through an alternative pin on my board. I know this works physically because I can cheerfully obtain serial output on that pin with a UART driver. However, I cannot get the menuconfig console output redirection to do the same thing: I never get anything out of the pin, ...
by RobMeades
Tue Dec 03, 2019 9:04 am
Forum: ESP32 IDF
Topic: Clutching at straws: guru doesn't like me in uxListRemove() (freertos/list.c: 218)
Replies: 12
Views: 595

Re: Clutching at straws: guru doesn't like me in uxListRemove() (freertos/list.c: 218)

Confirmed: with a vTaskDelay() of 100 ms after the task was deleted on an overnight run of 832 cycles there were no more occurrences of the panic. Just wish I hadn't spent 3 days trying to find a nasty memory-stomp in my code! I guess from a FreeRTOS point of view doing any checking to defend agains...
by RobMeades
Mon Dec 02, 2019 5:40 pm
Forum: ESP32 IDF
Topic: Clutching at straws: guru doesn't like me in uxListRemove() (freertos/list.c: 218)
Replies: 12
Views: 595

Re: Clutching at straws: guru doesn't like me in uxListRemove() (freertos/list.c: 218)

A possible answer (still testing): allow the idle task to run. If I put a vTaskDelay() of 100 ms after deleting my "LED" task then, so far at least, the problem does not occur. Is it possible that FreeRTOS is getting confused when the task is created once more after it has been deleted if FreeRTOS i...
by RobMeades
Mon Dec 02, 2019 2:13 pm
Forum: ESP32 IDF
Topic: Clutching at straws: guru doesn't like me in uxListRemove() (freertos/list.c: 218)
Replies: 12
Views: 595

Re: Clutching at straws: guru doesn't like me in uxListRemove() (freertos/list.c: 218)

OK, I have got my soldering iron out and removed that problem. I've also switched on the FreeRTOS list integrity checking. I can see that the ListItem * passed into uxListRemove has the integrity words on either end of it but that pvContainer in the middle is set to NULL: uxListRemove (pxItemToRemov...
by RobMeades
Sat Nov 30, 2019 8:22 am
Forum: ESP32 IDF
Topic: Clutching at straws: guru doesn't like me in uxListRemove() (freertos/list.c: 218)
Replies: 12
Views: 595

Re: Clutching at straws: guru doesn't like me in uxListRemove() (freertos/list.c: 218)

Yes, it is Windows and with the RTS/CTS reset design. Any workarounds or do I need to get my soldering iron out?
by RobMeades
Fri Nov 29, 2019 6:08 pm
Forum: ESP32 IDF
Topic: Clutching at straws: guru doesn't like me in uxListRemove() (freertos/list.c: 218)
Replies: 12
Views: 595

Re: Clutching at straws: guru doesn't like me in uxListRemove() (freertos/list.c: 218)

Though I can get idf.py monitor to invoke the GDB stub and call GDB, it doesn't stop the target, see below: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled. Core 0 register dump: PC : 0x40093cc2 PS : 0x00060433 A0 : 0x8009297d A1 : 0x3ffc0e20 0x40093cc2: uxListRemove...
by RobMeades
Fri Nov 29, 2019 7:46 am
Forum: ESP32 IDF
Topic: Clutching at straws: guru doesn't like me in uxListRemove() (freertos/list.c: 218)
Replies: 12
Views: 595

Re: Clutching at straws: guru doesn't like me in uxListRemove() (freertos/list.c: 218)

Darn, no, that wasn't it. I will explore further using your hint.
by RobMeades
Fri Nov 29, 2019 7:32 am
Forum: ESP32 IDF
Topic: Clutching at straws: guru doesn't like me in uxListRemove() (freertos/list.c: 218)
Replies: 12
Views: 595

Re: Clutching at straws: guru doesn't like me in uxListRemove() (freertos/list.c: 218)

Hi there, many thanks for the useful hint. I _think_ I've found what it was through code inspection. All my OS thingies are static to avoid any allocation failure issues. I have a driver which creates a mutex with xSemaphoreCreateMutexStatic() , not checking if the returned mutex is NULL since, as t...

Go to advanced search