This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

this is a test

couldn't set the post, so do a test

Parents
  • 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.

Reply
  • 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.

Children
No data