cancel
Showing results for 
Search instead for 
Did you mean: 

How to read register from STM32 ??

adarsh
Associate II
Posted on March 20, 2015 at 12:14

Hi  Dear Friends,

I'm new to this STM32 so kindly help me to know, How can  I read STM32 Registers ?

I need to see the Register data in my desktop, so I need to make use of any software like putty or GTKterm kind of things ??

Please help me regarding the same,

Thank you all in advance..
2 REPLIES 2
AvaTar
Lead
Posted on March 20, 2015 at 13:26

Use a debugger, and connect to yout target MCU.

I need to see the Register data in my desktop, so I need to make use of any software like putty or GTKterm kind of things ??

 

That would require the explicit cooperation of code running on the target.

Posted on March 20, 2015 at 14:10

With appropriate semi-hosting

printf(''%08X\n'', SPI1->SR);

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..