The utility model discloses a program burner of STM32 controller, which includes power supply module, control module, detection module and delay module; power supply module, which is used to supply power for program burner and target STM32 controller; control module, which is used to switch the power of STM32 controller into burning mode or user program operation mode; detection module, which is used to automatically detect whether connected to STM3 or not. 2. Controller, and start the delay module to start the delay; the delay module, which is started by the detection module, starts the control module to perform the corresponding operation after the time arrives. The program burner of the utility model automatically enters the burning mode after connecting the STM32 controller, and automatically enters the user program operation mode after the burning is completed. It is simple, convenient and reliable to use.
【技术实现步骤摘要】
一种STM32控制器的程序烧录器
本技术涉及电子
,特别是一种STM32控制器的程序烧录器。
技术介绍
厂商提供STM32控制器多种程序烧录方式:JTAG、SWD、ISP。其中ISP方式不需要特定的烧录设备,仅RS232串口即可实现,简单方便实施而被广泛使用。通过将控制器的BOOT0管脚设定为高电平,通电后运行厂商提供的BootLoader程序,通过串口接收用户程序,并烧录到芯片内的FLASH;通过将BOOT0管脚配置为低电平,通电后运行用户程序。一般的做法是用两个物理开关分别控制BOOT0和电源,用不同的先后顺序打开两个开关,选择进入烧录模式还是运行用户程序模式,这个过程需要人工控制,效率不高,不熟练的用户可能需要多次才能成功。
技术实现思路
本技术的目的在于提供一种STM32控制器的程序烧录器,在于解决
技术介绍
中提到的需要人工控制烧录过程,效率低,易出错的问题。本技术的目的通过如下技术方案实现。一种STM32控制器的程序烧录器,一种STM32控制器的程序烧录器,其包括电源模块、控制模块、检测模块和延时模块;电源模块,用于为程序烧录器和目标STM32控制器供电;控 ...
【技术保护点】
1.一种STM32控制器的程序烧录器,其特征在于包括电源模块、控制模块、检测模块和延时模块;电源模块,用于为程序烧录器和目标STM32控制器供电;控制模块,用于切换STM32控制器上电进入烧录模式或用户程序运行模式;检测模块,用于自动检测是否连接到STM32控制器,并启动延时模块开始延时;延时模块,由检测模块启动,在计时到达后启动控制模块。
【技术特征摘要】
1.一种STM32控制器的程序烧录器,其特征在于包括电源模块、控制模块、检测模块和延时模块;电源模块,用于为程序烧录器和目标STM32控制器供电;控制模块,用于切换STM32控制器上电进入烧录模式或用户程序运行模式;检测模块,用于自动检测是否连接到STM32控制器,并启动延时模块开始延时;延时模块,由检测模块启动,在计时到达后启动控制模块。2.根据权利要求1所述的一种STM32控制器的程序烧录器,其特征在于控制模块采用三极管或者场效应管。...
【专利技术属性】
技术研发人员:郑锡俊,徐响林,
申请(专利权)人:广州市钛码电子科技有限公司,
类型:新型
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。