Skip to main content
APrab
Visitor II
Nov 16, 2018 4:48 AM UTC
Question

hi, Error[Ta097]: Cannot call intrinsic function "__nounwind __DSB" from Thumb mode in this architecture

Im getting this error for all Cubemx Generated Software. Even for the nucleo Project. Please help

 Im bulding a project using stm32f105r8t6.

    This topic has been closed for replies.

    3 replies

    waclawek.jan
    Super User
    Nov 16, 2018 7:17 AM UTC

    You probably use some improper compiler settings, ie. you don't have compiler set to compile code for Cortex-M3.

    JW

    VRapa
    Associate II
    Apr 3, 2019 11:56 AM UTC

    Go to Project_settings->Target->Device and added Nordicsemiconductor select any one there and build it... I solved my issue like this

    DAwun.1
    Visitor II
    Oct 21, 2020 9:07 PM UTC

    I had the same issue while running my code on IAR Embedded Workbench for ARM 7.60.2.

    The answer by @VRapa​ worked for me. I followed the instructions (Project --> Options --> General Options --> Target), and under "Device", selected the processor for which the code was written for (in my case, STM32F103VE), and ta-da.

    The code now builds with no errors.