Skip to main content
fema
Associate III
Jan 4, 2018 8:31 AM UTC
Question

STM32L4R9I_EVAL IAR8.2 report error on verify

Posted on January 04, 2018 at 09:31

Use IAR 8.2 to open the projects STM32L4R9I_EVAL\Applications\USB_Device\MSC_Standalone

Down and debug then IAR show warning on verify error .

If i use the ST-Link Utility to erase chip and then download then

 it work .

How come ?

Thanks 

#stm32l49rl-eval-iar-8.2-verify-error
This topic has been closed for replies.

4 replies

Andrew Neil
Super User
Jan 4, 2018 8:50 AM UTC
Posted on January 04, 2018 at 09:50

Surely, that is a question for IAR ?

The fact that it works with 

ST-Link Utility

 shows that it is nothing to do with the ST bits (the chip itself, ST-Link, etc).

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
fema
femaAuthor
Associate III
Jan 4, 2018 9:48 AM UTC
Posted on January 04, 2018 at 10:48

I program and verify the USBD_MSC.bin use the ST-link and it work .

The IAR 8.2 verify error at the address 0x08002000 .

Dump the data at the address 0x08002000 is 0xFFFFFFFF , looks like IAR 8.2 just erased and did not program .

If IAR 8.2 had problem but why erase chip before use IAR8.2 will work at the first time.

Does anyone use the IAR 8.2 with the STM32L4 without problem ?

Andrew Neil
Super User
Jan 4, 2018 12:18 PM UTC
Posted on January 04, 2018 at 12:18

Again, why don't you ask IAR ?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Tesla DeLorean
Guru
Jan 4, 2018 11:25 AM UTC
Posted on January 04, 2018 at 12:25

In Keil I had to select dual bank mode for the flash algorithm for the L4R9-DISCO to program, with the default settings I saw verify errors.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..