Hello guys.
I am studying the Cortex-M3 technical reference manual.
I have some doubts:- What is the function of each of the 13 general purpose 32-bit registers, R0 to R12?- What does Link Register (LR) do?- What is the function of the xPSR register?- What does the DebugReturnAdress() register do?- What is the function of CONTROL, FAULTMASK, BASEPRI, PRIMASK of register 5b10100?
Thank you in advance!
Okay I started a new discussion. Follow the link: https://community.arm.com/developer/ip-products/processors/f/cortex-m-forum/46748/cortex-m3-registers
That's a new question - start a new thread!
Please stick to 1 question per thread.
Perhaps you should study this: http://www2.keil.com/mdk5/learn
also: http://www.keil.com/support/man/docs/mdk_gs/
and: http://www.keil.com/support/man/docs/uv4/
and: http://www.keil.com/books/
Thank you very much for the support, clarified many of my doubts.
In the memento I loaded a binary (firmware) in RAM via SWD and I would like to run it, however, I don't know how to do it. My question is not related to the SWD protocol and how to access the Cortex-M3 registers. My question is related to what steps should I follow to execute this binary that is in RAM.
Is there any step-by-step manipulation of the Cortex-M3 registers to execute this firmware present in RAM?
Thank you very much and I look forward to your reply.
See here: https://www.egr.msu.edu/classes/ece331/mason/web_files/ARM_CortexM3.pdf/quickpayportal
Well, of course it's not necessary - but it will be extrmemely useful!
It will be money well spent.
It depends if you'd rather spend your time googling and studying the ARM documentation...
This book is cheap and every penny worth if you work with cortex-m
Hi Andy, thank you very much for the reply.
I would like to know if it is really necessary to buy this document, and if I make the purchase and cannot find the answer I am looking for?
Thanks in advance!
Try this:
https://www.elsevier.com/books/the-definitive-guide-to-the-arm-cortex-m3/yiu/978-1-85617-963-8
Fabiano Junqueira said:What is the function of each of the 13 general purpose 32-bit registers
The clue is in the name!
View all questions in Cortex-M / M-Profile forum