2013-11-04 15:24:39 -06:00
|
|
|
# script for ATMEL sam4l, a CORTEX-M4 chip
|
|
|
|
#
|
|
|
|
|
|
|
|
source [find target/at91sam4XXX.cfg]
|
|
|
|
|
2013-09-19 15:59:09 -05:00
|
|
|
set _FLASHNAME $_CHIPNAME.flash
|
|
|
|
flash bank $_FLASHNAME at91sam4l 0x00000000 0 1 1 $_TARGETNAME
|
|
|
|
|
2014-02-27 14:44:19 -06: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
|