研讨会 如何创建一个静态系统.ppt
文本预览下载声明
DSP/BIOS 1 DSP/BIOS System Integration Workshop Objectives Static System Considerations Static System Concepts Static System Configuration Management GCONF TCONF – Which One to Use? Static System Considerations Defining Memory Segments TCONF Memory Segment Setup Static System Considerations DSP System Stack Managing Stack Size via GCONF, TCONF Static System Considerations C Program Sections Routing C Sections via GCONF Routing C Sections via=TCONF Static System Considerations BIOS Sections Routing BIOS Sections via GCONF Routing BIOS Sections via=TCONF Vector Setup via GCONF Static System Considerations User Defined Sections Use the memory segments created by the Configuration Tool Require a separate linker command file to place sections Place user defined sections using the SECTIONS directive Use CCS “Link Order” capability to link the Config. Tool generated file then the user linker command file Put the user defined linker command file in the project (along with the BIOS command file) Link Order Static System Considerations Files Generated by the Config Tool File Extensions Static System Considerations Post-Build Memory Usage Examination Static System Considerations Startup Sequence Startup Sequence Initialize the DSP and the hardware The software stack pointer, memory wait states, memory configuration registers This is part of the boot.c file that is part of the DSP/BIOS library BIOS_init( ) is called automatically Initializes DSP/BIOS modules main() System initialization that needs to be performed Enable selected interrupts before interrupts are enabled globally Must return to complete the program initialization!!!! BIOS_start( ) is called automatically Start DSP/BIOS Enables interrupts globally Drops into the DSP/BIOS “background loop” Initializes communication with the host for real-time analysis Static System Considerations Lab 9: Static System Static System Considerations interrupt enable bits OFF “other” initialization c_int00() User Init func
显示全部