2019-07-18 04:53 AM
Official board: STM32L496G-Discovery board(MB1261B)
IAR version: 8.32.3.2028
Example code : QSPI_MemoryMapped (location: stm32cube_fw_l4_v1140\STM32Cube_FW_L4_V1.14.0\Projects\32L496GDISCOVERY\Examples\QSPI\QSPI_MemoryMapped)
The demo code run the WRONG result:LED_Orange is on, that means aTxBuffer is NOT same with external flash, but they are same.(It's bug)
Two ways can fix it:
1, Remove "Instruction scheduling " options at C/C++ compiler-> optimizations;
2, Change the "uint16_t index = 0;" to global type;
What the root cause of this BUG?
thanks
Andy
2019-07-18 10:21 PM
Anybody can give some remark?