Atmel SAM4S-EK2 Atmel ATSAM4S-EK2 ATSAM4S-EK2 Data Sheet

Product codes
ATSAM4S-EK2
Page of 49
SAM4S-EK2 User Guide
6-1
11176A–ATARM–24-Sep-12
Section 6
Troubleshooting
6.1
Self-Test
A software test package is available to implement a functional test for each section of the board. Refer to 
the SAM4S-EK2 page on 
www.atmel.com
.
6.2
Board Recovery
Closing JP3 and powering the board will assert ERASE and clear GPNVM bit 1, and thereby select the 
boot from the ROM by default. The MCU will boot from the internal ROM to enable a SAM-BA connection 
through the UART. Connect the SAM4S-EK2 UART port (J3) to a PC COM port through a RS232 cross-
over cable. 
You can then run the SAM-BA application from that PC to program the internal Flash of the MCU as well 
as the GPNVM bit 1.