2013-11-04 21:24:39 +00:00
|
|
|
# script for ATMEL sam4l, a CORTEX-M4 chip
|
|
|
|
#
|
|
|
|
|
|
|
|
source [find target/at91sam4XXX.cfg]
|
|
|
|
|
2013-09-19 20:59:09 +00:00
|
|
|
set _FLASHNAME $_CHIPNAME.flash
|
|
|
|
flash bank $_FLASHNAME at91sam4l 0x00000000 0 1 1 $_TARGETNAME
|
|
|
|
|
2014-02-27 20:44:19 +00:00
|
|
|
# if srst is not fitted use VECTRESET to perform a soft reset
|
|
|
|
# this will only reset the core, not the peripherals
|
|
|
|
cortex_m reset_config vectreset
|