Can't download PLC code to portenta machine control

Hi!

Im at ways end with the portenta machine control board, i have tried getting it to connect properly for days now, but its still fighting back. Im really dissapointed in how difficult it is to use with the PLC IDE. A quick summary:

  • I partitioned the memory, but it wouldn't download the runtime PLC script thing you were supposed to do the firs time in the PLC IDE
  • I could kind of get it to go trough by timing a doublepress of the reset at the same time as uploading, but then the IDE would freeze when i tried to connect to the portenta
  • I downgraded to PLC IDE 1.0.3, which made the connection and verification of the board successfull, but my code broke of course, after fixing it (it compiles and builds sucessfully) it wont upload. This is all i get from the output:

--- Start compilation (PreBuild) 8:48:22 AM ---
--- End compilation (PreBuild) 8:48:22 AM ---

--- Start compilation (PostBuild) 8:48:22 AM ---
Sketch generated, is changed: false
--- End compilation (PostBuild) 8:48:22 AM ---
Performing 1200-bps touch reset on serial port COM4
Waiting for upload port...
No upload port found, using COM4 as fallback
Warning: Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release
No DFU capable USB device available
"C:\Users\Sondre\AppData\Local\T\A\internal\arduino_dfu-util_0.10.0-arduino1_f76499ce02f56129/dfu-util" --device 0x2341:0x035b -D "C:\Users\Sondre\Documents\PLC_IDE\test3\LLSketch_build/LLSketch.ino.bin" -a0 --dfuse-address=0x08040000: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/

Failed uploading: uploading error: exit status 74

After delving deep into old forum post and reading other peoples frustration, i kind of feel like we're betatesting a product... Any tips on how to get the project running on the portenta?

Update: I can upload on COM3 trough the arduino IDE, but in the PLC IDE i can only connect on COM4, but not upload