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.

Compiler/TMS320F28377D: How to make a program about bootloader jumb to Applicaton?

Other Parts Discussed in Thread: TMS320F28377D

 Questions have done.

  • Please share your code snippet that jumps from bootloader to application.

    Alternatively cehck if below sample works,

    asm("    LB 0x9EFF0");

  • We have used TMS320F28377D in our product. I tried to divide internal Flash(1Mbyte) in 16 blocks(Block0~Block15), as picture 1. My bootloader code is stored in Block0和Block1,Others in my application code. Here is my sample code. When bootloader is working, I program to jump to application code, to control LED. The corresponding CMD are shown as picture 3 and picture 4.

    But I meet problems. When CPU is working, my bootloader can work. But it can’t jump to application code.

    I guess:

    (1)、My program makes some wrongs.

    (2)、CMD files makes some wrongsHow to jump from Bootloader to Application.docx.

    I hope TI professors could give me advices help to solve this problem. Thanks a lot.(The attachment is my sample code.)

    By the way, what is asm("    LB 0x9EFF0");, How can I use it. Could you show me a sample?

    Li

  • Dear All,

            We have used TMS320F28377D in our product. I tried to divide internal Flash(1Mbyte) in 16 blocks(Block0~Block15), as picture 1. My bootloader code is stored in Block0和Block1,Others in my application code. Here is my sample code. When bootloader is working, I program to jump to application code, to control LED. The corresponding CMD are shown as picture 3 and picture 4.

    But I meet problems. When CPU is working, my bootloader can work. But it can’t jump to application code.

    I guess:

    (1)、My program makes some wrongs.

    (2)、CMD files makes some wrongs(Please visit the site to view this file).

    I hope TI professors could give me advices help to solve this problem. Thanks a lot.(The attachment is my sample code.)

    By the way, what is asm("    LB 0x9EFF0");, How can I use it. Could you show me a sample?

    Li8831.How to jump from Bootloader to Application.docx

  • Dear All,

            We have used TMS320F28377D in our product. I tried to divide internal Flash(1Mbyte) in 16 blocks(Block0~Block15), as picture 1. My bootloader code is stored in Block0和Block1,Others in my application code. Here is my sample code. When bootloader is working, I program to jump to application code, to control LED. The corresponding CMD are shown as picture 3 and picture 4.

    But I meet problems. When CPU is working, my bootloader can work. But it can’t jump to application code.

    I guess:

    (1)、My program makes some wrongs.

    (2)、CMD files makes some wrongs(Please visit the site to view this file).

    I hope TI professors could give me advices help to solve this problem. Thanks a lot.(The attachment is my sample code.)

    By the way, what is asm("    LB 0x9EFF0");, How can I use it. Could you show me a sample?

    Li6443.How to jump from Bootloader to Application.docx

  • asm("    LB 0x9EFF0") - you can use this line in c code.