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

Problem Arduino Nano Connect UF2 blink file not working #358

Open
bonnom opened this issue Jul 26, 2021 · 9 comments
Open

Problem Arduino Nano Connect UF2 blink file not working #358

bonnom opened this issue Jul 26, 2021 · 9 comments
Labels
community Bugs and fixes suggested by the community maker

Comments

@bonnom
Copy link

bonnom commented Jul 26, 2021

I don't know if this is the correct place to place a bug report but I couldn't find another place to do so.
Some people have problems with uploading the blink UF2 file from the 'Nano RP2040 Connect technical reference' https://docs.arduino.cc/tutorials/nano-rp2040-connect/rp2040-01-technical-reference.

I think this is caused by an undocumented change of the flash chip. According to the documents the Arduino Nano Connect should have a AT25SF128A-MHB-T. However newer boards have an ISSI IS25LP128F-JKLE. A completely different flash chip.

Circuitpython also didn’t use to work but than they added IS25LP128F-JKLE and now theirs UF2 file works!

Could the blink UF2 file and the documentation be updated so that it does take the IS25LP128F-JKLE into account?

@pnndra
Copy link

pnndra commented Aug 16, 2021

Hi,
Sorry for the slow reply. Due to the (not so) recent issues with supply chain we're mounting different flash chips depending on availability. While those are mostly compatible with each other, some have slight changes that require fw adjustments. In this specific case the issue can be solved by compiling sketches using the latest core which is of course backwards compatible with all other chips. If you already flashed a board with code compiled with an old core you need to recover by resetting the board while shorting the rec pin with ground. Please make sure you remove the short after reset, before flashing.

@bonnom
Copy link
Author

bonnom commented Aug 30, 2021

I managed to fix the issue, but other might still get the problem!

@mcejp
Copy link

mcejp commented Sep 2, 2021

Does 'the latest core' refer to Mbed OS Nano Boards 2.4.1? I'm having the same issue, even a blinky sktech fails to boot after uploading.

@iKK001
Copy link

iKK001 commented Sep 8, 2021

You write: "...In this specific case the issue can be solved by compiling sketches using the latest core...":

How can I achieve this when working with a 3rd party library ?
Does the library creator need to implement the latest core first ?
Or can I do that by myself. If yes, how exactly (i.e. step by step explanation please).

I already tried:

  1. I connect pin GND to pin RESET (or REC as you call it)
  2. I power the board by plugging in the USB connector
    --> I observe the RPI-RP2-drive cropping up on my desktop screen
  3. I disconnect pin RESET from GND
  4. I download the WiFiManager_NINA_Lite library's Example
    i.e. in Arduino IDE under Examples --> WiFiManager_NINIA_Lite --> RP2040_WiFiNINA
  5. At startup, still the same error :
Starting RP2040_WiFiNINA on MBED NANO_RP2040_CONNECT
WiFiManager_NINA_Lite v1.4.0
[WN] Hostname=RP2040-Master-Controller
LittleFS size (KB) = 64
LittleFS Mount Fail
Formatting...

Can you please explain better, step-by-step how you solve this problem with the library of concern ? Thank you.

@pennam
Copy link
Contributor

pennam commented Sep 8, 2021

Hi @iKK001 regarding issue arduino/ArduinoCore-mbed#318 you have already installed the latest core, so the new flash chip is already supported. I'm thinking you are facing a different issue otherwise your sketch wont even boot. What is the return value of the mbed mount function?

@bonnom
Copy link
Author

bonnom commented Sep 8, 2021

Does 'the latest core' refer to Mbed OS Nano Boards 2.4.1? I'm having the same issue, even a blinky sktech fails to boot after uploading.

Could very well be. Circuitpython had the exact same problem. When the new flash chip was added the configuration, the problem was solved.

@iKK001
Copy link

iKK001 commented Sep 8, 2021

Hi @pennam : How do I get the return value of the bed mount function ? (step by step explanation needed since I am not an expert).

I have certain sketches that work nicely with the board - but not the library of concern.

Can you please look at the library of concern - which is the library WiFiManager_NINA_Lite ? I need a solution for this particular library. And the library owner (khoih-prog) keeps telling me that it is a hardware problem that is the root cause of his library not working.

Can you please talk to each other to clarify the issue ? The library of concern is widely spread enough, I think, to consider it.

@pennam
Copy link
Contributor

pennam commented Sep 8, 2021

i will reply you here arduino/ArduinoCore-mbed#318

@iKK001
Copy link

iKK001 commented Sep 9, 2021

As @pennam found out, the problem can be solved by going back to the mbed-core version 2.3.1 (instead of 2.4.1).

@per1234 per1234 transferred this issue from arduino/Arduino Jul 17, 2022
@per1234 per1234 added the community Bugs and fixes suggested by the community label Jul 17, 2022
Serjlee pushed a commit that referenced this issue Mar 9, 2023
* Initial commit - Tutorial content minor update

* Tutorial content update

* Tutorial content update
jcarolinares added a commit that referenced this issue Mar 9, 2023
* Martab94/portenta-x8-user-manual (#287)

* Create content

* Rename content to content.md

* Create images

* Update content.md

* Add files via upload

* Delete images

* Update content.md

* Update content.md

* Update content.md

* Add files via upload

* Update content.md

* Update content.md

* Update content.md

* Update content.md

* Update content.md

* Update content.md

* Add files via upload

* Update content.md

* Update content.md

* Add files via upload

* Update content.md

* Update content.md

* Update content.md

* Add files via upload

* Add files via upload

* Update content.md

* Update content.md

* Update content.md

* Update content.md

* Add files via upload

* Delete linux_arduino_RPC.png

* Add files via upload

* Update content.md

* Add files via upload

* Update content.md

* Update content.md

* Add files via upload

* Update content.md

* Update content.md

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Delete OOTB_Cloud_device.png

* Add files via upload

* Update content.md

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Delete adb-connection.png

* Add files via upload

* Update content.md

* Add files via upload

* Add files via upload

* Delete OOTB_WiFi_button.png

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Delete OOTB_Cloud_button.png

* Delete OOTB_Cloud_device.png

* Delete OOTB_Python_button.png

* Delete OOTB_X8_manager_button.png

* Delete OOTB_home.png

* Add files via upload

* Add files via upload

* Update content.md

* Update content.md

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update content.md

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update content.md

* Add files via upload

* Add files via upload

* Update content.md

* Delete x8-terminal-ADB-push.png

* Add files via upload

* Update content.md

* Add files via upload

* Update content.md

* Add files via upload

* Add files via upload

* Add files via upload

* Update content.md

* Update content.md

* Add files via upload

* Add files via upload

* Update content.md

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update content.md

* Update content.md

* Update content.md

* Update content.md

* Update content.md

* Update content.md

* Update content.md

* Delete OOTB_WiFi_connection_done.png

* Delete OOTB_WiFi_password.png

* Delete OOTB_WiFi_selection.png

* Delete portenta-x8-call-outs.png

* Delete python_shell_running.png

* Update content.md

* Update content.md

* Update content.md

* Update content.md

* Update content.md

* Update content.md

* Update content.md

* Update content.md

* Update content.md

* Update content.md

* Update content.md

* Update out-of-the-box update

Specify out-of-the-box update

* Andrea review

Adding Andrea's feedbacks

* Fix typo

Fix typo

* Add OS release image

* Portenta X8 update offline

Adding aktualizer lite offline documentation for X8

* Localhost command update

Update localhost command

* Delete OOTB_WiFi_first_setup.png

* Delete OOTB_homepage.png

* Add files via upload

* Add files via upload

* Delete OOTB_homepage_shell.png

* Add files via upload

* Delete OOTB_homepage_cloud.png

* New image upload

New image cloud

* Delete OOTB_cloud_device_name.png

* new cloud image

* Delete OOTB_cloud_generate_API.png

* New OOTB cloud API image

* Add files via upload

* Delete OOTB_cloud_API_copy.png

* New OOTB Cloud API copy image

* Upload organization ID image

* Update Cloud flow

* Add OOTB Cloud successful provisioning

* Adding content cloud example

* Add files via upload

* Delete OOTB_example_dashboard_launch.png

* Update example dashboard picture

* Add Portenta X8 thing created image

* Add Cloud dashboard image

* Fixing some ref links in the tutorial (internal links ref tags in the page)

* Links fixed in the tutorial

* Fixing image adress for OOTB_cloud_success.png

* Fixing some links

* Typo fixed

* Updating Cloud section

* Fixing some links on the tutorial

* Small typo fix

Fixing a word.

* Add working with Cloud section

* Continuing integrating Working with cloud chapter

* Update working with Cloud section

* Add portenta x8 use case for working with cloud

* Update Cloud container documentation

* Add update selection image

* Add update section (still to be finalized)

* Update working with cloud section to integrate Andrea's comments

* Remove NCM support

* Fix typo

* Continue on line 674. Grammar check in progress. Small typos and grammar problems fixed

* Grammar check finished

* Add successful update image

* Update OOTB update

* Architecture Overview moved at top of the section to improve readability/reading flow

* Pinout order updated

* Goals removed

* Number of hardware items

* Small fix, overview changed to introduction

* Update content/hardware/04.pro/boards/portenta-x8/tutorials/what-is-portenta-x8/content.md

* 399 update section correction

* Fix typo

* Banner added- Folder renamed to portenta-x8-user-manual

* Changed folder name to user-manual

* <snip> Error fixed

* Over-The-Air inconsistency solved

* Wi-F -> Wi-Fi®

* Julian's conflicts solution

* Ali Wifi suggestions added

---------

Co-authored-by: Jorge Trujillo <j.trujilloroman@ext.arduino.cc>
Co-authored-by: Jorge Trujillo Román <124149761+Jorgetrujilloroman@users.noreply.github.com>
Co-authored-by: jcarolinares <jcarolinares@gmail.com>
Co-authored-by: aliphys <alicompute@yahoo.com>

* [PC-1031] Portenta X8: Create and Upload a Custom Container to the Portenta X8 Redefinition (#357)

* Initial commit - Tutorial content minor update

* Tutorial content title update (Pending Suggestion)

* Tutorial content title readjustment

* Tutorial content update

* Tutorial content update

* Tutorial content update (Added Docker Hub Upload Section WIP)

* Tutorial content minor update

* [PC-1023] Getting Started Tutorial review (#365)

* [PC-1023] Grammar fixes

Some grammar fixes in the tutorial.

* [PC-1023] Documentation Fix

FIxing some URLs

* Update content/hardware/04.pro/boards/portenta-x8/tutorials/out-of-the-box/content.md

Co-authored-by: Pablo Marquínez Ferrándiz <11246294+marqdevx@users.noreply.github.com>

* Revert "Update content/hardware/04.pro/boards/portenta-x8/tutorials/out-of-the-box/content.md"

This reverts commit 74800a2c819e3b170f84166e72158f80ec8a7b5a.

* [PC-1023] Adding information about IP address

Adding images and information about how to connect to the Portenta X8 webpage when the default IP on the tutorial is not working properly.

---------

Co-authored-by: Pablo Marquínez Ferrándiz <11246294+marqdevx@users.noreply.github.com>

* [PC-1027] Portenta X8: Data Exchange Between Python on Linux and an Arduino Sketch Redefintion (#356)

* Initial commit - minor content update

* Tutorial content update

* Tutorial content minor update

* Tutorial content update

* Tutorial content update

* [PC-1026] Portenta X8: Container Management with Docker & Python on Linux Redefinition (#334)

* Initial Commit - Content clean base

* Tutorial content minor update

* Docker management tutorial major update

* Added small bootloader flash link (Portenta X8)

* tutorial content minor update

* Tutorial content update

* Tutorial content update

* Tutorial content minor update

* Update content/hardware/04.pro/boards/portenta-x8/tutorials/docker-container/content.md

Co-authored-by: Julián Caro Linares <jcarolinares@gmail.com>

* Update content/hardware/04.pro/boards/portenta-x8/tutorials/docker-container/content.md

Co-authored-by: Julián Caro Linares <jcarolinares@gmail.com>

* Tutorial content minor update

* Tutorial content minor update

---------

Co-authored-by: Julián Caro Linares <jcarolinares@gmail.com>

* [PC-1030] Portenta X8: How To Flash Your Portenta X8 Redefinition (#358)

* Initial commit - Tutorial content minor update

* Tutorial content update

* Tutorial content update

* [PC-1033] Portenta X8: How To Build a Custom Image for Your Portenta X8 Redefinition (#359)

* Initial commit - Tutorial content update

* Tutorial content minor update

* Tutorial content update

* [PC-####] Portenta X8: Using FoundriesFactory Waves Fleet Management Redefinition (#362)

* Initial commit - Tutorial content update

* Tutorial content update

* [PC-####] Portenta X8: Uploading Sketches to the M4 Core on Arduino Portenta X8 Redefinition (#361)

* Initial commit - Tutorial content update

* Tutorial content minor update

* Tutorial content update w/ graphic swap

* Tutorial content minor update

* [PC-1035] Grammar fixes (#366)

Some grammar fixes on the tutorial. Changing Wordpress to WordPress.

* [PC-1034] Portenta X8: Data Logging with MQTT, Node-RED, InfluxDB and Grafana Redefinition (#370)

* Initial commit - Tutorial content update

* Tutorial content minor update

* Tutorial content minor update

* Tutorial content update (Header consistency)

* [PC-1032] Portenta X8: Output WebGL Content on a Screen Redefinition (#363)

* Initial commit - Tutorial content update

* Tutorial content minor update

* Tutorial content update

* Tutorial content update

* Tutorial content update

* user manual-linter error fix

* user manual-linter fix

* Essentials updated

* Getting started button updated to user manual

* Suggested libraries updated

* Initial commit - Tutorial content update (Retesting) (#368)

* [PC-1036] Portenta X8: Multi-Protocol Gateway w/ Max Carrier Tutorial Redefinition  (#344)

* Initial commit - Initial adjustments

* Tutorial content major update

* Tutorial content update

* Tutorial content minor fix

* Tutorial content minor update

* Tutorial content graphics update

* Update content/hardware/04.pro/boards/portenta-x8/tutorials/multi-protocol-gateway/content.md

Co-authored-by: Julián Caro Linares <jcarolinares@gmail.com>

* Update content/hardware/04.pro/boards/portenta-x8/tutorials/multi-protocol-gateway/content.md

Co-authored-by: Julián Caro Linares <jcarolinares@gmail.com>

* Update content/hardware/04.pro/boards/portenta-x8/tutorials/multi-protocol-gateway/content.md

Co-authored-by: Julián Caro Linares <jcarolinares@gmail.com>

* Update content/hardware/04.pro/boards/portenta-x8/tutorials/multi-protocol-gateway/content.md

Co-authored-by: Julián Caro Linares <jcarolinares@gmail.com>

* Update content/hardware/04.pro/boards/portenta-x8/tutorials/multi-protocol-gateway/content.md

Co-authored-by: Julián Caro Linares <jcarolinares@gmail.com>

* Update content/hardware/04.pro/boards/portenta-x8/tutorials/multi-protocol-gateway/content.md

Co-authored-by: Julián Caro Linares <jcarolinares@gmail.com>

* Update content/hardware/04.pro/boards/portenta-x8/tutorials/multi-protocol-gateway/content.md

Co-authored-by: Julián Caro Linares <jcarolinares@gmail.com>

* Update content/hardware/04.pro/boards/portenta-x8/tutorials/multi-protocol-gateway/content.md

Co-authored-by: Julián Caro Linares <jcarolinares@gmail.com>

* Update content/hardware/04.pro/boards/portenta-x8/tutorials/multi-protocol-gateway/content.md

Co-authored-by: Julián Caro Linares <jcarolinares@gmail.com>

* Update content/hardware/04.pro/boards/portenta-x8/tutorials/multi-protocol-gateway/content.md

Co-authored-by: Julián Caro Linares <jcarolinares@gmail.com>

* Update content/hardware/04.pro/boards/portenta-x8/tutorials/multi-protocol-gateway/content.md

Co-authored-by: Julián Caro Linares <jcarolinares@gmail.com>

* Update content/hardware/04.pro/boards/portenta-x8/tutorials/multi-protocol-gateway/content.md

Co-authored-by: Julián Caro Linares <jcarolinares@gmail.com>

* Update content/hardware/04.pro/boards/portenta-x8/tutorials/multi-protocol-gateway/content.md

Co-authored-by: Julián Caro Linares <jcarolinares@gmail.com>

* Update content/hardware/04.pro/boards/portenta-x8/tutorials/multi-protocol-gateway/content.md

Co-authored-by: Julián Caro Linares <jcarolinares@gmail.com>

* Tutorial content update w/ Review feedback

---------

Co-authored-by: Julián Caro Linares <jcarolinares@gmail.com>

* Tutorials in order. Essentials fix

* Flashing tutorial PO feedback updated

* Linter general fix for Portenta X8

* Small number fix

---------

Co-authored-by: martab1994 <93210545+martab1994@users.noreply.github.com>
Co-authored-by: Jorge Trujillo <j.trujilloroman@ext.arduino.cc>
Co-authored-by: Jorge Trujillo Román <124149761+Jorgetrujilloroman@users.noreply.github.com>
Co-authored-by: jcarolinares <jcarolinares@gmail.com>
Co-authored-by: aliphys <alicompute@yahoo.com>
Co-authored-by: TaddyHC <94547080+TaddyHC@users.noreply.github.com>
Co-authored-by: Pablo Marquínez Ferrándiz <11246294+marqdevx@users.noreply.github.com>
Co-authored-by: TaddyHC <k.hochung@arduino.cc>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Bugs and fixes suggested by the community maker
Projects
None yet
Development

No branches or pull requests

7 participants