@libs-scripts-mep/grav-fw-pvi 2.3.2 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/grav-fw-pvi.js +3 -3
- package/package.json +1 -1
package/grav-fw-pvi.js
CHANGED
|
@@ -70,7 +70,7 @@ class GravaFW {
|
|
|
70
70
|
resolve({ sucess: false, msg: `Nenhum diretório de firmware ou option byte informado` })
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
pvi.runInstructionS("EXEC", [
|
|
73
|
+
pvi.runInstructionS("EXEC", [`${pvi.runInstructionS("GETRESOURCESPATH", [])}\\stvp\\STVP_CmdLine.exe`, ObjWriteSTM8.commandLineArguments, "true", "true"])
|
|
74
74
|
|
|
75
75
|
})
|
|
76
76
|
|
|
@@ -169,7 +169,7 @@ class GravaFW {
|
|
|
169
169
|
|
|
170
170
|
}, "sniffer.exec")
|
|
171
171
|
|
|
172
|
-
pvi.runInstructionS("EXEC", [`${pvi.runInstructionS("
|
|
172
|
+
pvi.runInstructionS("EXEC", [`${pvi.runInstructionS("GETRESOURCESPATH", [])}/Renesas/RFPV3.Console.exe`, dirProject, "true", "true"])
|
|
173
173
|
|
|
174
174
|
let timeOutGravacao = setTimeout(() => {
|
|
175
175
|
|
|
@@ -276,7 +276,7 @@ class GravaFW {
|
|
|
276
276
|
tryingPorts.push(splittedInfo[2])
|
|
277
277
|
UI.setMsg(`Tentando gravar na porta ${splittedInfo[2]}`)
|
|
278
278
|
|
|
279
|
-
} else if (info.includes("failed to connect")
|
|
279
|
+
} else if (info.includes("failed to connect")) {
|
|
280
280
|
if (tryingPorts.length >= portsFound) {
|
|
281
281
|
PVI.FWLink.globalDaqMessagesObservers.remove(id)
|
|
282
282
|
resolve({ sucess: false, msg: "Gravador não conseguiu se conectar com o ESP32" }); return
|