[SOLVED] SystemView In No OS mode in CCS for Tiva

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] SystemView In No OS mode in CCS for Tiva

    Hi,
    I use Code Composer Studio

    Version: 7.1.0.00016

    MicroController - TM4C129 (Tiva series)

    J-Link Ultra+ - debugger
    I am experimenting with SystemView in No OS mode....
    i am using evaluation module
    DK-TM4C129X

    Now i added SystemView files to the project....But when i try to build the project i encounter error ......

    What is the right way to proceed... How to get systemView work for CCS projects for CortexM4....

    Unresolved symbol OS_GetBASEPRI and OS_SetBASEPRI
    ////******************
    #define SEGGER_RTT_LOCK() { \
    unsigned int LockState; \
    LockState = OS_GetBASEPRI(); \
    OS_SetBASEPRI(SEGGER_RTT_MAX_INTERRUPT_PRIORITY);

    #define SEGGER_RTT_UNLOCK() OS_SetBASEPRI(LockState);
    Images
    • Segger.jpg

      642 kB, 3,564×1,764, viewed 846 times
  • Hi,

    SystemView has only been used with CCS in combination with embOS, therefore the default combination used the embOS locking mechanism.

    Replacing it with a definition like this should work:

    C Source Code

    1. ...
    2. #elif (defined (__TI_ARM_V7M3__) || defined (__TI_ARM_V7M4__))
    3. #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY
    4. #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20)
    5. #endif
    6. #define SEGGER_RTT_LOCK() { \
    7. unsigned int LockState; \
    8. LockState = _set_interrupt_priority(SEGGER_RTT_MAX_INTERRUPT_PRIORITY);
    9. #define SEGGER_RTT_UNLOCK() _set_interrupt_priority(LockState); \
    10. }
    11. #endif
    12. ...
    Display All


    Regards
    Johannes
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.