مجله علمی تفریحی بیبیس
0

دانلود کتاب برنامه‌نویسی زبان اسمبلی RP2040 -شامل RP2350 و رزبری پای پیکو ۲

بازدید 22
  • عنوان کتاب: RP2040 Assembly Language Programming -Including the RP2350 and Raspberry Pi Pico 2
  • نویسنده: Stephen Smith
  • حوزه: برنامه‌نویسی اسمبلی
  • سال انتشار: 2026
  • تعداد صفحه: 323
  • زبان اصلی: انگلیسی
  • نوع فایل: pdf
  • حجم فایل: 3.80 مگابایت

انفجاری در پروژه‌های الکترونیکی DIY وجود دارد که عمدتاً توسط میکروکنترلرهای مبتنی بر آردوینو و کامپیوترهای Raspberry Pi تقویت می‌شوند. ساخت پروژه‌های الکترونیکی با صدها قطعه ماژولار ارزان قیمت برای انتخاب، هرگز آسان‌تر از این نبوده است. مردم ربات‌ها، سیستم‌های نظارت و امنیت خانه، دستگاه‌های بازی، آلات موسیقی، سیستم‌های صوتی و موارد دیگر را طراحی می‌کنند. Raspberry Pi Pico ورود بنیاد Raspberry Pi به بازار میکروکنترلرهای به سبک آردوینو است. یک کامپیوتر معمولی Raspberry Pi لینوکس را اجرا می‌کند و معمولاً بسته به حافظه و لوازم جانبی از 35 تا 100 دلار قیمت دارد. Raspberry Pi Pico 4 دلار قیمت دارد و سیستم عاملی را اجرا نمی‌کند. برای تأمین انرژی Raspberry Pi Pico، بنیاد Raspberry Pi یک سیستم روی تراشه (SoC) سفارشی به نام RP2040 طراحی کرده است که شامل دو پردازنده ARM Cortex-M0+ به همراه مجموعه‌ای از اجزای کنترل‌کننده دستگاه است. این ترکیب یک پردازنده قدرتمند و سهولت ادغام، این را به انتخابی عالی برای هر پروژه DIY تبدیل کرده است. علاوه بر این، Raspberry تراشه‌های RP2040 را جداگانه می‌فروشد و شرکت‌های دیگری مانند Seeed Studio، Adafruit و Pimoroni نسخه‌های مخصوص به خود از این میکروکنترلر را با ویژگی‌های داخلی اضافی مانند بلوتوث یا Wi-Fi می‌فروشند. تراشه‌های RP2040 را حتی می‌توان با قیمت تقریبی ۱ دلار برای ساخت برد شخصی خریداری کرد. در سطح پایه، این میکروکنترلرها چگونه برنامه‌ریزی می‌شوند؟ چه چیزی پایه جادویی تمام پروژه‌های بزرگی را که برنامه‌نویسان با آنها می‌سازند، فراهم می‌کند؟ Raspberry یک کیت توسعه‌دهنده نرم‌افزار (SDK) برای برنامه‌نویسان C و همچنین پشتیبانی از برنامه‌نویسی در MicroPython ارائه می‌دهد. این کتاب به این سؤالات پاسخ می‌دهد و به چگونگی برنامه‌نویسی این میکروکنترلرها در سطح پایه می‌پردازد و بینشی در مورد معماری RP2040 ارائه می‌دهد. زبان اسمبلی، روش بومی و سطح پایین برای برنامه‌ریزی یک کامپیوتر است. هر تراشه پردازشی زبان اسمبلی مخصوص به خود را دارد. این کتاب برنامه‌نویسی پردازنده ۳۲ بیتی ARM Cortex-M0+ را پوشش می‌دهد. برای یادگیری نحوه کار یک کامپیوتر، یادگیری زبان اسمبلی راهی عالی برای ورود به جزئیات اساسی است. محبوبیت و هزینه پایین میکروکنترلرهایی مانند Raspberry Pi Pico، پلتفرم‌های ایده‌آلی را برای یادگیری مفاهیم پیشرفته در محاسبات فراهم می‌کند. اگرچه همه این دستگاه‌ها کم‌مصرف و جمع‌وجور هستند، اما همچنان کامپیوترهای پیچیده‌ای با پردازنده چند هسته‌ای، پردازنده‌های ورودی/خروجی قابل برنامه‌ریزی و کنترل‌کننده‌های سخت‌افزاری یکپارچه هستند. هر چیزی که در مورد این دستگاه‌ها آموخته شود، مستقیماً با هر گجتی با پردازنده ARM که از نظر حجم، پردازنده شماره یک بازار امروز است، مرتبط است. در این کتاب، نحوه برنامه‌ریزی پردازنده‌های ARM Cortex-M0+ در پایین‌ترین سطح، که تا حد امکان نزدیک به سخت‌افزار عمل می‌کنند، پوشش داده شده است. نحوه انجام موارد زیر آموخته خواهد شد: – قالب‌بندی دستورالعمل‌ها و ترکیب آنها در برنامه‌ها، و همچنین قالب‌بندی داده‌های دودویی عملیاتی. – برنامه‌ریزی کمک‌پردازنده‌های ورودی/خروجی، تقسیم و درون‌یابی قابل برنامه‌ریزی داخلی. – کنترل دستگاه‌های سخت‌افزاری یکپارچه با خواندن و نوشتن مستقیم در رجیسترهای کنترل سخت‌افزار. – تعامل با RP2040 SDK. ساده‌ترین راه برای یادگیری این وظایف، اتصال یک رزبری پای پیکو به یک رزبری پای با سیستم عامل رزبری پای، نسخه‌ای از لینوکس، است. این روش تمام ابزارهای لازم برای یادگیری برنامه‌نویسی به زبان اسمبلی را فراهم می‌کند. تمام نرم‌افزارهای مورد نیاز برای این کتاب متن‌باز هستند و به راحتی در رزبری پای در دسترس می‌باشند. این کتاب شامل برنامه‌های کاربردی زیادی برای کار با آنها، استفاده به عنوان نقطه شروع یا مطالعه است. تنها راه یادگیری برنامه‌نویسی، انجام دادن است، بنابراین از آزمایش کردن نترسید زیرا این تنها راه یادگیری است. حتی اگر برنامه‌نویسی اسمبلی در زندگی روزمره استفاده نشود، دانستن نحوه عملکرد پردازنده در سطح زبان اسمبلی و ساختارهای داده دودویی سطح پایین، برنامه‌نویسی بهتری را در تمام زمینه‌های دیگر فراهم می‌کند. دانستن نحوه عملکرد پردازنده به نوشتن کدهای کارآمدتر منجر می‌شود.

There is an explosion of DIY electronics projects, largely fueled by Arduino-based microcontrollers and Raspberry Pi computers. Electronics projects have never been easier to build, with hundreds of inexpensive modular components to choose from. People design robots, home monitoring and security systems, game devices, musical instruments, audio systems, and lots more. The Raspberry Pi Pico is the Raspberry Pi Foundation’s entry into the Arduino-style microcontroller market. A regular Raspberry Pi computer runs Linux and typically costs from $35 to $100 depending on memory and accessories. The Raspberry Pi Pico costs $4 and doesn’t run an operating system. To power the Raspberry Pi Pico, the Raspberry Pi Foundation designed a custom System on a Chip (SoC), called the RP2040, containing dual ARM Cortex-M0+ CPUs along with a raft of device controller components. This combination of a powerful CPU and ease of integration has made this a great choice for any DIY project. Further, Raspberry sells the RP2040 chips separately, and other companies such as Seeed Studio, Adafruit, and Pimoroni are selling their own versions of this microcontroller with extra built-in features like Bluetooth or Wi- Fi. The RP2040 chips can even be purchased for approximately $1 each to build your own board. At the basic level, how are these microcontrollers programmed? What provides the magical foundation for all the great projects that programmers build with them? Raspberry provides a Software Developer’s Kit (SDK) for C programmers as well as support for programming in MicroPython. This book answers these questions and delves into how these are programmed at the bare metal level and provides insight into the RP2040’s architecture. Assembly Language is the native, lowest-level way to program a computer. Each processing chip has its own Assembly Language. This book covers programming the ARM Cortex-M0+ 32-bit Processor. To learn how a computer works, learning Assembly Language is a great way to get into the nitty-gritty details. The popularity and low cost of microcontrollers like the Raspberry Pi Pico provide ideal platforms to learn advanced concepts in computing. Even though all these devices are low-powered and compact, they’re still sophisticated computers with a multi-core processor, programmable I/O processors, and integrated hardware controllers. Anything learned about these devices is directly relevant to any gadget with an ARM processor that by volume is the number one processor on the market today. In this book, how to program ARM Cortex-M0+ processors at the lowest level, operating as close to the hardware as possible, is covered. How to do the following will be learned: -Format instructions and combine them into programs, as well as the formats of operative binary data. -Program the built-in programmable I/O, division, and interpolation coprocessors. -Control the integrated hardware devices by reading and writing to the hardware control registers directly. -Interact with the RP2040 SDK. The simplest way to learn these tasks is with a Raspberry Pi Pico connected to a Raspberry Pi running the Raspberry Pi OS, a version of Linux. This provides all the tools needed to learn Assembly Language programming. All the software required for this book is open source and readily available on the Raspberry Pi. This book contains many working programs to play with, use as a starting point, or study. The only way to learn programming is by doing, so don’t be afraid to experiment as it is the only way to learn. Even if Assembly programming isn’t used in day-to-day life, knowing how the processor works at the Assembly Language level and the low-level binary data structures will make for better programming in all other areas. Knowing how the processor works will translate to writing more ef

این کتاب را میتوانید از لینک زیر بصورت رایگان دانلود کنید:

Download: RP2040 Assembly Language Programming

نظرات کاربران

  •  چنانچه دیدگاه شما توهین آمیز باشد تایید نخواهد شد.
  •  چنانچه دیدگاه شما جنبه تبلیغاتی داشته باشد تایید نخواهد شد.

دیدگاهتان را بنویسید

نشانی ایمیل شما منتشر نخواهد شد. بخش‌های موردنیاز علامت‌گذاری شده‌اند *

بیشتر بخوانید

X