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

main.py error

Hi

I am trying to flash a new firmware into my device through DFU via the programming python script. I use SDK7.2.0, and do:

ipy main.py -f c:\myproject.hex -a XXXXXXXXXXXX -m Application

I get following error, do not know what to do:

C:\Program Files\Nordic Semiconductor\Master Emulator\2.1.12.6
Sending file c:\smappeefroggee.hex to device DBF15DA71866
Programming the file as a APPLICATION. Using baud rate 1000000
[16:50:01.700] [EXCEPTION] 'type' object has no attribute 'BTLE_CMD_LE_WRITE_SCAN_PARAMETERS'
[16:50:01.700] Call stack:
[16:50:01.747]   File testerScriptCommon, line 468
[16:50:01.747]   File testerScriptCommon, line 435
[16:50:01.747]   File masteremulator, line 28
[16:50:01.747]   File <string>, line 4
[16:50:01.747]   File master_emulator.py, line 184
[16:50:01.747] number of errors: 1
[16:50:02.776] Not connected - Skipping

I am sure I got it working yesterday, but yesterday I also upgraded my MCP to version 3.9.0.6 - could this have something to do with the failure?

Parents
  • I'm getting this same issue with the new masteremulator.dll, my python script worked fine before upgrading to latest dll. I'm not even using it to upload a hexfile, just scanning and reading some data from a characteristic. Is there any way I could get back the old masteremulator.dll?

Reply
  • I'm getting this same issue with the new masteremulator.dll, my python script worked fine before upgrading to latest dll. I'm not even using it to upload a hexfile, just scanning and reading some data from a characteristic. Is there any way I could get back the old masteremulator.dll?

Children
No Data
Related