1 / 35

DSP , DSP:OS 1, 2DSP,memory map 3IO:

marcin
Download Presentation

DSP , DSP:OS 1, 2DSP,memory map 3IO:

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. ??????? DSP??????? ????,?????????? ??????????????? DSP???????:???OS??????? (1)????????,???? (2)DSP????????,????memory map? (3)??IO??+??????:?? ??????????????????

    3. ??:debug ????????????(??),??????????????? ????,????????????????????????????????,?????????????? ????????????----?????????????, ???????????????----???????????? ?????????,???????????????????????,????????????????,?????????????;??????????????bug? ????? Grees Hopper: ???.??,??????,1934,???????,1944?????????3????? 1947,Mark II????,??????????????? 1966???, ?????,1985?????1986?????1991,????????,????? Grees Hopper: ???.??,??????,1934,???????,1944?????????3????? 1947,Mark II????,??????????????? 1966???, ?????,1985?????1986?????1991,????????,?????

    4. ????? ??????? (1)????(????timer?????) (2)????logging:(????????????????????,??tracing) (3)???????,??bug; (4)??bug? ??? & ???? :?????????,??????????????????

    5. ????? ????: ????;????; ????;??????????; ??????????????; ??????; ????????? ????: ?????????;RTDX ????;

    6. ??????? The Science of Debugging, Matt Telles. ?????????,????????? ---bug ???????? Debugging Application , John Robbins , Microsoft Press ,2000 ????windows???? ???: ???????? ?????? : Robert Charles Metzger

    7. ???????????? ???,???? (1)???????: ???????;??????? (2)???????: ???????; ???DMA: ????????? ?????????? ?????????: ?????????????????;???????????,?? ???,????????????????;?????(1)??????? (2)??????????????,????????????????????????,????????????? ?????????????????;???????????,?? ???,????????????????;?????(1)??????? (2)??????????????,????????????????????????,?????????????

    8. ??????(1)CPU? DSP?????????????????

    9. ??????(2)DSP ????? ???????: EMIF, HPI/XBUS DMA ?? ????: ??,??

    10. C6x ????

    11. ??????(3)??

    12. ??????(4)??

    13. ??????(5)???

    14. C6000???(1) ????: (1)???(Interrupt source):?????,32? (2)?????(Interrupt Selection Number):5bit (3)??(Interrupt):12????+NMI(No.1) +RESET(No.0)+ RTDX(No.3) ????????: ??????????(Interrupt Selector) ???CPU????,????????????????EXT_INT4?EXT_INT7?????(????????)

    15. C6000???(2) ??????: map1:IDRAM 0x000~0x200 0x200 = 16 * 32 ; 16???,?????8???; ????: ?????????????8????,?????????????

    16. C6000???(3) ???????: (1)?????:isr_jump_table ???? (2) ???: void intr_hook(void (*fp)(void),int cpu_intr); ??: ti\c6000\evm6x\dsp\ ???,???,??? v1.2 ?; v2.0 ????? isr_jump_table?????????,???map????????isr_jump_table?????????,???map????????

    17. C6000???(4) ???? -?????,GIE=0 -????????? ???? -??????,?? ????

    18. ?C6000???? ????,?????????????,???????????????(Windows:????) ?????:main???????While????????,????????????????? ???????: -????:?????????? -????:??? -????:??????????,?????? ???????? ?????????????????: -????:????+????, ?????? -??buffer:????+????,?????? -??memory:????+DMA????,????

    19. C6000?DMA(1) C6000?DMA????CPU??????,??DMA?????:??????? XB, PBC, EMIF, DMC, PMC *???PMC???????,???????????(723????,???bug??) 4?DMA??+1???DMA(HPI/XB) C6711/C6211/C64XX,16 EDMA?? ???????:??????????? ?????,????,?????,?????????...

    20. C6000?DMA(2) ??DMAC???,??????????????????buffer(???IDRAM)??,???????? ????SBSRAM?????,2?DMA?????????DMA???;2?DMA???????????????????DMA????????????? ?DMA??MemoryCopy?MemorySet; ???MemorySet????????,?? DMA????:??,???DMA0?? ??????DMA???,????DMA?????,??????DMA?????,???????DMA?,????? ????????DMA?????,????????????????????????DMA??? DMAC???????????:?????

    21. C6000?Timer DSP???????:?? ????(??)??????????, ???????? -???????????:1ms -????????:1us ??????????? TIMER???????????: ???;?????(?????)?

    22. ??AD????

    23. AD??????

    24. ????1 ????????:???? ----????????????6 SPRA534 Writing Interruptible Looped Code For The TMS320C6x ???????????: ????? ????? CCS?????,Matlab ??DSP?????????

    25. ??DSP???????????: ?????????????:???????(1)?? (2)????,??????DMA???????? 2)?????: ?????????????,?????, 3)??????????: ??????, ?????? 4)CCS???????????????? 5)???????: ??????????????? 6)??????????, ???????,?????. 7)?????????????: ???????????, ????????????, ?????????????????, ????: ??????, ?map??,??????. ??DSP???????????: ?????????????:???????(1)?? (2)????,??????DMA???????? 2)?????: ?????????????,?????, 3)??????????: ??????, ?????? 4)CCS???????????????? 5)???????: ??????????????? 6)??????????, ???????,?????. 7)?????????????: ???????????, ????????????, ?????????????????, ????: ??????, ?map??,??????.

    26. 8)????????, ????????????, ???????????, ????????. 9)volatile ???. ?????, ?????. -o3 10)??????: ??????????,?????,????,??????. ??????????. 11)????????:????????????????????????????????? 8)????????, ????????????, ???????????, ????????. 9)volatile ???. ?????, ?????. -o3 10)??????: ??????????,?????,????,??????. ??????????. 11)????????:?????????????????????????????????

    27. ????4 ???????????????,?????,????????? (?:???dqy? DSP? ??,????->????,??) ???????????: ??,?????:PM????,??????,????DMA??PM,??????bug; ????????,???->???, Far???:truncated?? CCS??????? ??????:???????? ??????????,???????bug:

    28. ????5 Restart ? go main???reload?go main?????: (1)GIE?1?IER?????1 (2)????????IFR????1 (3)?????????????run time load ???????????,????????????? (???? ?????? ????) ???????????????(halt??)??1--JTAG????????

    29. ???? ?????:???? ????????????? ???????????(?????) ????????????:????

    30. ??????? ?????????,????????????,???????????bug???bug???? ???????: ??IO,???? ????: (1)?????,1hour?? (2)??IO:DMA,CPU???????? (3)????:FFT,??????????

    31. 1)CCS????? -Tutorial???????????????????Users Guide 2)C ?????:C6000?????C compiler users guide?7?8???????C????,?????,???????,?????,C??????????; 3)CPU?????:???????????C6000????????CPU??? 4)????:????????????:??,DMA,IO?????????,?????????clk?? 5)???:????C6000??DSP?????????,????,????????????????1)CCS????? -Tutorial???????????????????Users Guide 2)C ?????:C6000?????C compiler users guide?7?8???????C????,?????,???????,?????,C??????????; 3)CPU?????:???????????C6000????????CPU??? 4)????:????????????:??,DMA,IO?????????,?????????clk?? 5)???:????C6000??DSP?????????,????,????????????????

    32. Ending ????????,???,?????????????????????,?????(???????)??????????? ?????? ????:??????,????,????,?????:?????? ????:??????,????,????,?????:??????

    33. ????DSP?????? DSP????????? C6000 DSP ???????DSP/FPGA????????? ???????MPEG???

    34. C6000 DSP ??????????? ?. DSP???? ?. C6000 ????????? ?. TI DSP????-CCS ?. C6000 C ????? ?. ?????????????? ?. C6000????? ?. TI???????:DSP/BIOS ?. C6000 DSPs????? ?. C6000 DSPs????

    35. ???????!

    36. www.farsight.com.cn ??! The success's road

More Related