| In the automotive industry,with the rapid development of automotive electronics,automotive electronics products take an increasing proportion of the whole automobile,automotive electronic control has become more complex from hardware to software,the number of electronic control units keeps expanding and the functions of control software keeps increasing.In this situation,automotive embedded systems put higher requirements for MCU’s computing performance and its software systems.Based on the above issues,this article port and modify the TOPPERS/ASP operating system,which is widely used in Japan’s industry,on a heterogeneous multi-core OMAP3530 platform.It makes the ARM core and DSP core work together and achieves a balance between control and computing performance.The main content of this thesis includes:First,this thesis implements the architecture which runs Linux on ARM Cortex-A8 and TOPPERS/ASP which is modified on TMS320C64x DSP with OMAP3530 heterogeneous multi-core chip.In this system,TOPPERS/ASP on DSP is loaded in the specified address by Linux after ARM is running.Secondly,this thesis implements the synchronization and communication mechanism between the ARM core and the DSP core.Specifically,implementing a spin lock mechanism provides exclusive access to shared memory,providing interface for Linux and TOPPERS/ASP’s spin lock mechanism,designing and implementing inter-processor interruption based mechanism providing task synchronization between ARM and DSP.Finally,this thesis designs and implements an application programming and running model and inter-processor task scheduling methods.Dividing the possible tasks wisely.The task runs as application in Linux and compiles with the operating system in TOPPERS/ASP.Adding DSPLinker module in Linux kernel to provide inter-processor task scheduling and transferring data with shared memory.The implement of above work not only provides a good hardware and software platform for automotive embedded systems software development,provides a useful ideas for the relevant developers,but also expands the TOPPERS/ASP’s application fields. |