NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
avis has quit [Quit: WeeChat 3.5]
nerozero has joined #openocd
nerozero has quit [Ping timeout: 240 seconds]
electricworry has joined #openocd
avis has joined #openocd
<avis> It happens that I do not have enough documentation to properly write the full protocol; page programming also doesn't guarantee the execution of the bitfile on the board itself. Please dismiss the above question, thanks
avis has quit [Client Quit]
nerozero has joined #openocd
stefanct has quit [Quit: quit]
stefanct has joined #openocd
electricworry has quit [Ping timeout: 240 seconds]
MGF_Fabio has joined #openocd
Hawk777 has joined #openocd
Hawk777 has quit [Quit: Leaving.]
dliviu has quit [Ping timeout: 255 seconds]
dliviu has joined #openocd
Haohmaru has joined #openocd
wingsorc has quit [Ping timeout: 246 seconds]
<Fleck> https://pastebin.com/hNE0Ns4V << I have this config, but upload speed seems to be still 2MHz, from this line: Info : clock speed 2000 kHz
<karlp> you're probably hitting this sort of thing: https://review.openocd.org/gitweb?p=openocd.git;a=blob;f=tcl/target/stm32f4x.cfg;h=35d8275b553be1cc602a6668fb9262a9399b31b8;hb=refs/heads/master#l69
<karlp> but you should be getting line 142 as well?
<Fleck> ghmm, ok, added adapter speed line AFTER target, have now: Info : clock speed 4000 kHz
<Fleck> doesn't seem to affect upload speed tho :D
<Fleck> but I guess it's OK
<PaulFertser> Fleck: how are you uploading with what command?
<Fleck> openocd -f openocd_stm32f4xx.cfg -c "program build/project.elf verify reset exit"
<PaulFertser> Hm that's correct, it should be using reset init before actual flashing.
<Fleck> I tried adapter speed 500, same speed as 4000 :D
<PaulFertser> And reset init should give 8000.
<Haohmaru> what debugger is that?
<Fleck> aliexpress J-Link
<Haohmaru> could it just be shrugging on the given value?
<Fleck> but works fast in Ozone
<PaulFertser> Fleck: please pastebin result of running that command you use to flash with -d3 added.
<Fleck> Yes sir, stand by!
<Haohmaru> btw, PaulFertser, when the "program" (e.g. openocd) tells my debugger to switch to <xyz> Hz, i guess i should round down to the closest speed i can do, right?
<Fleck> wow, thats gonna need hosting service to paste :DDD
<Haohmaru> huhuhu
<Fleck> You have exceeded the maximum size of 512 kilobytes per Paste.
<Haohmaru> toss it in a .zip
<Fleck> pastebin knows .zip?
<PaulFertser> Fleck: don't need all of that, just first lines before it starts "flash write_image"
<Fleck> ok
<Haohmaru> ^
<PaulFertser> I mean between 0 and actual flash write_image execution
<PaulFertser> Fleck: line 434 tells it's trying to boost the freq there.
<PaulFertser> So that should work...
<karlp> ozone does some smarter flashing that openocd though, it does a bunch of checks to only flash what's cahnged,
<Fleck> ohh I see
<karlp> speed of interface is unrelated to that.
<PaulFertser> Huh, that's smart.
<karlp> with tweaking workareasize and adapterspeed, on one project here, I could get oocd up to about 100=K/sec, but jlinkgdbserver could still get to 1500K/sec, with same hardware and connections
<karlp> (the out of the box configs for openocd were only ~40K/sec for comparison)
<karlp> here, make your own inferences: https://paste.centos.org/view/13c3393e
<Fleck> thanks
slobodan_ has joined #openocd
Haohmaru has quit [Quit: saionara]
MGF_Fabio has quit [Ping timeout: 268 seconds]
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #openocd
slobodan_ has quit [Read error: Connection reset by peer]
slobodan_ has joined #openocd
slobodan_ has quit [Read error: Connection reset by peer]
<antto> with muchos test points
russ has quit [Read error: Connection reset by peer]
electricworry has joined #openocd
russ has joined #openocd
<borneoa___> Fleck: missing "-c init" before "-c program..." ?
<PaulFertser> borneoa___: but program runs init on its own?
<borneoa___> PaulFertser: you are right. I never noticed that
<PaulFertser> :)
nerozero has quit [Ping timeout: 268 seconds]
Hawk777 has joined #openocd
erhankur has quit [Remote host closed the connection]
slobodan has joined #openocd
erhankur has joined #openocd
joconor has quit [Quit: ZNC 1.8.2 - https://znc.in]
joconor has joined #openocd
slobodan_ has joined #openocd
slobodan__ has joined #openocd
slobodan has quit [Ping timeout: 246 seconds]
slobodan_ has quit [Ping timeout: 255 seconds]
slobodan_ has joined #openocd
slobodan__ has quit [Ping timeout: 268 seconds]
wingsorc has joined #openocd
slobodan_ has quit [Quit: Leaving]
electricworry has quit [Ping timeout: 268 seconds]
cambrian_invader has quit [Ping timeout: 252 seconds]