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.

关于TM4C1230的bootloader问题



dear TI staff,

           关于TM4C1230有几个问题想请教一下,谢谢!

最近做这个bootlooder,发现有些东西不是特理解.bootlooder大体流程,

 

bl_startup_rvmdk.S文件

1.ProcessorInit:

      1).为什么要将FLASH(地址0x0开始)中的数据放入SRAM 中  对应中的函数

     2). ||Image$$SRAM$$ZI$$Limit||   这个值是怎么来的

      3).把向量表定义到0x20000000 ,  和直接跳转到0x20000000  地址有什么区别

    movw   r0, #(NVIC_VTABLE & 0xffff)

    movt    r0, #(NVIC_VTABLE >> 16)   ;NVIC_VTABLE=0xe000ed08

    movs    r1, #0x0000

    movt    r1, #0x2000

    str      r1, [r0]     ;ÏòÁ¿±íÖØ¶¨Î»µ½0x2000 0000´¦

  2.ldr     pc, =Reset_Handler_In_SRAM     这个只是地址复位有什么作用(在335行)

  3.如何用一个程序简单测试bootlooder的跳转是否正确,

  最好能有一个例程,或者bootlooder 详解。