Bare-Metal Embedded C (Paperback)
Nicholas Whitmore
Venduto da CitiRetail, Stevenage, Regno Unito
Venditore AbeBooks dal 29 giugno 2022
Nuovi - Brossura
Condizione: Nuovo
Spedito da Regno Unito a U.S.A.
Quantità: 1 disponibili
Aggiungere al carrelloVenduto da CitiRetail, Stevenage, Regno Unito
Venditore AbeBooks dal 29 giugno 2022
Condizione: Nuovo
Quantità: 1 disponibili
Aggiungere al carrelloPaperback. STOP GUESSING WHY YOUR FIRMWARE WORKS. START KNOWING.Every embedded engineer hits the same wall eventually: the HAL call that "just works" until it doesn't, the interrupt that fires at the wrong priority, the delay loop that behaves differently the moment you flip on compiler optimization. Vendor libraries are convenient right up until something breaks underneath them, and then you're stuck debugging a black box instead of your own code.Bare-Metal Embedded C strips that black box away. This is a hands-on, register-level guide to programming ARM Cortex-M microcontrollers with nothing between your code and the silicon - no operating system, no bloated abstraction layer, no mystery. Just C, the datasheet, and complete control over the hardware.WHAT YOU'LL ACTUALLY BUILDStarting from an empty project directory, you'll construct a complete firmware image from scratch - startup code, vector table, linker script, and all - before moving into real, working peripheral drivers: GPIO control with proper debounced button inputClock configuration, SysTick, and hardware timers with true microsecond accuracyInterrupt-driven design using the NVIC, done the way production firmware actually does itUART communication, including a full serial debug console you'll use for the rest of the bookSPI and I2C drivers wired up to real sensor hardwareADC sampling and PWM generation for motor control and LED dimmingGDB and OpenOCD debugging techniques for diagnosing the bugs that only show up on real hardwareA complete, multi-peripheral sensor monitoring application that ties every driver together into one properly architected codebaseEvery example is a complete, compilable listing, not a fragment you're left to guess around. Every register access is explained at the bit level, so you understand exactly why the code is written the way it is, not just that it works.WHO THIS BOOK IS FORElectronics hobbyists ready to graduate from Arduino and see what's actually happening under those convenience functionsComputer science grads and self-taught developers whose C skills are solid but have never touched real hardwareWorking software engineers moving into embedded roles who need to get productive fastFirmware engineers who've only ever used vendor HAL libraries and want to finally understand what's underneath themStudents who want a textbook that treats them like capable adults, not a slideshow with code screenshotsYou should already be comfortable with C - pointers, structs, functions. You don't need any prior embedded experience. Everything else, this book builds from the ground up.WHY IT'S DIFFERENTThis isn't a reference manual dump or a copy-paste tutorial series. It's written the way a senior firmware engineer would actually explain things to someone they were mentoring - theory first, then real code, then a clear breakdown of why every design decision was made, including the mistakes that trip people up in production: missing volatile qualifiers, uncleared interrupt flags, race conditions between ISRs and the main loop, stack overflows that silently corrupt unrelated memory.By the last page, you won't just have blinked an LED. You'll have built a complete, interrupt-driven, multi-peripheral firmware application using the same architecture patterns professional teams use in production - and you'll be able to read any Cortex-M datasheet from any vendor and know exactly what to do with it.Scroll up and grab your copy. Your microcontroller has been waiting. This item is printed on demand. Shipping may be from our UK warehouse or from our Australian or US warehouses, depending on stock availability.
Codice articolo 9798188928971
Every embedded engineer hits the same wall eventually: the HAL call that "just works" until it doesn't, the interrupt that fires at the wrong priority, the delay loop that behaves differently the moment you flip on compiler optimization. Vendor libraries are convenient right up until something breaks underneath them, and then you're stuck debugging a black box instead of your own code.
Bare-Metal Embedded C strips that black box away. This is a hands-on, register-level guide to programming ARM Cortex-M microcontrollers with nothing between your code and the silicon — no operating system, no bloated abstraction layer, no mystery. Just C, the datasheet, and complete control over the hardware.
Starting from an empty project directory, you'll construct a complete firmware image from scratch — startup code, vector table, linker script, and all — before moving into real, working peripheral drivers:
Every example is a complete, compilable listing, not a fragment you're left to guess around. Every register access is explained at the bit level, so you understand exactly why the code is written the way it is, not just that it works.
You should already be comfortable with C — pointers, structs, functions. You don't need any prior embedded experience. Everything else, this book builds from the ground up.
This isn't a reference manual dump or a copy-paste tutorial series. It's written the way a senior firmware engineer would actually explain things to someone they were mentoring — theory first, then real code, then a clear breakdown of why every design decision was made, including the mistakes that trip people up in production: missing volatile qualifiers, uncleared interrupt flags, race conditions between ISRs and the main loop, stack overflows that silently corrupt unrelated memory.
By the last page, you won't just have blinked an LED. You'll have built a complete, interrupt-driven, multi-peripheral firmware application using the same architecture patterns professional teams use in production — and you'll be able to read any Cortex-M datasheet from any vendor and know exactly what to do with it.
Scroll up and grab your copy. Your microcontroller has been waiting.
Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.
Visita la pagina della libreria
Orders can be returned within 30 days of receipt.
Se sei un consumatore puoi recedere dal contratto in conformità con quanto segue. Per Consumatore si intende qualsiasi persona fisica che agisce per scopi estranei alla propria attività commerciale, imprenditoriale, artigianale o professionale.
Informazioni sul diritto di recesso
Diritto legale di recesso
Hai il diritto di recedere dal presente contratto entro 14 giorni senza fornire alcuna motivazione.
Il periodo di recesso scade dopo 14 giorni dal giorno in cui tu o una terza parte, diversa dal vettore e da te indicata, acquisisce il possesso fisico dell'ultimo bene o dell'ultimo lotto o pezzo.
Per esercitare il diritto di recesso, compila e invia elettronicamente una dichiarazione esplicita sul nostro sito Web, alla voce “I miei acquisti” nella sezione “Mio account”. Ti comunicheremo senza indugio una conferma di ricezione di tale recesso su un supporto durevole (ad es. via e-mail).
Per rispettare il termine di recesso, è sufficiente inviare la comunicazione relativa all'esercizio del diritto di recesso prima della scadenza del periodo di recesso stesso.
Effetti del recesso
In caso di recesso dal presente contratto, ti rimborseremo tutti i pagamenti ricevuti, compresi i costi di spedizione (ad eccezione dei costi supplementari derivanti dalla tua eventuale scelta di un tipo di spedizione diverso dal tipo meno costoso di consegna standard da noi offerto).
Potremo effettuare una detrazione dal rimborso per la perdita di valore dei beni forniti, qualora tale perdita sia il risultato di una manipolazione non necessaria da parte tua.
Eseguiremo il rimborso senza indebito ritardo e non oltre 14 giorni dal giorno in cui saremo informati della tua decisione di recedere dal presente contratto.
Il rimborso sarà effettuato utilizzando lo stesso mezzo di pagamento da te usato per la transazione iniziale, salvo che tu non abbia espressamente concordato altrimenti; in ogni caso, non dovrai sostenere alcun costo quale conseguenza di tale rimborso.
Possiamo trattenere il rimborso finché non avremo ricevuto i beni oppure finché non avrai fornito la prova di averli rispediti, a seconda di quale condizione si verifichi per prima.
Dovrai rispedire i beni o consegnarli a CitiRetail, Stevenage, United Kingdom, senza indebito ritardo e, in ogni caso, entro 14 giorni dal giorno in cui ci hai comunicato la tua volontà di recedere dal presente contratto. Il termine è rispettato se rispedisci i beni prima della scadenza del periodo di 14 giorni. I costi diretti della restituzione dei beni saranno a tuo carico. Sei responsabile solo della diminuzione del valore dei beni risultante da una manipolazione diversa da quella necessaria per stabilire la natura, le caratteristiche e il funzionamento dei beni stessi.
Eccezioni al diritto di recesso
Il diritto di recesso non si applica a:
Please note that titles are dispatched from our US, Canadian or Australian warehouses. Delivery times specified in shipping terms. Orders ship within 2 business days. Delivery to your door then takes 7-14 days.
| Quantità dell'ordine | Da 7 a 60 giorni lavorativi | Da 7 a 14 giorni lavorativi |
|---|---|---|
| Primo articolo | EUR 43.02 | EUR 43.02 |
I tempi di consegna sono stabiliti dai venditori e variano in base al corriere e al paese. Gli ordini che devono attraversare una dogana possono subire ritardi e spetta agli acquirenti pagare eventuali tariffe o dazi associati. I venditori possono contattarti in merito ad addebiti aggiuntivi dovuti a eventuali maggiorazioni dei costi di spedizione dei tuoi articoli.