Skip to main content
Visitor II
October 1, 2003
Question

ST20 Debugger Question

  • October 1, 2003
  • 3 replies
  • 896 views
Posted on October 01, 2003 at 06:57

ST20 Debugger Question

    This topic has been closed for replies.

    3 replies

    Visitor II
    September 18, 2003
    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?
    Visitor II
    September 22, 2003
    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

    Visitor II
    October 1, 2003
    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.