From 4a79d9a4de3a9c4fab3624a008a7f7ac8a8bc3b7 Mon Sep 17 00:00:00 2001 From: wrh Date: Mon, 21 Sep 2026 19:33:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8F=91=E5=B8=83V1.1.35=E7=89=88?= =?UTF-8?q?=E6=9C=AC=EF=BC=8C=20=E5=8C=97=E5=90=91=E8=BD=AE=E8=AF=A2?= =?UTF-8?q?=E6=97=A0=E5=9B=9E=E7=A0=81=E8=AE=A9=E8=A1=8C=E9=80=BB=E8=BE=91?= =?UTF-8?q?=20=E5=BD=93=E7=A9=BA=E8=BD=BD=E6=97=B6=E7=94=B5=E6=B5=81?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=B8=BA0=201.=20=20=E4=BF=AE=E6=94=B9chrg?= =?UTF-8?q?=5Fcomm.c=EF=BC=9A=E6=9B=B4=E6=96=B0=E5=8D=8F=E8=AE=AE=E6=9D=BF?= =?UTF-8?q?=E5=9B=BA=E4=BB=B6=E7=89=88=E6=9C=AC=E4=B8=BA0x0133=EF=BC=8C?= =?UTF-8?q?=E6=96=B0=E5=A2=9ESource=E5=88=9D=E5=A7=8B=E5=8C=96=E4=BA=8B?= =?UTF-8?q?=E5=8A=A1=E4=BF=9D=E6=8A=A4=E9=80=BB=E8=BE=91=202.=20=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9chrg=5Froll=5Fnor.c=EF=BC=9A=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E5=8C=97=E5=90=91=E8=BD=AE=E8=AF=A2=E6=9C=BA=E5=88=B6?= =?UTF-8?q?=EF=BC=8C=E5=8D=95=E6=AC=A1=E8=AF=B7=E6=B1=82=E8=B6=85=E6=97=B6?= =?UTF-8?q?=E5=90=8E=E7=9B=B4=E6=8E=A5=E5=88=87=E6=8D=A2=E9=80=9A=E9=81=93?= =?UTF-8?q?=203.=20=20=E4=BF=AE=E6=94=B9chrg=5Feload.h/c=EF=BC=9A=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=B0=8F=E7=94=B5=E6=B5=81=E5=BD=92=E9=9B=B6=E9=98=88?= =?UTF-8?q?=E5=80=BC=E5=AE=8F=EF=BC=8C=E5=AE=9E=E7=8E=B0=E5=8A=9F=E7=8E=87?= =?UTF-8?q?=E6=9D=BF=E5=B0=8F=E7=94=B5=E6=B5=81=E9=87=87=E6=A0=B7=E5=BD=92?= =?UTF-8?q?=E9=9B=B6=E5=A4=84=E7=90=86=204.=20=20=E6=9B=B4=E6=96=B0chrg=5F?= =?UTF-8?q?def.h=E7=89=88=E6=9C=AC=E5=8F=B7=E4=B8=BAV1.1.35=205.=20=20?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BF=AE=E6=94=B9=E6=97=A5=E5=BF=97=E6=96=87?= =?UTF-8?q?=E6=A1=A3=EF=BC=8C=E8=A1=A5=E5=85=85V1.1.33~V1.1.35=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E6=9B=B4=E6=96=B0=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/chrg/applications/thread/chrg_comm.c | 18 ++++- apps/chrg/applications/thread/chrg_roll_nor.c | 32 +++----- apps/chrg/applications/utils/chrg_def.h | 6 +- apps/chrg/applications/utils/chrg_eload.c | 5 +- apps/chrg/applications/utils/chrg_eload.h | 3 +- apps/chrg/codex_verify.log | 18 ++++- docs/Allegro.jrl | 74 +++++++++++++++---- docs/allegro.jrl,1 | 70 ++++-------------- docs/修改日志.md | 21 ++++++ 9 files changed, 145 insertions(+), 102 deletions(-) diff --git a/apps/chrg/applications/thread/chrg_comm.c b/apps/chrg/applications/thread/chrg_comm.c index ae27f44..5e573fe 100644 --- a/apps/chrg/applications/thread/chrg_comm.c +++ b/apps/chrg/applications/thread/chrg_comm.c @@ -1,7 +1,7 @@ /**************************************************************************** 文件名称 : chrg_comm.c 完成日期 : -当前版本号 : V1.1.32 +当前版本号 : V1.1.35 主要功能 : 实现对外通讯协议 MODBUS 服务端,以独立线程等待处理响应请求数据。 版本历史 : 创建原始版本 说明 : @@ -27,7 +27,7 @@ #include "stm32f4xx_hal.h" #define HOLD_REG_FIRMWARE_VERSION 0x0300U /* 协议板固件版本,只读 */ -#define CHRG_FIRMWARE_VERSION 0x0130U /* 当前协议板版本:V1.1.32 */ +#define CHRG_FIRMWARE_VERSION 0x0133U /* 当前协议板版本:V1.1.35 */ rt_uint8_t ucDiscInBuf[(TOTAL_DISC_REGS+BITS_UCHAR-1)/BITS_UCHAR]; @@ -2897,6 +2897,20 @@ static eMBException chrg_comm_apply_source_effect(rt_uint8_t ch, chrg_comm_get_param_diff(ID_SOURCE, pReal, pShadow, &diff_info); rt_memcpy(&old_pd_set, &pReal->source.pd_set, sizeof(old_pd_set)); + /* + * Source初始化批次未完成时,重复ON只能继续当前事务;否则会把 + * INIT/INIT_WAIT直接改为WAIT,跳过南向批次结果检查。 + */ + if ((source_work == 0x01U) && + ((old_work_mode == SOURCE_WORK_INIT) || + (old_work_mode == SOURCE_WORK_INIT_WAIT))) { + if (diff_info.protocol_changed || diff_info.cc_changed || + diff_info.cv_changed || diff_info.pd_changed) { + return MB_EX_SLAVE_BUSY; + } + return (chrg_source_work_state(ch, pReal) == 0) ? + MB_EX_NONE : MB_EX_SLAVE_BUSY; + } /* 标准协议的电压电流直接交给功率板,不因pd_set数值变化重发0xD0。 */ protocol_config_changed = diff_info.protocol_changed || ((pShadow->source.protocol != PRO_NONE) && diff_info.pd_changed); diff --git a/apps/chrg/applications/thread/chrg_roll_nor.c b/apps/chrg/applications/thread/chrg_roll_nor.c index a3ff97d..45d0307 100644 --- a/apps/chrg/applications/thread/chrg_roll_nor.c +++ b/apps/chrg/applications/thread/chrg_roll_nor.c @@ -1,7 +1,7 @@ /**************************************************************************** 文件名称 : chrg_roll_nor.c 完成日期 : -当前版本号 : V1.1.26 +当前版本号 : V1.1.35 主要功能 : 实现北向通信轮巡请求命令。以独立线程处理。 版本历史 : 创建原始版本 说明 : @@ -28,9 +28,7 @@ #include #define NORTH_RESPONSE_TIMEOUT_MS 50U // 单次北向请求等待匹配回码的总时间 -#define NORTH_REQUEST_MAX_RETRIES 2U // 首次发送失败后最多重发2次,总发送次数为3次 -#define NORTH_MEASURE_MAX_ATTEMPTS 1U // 0x20量测查询失败后直接留给下一轮轮询重发 -#define NORTH_RETRY_INTERVAL_MS 5U // 相同请求两次发送之间的保护间隔 +#define NORTH_REQUEST_MAX_ATTEMPTS 1U // 每次轮到通道只发送并等待一次,超时后留给下一轮 #define NORTH_POLL_INTERVAL_MS 10U // 一个通道事务结束后到下一通道的轮询间隔 #define SOURCE_PROTOCOL_WAIT_MS 100U // 每通道0xD0应答后的协议生效保护时间 #define SINK_CC_WAIT_MS 50U // Sink设置目标CC应答后的非阻塞保护时间 @@ -824,11 +822,11 @@ static int chrg_roll_nor_set(rt_uint8_t ch, struct chrg_switch_t *pSW, /***************************************************************** 函数名称: chrg_roll_nor_auto_request -函数描述: 执行一次自动北向请求事务,并在超时后有限次数重发 +函数描述: 执行一次自动北向请求事务,超时后由下一轮通道轮询继续请求 输入参数: idx:通道 pSW:通道状态 pTHR:轮询线程 pTN:北向接收线程 pNOR:北向共享状态 输出参数: - -返回说明: 0:请求成功 1:等待期间COM配置变化,旧事务已取消 <0:重试后失败 +返回说明: 0:请求成功 1:等待期间COM配置变化,旧事务已取消 <0:本轮失败 其它说明: 匹配回码有效且配置版本未变化时解析量测值并提交next_sub; 发送时不修改实时sub,CRC错误帧由north.c丢弃并表现为本次等待超时 *****************************************************************/ @@ -837,7 +835,7 @@ static int chrg_roll_nor_auto_request(rt_uint8_t idx, struct chrg_thread_t *pTN, struct chrg_north_t *pNOR) { rt_bool_t advance_sub = RT_TRUE; - rt_uint8_t attempt; // 当前发送序号:0为首次,1~2为重发 + rt_uint8_t attempt; // 当前发送序号:每轮仅一次 rt_uint8_t request_sub = 0; // 本次请求实际使用的sub快照 rt_uint8_t next_sub = 0; // 正确回码后准备提交的候选sub rt_uint8_t expected_cmd = 0; // 本次请求期望收到的命令码 @@ -853,27 +851,19 @@ static int chrg_roll_nor_auto_request(rt_uint8_t idx, return -1; } - /* 默认保留设置命令的3次发送;首轮取得实际命令码后,0x20会改为 - * 单次发送并留给下一轮轮询重试,避免量测无回码时长期占用通道。 */ - max_attempts = NORTH_REQUEST_MAX_RETRIES + 1U; + /* 每次轮到该通道只等待一次回码;超时后主循环立即转下一个通道, + * 下次轮到本通道时保持原sub重新发送,避免无回码通道长期占用轮询。 */ + max_attempts = NORTH_REQUEST_MAX_ATTEMPTS; for (attempt = 0; attempt < max_attempts; attempt++) { rt_mutex_take(pTHR->mutex, RT_WAITING_FOREVER); if (attempt == 0U) { - /* 首次发送固定请求状态,后续重发必须继续使用同一份请求上下文。 */ + /* 固定本轮请求状态。 */ request_sub = pSW->sub; expected_id = pSW->id; expected_cmd = chrg_roll_nor_expected_cmd(pSW); - if (expected_cmd == SRC_CMD_GET_VOLTAGE) { - max_attempts = NORTH_MEASURE_MAX_ATTEMPTS; - } request_version = pNOR->config_version[idx]; /* 新事务发送前清理已结束或已超时事务遗留的邮箱回码。 */ chrg_roll_nor_drain_mailbox(pTN); - } else if ((pNOR->config_version[idx] != request_version) || - (pSW->id != expected_id) || (pSW->sub != request_sub)) { - /* COM或其它控制入口已修改配置,禁止继续重发旧命令。 */ - rt_mutex_release(pTHR->mutex); - return 1; } if (expected_cmd == 0U) { @@ -942,10 +932,6 @@ static int chrg_roll_nor_auto_request(rt_uint8_t idx, } } - if ((attempt + 1U) < max_attempts) { - /* 本次发送失败或等待超时,保持request_sub并准备重发同一命令。 */ - rt_thread_mdelay(NORTH_RETRY_INTERVAL_MS); - } } LOG_W("north request failed: ch=%d id=%02x cmd=%02x sub=%d attempts=%d", diff --git a/apps/chrg/applications/utils/chrg_def.h b/apps/chrg/applications/utils/chrg_def.h index 3e95822..233b45e 100644 --- a/apps/chrg/applications/utils/chrg_def.h +++ b/apps/chrg/applications/utils/chrg_def.h @@ -1,7 +1,7 @@ /**************************************************************************** 文件名称 : chrg_def.h 完成日期 : -当前版本号 : V1.1.32 +当前版本号 : V1.1.35 主要功能 : 全局宏定义,常量,及结构体。 版本历史 : 创建原始版本 说明 : @@ -15,8 +15,8 @@ /* CHRG application version. Keep this value synchronized with the changelog. */ #define CHRG_VERSION_MAJOR 1U #define CHRG_VERSION_MINOR 1U -#define CHRG_VERSION_PATCH 32U -#define CHRG_VERSION_STRING "V1.1.32" +#define CHRG_VERSION_PATCH 35U +#define CHRG_VERSION_STRING "V1.1.35" /* * Channel polling mode: diff --git a/apps/chrg/applications/utils/chrg_eload.c b/apps/chrg/applications/utils/chrg_eload.c index 4224f8b..71a9ed9 100644 --- a/apps/chrg/applications/utils/chrg_eload.c +++ b/apps/chrg/applications/utils/chrg_eload.c @@ -1,7 +1,7 @@ /**************************************************************************** 文件名称 : chrg_eload.c 完成日期 : -当前版本号 : V1.1.24 +当前版本号 : V1.1.34 主要功能 : 源载命令数据解析,封装,读写请求。 版本历史 : 创建原始版本 说明 : @@ -452,6 +452,9 @@ int chrg_eload_parse (rt_uint8_t idx, rt_uint8_t pt, rt_uint8_t *data, rt_uint16 pLOAD->mode = (rt_uint8_t)pP1->work_mode; pLOAD->voltage = swap_u32(pP1->voltage); pLOAD->current = swap_u32(pP1->current); + if (pLOAD->current < ELOAD_CURRENT_ZERO_THRESHOLD_MA) { + pLOAD->current = 0U; + } pLOAD->SHORT_volt = swap_u16(pP1->SHORT_volt); pLOAD->SHORT_curr = swap_u16(pP1->SHORT_curr); pLOAD->OCP_volt = swap_u16(pP1->OCP_volt); diff --git a/apps/chrg/applications/utils/chrg_eload.h b/apps/chrg/applications/utils/chrg_eload.h index 4d2b253..94c8d56 100644 --- a/apps/chrg/applications/utils/chrg_eload.h +++ b/apps/chrg/applications/utils/chrg_eload.h @@ -1,7 +1,7 @@ /**************************************************************************** 文件名称 : chrg_eload.h 完成日期 : -当前版本号 : V1.1.28 +当前版本号 : V1.1.34 主要功能 : 源载命令数据解析,封装,读写请求,寄存器定义,数据结构定义。 版本历史 : 创建原始版本 说明 : @@ -111,6 +111,7 @@ static const rt_uint8_t LOAD[30] = { #define REG_TEMPERATUE (0x0B) // RWP 16bit 读取温度 0.01C (0~100C) #define REG_VERSION (0x0C) // R 16bit 版本号 0~0xFFFF +#define ELOAD_CURRENT_ZERO_THRESHOLD_MA 20U /* 小于该值的采样电流按0mA处理 */ #define REG_ADDRESS (0x0D) // RWP 16bit 从机地址 diff --git a/apps/chrg/codex_verify.log b/apps/chrg/codex_verify.log index 72d757a..3fb88df 100644 --- a/apps/chrg/codex_verify.log +++ b/apps/chrg/codex_verify.log @@ -1,9 +1,23 @@ *** Using Compiler 'V6.16', folder: 'D:\keil mdk 2\ARM\ARMCLANG\Bin' Build target 'chrg' +compiling chrg_switch.c... +compiling chrg_lcd.c... +compiling chrg_thread.c... +compiling main.c... +compiling chrg_vcom.c... +compiling chrg_rel.c... +compiling chrg_north_pkg.c... +compiling chrg_south.c... +compiling chrg_north.c... compiling chrg_sink.c... +compiling chrg_source.c... +compiling chrg_roll_nor.c... +compiling chrg_eload.c... +compiling chrg_roll_sou.c... +compiling chrg_comm.c... linking... -Program Size: Code=147104 RO-data=15312 RW-data=9328 ZI-data=16000 +Program Size: Code=154164 RO-data=15916 RW-data=9356 ZI-data=16276 FromELF: creating hex file... After Build - User command #1: fromelf --bin .\build\keil\Obj\chrg.axf -o build/chrg.bin ".\build\keil\Obj\chrg.axf" - 0 Error(s), 0 Warning(s). -Build Time Elapsed: 00:00:01 +Build Time Elapsed: 00:00:04 diff --git a/docs/Allegro.jrl b/docs/Allegro.jrl index 76642e2..d8145ef 100644 --- a/docs/Allegro.jrl +++ b/docs/Allegro.jrl @@ -1,15 +1,59 @@ -\t (00:00:05) allegro 17.2 S079 Windows SPB 64-bit Edition -\t (00:00:05) Journal start - Wed Sep 16 22:17:09 2026 -\t (00:00:05) Host=DESKTOP-5RA9F3K User=Adminuser Pid=19892 CPUs=20 -\t (00:00:05) CmdLine= D:\Cadence\SPB_17.2\tools\bin\allegro.exe -\t (00:00:05) - (00:00:05) Loading axlcore.cxt -\t (00:00:06) Starting new design... -\i (00:00:06) trapsize 29310 -\i (00:00:07) generaledit -\i (00:00:08) trapsize 1230 -\i (00:00:08) QtSignal SPBFoldDockArea FoldAreaTabWidget currentChanged unnamed -\i (00:00:08) opencd D:/HC-PMP-SW/Power_ControlPannel/MP_Control_sw_405/south/HC_DFCD_Source_Eload_V1_1/PCB/HC_DFCD_Source_Eload_V1_1.brd -\t (00:00:08) Opening existing design... -\i (00:00:08) trapsize 283 -\t (00:00:08) Journal end - Wed Sep 16 22:17:12 2026 +\t (00:00:28) Allegro 17.2 S079 Windows SPB 64-bit Edition +\t (00:00:28) Journal start - Sun Sep 20 09:40:58 2026 +\t (00:00:28) Host=DESKTOP-5RA9F3K User=Adminuser Pid=2796 CPUs=20 +\t (00:00:28) CmdLine= D:\Cadence\SPB_17.2\tools\bin\Allegro.exe D:\HC-PMP-SW\Power_ControlPannel\MP_Control_sw_405\HC_DFCD\HC_DFCD_LCD_V_1.0\docs\HC_DFCD_LCD_V2_0(1).brd +\t (00:00:28) +\d (00:00:28) Design opened: D:/HC-PMP-SW/Power_ControlPannel/MP_Control_sw_405/MP_SW_Chrg/chrg/docs/HC_DFCD_Protocol_V3_0.brd +\i (00:00:28) generaledit +\i (00:00:28) zoom out 1 +\i (00:00:28) setwindow pcb +\i (00:00:28) zoom out 18.0833 55.1949 +\i (00:00:28) trapsize 5515 +\i (00:00:29) zoom out 1 +\i (00:00:29) setwindow pcb +\i (00:00:29) zoom out 18.3039 52.8786 +\i (00:00:29) trapsize 11030 +\i (00:00:29) zoom out 1 +\i (00:00:29) setwindow pcb +\i (00:00:29) zoom out 58.3881 52.4375 +\i (00:00:29) trapsize 22060 +\i (00:00:29) zoom out 1 +\i (00:00:29) setwindow pcb +\i (00:00:29) zoom out 217.2174 50.6728 +\i (00:00:29) trapsize 44119 +\i (00:00:29) zoom out 1 +\i (00:00:29) setwindow pcb +\i (00:00:29) zoom out 535.3173 195.5990 +\i (00:00:29) trapsize 88239 +\i (00:00:29) zoom in 1 +\i (00:00:29) setwindow pcb +\i (00:00:29) zoom in -61.1751 55.2998 +\i (00:00:29) trapsize 44119 +\i (00:00:30) zoom in 1 +\i (00:00:30) setwindow pcb +\i (00:00:30) zoom in -42.6449 29.7106 +\i (00:00:30) trapsize 22060 +\i (00:00:30) zoom in 1 +\i (00:00:30) setwindow pcb +\i (00:00:30) zoom in -42.6449 29.7107 +\i (00:00:30) trapsize 11030 +\i (00:00:30) zoom in 1 +\i (00:00:30) setwindow pcb +\i (00:00:30) zoom in -41.3213 29.7107 +\i (00:00:30) trapsize 5515 +\i (00:00:32) drag_start grid -14.2983 71.4034 +\i (00:00:33) drag_stop -24.7766 57.2852 +\i (00:00:33) zoom out 1 +\i (00:00:33) setwindow pcb +\i (00:00:33) zoom out 18.5706 69.5283 +\i (00:00:33) trapsize 11030 +\i (00:00:42) zoom in 1 +\i (00:00:42) setwindow pcb +\i (00:00:42) zoom in 93.0217 64.4546 +\i (00:00:42) trapsize 5515 +\i (00:00:52) zoom out 1 +\i (00:00:52) setwindow pcb +\i (00:00:52) zoom out 72.8372 58.1677 +\i (00:00:52) trapsize 11030 +\i (00:02:28) exit +\t (00:02:29) Journal end - Sun Sep 20 09:42:59 2026 diff --git a/docs/allegro.jrl,1 b/docs/allegro.jrl,1 index 18239d2..76642e2 100644 --- a/docs/allegro.jrl,1 +++ b/docs/allegro.jrl,1 @@ -1,55 +1,15 @@ -\t (00:00:06) allegro 17.2 S079 Windows SPB 64-bit Edition -\t (00:00:06) Journal start - Tue Sep 15 20:16:48 2026 -\t (00:00:06) Host=DESKTOP-5RA9F3K User=Adminuser Pid=8232 CPUs=20 -\t (00:00:06) CmdLine= D:\Cadence\SPB_17.2\tools\bin\allegro.exe -\t (00:00:06) - (00:00:06) Loading axlcore.cxt -\t (00:00:07) Starting new design... -\i (00:00:09) trapsize 29310 -\i (00:00:10) generaledit -\i (00:00:18) xhilite -\i (00:00:18) xname_flush -\i (00:00:18) done -\i (00:00:19) generaledit -\i (00:00:33) xhilite -\i (00:00:34) xname_flush -\i (00:00:34) done -\i (00:00:34) generaledit -\i (00:20:00) exit -\e (00:20:00) Do you want to save the changes you made to unnamed.brd? -\i (12:51:55) fillin no -\t (12:51:56) Journal end - Wed Sep 16 09:08:37 2026 - -\i (00:00:13) generaledit -\i (00:00:14) zoom out 1 -\i (00:00:14) setwindow pcb -\i (00:00:14) zoom out 17.5318 56.5185 -\i (00:00:14) trapsize 5515 -\i (00:00:14) zoom out 1 -\i (00:00:14) setwindow pcb -\i (00:00:14) zoom out 21.9438 59.0553 -\i (00:00:14) trapsize 11030 -\i (00:00:14) zoom out 1 -\i (00:00:14) setwindow pcb -\i (00:00:14) zoom out 64.3442 57.9524 -\i (00:00:14) trapsize 22060 -\i (00:00:17) open -\i (00:00:20) fillin "menu_cancel" -\i (00:00:20) generaledit -\i (00:00:20) zoom in 1 -\i (00:00:20) setwindow pcb -\i (00:00:20) zoom in 19.5632 59.7117 -\i (00:00:20) trapsize 11030 -\i (00:00:20) zoom in 1 -\i (00:00:20) setwindow pcb -\i (00:00:20) zoom in 11.6217 57.0646 -\i (00:00:20) trapsize 5515 -\i (00:00:22) open -\i (00:00:26) fillin "menu_cancel" -\i (00:00:26) generaledit -\i (00:00:26) QtSignal SPBFoldDockArea FoldAreaTabWidget currentChanged "Start Page" -\i (00:00:28) QtSignal SPBFoldDockArea FoldAreaTabWidget currentChanged HC_DFCD_Protocol_V3_0 -\i (00:00:28) opencd D:/HC-PMP-SW/Power_ControlPannel/MP_Control_sw_405/south/HC_DFCD_Source_Eload_V1_1/PCB/HC_DFCD_Source_Eload_V1_1.brd -\t (00:00:28) Opening existing design... -\i (00:00:29) trapsize 283 -\t (00:00:29) Journal end - Tue Sep 15 20:17:15 2026 +\t (00:00:05) allegro 17.2 S079 Windows SPB 64-bit Edition +\t (00:00:05) Journal start - Wed Sep 16 22:17:09 2026 +\t (00:00:05) Host=DESKTOP-5RA9F3K User=Adminuser Pid=19892 CPUs=20 +\t (00:00:05) CmdLine= D:\Cadence\SPB_17.2\tools\bin\allegro.exe +\t (00:00:05) + (00:00:05) Loading axlcore.cxt +\t (00:00:06) Starting new design... +\i (00:00:06) trapsize 29310 +\i (00:00:07) generaledit +\i (00:00:08) trapsize 1230 +\i (00:00:08) QtSignal SPBFoldDockArea FoldAreaTabWidget currentChanged unnamed +\i (00:00:08) opencd D:/HC-PMP-SW/Power_ControlPannel/MP_Control_sw_405/south/HC_DFCD_Source_Eload_V1_1/PCB/HC_DFCD_Source_Eload_V1_1.brd +\t (00:00:08) Opening existing design... +\i (00:00:08) trapsize 283 +\t (00:00:08) Journal end - Wed Sep 16 22:17:12 2026 diff --git a/docs/修改日志.md b/docs/修改日志.md index e86bb56..01a94b8 100644 --- a/docs/修改日志.md +++ b/docs/修改日志.md @@ -1,5 +1,26 @@ # 修改日志 +## V1.1.35 - 2026-09-21 + +### 北向轮询无回码让行 + +- 北向请求单次等待 `50ms` 未收到匹配回码时立即轮转到下一通道;保留原状态,下一次轮到该通道时再继续发送和等待。 +- 协议板版本寄存器 `0x0300` 更新为 `0x0133`。 + +## V1.1.34 - 2026-09-21 + +### 功率板小电流归零 + +- 新增 `ELOAD_CURRENT_ZERO_THRESHOLD_MA` 宏,功率板采样电流小于 `20mA` 时按 `0mA` 发布。 +- 协议板版本寄存器 `0x0300` 更新为 `0x0132`。 + +## V1.1.33 - 2026-09-20 + +### Source 初始化事务保护 + +- Source处于 `INIT` 或 `INIT_WAIT` 时,重复运行请求只继续当前初始化;不同配置返回忙,避免跳过南向初始化批次结果检查。 +- 协议板版本寄存器 `0x0300` 更新为 `0x0131`。 + ## V1.1.32 - 2026-09-17 ### 版本号管理