2018-01-04 12:31 AM
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-error2018-01-04 12:50 AM
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).
2018-01-04 01:48 AM
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 ?
2018-01-04 03:25 AM
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.
2018-01-04 04:18 AM
Again, why don't you ask IAR ?