Comments (4)
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.
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.
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.
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)
- Build flags missing /wrong from Arduino HOT 3
- Uno R4 WiFi library doesn't build
- Missing identifier board macro for Uno R4 Minima HOT 1
- Intellisense issue on some systems HOT 2
- Cannot upload to the board HOT 1
- a warrning in platformiO in Clion
- Debugging broke HOT 2
- RTC.begin() deadlocks processor HOT 2
- `ARDUINO_ARCH_RENESAS_UNO` is not defined HOT 1
- Upgrade framework-arduinorenesas-uno HOT 2
- `strnlen` was not declared in this scope HOT 1
- Usage fault when executing code complied with GCC 10 but not with GCC 7 HOT 3
- Add support for WeAct Studio RA4M1 Board HOT 5
- Simple sketch using LED matrix doesn't work. void loop() is never called HOT 5
- JLink Device Names wrong HOT 1
- Linking errors with Arduino IoT Cloud HOT 1
- cannot compile with -flto flag HOT 1
- Please upgrade framework-arduinorenesas-uno
- Flashed my UNO Rev4 Wifi on `pio run && pio run --target upload`? Never uploaded the code?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from platform-renesas-ra.