Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use debug function in Arduino IDE 2.3.0 #2277

Closed
China-Mr-Hou opened this issue Feb 15, 2024 · 3 comments
Closed

Unable to use debug function in Arduino IDE 2.3.0 #2277

China-Mr-Hou opened this issue Feb 15, 2024 · 3 comments

Comments

@China-Mr-Hou
Copy link

China-Mr-Hou commented Feb 15, 2024

Describe the bug
Recently I'm using Arduino IDE version 2.2.1, its debug function worked well on my H743VIT6, however after I upgrade to 2.3.0, it says I should select a programmer and doesn't show any more info. The “Tool" menu above doesn't have a programmer selection either. I tried copying the programmer.txt file included from Arduino GIGA R1 package from Arduino Official since GIGA board also uses STM32H7 as the core chip and it didn't change anything.

To Reproduce

Steps to reproduce the behavior:

  1. Install Arduino IDE 2.3.0
  2. Click on the Debug Tab one the left side
  3. See error: No programmer selected for XXX

Desktop (please complete the following information):

  • OS: Windows 11 build 22621
  • Arduino IDE version: 2.3.0
  • STM32 core version: 2.7.1
  • Tools menu settings if not the default: Nothing changed.
  • Upload method: SWD

Board (please complete the following information):

  • Name: Generic H743VITx
  • Hardware Revision: None
  • Extra hardware used if any: None

Additional context
I have standalone OpenOCD and JLink software installed.

@fpistm
Copy link
Member

fpistm commented Feb 15, 2024

Hi @China-Mr-Hou
I saw this issue. It comes from changes from arduino-cli.
I've already started to work on this but need more time to properly handle that and I think I found some issues with the Arduino IDE 2.
More info here: arduino/arduino-ide#2368

@China-Mr-Hou
Copy link
Author

China-Mr-Hou commented Feb 15, 2024

I wrote this comment after I have upgraded my IDE to 2.3.1 and found Arduino Team didn't fix this problem (since issue#2354 is intended). In my opinion, they may be thinking choosing a programmer instead of writing debug configuration json file is simpler. Since simply copying programmers.txt file from Arduino GIGA R1 is not possible, the problem might be in platform.txt, boards.txt or other hardware definition files (which I truly don't understand, sorry :[ ) Anyway, I still appreciate the Arduino developing platform itself and every third party contributions for making hardware coding easy for everyone.

@fpistm
Copy link
Member

fpistm commented Feb 20, 2024

Hi @China-Mr-Hou
the issue will be solved within next Arduino IDE released (refers to the arduino/arduino-ide#2368).
Anyway, I will reviewed all the debug configuration to enhance user experience.

@fpistm fpistm closed this as completed Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants