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
/
stm8l151x2.cfg
blob
db88c715bac0195d7b72882ef36c8b0fc47defea
1
# SPDX-License-Identifier: GPL-2.0-or-later
2
3
# Config script for STM8L151x2
4
# Supported Devices:
5
# STM8L151C2
6
# STM8L151F2
7
# STM8L151G2
8
# STM8L151K2
9
10
# 1kB RAM
11
# Start 0x0000
12
# End 0x03ff
13
set WORKAREASIZE 1024
14
15
# 4kB Flash
16
set FLASHSTART 0x8000
17
set FLASHEND 0x8fff
18
19
# 256B EEPROM
20
set EEPROMSTART 0x1000
21
set EEPROMEND 0x10ff
22
23
set OPTIONSTART 0x4800
24
set OPTIONEND 0x487f
25
26
proc stm8_reset_rop {} {
27
mwb 0x4800 0xaa
28
mwb 0x4800 0xaa
29
reset halt
30
}
31
32
source [find target/stm8l.cfg]