On embedded microcontrollers such as STM32/ESP/ARM in general is there a deterioration problem in case of high I/O on the external flash?
i'm talking about the famous 4Mb/8Mb/16Mb QSPI flash where generally the codes resides as well.
Say that each 30 seconds i'm going to write an int for example and i do that for all the day long, will the flash die sooner or later?
In this case what is the best HW for embedded system that is capable of withstand high IO? What are the workarounds?
Yes, as the commenters have commented, it will fail eventually. Look in the datasheet for a specification typically called "Endurance". Common on-chip NAND flash endurance limits range from 10,000 writes to 100,000 writes, sometimes even higher, but the only numbers that matter are those in your specific part's datasheet. Once you know the endurance, you can come up with a design that predicts a reasonable lifetime based on write size, frequency, possible compression, RAM caching, etc.