repo.or.cz
/
openocd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
jtag/drivers/jlink: Use correct command errors
[openocd.git]
/
tcl
/
target
/
stm8l15xx8.cfg
blob
e354827377026b14c4e38182c03897e0889a99cc
1
# SPDX-License-Identifier: GPL-2.0-or-later
2
3
# Config script for STM8L151x8/STM8L152x8
4
# Supported Devices:
5
# STM8L151C8
6
# STM8L151M8
7
# STM8L151R8
8
# STM8L152C8
9
# STM8L152K8
10
# STM8L152M8
11
# STM8L152R8
12
13
# 4kB RAM
14
# Start 0x0000
15
# End 0x0fff
16
set WORKAREASIZE 4096
17
18
# 64kB Flash
19
set FLASHSTART 0x08000
20
set FLASHEND 0x17fff
21
22
# 2kB EEPROM
23
set EEPROMSTART 0x1000
24
set EEPROMEND 0x17ff
25
26
set OPTIONSTART 0x4800
27
set OPTIONEND 0x48ff
28
29
proc stm8_reset_rop {} {
30
mwb 0x4800 0xaa
31
mwb 0x4800 0xaa
32
reset halt
33
}
34
35
source [find target/stm8l.cfg]