1 /* 2 * Copyright (c) 2017, Texas Instruments Incorporated 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /* 8 * This debug header, located at the start of flash, indicates 9 * to the bootloader that this is a debug image, allowing 10 * debuggers and flash-loaders to access the chip over JTAG. 11 * Also, on subsequent reboots, the bootloader skips the integrity 12 * check, preventing the image from being mass erased. 13 * 14 * See section 21.10: "Debugging Flash User Application Using JTAG" 15 * in the CC3220 TRM: http://www.ti.com/lit/ug/swru465/swru465.pdf 16 */ 17 #ifdef CONFIG_CC3220SF_DEBUG 18 __attribute__ ((section(".dbghdr"))) 19 const unsigned long ulDebugHeader[] = { 20 0x5AA5A55A, 21 0x000FF800, 22 0xEFA3247D 23 }; 24 #endif 25