Menu

DFU Programmer for PPTool

Anobium
2018-05-16
2018-05-18
  • Anobium

    Anobium - 2018-05-16

    As follows:

    Create a new Programmer entry in PP Tool.

    Name = DFUUTIL
    command = %instdir%\..\dfu\DFU.BAT
    params = "%FileName%"
    workingdir = %instdir%\..\dfu
    useif = 
    progconfig = 
    

    Save the new entry and then drag to the top of the PP Tool list to ensure this the first programmer that is called.

    Then, unzip the attachment to DFU folder under GCB@SYN to give your ..\GCB@SYN\DFU

    The programmer will call DFU.BAT that will execute DFU.BAT

    "32 bit\change.exe" %1 "%temp%\wrtemp.dfu"
    "32 bit\dfu-util.exe" -D "%temp%\wrtemp.dfu" -v -R
    

    Change 32 to 64 to suite your operating system.

    Enjoy - but correct any issues by updating this thread.

     

    Last edit: Anobium 2018-05-17
  • Anobium

    Anobium - 2018-05-16

    My use.ini for this entry looks like this:

    [tool = dfu]
    desc = DFTUTIL
    type = programmer
    useif = 
    progconfig = 
    command = %instdir%\..\dfu\DFU.BAT
    params = "%Filename%"
    workingdir = %instdir%\..\dfu
    

    So, this assumes the DFU folder is below GCB@SYN.

     
  • Gert vd Walt

    Gert vd Walt - 2018-05-18

    Thank you it works.
    I copied the snippet you posted into my use.ini, opened the programmer editor, moved it to the top and placed the files in the directories you suggested and everything works.

     

Log in to post a comment.