Hi,
I am debugging STM32F769NI using OZone[ V2.32]. The ELF file was generated by
gcc.
Currently data bit fields other than 32 bits can not be displayed correctly.
For example, in the case of code like the following, it will look like the attached figure.
Is there a way to display the bit field of 8-bit or 16-bit data correctly?
I have confirmed that other debuggers can display correctly.
Display All
Regards
masa
I am debugging STM32F769NI using OZone[ V2.32]. The ELF file was generated by
gcc.
Currently data bit fields other than 32 bits can not be displayed correctly.
For example, in the case of code like the following, it will look like the attached figure.
Is there a way to display the bit field of 8-bit or 16-bit data correctly?
I have confirmed that other debuggers can display correctly.
Source Code
- typedef union {
- uint32_t u32_val ;
- struct {
- uint32_t u4_val0 : 4 ;
- uint32_t u4_val1 : 4 ;
- uint32_t u4_val2 : 4 ;
- uint32_t u4_val3 : 4 ;
- uint32_t u4_val4 : 4 ;
- uint32_t u4_val5 : 4 ;
- uint32_t u4_val6 : 4 ;
- uint32_t u4_val7 : 4 ;
- } item ;
- } uni_u32_test_t ;
- typedef union {
- uint16_t u16_val ;
- struct {
- uint16_t u4_val0 : 4 ;
- uint16_t u4_val1 : 4 ;
- uint16_t u4_val2 : 4 ;
- uint16_t u4_val3 : 4 ;
- } item ;
- } uni_u16_test_t ;
- typedef union {
- uint8_t u8_val ;
- struct {
- uint8_t u4_val0 : 4 ;
- uint8_t u4_val1 : 4 ;
- } item ;
- } uni_u8_test_t ;
- uni_u32_test_t gu32_test = { .u32_val = 0x12345678 };
- uni_u16_test_t gu16_test = { .u16_val = 0x1234 };
- uni_u8_test_t gu8_test = { .u8_val = 0x12 };
Regards
masa