couldn't set the post, so do a test
Ok, let's see if I can post this.
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]?
Thanks.