Skip to main content
BG1
Associate III
Oct 30, 2021 10:14 PM UTC
Solved

STM32H750VBT6 & CubeMX & IAR

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.
Shirley.Ye
Shirley.YeBest answer
ST Employee
Nov 2, 2021 8:33 AM UTC

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

7 replies

TDK
Oct 31, 2021 12:28 AM UTC

> 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
Oct 31, 2021 7:06 AM UTC

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
Oct 31, 2021 2:36 PM UTC

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
Nov 2, 2021 8:33 AM UTC

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

BG1
BG1Author
Associate III
Nov 2, 2021 6:30 PM UTC

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

BG1
BG1Author
Associate III
Nov 2, 2021 6:00 PM UTC

I will immediately try and inform you about the result