Arduino IDE 2.2.1 with Arduino GIGA - Dual Core Issues

Hello all,

when programming the GIGA using both cores the IDE does not remember the Flash Split and Target Core settings when moving between the M7 and M4 core windows. This is quite annoying as I have already mis-flashed the cores, which confuses the CPU completely. Is there a chance to correct this in some future version of the IDE?

regards
Herbert

Hi @herbschi. It sounds like this bug:

That bug has already been fixed, but the fix was made after the time of the Arduino IDE 2.2.1 release so it is currently only available when using the latest nightly build of Arduino IDE.

If you would like to give it a try, the nightly build download links are listed here:

https://www.arduino.cc/en/software#nightly-builds

You can have both the nightly build and release version of Arduino IDE installed at the same time, so there is no requirement to uninstall version 2.2.1 before installing the nightly if you don't want.

Alternatively you can wait for the next production release of Arduino IDE to come out, which will also have the fix.

If you give it a try, let us know how it goes!

I thought I should add a note that there is a remaining bug that can cause the IDE to forget the setting under certain conditions:

This will only occur when you create a new sketch or do a "Save As..." operation. Arduino IDE will correctly remember the setting when you are working with a sketch that has already been saved.

I was going to report the same BUG when I found this thread. As a good practice I started using this compiler directives at the top of the files to make sure I don't upload the wrong code to each core (by this bug or my own error).:

#ifndef CORE_CM4
#error Expected to run on core M4
#endif

#ifndef CORE_CM7
#error Expected to run on core M7
#endif

2 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.