Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flashing with transparent mac copy #36

Open
coelner opened this issue Jul 31, 2023 · 0 comments
Open

flashing with transparent mac copy #36

coelner opened this issue Jul 31, 2023 · 0 comments

Comments

@coelner
Copy link

coelner commented Jul 31, 2023

I guess there exists some timing issues:

python zbs_flasher.py mac write ../OpenEPaperLink/binaries/Tag_FW_2.9.bin
Welcome to the ZBS-Flasher Utility                                                                                                                         
No Serial port given, trying to guess...                                                                                                                   
Using port /dev/ttyUSB0                                                                                                                                    
Traceback (most recent call last):                                                                                                                         
  File "/home/koelner/src/ZBS_Flasher/zbs_flasher.py", line 422, in <module>                                                                               
    main()                                                                                                                                                 
  File "/usr/lib/python3.11/site-packages/click/core.py", line 1157, in __call__                                                                           
    return self.main(*args, **kwargs)                                                                                                                      
           ^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                      
  File "/usr/lib/python3.11/site-packages/click/core.py", line 1078, in main                                                                               
    rv = self.invoke(ctx)                                                                                                                                  
         ^^^^^^^^^^^^^^^^                                                                                                                                  
  File "/usr/lib/python3.11/site-packages/click/core.py", line 1719, in invoke                                                                             
    rv.append(sub_ctx.command.invoke(sub_ctx))                                                                                                             
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                              
  File "/usr/lib/python3.11/site-packages/click/core.py", line 1434, in invoke                                                                             
    return ctx.invoke(self.callback, **ctx.params)                                                                                                         
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                         
  File "/usr/lib/python3.11/site-packages/click/core.py", line 783, in invoke                                                                              
    return __callback(*args, **kwargs)                                                                                                                     
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                     
  File "/usr/lib/python3.11/site-packages/click/decorators.py", line 45, in new_func                                                                       
    return f(get_current_context().obj, *args, **kwargs)                                                                                                   
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                   
  File "/usr/lib/python3.11/site-packages/click/decorators.py", line 33, in new_func                                                                       
    return f(get_current_context(), *args, **kwargs)        
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/koelner/src/ZBS_Flasher/zbs_flasher.py", line 252, in mac
    obj.copy_mac_from_firmware()
  File "/home/koelner/src/ZBS_Flasher/zbs_flasher.py", line 145, in copy_mac_from_firmware
    raise CommunicationError("command failed")
CommunicationError: command failed

most of the time this command works:
python zbs_flasher.py mac --mac 0000xxyyzzaabbcc write ../OpenEPaperLink/binaries/Tag_FW_2.9.bin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant