Skip to content

IAR-Compiler und CSpy-Support? #59

Description

@Schloern93

Hello Togehter,

I use the IAR Compiler in IAR Embedded Workbensh 8.5. As controller I used a stm32g491re. FreeRTOS is running on the controller. Debugger is the ST-Link V2.
Unfortunately I can't get the RTOS Views to run. So I wanted to ask if this setup is supported.
Enclosed is an excerpt from my launch.json

[{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "cspy",
            "request": "launch",
            "name": "Application with free rtos",
            "target": "arm",
            "program": "${workspaceFolder}\\CMakeBuild\\DevelopmentUsingIAR\\KlimaK8_Production.hex",
            "driver": "ST-LINK",
            "stopOnEntry": true,
            "workbenchPath": "C:\\Program Files\\IAR Systems\\Embedded Workbench 9.2",
            "driverOptions": [
                "--macro_param=\"MassEraseBeforeFlashing=1",
                "--endian=little",
                "--cpu=Cortex-M4",
                "--drv_vector_table_base=0x08000000",
                "--fpu=VFPv4_SP",
                "-p",
                "C:\\Program Files\\IAR Systems\\Embedded Workbench 9.2\\arm\\config\\debugger\\ST\\STM32G491RE.ddf",
                "--semihosting",
                "--device=STM32G491RE",
                "--drv_interface=SWD",
                "--stlink_reset_strategy=0,0",
                "--drv_swo_clock_setup=170000000,1,2000000",
                "--drv_catch_exceptions=0x000",
                "--drv_debug_ap=0",
                "--rtos=FreeRTOS"
            ],
            "download": {
                "flashLoader": "C:\\Program Files\\IAR Systems\\Embedded Workbench 9.2\\arm\\config\\flashloader\\ST\\FlashSTM32G49xxE.board",
                "deviceMacros": [
                    "C:\\Program Files\\IAR Systems\\Embedded Workbench 9.2\\arm\\config\\debugger\\ST\\STM32G4xx.dmac"
                ]
            },
            "setupMacros": [
                "${workspaceFolder}\\CMakeBuild\\DevelopmentUsingIAR\\KlimaK8_DebugInfo.mac"
            ]
        }
    ]
}]

This ist the error message of the RTOS Views

RTOS Views: Session Name: "Application with free rtos", FreeRTOS detected.
Unable to collect full RTOS information.

Many thanks for your help in advance

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions