Request 2 Cancelled on Connection Close

Click to start debug
image
IDE version 2.2.1
Mac Mini I7
Mojave
Removed IDE and ALL libraries, folders, caches, configurations, etc.
Reinstalled - same error.
Removed IDE and ALL libraries, folders, caches, configurations, etc.
Upgraded to Sanoma 14.2.1
Reinstalled - same error

Frustrated.

Any ideas?

1 Like

my crystal ball is in the dishwasher...

Zero help - but ticked my thread where others are less likely to help, as it looks answered. Thanks :crazy_face:

HELLO - can anybody please offer some actual input here? Two MacOS platforms, same result.

Hi @beananimal. Do you have a CMSIS-DAP-compliant debug probe connected between your computer and the SWD test pads on the bottom of the Nano 33 BLE board?

Hi - Yes I have an Atmel-ICE and have tried another older Segger EDU.

Maybe I am doing something wrong, but the lack of information is frustrating. I posted again today in frustration, but have honestly moved on. I have two BLE boards, the 110wifi and a few mega boards. Things were working find ~6 months ago. I updated the IDE and now nothing works. I can compile and flash, but don't even get serial comms most of the time. The IDE constantly hangs (indexing). I thought it was this Mac so went ahead and fully cleared IDE and Cache, etc. Upgraded to Sanoma and it is no better. I can't consistently get a serial print "hello world" to show up, let alone debug. Often the IDE loses track of boards, etc.

I moved over to my MacBook Pro and have exactly the same issues on Monterey where I made the mistake of updating to latest version of IDE (weeks ago before i knew I was going to have problems).

So - as I stated, I posted out of frustration and have no more time to devote to this. The IDE does not feel well supported anymore and is riddled with bugs. I will circle back one day when I have time.

Thank you for responding, but consider this closed.

I think you are misremembering. Support for using the Nano 33 BLE with the Arduino IDE integrated sketch debugger was only added 2023-11-23:

Maybe you were using the MKR WiFi 1010 before. That board has been supported for years:

https://docs.arduino.cc/software/ide-v2/tutorials/ide-v2-debugger/

If you want to try using the debugger with the Nano BLE 33, I suggest trying the latest nightly build of Arduino IDE. A lot of work has been done recently on the debugging framework. The nightly build download links are listed here:

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

The release version of the IDE can be installed at the same time as the nightly so you can give the nightly a try and then switch back to the release version later if you decide it doesn't provide any benefits.

Hi - Thank you for the response.
I apologize if what I what I posted was ambiguous. I have only had the BLE 33 boards for a week or two.

My IDE is what was working fine 6 months ago. But now I am having problems with just about everything. Ignoring, the debugger, I can't get the Nano BLE 33 to behave consistently and the IDE is kind of flaky. Serial problems, forever indexing, buttons not working sometimes, etc. As I said, this is on two machines and two different MacOS generations. I ran out of patience playing with it and have removed the materials from my desk to focus on other things. If anything I will try to go back to a build from last year where things worked for my purposes.

Thanks for trying to help.

I get the same error. I have a Potenta H7 lite board and the latest IDE.
Here's the messages from the debug pane:

Cortex-Debug: VSCode debugger extension version 1.5.1 git(be7d3c8+dirty). Usaage info: https://github.com/Marus/cortex-debug#usage
Reading symbols from C:\Users\aspec\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\bin\arm-none-eabi-objdump.exe --syms -C -h -w C:/Users\aspec\AppData\Local\Temp\arduino\sketches\1B63FABAF6C9FED6499237E9A2CBC646\HBO_Main.ino.elf
Reading symbols from c:/users\aspec\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\bin\arm-none-eabi-nm.exe --defined-only -S -l -C -p C:/Users\aspec\AppData\Local\Temp\arduino\sketches\1B63FABAF6C9FED6499237E9A2CBC646\HBO_Main.ino.elf
Launching GDB: "C:\\Users\\aspec\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4\\bin\\arm-none-eabi-gdb.exe" -q --interpreter=mi2 "C:/Users\\aspec\\AppData\\Local\\Temp\\arduino\\sketches\\1B63FABAF6C9FED6499237E9A2CBC646\\HBO_Main.ino.elf"
    IMPORTANT: Set "showDevDebugOutput": "raw" in "launch.json" to see verbose GDB transactions here. Very helpful to debug issues or report problems

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