<Haohmaru>
hm, so when i flash SAMD20, openocd nicely prints flashing speed (KB/sec) and also verification speed
<Haohmaru>
but when i flash SAME51 - no such stats
<gamiee>
Haohmaru : does it use same flash bank driver?
<Haohmaru>
*shrug*
<Haohmaru>
those are different families of chips, cortex-M0+ vs cortex-M4F
urja has quit [Read error: Connection reset by peer]
<Haohmaru>
if that says anything
urja has joined #openocd
<gamiee>
no no, I mean which flash bank driver it uses. It's specified in TCL config. Maybe it uses different drivers, and the second one does not provide moe stats.
<karlp>
that... doesn't sound right, it's not part of the flash driver lyaer at all.
<karlp>
do you have some logs of both?
<gamiee>
karlp: it's likely, although, I am not sure which exact stats Haohmaru means.
<karlp>
no, I mean, neither the at91samd.c or the atsame.c files have speed stuff in them, and why on earth would we want speed calculations done differently for differetn flash targets anyway?
<gamiee>
true
<PaulFertser>
Clearly Haohmaru is doing something weird there ;)
<karlp>
like src/target/target.c uses the common shared duartion_start() stuff in "load image"
<Haohmaru>
i'll reply in a bit (phone-call)
<karlp>
um, it loks like you don't get the stats if it failed to flash? :)