-
Notifications
You must be signed in to change notification settings - Fork 122
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
Upload issue with 9.6.0 for Arduino Nano 33 BLE #175
Comments
Exactly the same here - I've literally lost days on this. Switches to the upload port but never re-establishes the monitor port after upload. Change platformio.ini to read platform = nordicnrf52**@9.5.0** and suddenly everything works. |
I have reproduced the Nano 33 BLE problem on multiple boards (purchased directly from Arduino) in PIO both on Windows 10 and MacOS X High Sierra (10.13.6), both in release and debug build_types, whereas things work perfectly in Arduino on W10 (both with and without a J-Link debugger). In tracing the PIO 9.6.0 problem with a J-Link debug probe, it appears the problem lies in the system initialization code. The Nano 33 BLE seems to crash on an stmia instruction with the stack frames containing return addresses back to reset_handler and system_init, which I would say is kind of telling. Also telling, the upgrade between 9.6.0 and 9.5.0 occurred somewhat recently (March 28th), integrating an updated version of the Arduino mbed core (see here ). Anyway, platform=nordicnrf52@9.6.0 (or, equivalently platform=nordicnrf52) fails as described above, whereas |
Just to formalize the issue: Configuration Description of problem Steps to Reproduce Actual Results Expected Results If problems with PlatformIO Build System: Content of platformio.ini [env:nano33ble960] [env:nano33ble960] Source file to reproduce issue: void setup() { void loop() { |
I have the same issue with 9.5.0 version too.
The code example doesn't play any role - could be a standard blink example.
The process hangs here. I've verified that device is visible on cu/tty:
Please note that on Arduino IDE it works as expected, therefore I assume the problem is with the pio and not elsewhere. |
@renardeinside In my case, the issue was |
Just to follow up and thank you for sharing the workaround. It also happens to me in Ubuntu.
Downgrade version to nordicnrf52@9.5.0 fixes the issue, so it is not serious at the moment.
|
I have verified that the problem is present from tag 9.6.0 to the current 10.2.0 |
Operating System: Windows 10
PlatformIO Version: Core 6.1.6 - Home 3.4.3
Board: Arduino Nano 33 BLE
I noticed that sketches would work fine when uploaded from Arduino IDE, but doesn't when uploaded from PlatformIO. Uploading from PlatformIO will still show as a success, but the device disappears from the COM port immediately after. Regressing to previous releases of nordicnrf52 work fine.
The text was updated successfully, but these errors were encountered: