Question
STM32U585 rev W don't work as rev X
Hello,
We have a product that works well with the STM32U585AIIXQ rev X.
In the latest batch, some boards have the STM32U585AIIXQ rev W, and the application no longer works (the power consumption is as expected).
The application starts by transmitting some data over UART/I2C/SPI and refreshing the screen using TouchGFX before stopping.
When the application halts, I can no longer access the MCU using ST-LINK in SWD mode (tested in both DEBUG and HOT PLUG modes).
The application is based on ThreadX and utilizes analog functions, UART, I2C, SPI, DMA, USB, TouchGFX, GPIO, and PWM.
I read the latest errata, but I didn't find anything that could explain the problem.
I checked the electrical parts (power rails and reset) and observed nothing unexpected or unusual.
The MCU is mounted on a dedicated board (all the other boards in the product are working as expected).
When the code is compiled with -O3, it fails, but with -Og it seems to work (for more than a day).
Does anyone at ST have more information about the internal differences within the chip between the two revisions that could explain this?
How is it possible that the SWD bus becomes disconnected when the failure occurs?
I cannot share the code.
Thanks for your help.
