[SOLVED] SYSVIEW_RAM_BASE define

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

  • [SOLVED] SYSVIEW_RAM_BASE define

    Hi!
    Can you explain what does that #define means? In the most cases it's 0x20000000 even on Kinetis where RAM starts before this address. What's the correct value?

    Thanks
  • Hello Mykhaylo,

    Thank you for your inquiry.
    From the SystemView manual:

    SEGGER_SYSVIEW_ID_BASE is subtracted from a pointer to get its ID. It can be set to
    subtract the base RAM address from pointers, which still results in unique, but smaller IDs.
    For example if the RAM range is 0x20000000 to 0x20001000 it is recommended to define
    SEGGER_SYSVIEW_ID_BASE as 0x20000000 , which results in the pointer 0x20000100 to have
    the ID 0x100 and requires two instead of four bits to store it.


    Best regards,
    Nino
    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.