Giter Site home page Giter Site logo

Comments (4)

maxgerhardt avatar maxgerhardt commented on July 18, 2024 1

Works.

CURRENT: upload_protocol = dfu
"C:\Users\Max\.platformio\packages\tool-dfuutil-arduino\dfu-util" -d 0x2341:0x0069,0x2341:0x0369 -a 0 -Q -D "C:\Users\Max\Desktop\ren\example\.pio\build\uno_r4_minima\firmware.bin"
dfu-util 0.11-arduino4
[...]
Download        [======================== ]  99%        69952 bytes
Download        [=========================] 100%        70240 bytes
Download done.
DFU state(7) = dfuMANIFEST, status(0) = No error condition is present
DFU state(2) = dfuIDLE, status(0) = No error condition is present
Done!
============== [SUCCESS] Took 23.17 seconds ==============

from platform-renesas-ra.

maxgerhardt avatar maxgerhardt commented on July 18, 2024

It also stands that the build script should not add a DFU suffix to the output, becasue the Arduino IDE doesn't do that too.

from platform-renesas-ra.

maxgerhardt avatar maxgerhardt commented on July 18, 2024

For reference: Verbose Upload log from my platform:

CURRENT: upload_protocol = dfu
"C:\Users\Max\.platformio\packages\tool-dfuutil\dfu-util" -d 0x2341:0x0069,0x2341:0x0369 -a 0 -Q -D "C:\Users\Max\Desktop\ren\example\.pio\build\uno_r4_minima\firmware.bin"
dfu-util 0.11-arduino4

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Opening DFU capable USB device...
Device ID 2341:0069
Run-Time device DFU version 0101
Claiming USB DFU (Run-Time) Interface...
Setting Alternate Interface zero...
Determining device status...
DFU state(0) = appIDLE, status(0) = No error condition is present
Device really in Run-Time Mode, send DFU detach request...
Device will detach and reattach...
Opening DFU USB Device...
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
Determining device status...
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 0101
Device returned transfer size 64
Copying data from PC to DFU device

Download        [                         ]   0%            0 bytes
Download        [=                        ]   4%         1408 bytes
Download        [==                       ]   8%         2752 bytes
Download        [===                      ]  12%         4096 bytes
Download        [====                     ]  16%         5440 bytes
Download        [====                     ]  19%         6528 bytes
Download        [=====                    ]  20%         6784 bytes
Download        [======                   ]  24%         8128 bytes
Download        [=======                  ]  28%         9472 bytes
Download        [========                 ]  32%        10816 bytes
Download        [=========                ]  36%        12160 bytes
Download        [=========                ]  39%        13312 bytes
Download        [==========               ]  40%        13504 bytes
Download        [===========              ]  44%        14848 bytes
Download        [============             ]  48%        16192 bytes
Download        [=============            ]  52%        17536 bytes
Download        [==============           ]  56%        18880 bytes
Download        [==============           ]  59%        20032 bytes
Download        [===============          ]  60%        20224 bytes
Download        [================         ]  64%        21568 bytes
Download        [=================        ]  68%        22912 bytes
Download        [==================       ]  72%        24256 bytes
Download        [===================      ]  76%        25600 bytes
Download        [===================      ]  79%        26688 bytes
Download        [====================     ]  80%        26944 bytes
Download        [=====================    ]  84%        28288 bytes
Download        [======================   ]  88%        29632 bytes
Download        [=======================  ]  92%        30976 bytes
Download        [======================== ]  96%        32320 bytes
Download        [======================== ]  99%        33408 bytes
Download        [=========================] 100%        33584 bytes
Download done.
DFU state(7) = dfuMANIFEST, status(0) = No error condition is present
DFU state(2) = dfuIDLE, status(0) = No error condition is present
Done!
<lambda>(["upload"], [".pio\build\uno_r4_minima\firmware.bin"])
============== [SUCCESS] Took 15.56 seconds ==============

from platform-renesas-ra.

valeros avatar valeros commented on July 18, 2024

Hi @maxgerhardt, many thanks for your feedback. I've pushed some fixes to the dev branch, it would be great if you could test out the updated version.

from platform-renesas-ra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.