Difference between revisions of "CutiPy-Installing MicroPython Firmware"

From wiki.emacinc.com
Jump to: navigation, search
Line 34: Line 34:
  
 
* From the Command Prompt navigate to the dfu-util directory. If necessary switch drives by entering ''''drive_name:'''. For example to switch to the C drive enter
 
* From the Command Prompt navigate to the dfu-util directory. If necessary switch drives by entering ''''drive_name:'''. For example to switch to the C drive enter
'''c:'''
+
'''c:'''. Use '''dir''' to list sub-directories and use '''cd directory_name''' to navigate to a subdirectory.
  
 +
* Once in the dfu-util directory enter '''dfu-util -l'''. Something similar to the following should be displayed:
  
 +
* From this directory install the firmware to the device by entering the following into the Command Prompt:
  
 +
Something similar to the following should be displayed.
  
  
 +
The firmware is now installed.
  
 +
* Safely eject and disconnect the USB, shift the JB2 pin jumper back to the original location (BT0 and FLS should now be joined). Now reconnnect the MicroUSB cable.
  
 +
Installation is now complete complete.
  
  

Revision as of 16:20, 3 September 2019

THIS PAGE IS CURRENTLY UNDER CONSTRUCTION

Necessary equipment

  1. CutiPy

  2. 1 Micro-USB cable

  3. A pair of needle nose pliers for wire jumper re-positioning

  4. A personal computer (Windows or Linux)

  5. EMAC's latest MicroPython firmware release


Windows Users

  1. With the USB disconnected and power removed, carefully use a pair of needle nose pliers to shift jumper JB2 upwards from FLS to to RXM (The BT0 and RXM pins will now be linked).

  2. Connect your CutiPy to your PC using the Micro-USB cable.

  3. Download and install Zadig

  4. Open Zadig and install WinUSB by selecting the following options given in the image below

  5. Select 'Replace Driver'

  6. After successfully installing the WinUSB driver, download the latest dfu-util application zip file here.

  7. Extract the zip file

  8. For convenience, save the CutiPy firmware dfu file to the dfu-util folder.

  9. Open the Windows Command Prompt by searching and selecting "Command Prompt" from the Windows start menu.

  10. From the Command Prompt navigate to the dfu-util directory. If necessary switch drives by entering 'drive_name:. For example to switch to the C drive enter c:. Use dir to list sub-directories and use cd directory_name to navigate to a subdirectory.

  11. Once in the dfu-util directory enter dfu-util -l. Something similar to the following should be displayed:

  12. From this directory install the firmware to the device by entering the following into the Command Prompt:

    Something similar to the following should be displayed.


    The firmware is now installed.

  13. Safely eject and disconnect the USB, shift the JB2 pin jumper back to the original location (BT0 and FLS should now be joined). Now reconnnect the MicroUSB cable.

    Installation is now complete complete.




Linux Users

Follow the EMAC DFU instructions given here