![Matrix EB185 Manual Download Page 6](http://html1.mh-extra.com/html/matrix/eb185/eb185_manual_1740818006.webp)
6
Copyright © Matrix Technology Solutions Ltd.
Re-flashing the ARM board
1. When to re-flash
Re-flashing is only required if the Matrix ARM OS has been
deleted or overwritten, or if an updated Matrix OS file has
been released. Re-flashing should only be carried out
when specifically required as errors and complications
may cause the ARM board to stop functioning until
properly re-flashed.
In our experience the device can need re-flashing if you
reset the ARM half way through a programming cycle
– to prevent this please ensure that you give the PC
sufficient time to download
your program. The symptoms
here are that the ARM board
appears to be dead and a PROG
button with RESET button
activation does not work, and
neither does a power up PROG
button activation work.
General programming is performed without requiring
re-flashing. Please refer to the mLoader documentation
for general programming instructions.
If the ARM is a new device it may require the default ARM
drivers. These drivers are installed by SAM-BA. Please
install SAM-BA before installing the USB drivers for the
ARM board.
2. Required items:
•
SAM-BA ARM re-flash software. Available on ELSAM
2.0 or later and from ATMEL (
www.atmel.com
).
•
Re-flash programs (ARM_MM.bin and test.bin)
3. Set-up
The ARM board requires re-flashing to put the Matrix
ARM OS onto the ARM board.
1. Re-flashing can be done with USB power only.
2. Check J16 power selector set to USB.
3. Check J18 programming jumper set to USB.
4. Check J15 TST jumper set to Default.
5. Plug the board into the PC and turn the power
switch SW1 to ON.
6. Check that the Green Power LED is lit.
4. Re-flashing process
1. Place the TST jumper (J15) to test position - i.e.
the bottom pins, straddling the Default box
border. Leave for at least 8-10 seconds.
2. Move SW1 to OFF and replace the TST jumper to
the Default position.
3. Move SW1 to ON.
4. Open SAM-BA.
5. Find the USB board in SAM-BA. Select -
AT91SAM7S128-EK and click on USB connection.
A programming dialogue should not appear.
6. In the middle of the dialogue are the Browse
button (1) to locate files, the memory address
location (2), and the Send button.
1
2
3
7. Send the test file:
•
Browse to (1) and open file test.bin in the
‘C:\ program files \ Matrix Technology Solutions \
mLoader \ Reflasher files’
folder.
•
Set the memory location (2) to 0x100000.
•
Send the file.
•
Select OK to any Unlock zone / regions messages.
8. Send the main file:
•
Browse to (1) and open file ARM-MM.bin in the
‘C:\ program files \ Matrix Technology Solutions \
mLoader \ Reflasher files’
folder.
•
Set the memory location (2) to 0x119000.
•
Send the file
•
Select OK to any Unlock zone messages.
9. Move SW1 to OFF.
10. Add LED boards.
11. Move SW1 to ON.
12. The LEDs should now be showing alternate pairs
creating a 1-0-1-0 to 0-1-0-1 pattern.
The ARM board should now be ready for testing.