@libs-scripts-mep/grav-fw-pvi 4.0.1 → 4.0.2

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.
Files changed (2) hide show
  1. package/grav-fw-pvi.js +3 -0
  2. package/package.json +1 -1
package/grav-fw-pvi.js CHANGED
@@ -254,6 +254,9 @@ export default class GravaFW {
254
254
  static async JLink_v7(dirProject = null, nameFile, device, speed = 4000, timeOut = 5000) {
255
255
 
256
256
  return new Promise((resolve) => {
257
+
258
+ pvi.runInstructionS("JLINK7.init", []) // Inicializa o JLink
259
+
257
260
  let logGravacao = ""
258
261
 
259
262
  const id = FWLink.PVIEventObserver.add((msg, param) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libs-scripts-mep/grav-fw-pvi",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "Auxilia na gravação de microcontroladores por linha de comando através do PVI",
5
5
  "main": "grav-fw-pvi.js",
6
6
  "scripts": {