From f453cfb645516628a6d1fa36e2ca633e1da6d708 Mon Sep 17 00:00:00 2001
From: tao_z <tzj0429@163.com>
Date: Sun, 07 Aug 2022 22:27:57 +0800
Subject: [PATCH] 修改数据传输最小长度限制

---
 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