TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How to learn Firmware Programming?

3 点作者 astennumero大约 1 年前
Hello, I came across this [1] article about Framework recently. This got me wondering about what firmware programming languages&#x2F;softwares people use these days. Do we have a widely used language that is used to build firmwares for many&#x2F;most embedded devices? Where do I learn this language?<p>[1] https:&#x2F;&#x2F;arstechnica.com&#x2F;gadgets&#x2F;2024&#x2F;04&#x2F;frameworks-software-and-firmware-have-been-a-mess-but-its-working-on-them&#x2F;

1 comment

RetroTechie大约 1 年前
This depends <i>entirely</i> on the device. And &quot;firmware&quot; comes in many shapes &amp; sizes: from a few KB binary flashed into a microcontroller, a bitstream configuring an FPGA, to GB+ OS images installed on say, a smartphone or tablet.<p>So please define what <i>you</i> mean by &quot;firmware&quot;. And be specific - make, model (+ revision?).<p>&gt; Do we have a widely used language that is used to build firmwares for many&#x2F;most embedded devices?<p>For smaller devices, yes: assembly (many different ISAs), or C. Just asking that question suggests firmware coding isn&#x27;t for you.<p>But as you look into more powerful devices, the landscape becomes much more varied. C++, target-specific SDKs, multiple pieces of firmware for different components in a system (and multiple ways to install those), etc etc.<p>Also note that some firmware can&#x27;t be updated by end users. If at all. Comes in ROM, or one-time programmable, or IC pins were used in factory but not accessible on a circuit board in the final product, chip only takes signed updates (and only manufacturer has the signing key used for that), ...