A project within the EUREKA Penta program to design an extra-low power, secure and reliable flash-memory controller for automotive, industry 4.0 and the internet of things