From 81f91b2b71511dd21015e4bd643bc729328b8724 Mon Sep 17 00:00:00 2001
From: SikongJueluo
Date: Tue, 20 May 2025 20:31:48 +0800
Subject: [PATCH] fix: boundary scan could not close and jtag scan failed
---
server/src/JtagClient.cs | 2 +-
src/components/equipments/MotherBoardCaps.vue | 71 +++++++++++++------
2 files changed, 52 insertions(+), 21 deletions(-)
diff --git a/server/src/JtagClient.cs b/server/src/JtagClient.cs
index 6773532..37e0476 100644
--- a/server/src/JtagClient.cs
+++ b/server/src/JtagClient.cs
@@ -422,7 +422,7 @@ public class Jtag
if (!MsgBus.IsRunning)
return new(new Exception("Message Bus not Working!"));
- var retPack = await MsgBus.UDPServer.WaitForDataAsync(address, port);
+ var retPack = await MsgBus.UDPServer.WaitForDataAsync(address, 0, port);
if (!retPack.IsSuccessful || !retPack.Value.IsSuccessful)
return new(new Exception("Send address package failed"));
diff --git a/src/components/equipments/MotherBoardCaps.vue b/src/components/equipments/MotherBoardCaps.vue
index 01170d7..e7fce0d 100644
--- a/src/components/equipments/MotherBoardCaps.vue
+++ b/src/components/equipments/MotherBoardCaps.vue
@@ -9,24 +9,40 @@
IDCode: 0x{{ jtagIDCode.toString(16).padStart(8, "0").toUpperCase() }}
-
+
-