您的位置:首页 > 其它

VxWorks 学习笔记-Reconfiguring VxWorks

2006-07-01 16:21 253 查看

§ Reconfiguring VxWorks

Application的启动

在函数usrAppInit( )中,启动用户的应用程序。

调用关系:usrRoot( ) --> usrAppInit( )

ROOT_STACK_SIZE定义任务tUsrRoot的堆栈大小

VxWorks Build Targets

vxworks: RAM based VxWorks image, linked to RAM_LOW_ADRS. It is loaded into RAM via some external program such as a bootROM. This is the default development image.

ROMable images contain bootstrap code which copies VxWorks from ROM to RAM, decompressing if necessary. The bootstrap code is target/config/comps/src/romStart.c, which is shared by all ROMable and ROMresident projects.

VxWorks_rom

vxWorks_romCompress

vxWorks_romResident

几种类型的应用

ROMable Images (包含引导代码和vxWorks image)

Compressed ROMable Startup

vxWorks_romResident

vxWorks_romResident image contains start-up code which copies only the VxWorks data segment into RAM at RAM_LOW_ADRS.

“Downloadable” Image + bootrom Program (引导代码和vxWorks image分离)

加载过程的配置参数

RAM中有两个位置用于加载:RAM_LOW_ADRS, RAM_HIGH_ADRS 。通过使用这两个位置,完成引导过程。最终的执行部分要放在: RAM_LOW_ADRS 。

ROM配置参数:ROM_TEXT_ADRS和ROM_SIZE
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: