Browse Source

add or change ver info

SKY-20210407USB\Administrator 2 months ago
parent
commit
f39f272aaa
2 changed files with 7 additions and 3 deletions
  1. 4 2
      IAP_YMODEM_ATY.c
  2. 3 1
      IAP_YMODEM_ATY.h

+ 4 - 2
IAP_YMODEM_ATY.c

@@ -25,6 +25,8 @@
 *           -# real fix to lib type
 *       - 1_01_250704 > ATY
 *           -# finish uart and ucdc IAP whole test
+*       - 1_01_251016 > ATY
+*           -# fix large bin 255 limit at 128 and 1K trans in USB CDC
 ********************************************************************************
 */
 
@@ -300,8 +302,8 @@ void Main_Cycle(void)
 {
     uint8_t sKey[2] = {0};
     HAL_RTCEx_BKUPWrite(&hrtc, RTC_BKP_DR1, 101);
-    HAL_RTCEx_BKUPWrite(&hrtc, RTC_BKP_DR2, 250);
-    HAL_RTCEx_BKUPWrite(&hrtc, RTC_BKP_DR3, 705);
+    HAL_RTCEx_BKUPWrite(&hrtc, RTC_BKP_DR2, 251);
+    HAL_RTCEx_BKUPWrite(&hrtc, RTC_BKP_DR3, 16);
     Interface_PutString("\r\n\r\nS to start\r\n\r\n");
     while(1)
     {

+ 3 - 1
IAP_YMODEM_ATY.h

@@ -25,6 +25,8 @@
 *           -# real fix to lib type
 *       - 1_01_250704 > ATY
 *           -# finish uart and ucdc IAP whole test
+*       - 1_01_251016 > ATY
+*           -# fix large bin 255 limit at 128 and 1K trans in USB CDC
 ********************************************************************************
 */
 
@@ -228,7 +230,7 @@ uint32_t FLASH_If_WriteProtectionConfig(uint32_t modifier);
  #define PACKET_START_INDEX          ((uint32_t)0)
  #define PACKET_NUMBER_INDEX         ((uint32_t)1)
  #define PACKET_CNUMBER_INDEX        ((uint32_t)2)
- 
+
 #define PACKET_TRAILER_SIZE         ((uint32_t)2)
 #define PACKET_OVERHEAD_SIZE        (PACKET_HEADER_SIZE + PACKET_TRAILER_SIZE - 1)
 #define PACKET_SIZE                 ((uint32_t)128)