两个RS485的STM32 程序

  • q2_721427
    了解作者
  • 2.6MB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-28 13:08
    上传日期
可以看看,不错的程序,两个可以比较看。。。
RS485.rar
内容介绍
/** @page HiTOP5_STM3210E HiTOP Project Template for STM32F10x High-density devices @verbatim ******************** (C) COPYRIGHT 2010 STMicroelectronics ******************* * @file readme.txt * @author MCD Application Team * @version V3.3.0 * @date 04/16/2010 * @brief This sub-directory contains all the user-modifiable files needed * to create a new project linked with the STM32F10x Standard Peripherals * Library and working with HiTOP software toolchain (version 5.32 and later). ****************************************************************************** * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE * CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. ****************************************************************************** @endverbatim @par Directory contents - Project.htp: A pre-configured project file with the provided library structure that produces an executable image with HiTOP - cstart_thumb2.asm: This file initializes the stack pointer and copy initialized sections from ROM to RAM. - Objects: This mandatory directory contains the executable images. - Settings: This directory contains the linker and script files. - arm_arch.lsl: This file is used to place program code (readonly) in internal FLASH and data (readwrite, Stack and Heap) in internal SRAM. - flash_nor.scr: This file is a HiTOP script allowing the FSMC configuration. It should be executed before programming the NOR flash of the STM32 High-density devices. - link.lnk: This file is the HiTOP linker it invokes the STM32F10x_hd.lsl. - linkextsram.lnk: This file is the HiTOP linker it invokes the STM32F10x_extsram.lsl. - linknor.lnk: This file is the HiTOP linker it invokes the STM32F10xnor.lsl. - reset_appl.scr: This file is a HiTOP script it performs a target reset. - reset_go_main.scr: This file is a HiTOP script and it sets the Program Counter at the "main" instruction. - StartupScript.scr: This file is a HiTOP script and it performs a target reset before loading The executable image. - STM32F10x_extsram.lsl: This file used to place program code (readonly) in internal FLASH and data (readwrite, Stack and Heap) in external SRAM. It contains also the vector table of the STM32 high-density devices. You can customize this file to your need. This file is used only with STM32 High-density devices. - STM32F10x_hd.lsl: This file is used to place program code (readonly) in internal FLASH and data (readwrite, Stack and Heap) in internal SRAM. It contains also the vector table of the STM32 High-Density devices. You can customize this file to your need. - STM32F10xnor.lsl: This file used to place program code (readonly) in external NOR FLASH and data (readwrite, Stack and Heap) in internal SRAM. It contains also the vector table of the STM32 high-density devices. You can customize this file to your need. This file is used only with STM32 High-density devices. @par How to use it ? - Open the HiTOP toolchain. - Browse to open the project.htp - A "Download application" window is displayed, click "cancel". - Rebuild all files: Project->Rebuild all - Load project image : Click "ok" in the "Download application" window. - Run the "RESET_GO_MAIN" script to set the PC at the "main" - Run program: Debug->Go(F5). - When using High-density devices, it is mandatory to reset the target before loading the project into target - It is recommended to run the reset script ( click on TR button in the toolbar menu) after loading the project into target. @note - Low-density Value line devices are STM32F100xx microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes. - Low-density devices are STM32F101xx, STM32F102xx and STM32F103xx microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes. - Medium-density Value line devices are STM32F100xx microcontrollers where the Flash memory density ranges between 64 and 128 Kbytes. - Medium-density devices are STM32F101xx, STM32F102xx and STM32F103xx microcontrollers where the Flash memory density ranges between 64 and 128 Kbytes. - High-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 256 and 512 Kbytes. - XL-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 512 and 1024 Kbytes. - Connectivity line devices are STM32F105xx and STM32F107xx microcontrollers. * <h3><center>&copy; COPYRIGHT 2010 STMicroelectronics</center></h3> */
评论
    相关推荐
    • STM32 程序
      STM32一些自己写过的程序并应用过可以使用的,包括直流电机驱动,温度显示,oled显示,adc实验,PWM输出,定时器中断,全部都写在了main函数中,不过写的有一点乱。(pwm实验可以看我的博客)
    • STM32
      STM32
    • STM32
      STM32 该存储库用于容纳我的学习项目,以便使用STM32开发板进行嵌入式系统编程。
    • stm32 sim 7600
      stm32 ota sim 7600 stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600...
    • STM32
      关于 ...用于存放学习STM32过程中相关的笔记 作者:nekonana 列表 ::: tip该列表为总体列表,包含已更新和待更新项目 有什么新的想法都会开个待更新项目开坑::: STM32开发环境选择 STM32资料库建立
    • stm32 pack
      keil5 中使用的 STM32包 其中包括 STM32F0 STM32F1 STM32F3 STM32L0 STM32L1
    • stm32cubemx
      stm32cubemx st的代码生成器,安装后可以进行图形化的代码生成,项目生成!
    • STM32CubeMX
      ST(意法半导体)公司为方便STM32的使用和学习,以及HAL库的推广,自行研发的可以通过配置,自动生成初始化代码的工具软件
    • STM32 JoyStickMouse
      今天终于把 STM32 的例程 JoyStickMouse 跑起来了,上传一份备忘。 注意要根据 stm32f10x_conf.h 中的注释去掉一些没用到的文件
    • stm32 demo
      stm32demo 内置adc采集 使用oled及串口显示,可以用于小型项目的demo。 及课程设计。