-
Notifications
You must be signed in to change notification settings - Fork 0
/
lpc21xx_flash.script
33 lines (31 loc) · 1.98 KB
/
lpc21xx_flash.script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
###########################################################################
# #
# ESS, Inc. #
# #
# ESS, Inc. CONFIDENTIAL AND PROPRIETARY. This source is the sole #
# property of ESS, Inc. Reproduction or utilization of this source #
# in whole or in part is forbidden without the written consent of #
# ESS, Inc. #
# #
###########################################################################
# #
# (c) Copyright 1997-2009 -- All Rights Reserved #
# #
###########################################################################
# #
# Filename: stm32_flash.script #
# #
# Description: script called from openocd-ftd2xx configuration file #
# that controls the JTAG hardware #
# #
# History: v 1.0 - Initial release #
# #
# v 1.1 - Updated to support openocd svn:1135 or later #
# #
###########################################################################
reset halt
wait halt
flash erase_sector 0 0 21
flash write_image ms.bin
reset run
shutdown