cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX, missing device-setting in generated EWARM project

Tadao Tomiyama
Associate III
Posted on July 13, 2016 at 04:05

Hi, I encountered following.

When I set device type as ''ST STM32F401xE'' on EWARM, the project was build successfully.

Is the device type should determined everytime?

with,

  STM32CubeMX Version 4.15.1

  STM32Cube FW_F4 V1.12.0

procedure,

by CubeMX

  File -> NewProject

  Board Selector -> MCU Series -> STM32F4  -> NUCLEO-F401RE

  Nothing change

  Project -> Settings -> Projcet Name:f401_projectname

  Toolchain / IDE -> EWARM

  OK

  Generate Code

  Open Project(IAR Embedded Workbench ofr ARM 7.10.3.6932, with 32KB code size limitation)

  Alt+F7(see option) -> device is set as 'None'.

Sice MPU type is not set, EWARM says as following at comilation.

  Error[Ta097]:Cannot call intrinsic function ''_nounwind _DSB'' from Thumb mode in this architecture

  Error[438]:This instruction is not available in the selected cpu/core

  Error[Ta097]:Cannot call intrinsic function ''_nounwind _RBIT'' from Thumb mode in this architecture

  Error[Ta097]:Cannot call intrinsic function ''_nounwind _CLZ'' from Thumb mode in this architecture

                           .

                           .

                           .

#cubemx
1 ACCEPTED SOLUTION

Accepted Solutions
slimen
Senior
Posted on July 18, 2016 at 17:12

Hi,

I have just installed IAR 7.60.2 and don't face any more the issue. 

So I suggest you to install a new IAR version.

Regards

View solution in original post

3 REPLIES 3
slimen
Senior
Posted on July 13, 2016 at 10:52

Hi,

I have the same problem for ''NUCLEO-F401RE'' device  when I generate my project with EWARM.

Regards

slimen
Senior
Posted on July 18, 2016 at 17:12

Hi,

I have just installed IAR 7.60.2 and don't face any more the issue. 

So I suggest you to install a new IAR version.

Regards

Tadao Tomiyama
Associate III
Posted on July 22, 2016 at 01:29

Hi,

I tried using IAR 7.70.1 today, now OK.

Thank you.

Hi,

I have just installed IAR 7.60.2 and don't face any more the issue. 

So I suggest you to install a new IAR version.

Regards