Skip to main content
megahercas6
Associate III
December 27, 2016
Question

IAR ARM 7.80 Problem

  • December 27, 2016
  • 6 replies
  • 2430 views
Posted on December 27, 2016 at 14:00

Just installed trial version of iar arm and my project is compiling just fine, but then i try to load, it says that selected MCU does not match target device. I triple checked that i have correct MCU selected, but nothing.

But if i select Core M7 ( original device is STM32F756ZG) it compiles good, flashing is also working, but code does not, go into memory address where are no code, just running trough memory, that it.

Any idea why it can happen ?

#iar
This topic has been closed for replies.

6 replies

Seb
ST Employee
December 27, 2016
Posted on December 27, 2016 at 14:29

Try using this tool which supports all genuine STM32:

http://www.st.com/en/embedded-software/stsw-link004.html

 

It may give some clues.

megahercas6
Associate III
December 27, 2016
Posted on December 27, 2016 at 15:29

installed, and it works, but code still can't be loaded from IAR, i need debugger, not just load code into flash.

Paolo ALBERELLI_O
Visitor II
January 3, 2017
Posted on January 03, 2017 at 16:20

Which IAR version are you using ? 7.80 came in two flavors: October 17th 7.80 and December 15th 7.80.3 versions.

Does 7.70 or October's 7.80 work ?

Selecting generic M7 core probably does not match the device memory map.

Maciej Drozd
Associate
December 27, 2016
Posted on December 27, 2016 at 17:06

Guys from IAR are not very serious about their compiler. According to release notes nothing changes between 7.60 and 7.80. I don't use code optimize. And with 7.80 my code is sudden 1kB smaller.

I'm working on with 7.60.1.

I would say only - do not trust them 100%. Also commercial tools are buggy.

frenchmanflat
Visitor II
January 4, 2017
Posted on January 04, 2017 at 23:12

Hallo, confimed problem with IAR ARM 7.80.3 and NUCLEO_F767ZI. No way to make it work. Solution: go back to v. 7.80.1. It works.

David Kallberg
Visitor II
January 5, 2017
Posted on January 05, 2017 at 11:43

A patch will be released to address this issue within the next weeks. If you need urgent help and have a valid Support and Update Agreement, I recommend to contact IAR tech support: 

https://www.iar.com/support/rfta/

 
David Kallberg
Visitor II
January 11, 2017
Posted on January 11, 2017 at 15:46

The patch for 7.80.3 was released yesterday and you can find it here:

http://supp.iar.com/Updates/?product=EWarm

(scroll down to point 5 and click on “Download Update�).