Keil Logo

Not able to see variables in memory window

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Author
ramakrishna rachumallu
Posted
6-Feb-2019 04:40 GMT
Toolset
None
New! Not able to see variables in memory window

Hi, I am new to Keil software. I am using STM32F4O7 discovery board. I want to run my code and then get variable values from the memory window so that I can plot in Matlab. For this, first, I want to run a few examples which are already present. So I took one example from module-13 and then build it and then downloaded it onto the hardware. Then I started the debugging session. Then I ran the code and stopped it in between. I am not able to see any variables in the memory window, watch window.

Can I open the file from any location initially or should I save it some folders? Is this execution flow correct? Is there any good material for beginners readily available on the internet?

Author
Westonsupermare Pier
Posted
6-Feb-2019 16:52 GMT
Toolset
None
New! RE: Not able to see variables in memory window

>>Is there any good material for beginners readily available on the internet?
What does Mr Google say? There's probably videos too, they'd be on YouTube, and training seminars.

>>So I took one example from module-13..
Citation, what module from where?

Author
Kevin From Support
Posted
6-Feb-2019 18:51 GMT
Toolset
None
New! RE: Not able to see variables in memory window

There are CMSIS-PACK examples for the STM32F407 family

Open the Pack installer, C:\Keil_v5\uv4\PackInstaller.exe

- On the top left of the window, Click on the "Boards: tab.
- For "Search", type "STM32F4-" - the list below gets filtered.
- Select the "STM32F4-Discovery" board (entry with a green icon) from the list below – on the right side of the dialog updates with Software Packs relevant to this device
- For "Packs", install the Keil:STM32f4xx_DFP pack (if necessary)
- On the top right of the screen, select the yellow "Examples" tab.
- On the "CMSIS-RTOS Blinky (STM32F4-Discovery)" row, click the "copy" button - a dialog pops up.
- Pick a directory, click both the check boxes, and press OK - a new Keil µVision session opens with the example.
- Build the project, Connect a USB cable to the board and start the debugger

======

See also
- the Getting Started guide at http://www.keil.com/gsg
- Learning page http://www.keil.com/learn
- Creating applications at http://www.keil.com/support/man/docs/uv4/uv4_ca_packinstaller.htm
- Our Lab for the STM32F4 Discovery Board http://www.keil.com/appnotes/docs/apnt_230.asp

- You can watch a video using a simlilar device here: http://www.youtube.com/embed/Qwl3kzpG2ug

Author
ramakrishna rachumallu
Posted
13-Feb-2019 08:30 GMT
Toolset
None
New! RE: Not able to see variables in memory window

Thank you.

Author
Andrew Neil
Posted
13-Feb-2019 10:40 GMT
Toolset
None
New! RE: Is there any good material for beginners readily available on the internet? W

Yes - vast amounts of it!

But, again, this sounds like a school assignment - so your first point of contact should be your teacher, and your course notes, and your course reading list.

Specifically for the STM32, ST themselves have a load of stuff:

http://www.st.com/content/st_com/en/support/learning/stm32-education.html

http://www.st.com/content/st_com/en/support/learning/stm32-education/stm32-step-by-step.html

http://www.st.com/content/st_com/en/support/learning/stm32-education/stm32-moocs.html

http://www.youtube.com/watch?v=GJGZPvzJDXQ

http://www.youtube.com/user/STonlineMedia

And, again, from Keil:

http://www2.keil.com/mdk5/learn

http://www.keil.com/books/

And some general 'C' learning & reference resources:

http://blog.antronics.co.uk/2011/08/08/so-youre-thinking-of-starting-with-c/

Next Thread | Thread List | Previous Thread Start a Thread | Settings

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.