How can i protect M340 based application from unauthorized access.
For M340 there are two system words %SW146-147 that contain the unique SD cards serial number (32bits). If there is no SD card or an unrecognized SD card, the 2 system words are set to 0. This information can be used to protect an application against duplication. The application is able to check the value of serial number and can go to halt (or other convenient action) if it is different from the initial one. Thus, this application cannot run on a different SD card.
With Unity Pro, the application must be read-protected. To do that, uncheck the Upload information in the Project settings.