element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum bought a set of Pico 2
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 33 replies
  • Subscribers 660 subscribers
  • Views 2067 views
  • Users 0 members are here
  • pico
  • pico 2
  • pico_eurocard
Related

bought a set of Pico 2

Jan Cumps
Jan Cumps 3 months ago

I purchased 2 Raspberry Pico 2W. To try the RISCs.

image

The 3 things that I want to get going first:

  • White check mark debug session on 1 RISC with PicoProbe
  • White check mark FreeRTOS SMP running on the 2 RISCS
  • White check mark use 3 PIOs (I used the 3rd pio with the stepper motor design I made earlier)

image
customer action photo: Pico 2W on a pico-eurocard

image
customer action photo: Pico 2W runs 10 stepper motors on 3 PIOs

  • Sign in to reply
  • Cancel
Parents
  • BigG
    BigG 3 months ago

    My approach would be to use Visual Studio Code and the official Raspberry Pi Pico extension.

    Within this extension, choose the "New Project" option. This gives you the opportunity to select RISC-V architecture and the Pico 2 chipset. Then it offers a couple of other template options, e.g timers, console etc.

    Then select create.

    Assuming the paths are sorted, it will insert various headers etc. and some boilerplate code which all compile etc.

    Then explore, amend and learn...

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • BigG
    BigG 3 months ago

    My approach would be to use Visual Studio Code and the official Raspberry Pi Pico extension.

    Within this extension, choose the "New Project" option. This gives you the opportunity to select RISC-V architecture and the Pico 2 chipset. Then it offers a couple of other template options, e.g timers, console etc.

    Then select create.

    Assuming the paths are sorted, it will insert various headers etc. and some boilerplate code which all compile etc.

    Then explore, amend and learn...

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
Children
  • Jan Cumps
    Jan Cumps 3 months ago in reply to BigG

    success: mixed

    • I was able to build a project, the traditional way and with the extension
    • I wasn't able to debug, with either solution. The debugger is invoked, then fails (both wit ARM and RISC cores)
    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz 3 months ago in reply to Jan Cumps

    I wonder if its the openocd config files (presume there's a rp2xxx one for the new chip? But guess you've already checked that out!). (Typing from mobile, cannot easily check : (

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Jan Cumps
    Jan Cumps 3 months ago in reply to shabaz

    That was definitely the issue when I tried it first. But I now have the "official pico latest openocd" with the correct files (both debug and register) for pico2

    I am currently porting the very latest debugprobe / picoprobe to the XIAO board, to see if the debugger firmware version is the issue ...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • BigG
    BigG 3 months ago in reply to Jan Cumps

    Cool. Sounds like comms protocol issue. I'm recovering from some surgery, hence all my commenting online (what else can one do, other than this Relaxed). I have an official Pico debugger probe on my desk but will be another week or so before more mobile and able... Will be watching with interest, re your progress blogs / updates.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • dang74
    dang74 3 months ago in reply to BigG

    Wishing you a speedy recovery.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Jan Cumps
    Jan Cumps 3 months ago in reply to Jan Cumps

    I did the port of the latest-latest picoprobe / debugprobe - fresh from github - for the XIAO board that I use as debugger. 
    It works on a Pico 1, but not for Pico 2.

    The openocd is the version that matches sdk 2.1.1, installed by the VSCode Pico Extension. It has (and uses) the Pico 2 configuration files. But the debug session fails. Communication to the debugger works. the debug into the Pico2 fails.

    I'll try to make a new project that uses the ARM cores, and see if that works.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Jan Cumps
    Jan Cumps 3 months ago in reply to Jan Cumps

    so it works when I build for the ARM cores on the Pico 2:

    image

    image

    image

    At least I know now that the debugger works, openocd works, and that the Pico 2 works.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Jan Cumps
    Jan Cumps 3 months ago in reply to BigG

    Fixed, thanks to BigG  and AI!

     have you debugged a Pico2 RISC program with a PICOPROBE / DEBUGPROBE? 

    image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • BigG
    BigG 3 months ago in reply to dang74

    Thanks dang74 

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube