⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 design

📁 开发源代码的CPU卡的COS源程序。
💻
字号:
/jayacard/proto/hal/template/design===============================================================================To start a new port to a new hardware platform, copy these files and implementthe required documented content.You can also start from a similar already ported platform accessible on the CVStree.===============================================================================special note on HAL initialisation----------------------------------startup.c or startup.asm is the main RESET entry point. This file must be placedin the proto/cos/<platform> sub-folder.__hal_init() function in halinit.c file is the main HAL entry point forinitialization. This file must be placed in the proto/hal/<platform>sub-folder.The initialisation is a 4 parts process :. startup at the RESET vector. Initialize (typically in assembler except for  the simulator) a lot of low-level stuff such as :	. encipher memory data	. erase memory data	. auto-detect kind of reset (warm/cold) and update *rr_raison*	. setup a stack !. then auto-detect the communication interface in use, updating *if_type*. then call cos_init() function (which will indirectly call __hal_init()). finally call the __bios_tcl_main() function to enter T=CL FSM or the  cos_main() function for the command dispatcher, based on the current  communication interface in use.===============================================================================

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -