We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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?
>>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?
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: www.youtube.com/.../Qwl3kzpG2ug
Thank you.
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:
www.st.com/.../stm32-education.html
www.st.com/.../stm32-step-by-step.html
www.st.com/.../stm32-moocs.html
" href= "http://www.youtube.com/user/STonlineMedia">www.youtube.com/.../STonlineMedia
And, again, from Keil:
www2.keil.com/.../learn
http://www.keil.com/books/
And some general 'C' learning & reference resources:
blog.antronics.co.uk/.../