Stm32 MDK5 software emulation view IO port output

Source: Internet
Author: User

Software MDK5Stm32 's PackOpen MDK, add ProjectFirst, find the Options option for project, where debug is selected as Use Simulator, which is the choice of software emulation.
Then add the IO that you want to watch for analysis, such as porta.0, in the setup option of Logic Analyzer. After you start the simulation you will see a waveform in the Logic Analysis window, adjust zoom in or out to see
① point Open Debug② Add io③ Run second, software simulation, MDK Logic Analyzer when adding current logic analyzer signals display unknown Signal ①. First make sure the input format is correct PXn is the input PORTX.Nx is a,b,c ... ;n is the corresponding PIN numberroutine PA6 corresponding input is porta.6②. Set the Dialog DLL (options inside Choose Debug): Darmstm. DLLs and TARMSTM.DLL, Parameter are:
-PSTM32F103RC for setting up hardware and software simulations that support STM32F103RC (that is, you can observe the simulation results by peripherals Select the corresponding Peripherals dialog box).

Stm32 MDK5 software emulation view IO port output

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.