| With the advent of the information age, the demand for information construction andinformation security keeps increasing, and the smartcard, acting as one of the symbolsof the information age, is used popularly in many sapects, such as financial field.However, chips used in domestic bank cards are mainly produced by foreign ICenterprises, which is not propitious for the economy security and information securityof China. Under these circumstance Beijing Embedded System Key Lab decided todesign our own smartcard chip with proprietary intellectual property rights, aiming atbreaking this monopoly in financial field and safeguarding information security of ourcountry by using chips that designed independently.This thesis has designed a integrated software system used in smartcard, which isbased on BES2416that designed by Beijing Embedded System Key Laboratory. Thecontents of this thesis includes the design of Bootloader Program of smartcard; thedesign of an operating system COS that meets the international standard ofISO/IEC7816and ISO/IEC14443;the achievement of PBOC2.0specificationelectronic wallet/electronic deposit application and a complete program for testing.This thesis according to embedded software design, combined with BES2416chiphardware platform, the C51development language, using KEIL integrateddevelopment tools, software design based on BES2415chip, to improve the systemOptimized Design and Implementation. Combined with the general readers andspecial test platform, writing the reader test program and platform test scripts, test thesystem.Main achievements and innovations include high-speed smart card operating systemdownload design, the bootloader security system, the bootloader auxiliary parameteradjustment design, ROM patch mechanism the COS can upgrade design and anti-plugdesign for FLASH. And based on BES2415chip software design, perfect the the COSPBOC2.0electronic wallet/electronic deposit application.Tests has been done in many aspects including function test, reliability test, securitytest etc. It has been proved that this design has good performances in function andsecurity, and has been ready for the practical applications of BES2416. This work hasgreat value on the design of embedded software system and the development of COSin smartcard. |