Well, this is really for Cortex-M0. I using uVision 5 and JLink to trouble shoot. When I try to view the value of some variables, I got cannot evaluate. All of the variables are global and they are defined like this:
typedef struct { __IO uint16_t DATA[16]; } CH4_DATA_TypeDef; #define P9235_RAM_BASE (0x20000000UL) #define CH4_DATA_BASE (M0_RAM_BASE + 0x06C0) //32 byte max #define ADC_DATA ((CH4_DATA_TypeDef *) CH4_DATA_BASE )
Does any one know why I can not view the value of DATA[16] by just put it in waatch window?
Thanks.
View all questions in Keil forum