This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Master Control panel 3.8.0.7 fails to search devices

Hi, After i flashed the firmware MEFW nRF58122 0.11.0, MCP "start discovery" button is disabled. I flashed the lower version MEFW nRF58122 0.9.0. Same issue.

There is exception after "Failed to import BleDfu" with Python exception in the log file.

I saw a similar questions asked earlier, but unanswered.

Here is the log file content.

2;03:21:59.0809 [MainThread] Master Control Panel 3.8.0.7
3;03:21:59.1029 [MainThread] Log verbosity level: High
4;03:21:59.2019 [MainThread] nrfjprog.dll 5.2.0.45203
5;03:21:59.2029 [MainThread] JLinkARM.dll 4.92
6;03:21:59.2089 [MainThread] 480112595 - COM3
7;03:21:59.2179 [MainThread] nrfjprog.dll 5.2.0.45203
8;03:21:59.2339 [MainThread] HciJLinkDriver opened (COM3, 1000000-8-None-1-RequestToSend)
9;03:21:59.2389 [480112595][MainThread] JLinkARM.dll 4.92
10;03:21:59.2459 [480112595][MainThread] 480112595 - COM3
11;03:22:00.5760 [480112595][MainThread] HCI command: BTLE_CMD_READ_BD_ADDR
12;03:22:00.5900 [480112595][MainThread] Serial port write: 01-09-10-00
13;03:22:00.5910 [480112595][MainThread] Waiting for event packet. Timeout is 500ms
14;03:22:00.5940 [480112595][ReadPacketQueueThread] Serial port read: 04-0E-0A-01-09-10-00-56-FF-99-00-CD-29
15;03:22:00.6070 [480112595][ReadPacketQueueThread] HCI event: BTLE_EVENT_COMMAND_COMPLETE, OpCode: BTLE_CMD_READ_BD_ADDR, Status: BTLE_STATUS_CODE_SUCCESS, BdAddress: 0x29CD0099FF56
16;03:22:00.6070 [480112595][MainThread] Finished waiting for event packet. PacketReceived:True
17;03:22:00.6090 [480112595][MainThread] HCI command: NRF_CMD_SET_BD_ADDR, Address: 0x2C-48-76-93-A4-F2
18;03:22:00.6090 [480112595][MainThread] Serial port write: 01-03-FC-06-2C-48-76-93-A4-F2
19;03:22:00.6090 [480112595][MainThread] Waiting for event packet. Timeout is 500ms
20;03:22:00.7100 [480112595][ReadPacketQueueThread] Serial port read: 04-0E-04-01-03-FC-00
21;03:22:00.7100 [480112595][ReadPacketQueueThread] HCI event: BTLE_EVENT_COMMAND_COMPLETE, OpCode: NRF_CMD_SET_BD_ADDR, Status: BTLE_STATUS_CODE_SUCCESS
22;03:22:00.7100 [480112595][MainThread] Finished waiting for event packet. PacketReceived:True
23;03:22:00.7120 [480112595][MainThread] HCI command: NRF_CMD_GET_VERSION_INFO
24;03:22:00.7120 [480112595][MainThread] Serial port write: 01-06-FC-00
25;03:22:00.7120 [480112595][MainThread] Waiting for event packet. Timeout is 500ms
26;03:22:00.9180 [480112595][ReadPacketQueueThread] Serial port read: 04-0E-2C-01-06-FC-00-6D-65-66-77-5F-6E-72-66-35-31-38-32-32-5F-30-2E-31-31-2E-30-2E-31-38-33-37-38-00-00-00-00-00-00-00-00-00-00-00-00-00-00
27;03:22:00.9180 [480112595][ReadPacketQueueThread] HCI event: BTLE_EVENT_COMMAND_COMPLETE, OpCode: NRF_CMD_GET_VERSION_INFO, Status: BTLE_STATUS_CODE_SUCCESS, VersionInfo: mefw_nrf51822_0.11.0.18378
28;03:22:00.9180 [480112595][MainThread] Finished waiting for event packet. PacketReceived:True
29;03:22:01.7951 [480112595][ScriptThread] Failed to import BleDfu
30;03:22:01.8571 [480112595][ScriptThread] Python exception: No module named Nordicsemi 
Stacktrace:   at Microsoft.Scripting.Runtime.LightExceptions.CheckAndThrow(Object value)
   at Microsoft.Scripting.Interpreter.FuncCallInstruction`2.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)
   at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
   at IronPython.Compiler.RuntimeScriptCode.Run(Scope scope)
   at IronPython.Runtime.PythonContext.InitializeModule(String fileName, ModuleContext moduleContext, ScriptCode scriptCode, ModuleOptions options)
   at IronPython.Runtime.PythonContext.CompileModule(String fileName, String moduleName, SourceUnit sourceCode, ModuleOptions options, ScriptCode& scriptCode)
   at IronPython.Runtime.Importer.LoadModuleFromSource(CodeContext context, String name, String path)
   at IronPython.Runtime.Importer.LoadFromDisk(CodeContext context, String name, String fullName, String str)
   at IronPython.Runtime.Importer.ImportFromPathHook(CodeContext context, String name, String fullName, List path, Func`5 defaultLoader)
   at IronPython.Runtime.Importer.ImportFromPath(CodeContext context, String name, String fullName, List path)
   at IronPython.Runtime.Importer.ImportModule(CodeContext context, Object globals, String modName, Boolean bottom, Int32 level)
   at IronPython.Modules.Builtin.__import__(CodeContext context, String name, Object globals, Object locals, Object fromlist, Int32 level)
   at Microsoft.Scripting.Interpreter.FuncCallInstruction`7.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.LightLambda.Run7[T0,T1,T2,T3,T4,T5,T6,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)
   at IronPython.Runtime.Importer.ImportLightThrow(CodeContext context, String fullName, PythonTuple from, Int32 level)
   at IronPython.Runtime.Operations.PythonOps.ImportWithNames(CodeContext context, String fullName, String[] names, Int32 level)
   at Microsoft.Scripting.Interpreter.FuncCallInstruction`5.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)
   at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
   at IronPython.Compiler.RuntimeScriptCode.Run(Scope scope)
   at IronPython.Runtime.PythonContext.InitializeModule(String fileName, ModuleContext moduleContext, ScriptCode scriptCode, ModuleOptions options)
   at IronPython.Runtime.PythonContext.CompileModule(String fileName, String moduleName, SourceUnit sourceCode, ModuleOptions options, ScriptCode& scriptCode)
   at IronPython.Runtime.Importer.LoadModuleFromSource(CodeContext context, String name, String path)
   at IronPython.Runtime.Importer.LoadFromDisk(CodeContext context, String name, String fullName, String str)
   at IronPython.Runtime.Importer.ImportFromPathHook(CodeContext context, String name, String fullName, List path, Func`5 defaultLoader)
   at IronPython.Runtime.Importer.ImportFromPath(CodeContext context, String name, String fullName, List path)
   at IronPython.Runtime.Importer.ImportNestedModule(CodeContext context, PythonModule module, String[] parts, Int32 current, List path)
   at IronPython.Runtime.Importer.ImportModuleFrom(CodeContext context, Object from, String[] parts, Int32 current)
   at IronPython.Runtime.Importer.ImportModule(CodeContext context, Object globals, String modName, Boolean bottom, Int32 level)
   at IronPython.Modules.Builtin.__import__(CodeContext context, String name, Object globals, Object locals, Object fromlist, Int32 level)
   at Microsoft.Scripting.Interpreter.FuncCallInstruction`7.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.LightLambda.Run7[T0,T1,T2,T3,T4,T5,T6,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)
   at IronPython.Runtime.Importer.ImportLightThrow(CodeContext context, String fullName, PythonTuple from, Int32 level)
   at IronPython.Runtime.Operations.PythonOps.ImportWithNames(CodeContext context, String fullName, String[] names, Int32 level)
   at Microsoft.Scripting.Interpreter.FuncCallInstruction`5.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
   at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
   at IronPython.Compiler.PythonScriptCode.Run(Scope scope)
   at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
   at IronPython.Compiler.RuntimeScriptCode.Run(Scope scope)
   at Microsoft.Scripting.SourceUnit.Execute(Scope scope, ErrorSink errorSink)
   at Microsoft.Scripting.Hosting.ScriptSource.Execute(ScriptScope scope)
   at Microsoft.Scripting.Hosting.ScriptEngine.ExecuteFile(String path, ScriptScope scope)
   at UlpbtIronPython.TesterScript.ScriptRun()
  • The script that fails is the script.py in the lib folder of MCP. It tries to import the MasterEmulator.dll. I tried to remove this dll file, and got the exact same error log. Are you sure that the Master Emulator that came with the MCP install got successfully installed? The dll should be located in the "C:\Program Files (x86)\Nordic Semiconductor\Master Emulator\2.1.11.7" folder. Try to reinstall MCP.

Related