2003-09-30 09:57 PM
2003-09-18 08:29 AM
My company is developing a GPS system on the old ST20 GP7 processor and we are seeing some issues with the debugger when it comes to displaying variables that are structs with structure members that are bit-fields.
For example: struct { unsigned A : 4 unsigned B : 16 unsigned C : 12 } my_struct ; struct my_struct test ; test.B = 0xbd50 ; When test.B is displayed in the debugger, it does not show the correct value. Has anyone experienced this, and perhaps have found a work around?2003-09-21 08:17 PM
Is the incorrect data is the reverse order of expected data?? I think endianess could be the problem in this case. Bitfields work in ST20toolset.
Hope this helps, praveenG2003-09-30 09:57 PM
This forum is dedicated to ST7.
For any ST20 related question please go to your ST's representative in order to have an efficient support.