This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] BQ25120:连接 EV2400后 BQ Studio 启动崩溃

Guru**** 2493545 points
Other Parts Discussed in Thread: EV2400, BQ25120, BQSTUDIO

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/712202/bq25120-bq-studio-crashing-on-startup-after-connecting-ev2400

器件型号:BQ25120
主题中讨论的其他部件:EV2400BQSTUDIO

我在 我的 Windows 10计算机上安装了 BatteryManagementStudio-1.3.54.1_Build1-windows-installer、运行良好、我能够启动并访问所有内容。 但是、当我连接了 EV2400模块并更改了一些选项、例如"show advanced mode"时、即使在 EV2400断开连接时、程序也会在启动时崩溃。 崩溃消息告诉我查看 C:\ti\BatteryManagementStudio\workspace\.metadata\.log 中的日志,引用的日志文件中只有一个很长的 Java 异常列表。 以下摘录:

!第2018-07-19 12:58:20.025------------------------------------------------------------------------------
Eclipse.buildId=unknown
java.version=1.8.0_74
java.fendor=Oracle Corporation
bootloader constants:os=Win32、arch=x86、WS=Win32、NL=en_US
命令行参数:-OS Win32 -arch x86

!org entry org.eclipse.ui.workbench4 2 2-07-19 13:02:15.079
!在调用 workbench.ipse.ui.2018.
!synstack 0
java.lang.NullPointerException
at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1967 )
at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:1600
at org.eclipse.ui.internal.WorkbenchWindow.access$16(WorkbenchWindow.java:1542 )
at org.eclipse.ui.internal.WorkbenchWindow$11.run(WorkbenchWindow.java:1628
at org.eclipse.swt.custom.BusyIndicator.showWhile (BusyIndicator.Java:70)
at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1625
org.eclipse.ui.internal.Workbench$14.run(Workbench.java:1189
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42 )
at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1171



org.eclipse.ui.internal.Workbench.close(Workbench.java:1451



org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145 ) at org.eclipse.ui.internal.Workbench.close(Workbench.java:1424 ) at

com.ti.evswsdk.autodetect.AutoDetectDevice.selectTarget(Unknown ) at org.eclipse.ui.internal.Workbench.access$22(Workbench.java:1113 ) at ) at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1454 com.ti.evswsdk.autodetect.AutoDetectDevice$2.run(Unknown at org.ecliplipse.swature.sw.swature.swature.swature.jot.(out.swature.swature.swature.swature.swature.swature.swature.swature.swated.swated.swated.swated.ji.swated.swated.ji.

org.eclipse.ui.internal.WorkbenchWindow.fireWindowOpening(WorkbenchWindow.java:1654)
org.eclipse.ui.internal.WorkbenchWindow.setup(WorkbenchWindow.java:654)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:898)
org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:121)
org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:86)


org.eclipse.ui.internal.Workbench.openWorkbenchWindow(Workbench.java:2675) org.eclipse.e4.core.contexts.ContextInjectionFactory.inject(ContextInjectionFactory.java:73) org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1526)










org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)





org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78) org.eclipse.ui.internal.Workbench.getWorkbenchPage(Workbench.java:2058) org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:211) org.eclipse.ui.internal.Workbench.setReference(Workbench.java:2106) org.eclipse.ui.internal.Workbench.access$28(Workbench.java:2074) org.eclipse.ui.internal.Workbench$35.handleEvent(Workbench.java:1996) org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40) org.eclipse.SWT.widgets.syncsecExec(Synchronizer.java.186)(org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145) org.eclipse.swt.Display.syncdecExec (org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148
org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39) org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230 () org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36 () org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1) org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135 () 4761)()))()))()))()))))
org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:85)
org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59
) org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
org.eclipse.e4.ui.model.application.ui.basic.impl.PartImpl.setContext(PartImpl.java:431)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:615)


org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:509) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$1.run(PartRenderingEngine.java:525)







org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746 org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42



org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746


org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717:org.eclipse.e4.ui.workbenchers.SWT.ElementReferenceder.createWidget (ElementReferenceder.Java:69) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:971) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695)))) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:640 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:658 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711
org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:71 senderrackers.
org.eclipse.e4.ui.workbench.renderers.swt.SashRenderer.processContents(SashRenderer.java:151)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:654)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717)











org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:71) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)


org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746)





org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveRenderer.processContents(PerspectiveRenderer.java:49) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695) org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:71) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717) org.eclipse.e4.ui.workbench.renderers.swt.SashRenderer.processContents(SashRenderer.java:151) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:654) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711))) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695))))) org.eclipse.e4.ui.workbench.renderers.swt.SashRenderer.processContents(SashRenderer.java:151)) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:654 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711 org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:71))))))
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:654




















) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746 org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42 org.eclipse.e4.ui.workbench.renderers.swt.SashRenderer.processContents(SashRenderer.java:151 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717:org.eclipse.e4.ui.workbench.renders.swt.PerspectiveStackRenderer.showTab (PerspectiveStackRenderer.java:82) at org.eclipse.e1.e1.e1.renders.swer.org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695 (org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:658) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:654) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711:
org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:71) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711 org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:71 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746 org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42
org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.processContents(WBWRenderer.java:614:
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:654)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711)








org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695)




org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1061) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018) org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156) org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)


sun.reflect.NativeMethodAccessorImpl.invoke0(Native))) Andorg.eclipse.ui.PlatformUI.createRunWorkbench (PlatformUI.Java:150) at com.ti.evswsdk.Application.start (Unknown Source)(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134 (org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380 sun.reflect.NativeMethodAccessorImpl.invoke(Unknown) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235 (
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown)())())()
java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669
at org.eclipse.equinox.launcher.Main.basicRun (Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515) 

这种情况持续了很长时间、但存在不同的例外情况。 发生什么事了?

我已尝试重新安装并重新启动计算机。 不变。  

如何解决此问题并开始使用 EV2400来访问充电器芯片 BQ25120?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Erik、

    您能否确认您使用的是哪款 EVM? 让我从 BQStudio 团队中找到一位来帮助解决这一问题的人。  

    当您提到您能够访问时、字段视图和读取寄存器是否起作用?

    此致、

    Gautham

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    有点相关-当我以管理员身份运行 EV2400_Updater_v0018.exe 时、在插入 EV2400且 LED 亮起的情况下、我从程序中收到一条消息:

    "错误:未检测到可用 EV2400s。" 这可能是什么原因? EV2400 *Does*显示在我的 Windows 设备管理器列表中。  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我不使用评估板、而是使用内部开发的开发模块、通过该模块、我可以访问充电器的 I2C 线路。 EVM 的意思是这样吗?

    当我能够访问 BQStudio 时、读取寄存器功能不起作用、它不显示来自寄存器的信息、也不能写入任何内容。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我不仅卸载了程序,而且*也*进入 C:\ti\文件夹并删除了卸载期间未被删除的程序的所有剩余部分,从而使 Battery Management Studio 再次工作。 然后我重新启动、然后重新安装、现在我可以返回到程序中。


    尝试使用 EV2400时出现错误"Device ACK ERROR"、这是我必须在最后解决的问题 但是、如果我遇到该错误、这是否意味着软件能够看到 EV2400?


    当我运行 EV2400_Updater_v0018.exe 时、它仍然显示它无法检测任何免费的 EV2400。 EV2400通过 USB 插入、所有 LED 均亮起。

    编辑:我选择了其中一个监测计选项、它在左侧提供了一个显示工具链状态的良好显示屏(不确定充电器模式为什么没有这种状态)。 这样、我就可以看到 EV2400正在工作、问题出在 PCB 上。 对于任何其他与此相关的新手来说、这是一个很好的建议。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Erik、

    很棒! 感谢您发表您的发现。  

    在出现器件 ACK 错误时、您需要确保适配器存在或器件的/CD 引脚仅在 VBAT 上为高电平。

    此致、

    Gautham