針對嵌入式產(chǎn)品程序更新問題,提出了一種基于IAP技術(shù)的STM32單片機(jī)在線固件升級方案,設(shè)計了STM32單片機(jī)最小系統(tǒng)硬件電路和USB轉(zhuǎn)串口通信電路,并給出了Bootloader程序、APP程序、PC上機(jī)程序的實現(xiàn)流程.實驗結(jié)果表明,該方案具有簡單實用、穩(wěn)定性高、維護(hù)成本低和設(shè)備使用效率高的特點,適用于嵌入式產(chǎn)品升級.For the problem of updating embedded products program,an online firmware upgrade scheme of STM32 single chip microcomputer based on IAP technology is proposed.This scheme not only elaborates the principle of IAP technology in detail but also provides the design of the minimum system hardware circuit of STM32 MCU,the design of USB for serial communication circuit,and the implementation flow of Bootloader program,APP program and PC program.The experiment results show that the scheme is simple,practical and highly stable.In addition,it can be used to actual embedded product upgrading,significantly reducing maintenance costs and improving the efficiency of equipment.
資源較大,分為兩個部分,已全部上傳:第一部分:https://dl.21ic.com/download/arm-429326.html 第二部分:https://dl.21ic.com/download/arm-429325.html 本書介紹了意法半導(dǎo)體(STMicroelectronics,ST)公司的32位基于 ARM Cortex-M3內(nèi)核的STM32單片機(jī)應(yīng)用與實踐。通過“學(xué)中做、做中學(xué)”,即DIY(Do It yourself)和LBD(Learning By Doing)的方式,按照工作導(dǎo)向的思路展開教學(xué)與實踐學(xué)習(xí),循序漸進(jìn)地介紹和構(gòu)建若干典型STM32單片機(jī)應(yīng)用系統(tǒng)的硬件和軟件,以及相關(guān)傳感器電路,將STM32單片機(jī)的外圍引腳特性、內(nèi)部結(jié)構(gòu)原理、片上外設(shè)資源、開發(fā)設(shè)計方法和應(yīng)用軟件編程等知識傳授給學(xué)生,對傳統(tǒng)的教學(xué)方法和教學(xué)體系進(jìn)行創(chuàng)新,力求解決嵌入式系統(tǒng)課程抽象與難學(xué)的問題全書通俗易懂、內(nèi)容豐富,可作為高等本科院校和職業(yè)技術(shù)學(xué)院的計算機(jī)、電子信息、自動化、電力電氣電子技術(shù)及機(jī)電一體化等相關(guān)專業(yè)的“32位高級單片機(jī)原理與應(yīng)用”、“基于 ARM Cortex內(nèi)核的單片機(jī)系統(tǒng)開發(fā)”等課程的教材和教學(xué)參考書,也可以作為工程實訓(xùn)、電子制作與競賽的實踐教材和實驗配套教材,同時還可以供廣大從事自動控制、智能儀器儀表、電力電子、機(jī)電一體化等系統(tǒng)開發(fā)和設(shè)計的工程技術(shù)人員、教師者個人參考自學(xué)使用,并可作為ARM相關(guān)應(yīng)用與培訓(xùn)課程的參考書。
資源較大,分為兩個部分,已全部上傳:第一部分:https://dl.21ic.com/download/arm-429326.html 第二部分:https://dl.21ic.com/download/arm-429325.html 本書介紹了意法半導(dǎo)體(STMicroelectronics,ST)公司的32位基于 ARM Cortex-M3內(nèi)核的STM32單片機(jī)應(yīng)用與實踐。通過“學(xué)中做、做中學(xué)”,即DIY(Do It yourself)和LBD(Learning By Doing)的方式,按照工作導(dǎo)向的思路展開教學(xué)與實踐學(xué)習(xí),循序漸進(jìn)地介紹和構(gòu)建若干典型STM32單片機(jī)應(yīng)用系統(tǒng)的硬件和軟件,以及相關(guān)傳感器電路,將STM32單片機(jī)的外圍引腳特性、內(nèi)部結(jié)構(gòu)原理、片上外設(shè)資源、開發(fā)設(shè)計方法和應(yīng)用軟件編程等知識傳授給學(xué)生,對傳統(tǒng)的教學(xué)方法和教學(xué)體系進(jìn)行創(chuàng)新,力求解決嵌入式系統(tǒng)課程抽象與難學(xué)的問題全書通俗易懂、內(nèi)容豐富,可作為高等本科院校和職業(yè)技術(shù)學(xué)院的計算機(jī)、電子信息、自動化、電力電氣電子技術(shù)及機(jī)電一體化等相關(guān)專業(yè)的“32位高級單片機(jī)原理與應(yīng)用”、“基于 ARM Cortex內(nèi)核的單片機(jī)系統(tǒng)開發(fā)”等課程的教材和教學(xué)參考書,也可以作為工程實訓(xùn)、電子制作與競賽的實踐教材和實驗配套教材,同時還可以供廣大從事自動控制、智能儀器儀表、電力電子、機(jī)電一體化等系統(tǒng)開發(fā)和設(shè)計的工程技術(shù)人員、教師者個人參考自學(xué)使用,并可作為ARM相關(guān)應(yīng)用與培訓(xùn)課程的參考書。
以STM32F103C8T6為核心,設(shè)計了無刷直流電機(jī)控制器硬件電路。電路主要包括IR2310構(gòu)成的PWM驅(qū)動電路、IRF3808構(gòu)成的逆變電路、增量式旋轉(zhuǎn)編碼構(gòu)成的速度反饋電路。控制器具有CAN和RS232通信接口,可與計算機(jī)或PLC構(gòu)成速度或位置伺服系統(tǒng)。利用由xPC目標(biāo)搭建的半實物仿真平臺對PI參數(shù)進(jìn)行整定。測試了控制器的速度伺服響應(yīng)性能,給定速度為2400rpm時,控制器響應(yīng)時間為0.32s。實驗結(jié)果表明,系統(tǒng)工作可靠,穩(wěn)定性好,響應(yīng)速度快,可以滿足上肢康復(fù)機(jī)器人的機(jī)械臂速度控制性能要求。The hardware circuit of Brushless DC motor controller is designed by taking STM32F103C8T6 as the core,which mainly includes PWM driving circuits made up of IR2310,inverter circuit formed by IRF3808,speed feedback circuit composed of incremental rotary encoder and so on.Speed servo control system or position servo control system can be composed of BLDM controller with computer or PLC through CAN communication interface or RS232 serial communication interface.By using the hardware in the loop simulation platform built by xPC target,the PI parameters are set up.The Speed servo response performance of the controller is tested.When the speed is 2 400 rpm,the response time of the controller is 0...