NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
boru` has joined #openocd
boru has quit [Killed (NickServ (GHOST command used by boru`))]
boru` is now known as boru
tsal has quit [Read error: Connection reset by peer]
tsal has joined #openocd
_whitelogger has joined #openocd
emeb has quit [Quit: Leaving.]
tlwoerner has quit [Ping timeout: 260 seconds]
tlwoerner has joined #openocd
tlwoerner has quit [Client Quit]
tlwoerner has joined #openocd
Guest40 has joined #openocd
<Guest40> Hi guys, Is there a way to change aarch64 system control registers in OpenOCD? 'mrs', 'msr' have removed long time ago..
nerozero has joined #openocd
Hawk777 has quit [Quit: Leaving.]
Haohmaru has joined #openocd
tarekb has joined #openocd
Guest40 is now known as jjack
<tarekb> orelem: do you want me to propose another version of #6569
<PaulFertser> I think it's just unclear when exactly and why that might be needed and why just setting WORKAREASIZE to 0 is not enough.
<tarekb> when you set WORKAREAD to 0, stm32l4_write_block will just fail
<tarekb> and there no other function to perform the flash programming
<tarekb> stm32l4_write_block_without_loader will do the job, if stm32l4_write_block returns ERROR_TARGET_RESOURCE_NOT_AVAILABLE
<PaulFertser> tarekb: I haven't looked deep into this topic but it feels really counter-intuitive for someone who only dealt with older families of stm32.
<tarekb> correct, that's why I have proposed to add more intelligence in the cfg file, to manage this intuitively
<PaulFertser> tarekb: so why can't it use the loader if working area is available and not use it when not, automatically?
<tarekb> I'm cooking a patch to do this switch in the cfg file, so it checks the security state and set the WORKAREA to zero when it should not be accessed
<tarekb> managing this at driver level will solve only the programming issue
<tarekb> so setting workarea size to zero will hint the verify and other functions to not use the target algo version ...
<PaulFertser> tarekb: so his revert is to remove the custom command from the driver. When is that command more useful compared to just setting WORKAREASIZE to zero?
<tarekb> we want to to partially revert this commit, so we remove the command stm33l4x flashloader (enable|disable) but we keep stm32l4_write_block_without_loader to perform the programming when workarea is zero
<tarekb> Ps the function stm32l4_write_block_without_loader was introduced in the same old patch
<PaulFertser> Makes sense
<tarekb> I have updated the #6569
<tarekb> but we are still missing the logic of setting workarea to zero in STM32L5 and STM32U5 cfg files
<tarekb> working on them ;)
klys has quit [Remote host closed the connection]
klys has joined #openocd
tomtastic has quit [Ping timeout: 265 seconds]
tomtastic has joined #openocd
jjack has quit [Quit: Client closed]
elpee has joined #openocd
elpee has quit [Client Quit]
Haohmaru has quit [Ping timeout: 268 seconds]
Haohmaru has joined #openocd
elpee has joined #openocd
<elpee> Hi all, since commit ca9dcc86d7d9f465950a0670a8c7a852ae2ca798 (https://review.openocd.org/c/openocd/+/4036/), we've been noticing some instabilities in firmware loading.
<olerem> elpee: it was mergend back in 2017
<elpee> we're loading our firmware to an stm32l082cz target, but sometime loading the firmware just elicits an "Error finishing flash operation"
<elpee> Indeed we were still on OpenOCD v0.10.0
<olerem> elpee: is it reproducable with latest git version?
<elpee> Yes
<olerem> tarekb: you help is needed ^
<olerem> tarekb: i didn't noticed you wrote to me, spelling issues ;)
<olerem> elpee: you should talk to tarekb, if he is not online right now, then please write to the mailing list
<elpee> I will send him a message, thanks.
<tarekb> olerem: I always write you nick name reversed
<tarekb> writing Oleksij is easier
<tarekb> I haven't noticed the messages I was with Antonio in the phone ;)
<Haohmaru> i hope your phone is at least 1.5x1.5 meters big
<tarekb> hahaha
<tarekb> FTR, in ST fork we are using this change https://review.openocd.org/c/openocd/+/5598 to fix ST32L0 flash issues
<tarekb> and it works like a charm
<tarekb> I will dive into it soon
emeb has joined #openocd
elpee has quit [Quit: Ping timeout (120 seconds)]
elpee has joined #openocd
elpee has quit [Quit: Client closed]
tarekb1 has joined #openocd
tarekb has quit [Read error: Connection reset by peer]
Haohmaru has quit []
tarekb1 has quit [Quit: Leaving.]
nerozero has quit [Ping timeout: 240 seconds]
troth has joined #openocd
troth has left #openocd [#openocd]
borneoa_ has quit [Quit: Connection closed for inactivity]
Steffann is now known as Steffanx
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
PaulFertser has quit [Ping timeout: 260 seconds]
borneoa_ has joined #openocd
PaulFertser has joined #openocd
ElReino has joined #openocd
emeb has quit [Quit: Leaving.]
borneoa_ has quit [Quit: Connection closed for inactivity]
tsal has quit [Ping timeout: 268 seconds]
tsal has joined #openocd