From 41f087b7183a5730e46b7eaa322b6852d602babf Mon Sep 17 00:00:00 2001
From: tao_z <tzj0429@163.com>
Date: Tue, 31 May 2022 01:04:15 +0800
Subject: [PATCH] 调试更新,非完全体

---
 xl6600_flash.ld |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/xl6600_flash.ld b/xl6600_flash.ld
index 1d01fb0..3e75d5f 100644
--- a/xl6600_flash.ld
+++ b/xl6600_flash.ld
@@ -43,9 +43,8 @@
   FLASH (rx)      : ORIGIN = 0x00000000, LENGTH = 256K
   CRAM (xrw)      : ORIGIN = 0x1FFFE800, LENGTH = 6K
   DRAM (xrw)      : ORIGIN = 0x20000000, LENGTH = 18K
-  RAM_VECT_TBL (xrw) : ORIGIN = 0x20000000,        LENGTH = 0x200
-  FALSH_DRIVER_RAM (xrw):ORIGIN = 0x20000200,        LENGTH = 0x100
-  BOOTFLAG (xrw)  : ORIGIN = 0x20004700, LENGTH = 0x100
+  FALSH_DRIVER_RAM (xrw):ORIGIN = 0x20000000,        LENGTH = 0x100
+  BOOTFLAG (xrw)  : ORIGIN = 0x20000300, LENGTH = 0x100
 
   FLASH_BOOT     (rx) : ORIGIN = 0x0000000, LENGTH = 48K
   FLASH_APP      (rx) : ORIGIN = 0x000C100, LENGTH = 256K -48K -8K-0x100
@@ -58,15 +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
 
-  .RAMVectorTable  : {KEEP(*(.RAMVectorTable))} > RAM_VECT_TBL
-  .flashdriver_ram  : {KEEP(*(.flashdriver_ram))} > FALSH_DRIVER_RAM
+  .flashdriver_ram (NOLOAD)  : {KEEP(*(.flashdriver_ram))} > FALSH_DRIVER_RAM
   
   
   /* file define  */

--
Gitblit v1.8.0