I have a Portenta Machine Control board. I'm having issues programming it.
According to the documentation it should program just like a regular Arduino like an Uno. Hit the program button and let it rip.
What I get is different. After uploading the USB serial port is no longer recognized.
If I let it just sit there eventually the programming fails.
At this point the Portenta is out to lunch and will not respond until I push the reset button. From trial and error if I push the reset button as soon as the windows message appears the programming end successfully.
Am I doing something wrong?
This is the output I get.
dfu-util 0.10-dev
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:035b
Device DFU version 011a
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 011a
Device returned transfer size 4096
DfuSe interface name: "Internal Flash 2MB "
Downloading element to address = 0x08040000, size = 250452
Erase [ ] 0% 0 bytes
Erase [ ] 0% 0 bytes
Erase [= ] 4% 12288 bytes
Erase [== ] 8% 20480 bytes
Erase [=== ] 13% 32768 bytes
Erase [==== ] 16% 40960 bytes
Erase [===== ] 21% 53248 bytes
Erase [====== ] 24% 61440 bytes
Erase [======= ] 29% 73728 bytes
Erase [======== ] 32% 81920 bytes
Erase [========= ] 37% 94208 bytes
Erase [========== ] 40% 102400 bytes
Erase [=========== ] 44% 110592 bytes
Erase [============ ] 49% 122880 bytes
Erase [============= ] 52% 131072 bytes
Erase [============== ] 57% 143360 bytes
Erase [=============== ] 60% 151552 bytes
Erase [================ ] 65% 163840 bytes
Erase [================= ] 68% 172032 bytes
Erase [================== ] 73% 184320 bytes
Erase [=================== ] 76% 192512 bytes
Erase [==================== ] 80% 200704 bytes
Erase [===================== ] 85% 212992 bytes
Erase [====================== ] 88% 221184 bytes
Erase [======================= ] 93% 233472 bytes
Erase [======================== ] 96% 241664 bytes
Erase [=========================] 100% 250452 bytes
Erase done.
Download [ ] 0% 0 bytes
Download [= ] 4% 12288 bytes
Download [== ] 8% 20480 bytes
Download [=== ] 13% 32768 bytes
Download [==== ] 16% 40960 bytes
Download [===== ] 21% 53248 bytes
Download [====== ] 24% 61440 bytes
Download [======= ] 29% 73728 bytes
Download [======== ] 32% 81920 bytes
Download [========= ] 37% 94208 bytes
Download [========== ] 40% 102400 bytes
Download [=========== ] 44% 110592 bytes
Download [============ ] 49% 122880 bytes
Download [============= ] 52% 131072 bytes
Download [============== ] 57% 143360 bytes
Download [=============== ] 60% 151552 bytes
Download [================ ] 65% 163840 bytes
Download [================= ] 68% 172032 bytes
Download [================== ] 73% 184320 bytes
Download [=================== ] 76% 192512 bytes
Download [==================== ] 80% 200704 bytes
Download [===================== ] 85% 212992 bytes
Download [====================== ] 88% 221184 bytes
Download [======================= ] 93% 233472 bytes
Download [======================== ] 96% 241664 bytesWarning: Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release
Download [=========================] 100% 250452 bytes
Download done.
File downloaded successfully
Transitioning to dfuMANIFEST state