2018-04-06 10:49 PM
I have to store STM32F767ZI registers values at one line of my application code without halting my program at that line.
As,I am currently trying to use C-Spy for that by using which so far I have managed to store on text file register values but each time code halts at that point as I am doing it using code breakpoint. Can you please share the solution to store GPIO register values on a file without stopping code execution (May be using C spy).Following are the setup details:
IDE: IAR EMBEDDED Workbench
Debug driver: ST-link
Debug tool: C-spy
Storing reg data : Text file or any
Dev Tool : Nucleo F767zi board
Example data Which I have generated using breakpoints:
GPIOA_MODER : A8000001
#c-spy #gpio #nucleo-stm32f7 #swo-debuggingSolved! Go to Solution.
2018-07-06 02:31 AM
I have managed to resolve the issue by putting in an expression the C-Spy Macro.
That will make macro execute during run time to pick register values or any other macro .
2018-04-07 04:30 AM
Why don't you copy the content of this register in an array at this place?
Like:
uint32_t recording[100];
int recidx=0;
...
recording[recidx++] = *((uint32_t *)(0x4002 0000));
2018-04-07 02:43 PM
I have 3 registers to pick values. And need to copy register values to a file. Have registered C-spy macro for that.therefore, arrays may not be suitable.
2018-07-06 02:31 AM
I have managed to resolve the issue by putting in an expression the C-Spy Macro.
That will make macro execute during run time to pick register values or any other macro .