Skip to main content
BG1
Associate III
October 30, 2021
Solved

STM32H750VBT6 & CubeMX & IAR

  • October 30, 2021
  • 3 replies
  • 3144 views

Hi everyone ;

I am having a strange issue with IAR . I configured the mcu via cubemx and generated it then I build all the files but I got the errors in the attached files when I try to download the code into the MCU . But I don't get any issuse with the exact same configurations with KEIL . Where do I go wrong ? Any comment and approach would be appreciated so much .

This topic has been closed for replies.
Best answer by Shirley.Ye

Seems issue within the IAR and flash loader. Have you tried the latest IAR v8.5 ?

3 replies

TDK
Super User
October 31, 2021

> I configured the mcu via cubemx and generated it then I build all the files but I got the errors in the attached files when I try to download the code into the MCU . 

It looks like your main.c file is missing a signification portion of the code that should be in there. For example, a code to HAL_Init is missing. You really didn't modify it? Can you include your IOC file?

"If you feel a post has answered your question, please click ""Accept as Solution""."
BG1
BG1Author
Associate III
October 31, 2021

I don’t wanna use hal driver so I deleted the hal files and it compiles succesfully and it works with keil , but it gives this error with IAR

TDK
Super User
October 31, 2021

Not real sure, looks to be an IAR issue. Ensure ST-Link connectivity works with STM32CubeProgrammer. Maybe try running it before modifying any code.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Shirley.Ye
Shirley.YeBest answer
ST Employee
November 2, 2021

Seems issue within the IAR and flash loader. Have you tried the latest IAR v8.5 ?

BG1
BG1Author
Associate III
November 2, 2021

Yes It worked , I downloaded the latest version of IAR with kickstart edition it worked great ! Thanks !

BG1
BG1Author
Associate III
November 2, 2021

I will immediately try and inform you about the result