When trying to upload a basic sketch to the M4 core the upload fails. this does not happen when uploading to the main core.
This is the sketch:
#include <RPC.h>
void setup() {
RPC.begin();
}
void loop() {
RPC.println("Printed from M4 core");
delay(1000);
}
Upload output:
Sketch uses 128152 bytes (6%) of program storage space. Maximum is 1966080 bytes.
Global variables use 46872 bytes (15%) of dynamic memory, leaving 247376 bytes for local variables. Maximum is 294248 bytes.
Waiting for upload port...
No upload port found, using COM7 as fallback
Warning: Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release
Only DfuSe file version 1.1a is supported
(for raw binary download, use the --dfuse-address option)
"C:\Users\mb\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.10.0-arduino1/dfu-util" --device 0x2341:0x0366 -D "C:\Users\mb\AppData\Local\Temp\arduino\sketches\5E5F72E1A836762C1A7C9DC60CB28022/Basic_AddSub.ino.bin" -a0 --dfuse-address=:leave
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:0366
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 "
I have narrowed the problem down to this message:
Only DfuSe file version 1.1a is supported
I have tried multiple versions of the Arduino Mbed OS Giga Boards, have tried it on a second computer and have already reinstalled arduino ide with no luck.
I have also tried to manually upload it using dfu-utl using the " --dfuse-address option
" but i don't know enough about it manually set the start and end point.
any help would be appreciated.