Will do.it does sound like a bug, probably worth opening an SDK issue...
I've tried that, but the core1 frame appears to pointing to NULL at that point:nevertheless, curious what core 1 is stuck on; can you print a stack trace from debugger?
Code:
(gdb) info threads Id Target Id Frame * 1 Thread 1 (Name: rp2040.core0, state: debug-request) 0x100192f4 in prvIdleTask (pvParameters=<optimized out>) at /home/geoff/Develop/pico/picow-http-example/lib/FreeRTOS-Kernel/tasks.c:5797 2 Thread 2 (Name: rp2040.core1, state: debug-request) 0x00000000 in ?? ()
The at-time worker runs on core1, and after the ISR has stopped I can see that the at-time worker is still functional. So it doesn't appear that core1 is fully crippled.
I have evidence suggesting that the ISR stops running around the time networking has connected to the AP and reached the linkup state. The ISR now saves a timestamp instead of running up a counter, so we can see when it ran last:
Code:
static void__time_critical_func(temp_isr)(void){uint16_t val = adc_fifo_get();critical_section_enter_blocking(&temp_critsec);temp_adc_raw = val;critical_section_exit(&temp_critsec);//adc_runs++;last_isr_t = get_absolute_time();}
Code:
t=6929468[...]get_temp raw=862 last_isr_t=6928685
Statistics: Posted by slimhazard — Fri Jun 28, 2024 3:43 am