82
28JF-76E
contained in an “.hex” file. This file must conform to the Intel HEX-32 format. The software
does
check whether the
program operation has been successful or not.
1 Installation of “Tiny M2Flash”:
1.1 Place the “.obj” file in “C:\”.
1.2 Place the “.exe” file anywhere.
2 “Tiny M2Flash” usage:
2.1 Choose the serial port number that this instance of the program will use to communicate with the digital module.
2.2 Browse the file system and choose the “.hex” file that contains the information to be written into the flash.
2.3 Tie pin 3 of connector YB at the digital module to ground. Turn on the 3.3 V power supply that feeds the digital
module. This will make it reset.
2.4 Press the “PROGRAM” button once. This will automatically:
2.4.1 Open the serial port.
2.4.2 Send the (machine code) “server” program to the M2 microcontroller. The PC will act as the “client.”
2.4.3 Erase the whole flash chip.
2.4.4 Program the flash with the information contained in the “.hex” file.
2.5 If needed, the button “STOP” can be pressed to stop the execution of that instance of the program in the PC.
However, this will not necessarily interrupt whatever the M2 was doing. It is recommended that the digital module
be resetted after “STOP” has been pressed in the program.
2.6 The program will display the message “OK” or “ERROR,” depending on whether the programming operation has
been successful or not.
2.7 Turn off the power supply.
Figure 20: Screenshot of Tiny M2Flash.
Note: The progress bar starts growing right
after
the flash memory has been erased.
Содержание 28JF-76E
Страница 86: ...86 28JF 76E Notes ...
Страница 87: ...87 28JF 76E Notes ...