[REQUEST] Raspberry Pi RP2350 and Raspberry Pi Pico 2 support?
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python, raspberry-pi
- Lĩnh vực
- embedded-iot
Hướng nghiên cứu
Bắt đầu bằng cách kiểm tra phần hỗ trợ nền tảng RP2040 hiện có trong repository và đối chiếu với tài liệu về RP2350 và Pico 2 được liên kết trong issue. Xác định phạm vi nền tảng cần thiết, bao gồm những khác biệt về board và kiến trúc, sau đó xác thực rằng các bản build cho RP2350 và Pico 2 hoạt động trước khi xem yêu cầu là hoàn tất.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Please consider looking into adding platform support for the new RP2350 MCU and the Raspberry Pi Pico 2 development board.
RP2350 is the successor and next-generation of RPi RP2040 so guess would need to update the RP2040 platform for it or add another platform?
Raspberry Pi Pico 2 has already been released and comes with all the features of RP2350A, and the RP2350 SoC will be availability to general public available in volume before the end of 2024. To register your interest, and to participate in the Raspberry Pi samples program, head over to the product page.
Many third-party RP2350-based development boards and products are apparently already in the pipeline or can be ordered:
https://www.raspberrypi.com/for-industry/powered-by/product-catalogue/?category=RP2350
FYI, an official "W" version of the Pico 2 with wireless support expected 'by the end of the year' according to the news reports.
Raspberry Pi team writes that the new RP2350 is vastly more sophisticated design than RP2040, however I understand it is supposedly backwards-compatible, though this new model now also offers faster resources, more IO/PIO, support for Arm TrustZone (security architecture), new HSTX peripheral for high-speed data transmission, and support for external QSPI PSRAM.
But I believe that the huge difference is otherwise the fact that the new Raspberry Pi RP2350 MCU features two-modes with dual-core RISC-V or dual-core ARM Cortex-M33 on the chip, meaning that you can either choose to run it in either RISC-V mode or in ARM Cortex-M3 mode, (but not more than two cores active at the same time, so "They're selectable at boot time: Each port into the bus fabric can be connected either to an M33 or a Hazard3 via a mux. You can even, if you're feeling obtuse, run with one of each." Arm/RISC-V switching is explained in the official datasheet:
- https://www.raspberrypi.com/news/raspberry-pi-pico-2-our-new-5-microcontroller-board-on-sale-now/
- https://www.raspberrypi.com/products/raspberry-pi-pico-2/
- https://www.raspberrypi.com/documentation/microcontrollers/pico-series.html#pinout-and-design-files
- https://www.raspberrypi.com/products/rp2350/
- https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf
- https://github.com/raspberrypi/pico-sdk-rp2350
- https://github.com/raspberrypi/pico-examples-rp2350
- https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf
- https://github.com/raspberrypi/pico-vscode
Tip if official Pico2 is hard to find then be ware that SparkFun Pro Micro RP2350 (and DEV-24870) and Adafruit Feather RP2350 (Product ID: 6000) are supposedly among the first of third-parties scheduled to become available to the first third-party boards available with RP2350:
This article from CNX software offers a little more insight into the RP2350 as compared to the RP2040:
"The RP2350 embeds both an open-source Hazard3 RISC-V dual-core CPU and a dual-core Cortex-M33, but only one cluster can be used at a given time. Apart from the faster MCU cores and higher SRAM capacity, the RP2350 is about the same as the RP2040, albeit it also adds one extra PIO block bringing the total to three. One important new feature is built-in security when using Arm Cortex-M33 cores with Trustzone and other security features."
As I understand it, the RP2350A package offers also the same pinout as the RP2040 microcontroller, but the company now also adding a larger RP2350B package with additional GPIOs and analog inputs.
Raspberry Pi used the same method as for the RP2040 to derive the RP2350 name. RP stands for “Raspberry Pi”, “2” is the number of cores, “3” refers to the MCU core used (e.g. Cortex-M33), and the last two numbers “4” and “0” use floor(log2(x/16k)) formula to calculate a number representing the SRAM and non-volatile storage capacity inside the chip.
PS: Off-topic; Raspberry Pi is btw offering a $10,000 bounty for first confirmed break of their new signed boot process on RP2350.:
https://github.com/raspberrypi/rp2350_hacking_challenge
"To get RP2350 hardware into the hands of the engineers most likely to find these flaws, we’ve partnered with the DEF CON hacking convention, which starts today in Las Vegas. This year’s badge is powered by RP2350, and makes a great platform for experimenting with our security architecture."
PPS: Ustream forum discussions from before when they leaked the news about this "Forthcoming RP235x" microcontroller:
- Ngôn ngữ chính
- Python
- Star
- 96
- Fork
- 142
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của platformio/platform-raspberrypi
-
Pico 2 and 2wĐang mởboard request
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
-
board request
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
-
New board: Adafruit MacropadĐang mởboard request
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
platformio/platform-raspberrypi#86 · 1 reaction ·
-
board request
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
platformio/platform-raspberrypi#87 · 2 reaction ·
Tất cả issue của platformio/platform-raspberrypi
Issue tương tự
-
docs(contributing): the two things that silently block a PRCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởavailable documentation good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 95/100
Nixitov/Riptide-Native#944 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
JTHCode/secretguard#24 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: middleware documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainer thường phản hồi trong vòng 1 ngày