Hello,
I was able to finally set up debugging environment in linux (i abandoned windows debug for various reasons ) and everything seems working well, but in VSCode i'm not able to peek variables. there is small empty rectangle appearing over variable but no value.
It might be related to the fact that i'm using uarts to run traffic between different devices. I'm using latest openocd built from branch to support multicore. I'm trying to debug core1 that runs networking code.
In both examples i'm trying to peek into different variables like :and in this case (on core0) states is properly visualized as 4 element array, but id is not visible - just small grey square..
in the case of :I'm able to display i , but not the constant GENET_ROUTING_TABLE_SIZE - the same effect.
here uart_adr is again not visible both during and after step.
Am i doing something wrong or maybe it is supposed to be like that ?
Thank you for help.
I was able to finally set up debugging environment in linux (i abandoned windows debug for various reasons ) and everything seems working well, but in VSCode i'm not able to peek variables. there is small empty rectangle appearing over variable but no value.
It might be related to the fact that i'm using uarts to run traffic between different devices. I'm using latest openocd built from branch to support multicore. I'm trying to debug core1 that runs networking code.
In both examples i'm trying to peek into different variables like :
Code:
adc_select_input(states[0].id); in the case of :
Code:
for (uint8_t i = 0; i <= GENET_ROUTING_TABLE_SIZE; i++)Code:
usarts[uartnum].uart_adr = (uart_inst_t *)GENET_UARTS[uartnum];Am i doing something wrong or maybe it is supposed to be like that ?
Thank you for help.
Statistics: Posted by Byte_pl — Sat Feb 10, 2024 9:27 pm — Replies 0 — Views 37