From 73bf3cdb517b55f662ed5fa513cdaaf55c1fd0c8 Mon Sep 17 00:00:00 2001 From: tao_z <tzj0429@163.com> Date: Wed, 01 Jun 2022 23:51:43 +0800 Subject: [PATCH] Bootloader调试完成,可以正常烧录程序 --- xl6600_flash.ld | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/xl6600_flash.ld b/xl6600_flash.ld index 5f92114..5a289cc 100644 --- a/xl6600_flash.ld +++ b/xl6600_flash.ld @@ -42,9 +42,9 @@ { FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 256K CRAM (xrw) : ORIGIN = 0x1FFFE800, LENGTH = 6K - DRAM (xrw) : ORIGIN = 0x20000000, LENGTH = 18K - FALSH_DRIVER_RAM (xrw):ORIGIN = 0x20000000, LENGTH = 0x100 - BOOTFLAG (xrw) : ORIGIN = 0x20000300, LENGTH = 0x100 + DRAM (xrw) : ORIGIN = 0x20000000, LENGTH = 18K-0x200 + FALSH_DRIVER_RAM (xrw):ORIGIN = 0x20004600, LENGTH = 0x100 + BOOTFLAG (xrw) : ORIGIN = 0x20004700, LENGTH = 0x100 FLASH_BOOT (rx) : ORIGIN = 0x0000000, LENGTH = 48K FLASH_APP (rx) : ORIGIN = 0x000C100, LENGTH = 256K -48K -8K-0x100 @@ -57,14 +57,14 @@ SECTIONS { /* no init ram data */ - .RAMNoInitSector : + .RAMNoInitSector (NOLOAD): { . = ALIGN(8); - KEEP(*(.noinit_bootReqFlag_ram)) /* Startup code */ + KEEP(*(.noinit_bootReqFlag)) /* Startup code */ . = ALIGN(8); } >BOOTFLAG - .flashdriver_ram : {KEEP(*(.flashdriver_ram))} > FALSH_DRIVER_RAM + .flashdriver_ram (NOLOAD) : {KEEP(*(.flashdriver_ram))} > FALSH_DRIVER_RAM /* file define */ -- Gitblit v1.8.0