cancel
Showing results for 
Search instead for 
Did you mean: 

ST20 Debugger Question

christiandecker9
Associate
Posted on October 01, 2003 at 06:57

ST20 Debugger Question

3 REPLIES 3
christiandecker9
Associate
Posted on September 18, 2003 at 17:29

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?
parveen
Associate II
Posted on September 22, 2003 at 05:17

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,

praveenG

alain2399
Associate II
Posted on October 01, 2003 at 06:57

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.