we are facing strange problem with different IDE versions.
we developed some code in STM32CUBE IDE 1.6.1, we released the code for production.
production has been running for the last two years.
now we upgraded the STM32CUBE IDE 1.6.1 with STM32CUBE IDE 1.15.1.
We compiled the same code to generate the hex file, during testing this hex file failed in test.
reason for failure is controller stuck in the " continue;" location, 'if(SPI_Read(IMONAddress) != 0x10)' condition always 'TRUE'.
if(SPI_Read(IMONAddress) != 0x10)
{
SPI_Write(IMONAddress, 0x10);
continue;
}
now we downgrade the STM32CUBE IDE 1.15.1 to STM32CUBE IDE 1.6.1.
We compiled the same code to generate the hex file, during testing this hex file PASS in test.
Pls help us to resolve this issue.