sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
nerozero has joined #openocd
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 240 seconds]
keshav has joined #openocd
Steffanx has joined #openocd
indy has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 256 seconds]
Krazubu has joined #openocd
Haohmaru has joined #openocd
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 256 seconds]
HelloShitty has joined #openocd
Krazubu has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
erhankur has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 256 seconds]
erhankur has quit [Quit: Client closed]
erhankur has joined #openocd
erhankur_ has joined #openocd
erhankur has quit [Quit: Client closed]
erhankur_ is now known as erhankur
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 256 seconds]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 240 seconds]
keshav has quit [Quit: Client closed]
Bertl_zZ is now known as Bertl
c4017w_ has joined #openocd
<Bertl>
greetings! I'm having a problem with erasing an STM32L0 (flash) with openocd ...
c4017w__ has quit [Ping timeout: 256 seconds]
<Bertl>
programming the flash with -c "program firmware.bin verify exit" works like a charm, but only programs the flash areas covered by firmware.bin and leaves everything beyond that untouched
<Bertl>
now I've tried to execute -c "stm32l0x mass_erase 0" but that fails in various ways
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
<Bertl>
what am I missing here?
<Bertl>
documentation states that 'program' is a script? where can I look at that script to see how 'program' handles things?
<PaulFertser>
Bertl: src/flash/startup.tcl
<Bertl>
ah, thanks! let me check that ...
<Bertl>
hmm, okay, doesn't help to much though ... seems like it only distributes the task to the respective driver
<karlp>
can you use -d3, and just use normal "-f interface/bvlah.cfg -f target/stm32l0x.cfg" and then telnet localhost 4444, and do "stm32lx mass_erase 0" ?
<karlp>
it certainly sounds weird, especially if you say normal program works.
<Bertl>
karlp: do you need anything else? any ideas what could be the problem here?
tlwoerner_ has quit [Remote host closed the connection]
tlwoerner_ has joined #openocd
jancoow9 has joined #openocd
zjason`` has joined #openocd
Steffann has joined #openocd
c4017w_ has joined #openocd
bencoh_ has joined #openocd
tchebb_ has joined #openocd
c4017w__ has quit [Ping timeout: 245 seconds]
Steffanx has quit [*.net *.split]
zjason` has quit [*.net *.split]
jancoow has quit [*.net *.split]
zmatt has quit [*.net *.split]
tchebb has quit [*.net *.split]
bencoh has quit [*.net *.split]
jancoow9 is now known as jancoow
zmatt has joined #openocd
c4017w_ has quit [Read error: Connection reset by peer]
c4017w_ has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 250 seconds]
<karlp>
Bertl: out of my league sorry, not sure what's going on there.
sud has quit [Quit: Leaving]
<karlp>
why do you need to turn down the speed? that's often a tactica if you aren't getting any response, but you said that programming still works just fine, so speed's unlikely to be an issue.
<Bertl>
I think the main problem for the speed is the way the stm32 is connected (rather long cabling which doesn't do MHz speeds)
<Bertl>
and yes, both the flash erase and the programming works flawlessly at the lower speeds, even works with 600kHz but I went for the 300kHz just to be safe
<Bertl>
the mass_erase seems to contantly fail though when trying to read the flash status register
<Bertl>
*constantly
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
sud has joined #openocd
Hawk777 has joined #openocd
Bertl is now known as Bertl_oO
nerozero has quit [Ping timeout: 240 seconds]
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 260 seconds]
Haohmaru has quit []
<cambrian_invader>
would it be possible to increase the gerrit sign-out time?
<cambrian_invader>
it seems like it's only a couple of hours
<cambrian_invader>
and it usually takes around ~30s to log in via SSO
nerozero 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
c4017w__ has joined #openocd
<PaulFertser>
cambrian_invader: please make a poll on the mailing list
c4017w_ has quit [Ping timeout: 240 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
<cambrian_invader>
PaulFertser: [POLL] in the subject?
<PaulFertser>
cambrian_invader: not necessary, just explain your rationale, your proposal and ask for opinions.
<cambrian_invader>
ok, thanks
nerozero has quit [Ping timeout: 252 seconds]
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 256 seconds]
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 256 seconds]
nadrian has joined #openocd
<erhankur>
How can I handle semihosting events SEMIHOSTING_USER_CMD_0x100 ... SEMIHOSTING_USER_CMD_0x107 inside c function ? As I understand we can register and handle events with tcl scripts. But some events can be handled with c function. like HALT, GDB_DETACH
<erhankur>
gdb server call this -- target_call_event_callbacks(target, TARGET_EVENT_GDB_DETACH);
<erhankur>
where is the registration part?
<erhankur>
I can catch this event even didn't register to it.
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 240 seconds]
Steffann has quit [Quit: Whop whop]
Steffanx has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 272 seconds]
Krazubu has joined #openocd
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 256 seconds]
Krazubu has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
Krazubu has joined #openocd
Krazubu has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]