| Because the Cortex-M kernel is high processing efficiency and ease of use,Cortex-M core MCU has been widely used in automotive electronics,industrial control,intelligent interaction,consumer electronics and low cost microcontroller applications.With the expansion of MCU market share based on Cortex-M ARM kernel,batch programming problem become the first problem to be solved in the electronic products manufacturers who is use the Cortex-M kernel MCU.In the above market background,this thesis research and analysis for the current situation of the market development of the MCU program batch found:small and medium-sized manufacturers can not afford to buy expensive equipment automation programming,also can provide services for batch programming programming also will be limited in amount and cost constraints.At the same time,the existing simple offline programming tools have poor compatibility,and can only be programmed with emulators even if they cannot find an offline programming tool.Therefore,the small and medium-sized manufacturers have a very low demand for a low-cost,and can be compatible with all the Cortex-M kernel microcontroller offline programming tools.So this thesis is to design a high performance to study the working mechanism of Cortex-M kernel and JTAG protocol research as the theoretical basis,off-line programming can support all use the Cortex-M kernel SCM tools.Low cost microcontroller in the study of Spansion company(MB9BF218S)is used and after many proofing experiment,finally using low cost microcontroller platform to design a flash microcontroller to abandon the traditional internal direct programming,using the internal RAM microcontroller programming tool for batch programming programming intermediate medium.Finally,the experimental results show that the batch programming tool has a fast programming speed,and can also be programmed with all the Cortex-M cores.At the same time also can easily add new compatible MCU model,the batch programming tool has good scalability,solves the small and medium-sized production batch collectors burning Cortex-M microcontroller core,and has good practical value and commercial value.Finally,the thesis summarizes and looks forward to the success of the research. |