erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Hawk777 has quit [Quit: Leaving.]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Haohmaru has joined #openocd
michalkotyla has joined #openocd
Bugies has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur_ has joined #openocd
erhankur has quit [Ping timeout: 248 seconds]
Bugies has quit [Ping timeout: 248 seconds]
erhankur_ has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur_ has joined #openocd
erhankur has quit [Read error: Connection reset by peer]
erhankur_ has quit [Read error: Connection reset by peer]
erhankur has joined #openocd
barath has joined #openocd
Guest55 has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Guest55 has quit [Quit: Client closed]
jmp0 has quit [Remote host closed the connection]
jmp0 has joined #openocd
akaWolf has quit [Ping timeout: 248 seconds]
akaWolf has joined #openocd
Bugies has joined #openocd
merethan has joined #openocd
<merethan>
Hi all
<PaulFertser>
Hi
<merethan>
I'm flashing my STM32L082CZ using openocd -f interface/stlink.cfg -f target/stm32l0.cfg and fail to program the second flash bank. For some reason ST decided to have 192kb program flash in two banks. Openocd does report (detect/probes) there being two banks but flash erase_sector 2 16 31 fails because flash bank 1 does not exist.
<merethan>
Flashing my program (whichis over 96kb in size) a;so fails.
<merethan>
Both banks are continuous in the memory space though.
<merethan>
Is this a bug, lacking feature or am I doing dumb shit?
<PaulFertser>
merethan: if you're running current master already I'd check gerrit for message:STM32L08 , there might be a patch pending there.
<PaulFertser>
merethan: most probably a lacking feature.
<merethan>
I have Open On-Chip Debugger 0.11.0-rc2 btw, because that's what comes with Debian.
<PaulFertser>
merethan: building from sources is usually easy.
<PaulFertser>
Or probably just define the second bank in config, I have no idea really.
<PaulFertser>
OpenOCD is rather simple in the part that handles flash.
<PaulFertser>
merethan: also, several people from ST contribute directly so you can probably expect a bug report (if you file one) to be handled by them.
<merethan>
Yeah I'll figure it out. Thing is this issue comes in while having other priorities.
<merethan>
Ah, that's handy
<PaulFertser>
You can consider flashing via bootloader and debugging via SWD.
<PaulFertser>
For the time being.
<merethan>
You mean I should open a bug at openocd or send on to ST Paul?
<PaulFertser>
At openocd.
<merethan>
Will do
<merethan>
I have no bootloader btw, because I nuked all the flash :P
<merethan>
Although I did pick up on something embedded from the factory in the manual. But so far I assumed that to be just something somewhere at the start/end of flash.