1 / 11

脉象仪原理及其开发方法

脉象仪原理及其开发方法. 系统设计思想. CCS 开发方法. COFF 文件格式的理解 中断矢量文件的编写 CMD 文件的编写 主文件的编写( C 语言). .global _c_int0,_c_int1,_c_int2 .sect "vectors“ RSVECT B _c_int0 ;PM 0 Reset Vector 1 INT1 B _c_int1 ;PM 2 Int level 1 4 INT2 B _c_int2 ;PM 4 Int level 2 5

avi
Download Presentation

脉象仪原理及其开发方法

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 脉象仪原理及其开发方法

  2. 系统设计思想

  3. CCS开发方法 • COFF文件格式的理解 • 中断矢量文件的编写 • CMD文件的编写 • 主文件的编写(C语言)

  4. .global _c_int0,_c_int1,_c_int2 .sect "vectors“ RSVECT B _c_int0 ;PM 0 Reset Vector 1 INT1 B _c_int1 ;PM 2 Int level 1 4 INT2 B _c_int2 ;PM 4 Int level 2 5 INT3 B PHANTOM ;PM 6 Int level 3 6 INT4 B PHANTOM ;PM 8 Int level 4 7 INT5 B PHANTOM ;PM A Int level 5 8 INT6 B PHANTOM ;PM C Int level 6 9 RESERVED B PHANTOM ;PM E (Analysis Int)10 SW_INT8 B PHANTOM ;PM 10 User S/W int SW_INT9 B PHANTOM ;PM 12 User S/W int SW_INT10 B PHANTOM ;PM 14 User S/W int SW_INT11 B PHANTOM ;PM 16 User S/W int SW_INT12 B PHANTOM ;PM 18 User S/W int SW_INT13 B PHANTOM ;PM 1A User S/W int SW_INT14 B PHANTOM ;PM 1C User S/W int SW_INT15 B PHANTOM ;PM 1E User S/W int SW_INT16 B PHANTOM ;PM 20 User S/W int TRAP B PHANTOM ;PM 22 Trap vector NMI B PHANTOM ;PM 24 Non maskable Int3 EMU_TRAP B PHANTOM ;PM 26 Emulator Trap 2 SW_INT20 B PHANTOM ;PM 28 User S/W int SW_INT21 B PHANTOM ;PM 2A User S/W int SW_INT22 B PHANTOM ;PM 2C User S/W int SW_INT23 B PHANTOM ;PM 2E User S/W int ===================================================================== I S R – PHANTOM Description: Dummy ISR, used to trap spurious interrupts. ===================================================================== PHANTOM: B PHANTOM .end

  5. MEMORY { PAGE 0: VECS: origin = 0000h, length = 0040h FLASH: origin = 0044h, length = 7FBCh PAGE 1: B0B1: origin = 0200h, length = 200h SARAM: origin = 0800h, length = 800h } SECTIONS { vectors : { } > VECS PAGE 0 .cinit : { } > FLASH PAGE 0 .text : { } > FLASH PAGE 0 .const : { } > B0B1 PAGE 1 .data : { } > B0B1 PAGE 1 .bss : { } > SARAM PAGE 1 .stack : { } > SARAM PAGE 1 .sysmem : { } > SARAM PAGE 1 }

More Related