Apparatus and methods are presented for protecting data in microcontrollers from both malicious software processes running inside the device as well as from unauthorized attempts to read the data from an external data bus andor external memory. The switch includes a processor, local memory and a plurality of non-transparent bridges. The saw may include a system to detect brake-to-blade spacing.