Figure 18: Block diagram showing the hardware needed to use Tiny M2Flash.
Figure 19: Level Converter Schematic Diagram
In order to make the M2 start in the bootstrap loader mode (which is needed to work with Tiny M2Flash), pin 3 of connector YB must be connected to ground at the moment of resetting the digital module (connecting the power to the module makes it reset). It may also stay connected to ground during the whole programming process, if desired. Software The program is composed of two files: One �.exe� and one �.obj� file. The first one contains the MS Windows code that runs in the PC. The second one contains the machine code that runs in the M2 microcontroller. The �.obj� file must be moved/copied to �C:\� (there is where the program looks for it.) The program writes into the flash memory the information