[ABANDONED] No RTT Control Block found M-7 FreeRTOS 8

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

  • [ABANDONED] No RTT Control Block found M-7 FreeRTOS 8

    Hello,

    I am working on a STM32F756NG (Cortex M-7).
    I am using a J-Link 9.3 probe.
    I applied the FreeRTOSV8.2.3_Core.patch on my FreeRTOS 8.2.3 with FreeRTOSConfig.h with:

    #define INCLUDE_xTaskGetIdleTaskHandle 1
    #define INCLUDE_pxTaskGetStackStart 1

    C Source Code: main.c

    1. #include "SEGGER_SYSVIEW.h"
    2. {
    3. SEGGER_SYSVIEW_Conf();
    4. /* creation of tasks */
    5. }
    Then I launched my application using IAR Workbench 8.10.1.
    My application is running.
    So I launched SEGGER SystemView V2.52c and start recording:
    - Target device: STM32F756NG
    - SWD 2000kHz
    - RTT Auto detection

    But no RTT Control Block found

    I tried to specify the RTT address (0x20000000 0x50000) but it didnt change.

    I debug my application and I found that is never called so I put added after the SEGGER_SYSVIEW_Conf

    C Source Code: main.c

    1. {
    2. SEGGER_SYSVIEW_Conf();
    3. SEGGER_SYSVIEW_Start();
    4. /* creation os tasks */
    5. }
    My application is running.
    So I launched SEGGER SystemView V2.52c with same prameters as before.
    But no RTT Control Block found
    I start recording a second time and I observed few traces: see picture

    Note that application is still running.

    What can I do to observe all the traces ?

    Thanks
    Images
    • FewTraces.png

      37.93 kB, 1,897×932, viewed 1,014 times
  • Hello,

    Thank you for your inquiry.
    Where is the _SEGGER_RTT symbol placed in RAM in your application?
    When using auto detection only the RAM used for the Flashloader will be searched. For this target device the RAM at 0x20010000 is used and has a size of 0x3C000.

    This is not necessarily the complete RAM available on the device.


    For auto detection the control block needs to be placed there. Alternatively you can specify the exact address or a search range in SystemView.


    As Reference our embOS Start Project for the STM32756G-EVAL board can be used: segger.com/downloads/embos/emb…texM_EmbeddedStudio_Trial

    The project can be build using Embedded Studio: segger.com/products/development-tools/embedded-studio/


    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.
  • Hello,

    Thank you for your response.

    This is an extract of my .map file :
    _SEGGER_RTT 0x2003a100 0xa8 Data Gb SEGGER_RTT.o [1]

    So RAM 0x20010000 with size of 0x3C000 contains my RAM

    I specified the exact address (with or without size) but same results.

    Do I need to add "SEGGER_SYSVIEW_Start();" after SEGGER_SYSVIEW_Conf(); ?

    Best regards,

    William
  • Hello William,

    Wamilly wrote:

    So RAM 0x20010000 with size of 0x3C000 contains my RAM
    Correct. It sounds very strange that it would not work then.
    Does using the reference project work in comparison?
    Could you provide an example project for reproduction on a STM32F7 eval board?


    Wamilly wrote:

    Do I need to add "SEGGER_SYSVIEW_Start();" after SEGGER_SYSVIEW_Conf(); ?
    Only Conf is required. Start will be called automatically by SystemView once a connection is established.

    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.