Secure microcontroller with enhanced security with 4 Kbytes