<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
<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)