cancel
Showing results for 
Search instead for 
Did you mean: 

STM3Hh523 reading peripheral registers using STM32_Programmer_CLI

KetilO
Associate

Hi,

I am trying to read peripheral registers on the H523 using STM32_Programmer_CLI.

CLI parameters : -c port=SWD -r32 0x42020800 52

Result:

0x42020800 : FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
0x42020810 : FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
0x42020820 : FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
0x42020830 : FFFFFFFF

 

It looks like it only reads the value from 0x42020800 (the first word).

It works fine on the F103 so i am guessing it has to do with the protection on the H523.

The option byte is ED (open).

 

What can I do to make it work?

 

KetilO

2 REPLIES 2
Maryem
ST Employee

Hello @KetilO and welcome to the Community,

 

I have submitted an internal ticket to the concerned team regarding this behavior.

Internal ticket number: 215792 (This is an internal tracking number and is not accessible or usable by customers)

I will let you know once I have an update.

 

Maryem.


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
KetilO
Associate

Hi,

Thanks Maryem

Found a solution. Adding HOTPLUG to the CLI parameters made it works.

CLI parameters : -c port=SWD mode=HOTPLUG -r32 0x42020800 52

Result:

0x42020800 : F7FFFFFF 00000000 08000000 00000000
0x42020810 : 00000000 00000000 00000000 00000000
0x42020820 : 00000000 00000000 00000000 00000000
0x42020830 : 0000FFFF

 

Unfortunatly this revealed another problem. Interrupts are disabled and a reset is needed to enable them again.

This does not happend on the F103 board.

 

KetilO