| JTAG port is often used by the simulator for programing the codes into the Flash in theprocess of DSP control system’s testing and debugging, which is very inconvient and maydamage the controller.This paper designed a online programming system based on CAN-bus with thebackground that CAN-bus is being more and more applied on Eletric Vehical (EV). Thissystem can increase the speed and efficiency for developing new products and has a wideapplication value and business prospects. Paper introduced the research works of theCAN-bus based online programming system in five chapters:Chapter one clarified the necessity to develop the CAN-bus based online programmingsystem. As it’s inconvenient in certain conditions to use JTAG port to program, theseproblems practically existed, therefore developing a CAN based online programmingsystem was very necessary.Chapter two introduced the key techniques used in the system, included CAN-bus’scharicacter and construction of the eCAN model in the hardware and Flash ApplicationProgram Interface in the software.In chapter three, overall scheme was designed and hardware devices were chosen onthe base of that. Circuit of the CAN-bus based online programming system was alsodesigned.In chapter four, the software development processes are described, includingbootloader, programming code of Hex file and CAN communication program. By the way,this part highlights the emphasis of online programming system, including the CANinterrupt service routine, copy the Flash API functions to Internal SRAM and CANtransceiver program and program entry point.In chapter five, online programming system experimental hardware is built whichindicates that the hardware and software design are correct by one programming project. |