cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L4R9I_EVAL IAR8.2 report error on verify

fema
Associate III
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
4 REPLIES 4
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).

fema
Associate III
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 ?

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
Up vote any posts that you find helpful, it shows what's working..
Posted on January 04, 2018 at 12:18

Again, why don't you ask IAR ?