This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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?

Parents
  • 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

Reply
  • 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

Children