This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Interrupt service routine entry address( dissembly code: 1001E002 SWBP 0)

Now I can set breakpoint and step ,download,run on my 6678 board by PCI on CCS5.1.But it works only on 32bit

code.And I want to use SWBP to set breakpoint and step on 16bit code,but Ican't find the Interrupt service routine

entry address of SWBP. How can I modify SWBP ISR code?

Will someone please help me with this issue? Thanks a lot!

Best Regards,

summer

  • I design a unconventional and complex algorithm to solve this problem,so I can set breakpoints and step on 16 bit

    code. But this problem can be solved by SWBP ISR code simply.So I sincerely hope someone can answer my

    question, I'd like to know how 6678 can set breakpoints and step on 16 bit code. Does TI do this only by "SWBP" as I

    guess?why doesn't TI introduce "SWBP" in the instruction set?

    Best Regards,

    summer

  • Summer,

    To help us understand your problem better, can you provide more details on what you are doing? If it is possible, attach the piece of the code you are working on (including where you are inserting the SWBP instruction).

    By the way, TI's DSP (C64xx, C66xx) does support both 16bits SWBP and 32bits SWBP.

    Regards!
    Wen

  • Wen,

    Thank you for your answre!

    I  am designing a software instead of J-Tag.Users can debug their 6678 board through my software.Like J-Tag,My software also can download their code,run,step,set breakpoint,clearbreakpoint,read and write memory,read and write registers,and so on.My software interface is CCS itself.

    Because 6678 suport both 16bit and 32bit SWBP,so I want to Modify the SWBP interrupt service routine.Then I can realize my  feature in the SWBP interrupt service routine.For example,User set a breakpoint at his code,My software Use the SWBP instead of his code.When 6678 run to here,it jump to SWBP  interrupt service routine.So I must modify the SWBP  interrupt service routine In line with my request. But Ican't find the SWBP interrupt service routine entry address.Or can I modify SWBP  interrupt service routine code if I don't know it's entry address?And how?

    Regards!

    Summer