Learning diary --STM32CubeMX software applications (2020.1.31)

STM32CubeMX definition

STM32CubeMX is ST's original initiative of a code generation tool that can reduce development time and costs. (Equivalent to lazy way approach) STM32CubeMX integrates a comprehensive software platform that supports STM32 MCU development of each series. STM32CubeMX bell is a graphical tool for configuring and initializing c code generator tool can help us through this simple configuration the initial code, we only need to write code that can be important, so developers do not need to focus on the underlying register can greatly shorten the development cycle.

STM32Cube environment ready

STM32Cube software is based on JAVA environment to run, so it is necessary to install the JRE to use, STN32Cube minimum required JRE version 1.7.0_45 recommend using the latest version (although there need to download the JRE, if you can not download during operation can also be downloaded JDK)

The difference between the JDK and JRE

  • JDK is a JAVA development tool set, as the name suggests is what you do with development, including JAVAC, that is java compiler and so on.
  • JRE (java runtime environment), the operating environment is JAVA program. You JAVA program written in compiled JAVAC after the formation of the character line of the file, the JAVA intermediate files, the computer can not read, and this document is to JVM (JAVA virtual machine) used, interpreted by the JVM forming machine language to the computer. And this in the JVM JRE, that is run JAVA programs have JRE to play.
  • So the difference between JRE and JDK is the one for development, one for running, contact JAVA developers is that they are necessary for (unless you like to run java program, then it is sufficient to use JRE).
    The download process of JRE
    <first open JAVA official website: http:. //www.oracle.com/technetwork/java/javase/downloads/index.html
    find the down position as shown in the JAVASE8u241 click download
    Here Insert Picture Description
    Here Insert Picture Description
    and then choose their own versions of the computer to download
    Here Insert Picture Description
    Here Insert Picture Description
    configuration environment variable
    (in fact, do not set the environment variable can, however, set up better, easy to use Java)
    <right-click the computer
    <click properties
    <click advanced system settings
    <click environment variables
    <click New system
    <input as shown in content to (copy and paste variable names, variable values of the selected location JAVA)
    <continue the CLASSPATH new (variable names and values to FIG)
    Here Insert Picture Description
    Here Insert Picture Description
    Here Insert Picture Description
    ](https://img-blog.csdnimg.cn/20200204131413760.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3F1YW5xdWVlbg==,size_16,color_FFFFFF,t_70)
    Here Insert Picture Description
    Here Insert Picture Description
    mounted STM32CubeMX
  • ST https://www.st.com/content/st_com/en.html get from official website
  • ST's official website: tools and software development tools → → Software Development Tools → STM32CubeMX → GETSOFTWARE
  • Before installation should have to be logged in the official website (this time can not agitated, patient should fill out and sign in registration)
  • After the download is complete, follow the prompts to install it step by step.
    Install firmware library package
    under the package in the Repository library package should be preceded by a firmware download STM32CubeMX good use of matching, this firmware library package need to be included in the software package file (This file is their new)
    can be used after the completion of all of the above stepsHere Insert Picture Description

Reference links

https://wenda.so.com/q/1534643299218855?src=140&q=%E9%85%8D%E7%BD%AE%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F
https://wenda.so.com/q/1376009420062600?src=130&q=JDK%E4%B8%8EJRE%E7%9A%84%E5%8C%BA%E5%88%AB
http://www.51hei.com/bbs/dpj-40947-1.html

Published 10 original articles · won praise 0 · Views 310

Guess you like

Origin blog.csdn.net/quanqueen/article/details/104166183