User Tools

Site Tools


manual:ports:armcm4_tm4c

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:ports:armcm4_tm4c [2015/08/07 10:35]
voorburg [Checksum location]
manual:ports:armcm4_tm4c [2022/11/07 11:31] (current)
voorburg [Checksum location]
Line 1: Line 1:
-====== ARM Cortex-M4 for TM4C ======+====== ARM Cortex-M4 for TM4C (Texas Instruments) ​======
  
  
Line 34: Line 34:
 A 32-bit checksum value is programmed by the bootloader at the end of a programming session. Upon startup, the bootloader verifies the correctness of this checksum to determine if a valid user program is present and can be started. A 32-bit checksum value is programmed by the bootloader at the end of a programming session. Upon startup, the bootloader verifies the correctness of this checksum to determine if a valid user program is present and can be started.
  
 +The bootloader programs this value at the end of the user program'​s vector table. Its exact location is configured by macro BOOT_FLASH_VECTOR_TABLE_CS_OFFSET in flash.c. The vector table size can vary based on the microcontroller derivative you are using. Please verify that the default value of BOOT_FLASH_VECTOR_TABLE_CS_OFFSET is correct. If not, you can simply override the value by adding the macro with the correct value to the blt_conf.h configuration header file.
  
 +The user program must reserve space for this 32-bit checksum value. To reserve this space, simply enter one extra dummy entry into the interrupt vector table. This reserves space for the checksum at memory address: flash base address + flash reserved for bootloader ​ + FLASH_VECTOR_TABLE_CS_OFFSET. Refer to the demo program for an example.
  
-The user program must reserve space for this 32-bit checksum value. The bootloader programs this value at the end of the interrupt vector table. To reserve this space, simply enter one extra dummy entry into the interrupt vector table. This reserves space for the checksum at memory address 0x00008266 (0x266 + flash reserved for bootloader + flash base address). Refer to the demo program for an example. +{{:​manual:​ports:​tm4c_cm4_checksum_reservation.gif? |}}
- +
- +
- +
-{{:​manual:​ports:​tm4c_cm4_checksum_re +
-servation.gif? |}}+
  
    
manual/ports/armcm4_tm4c.1438936540.txt.gz · Last modified: 2019/09/24 22:14 (external edit)