固件开发入门 [英] Getting started in Firmware development

查看:230
本文介绍了固件开发入门的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一名软件开发人员.最近,我在考虑尝试一些固件开发,因为我工作的公司正在尝试进入该领域. 我对固件开发有很多疑问,例如:

I am a software development guy. Lately I was thinking of trying out some firmware development, as the company I work for is trying to enter that domain. I have many questions regarding firmware devlopment - like:

  1. 使用了哪些工具-如IDE?
  2. 大多数代码是用哪种语言编写的?
  3. 如何将代码移植到微控制器中?
  4. 如何为不同的微控制器编写代码?
  5. 如何确定构建特定应用程序所需的内容(选择微控制器等)?

我应该知道的其他内容以及从哪里开始?抱歉,这个问题太基础了,但是我在其他地方找不到满意的答案.

Anything else I should know about and where do I start? Sorry if this question is too basic, but I could not find out any satisfactory answers elsewhere.

推荐答案

大多数微控制器都具有不错的C编译器,因此最好用C进行编码,尽管您可能需要偶尔研究高性能例程的汇编例程.微控制器的选择通常取决于硬件需求,板载外设,性能和成本约束. 通常,您不会将代码从Windows/Linux/Mac环境移植到微控制器环境.通常,您通常是直接为微控制器编写的,因此严格来说,编译器是交叉编译器-在您的PC上编译以在其他处理器上运行.通常,您可以在IDE中获得调试器,仿真器和完整的编辑器功能,因此其体验类似于在PC环境中编写代码,但是运行速度较慢,必须下载到目标硬件或进行仿真以进行测试.

Most microcontrollers have decent C compilers so are best coded for in C, although you might need to delve into assembly routines for occassional high performance routines. The choice of microcontroller is usually determined by the hardware demands, on board peripherals, performance and cost constraints. You wouldn't generally be porting code from a Windows/Linux/Mac environment to a microcontroller one; you would generally be writing directly for the microcontroller, so strictly the compiler is a cross compiler - compiling on your PC to run on a different processor. You typically get debuggers, emulators and full editor capabilities in the IDE, so its a similar experience to writing code in a PC environment, but it runs slower, and has to be downloaded to the target hardware or emulated to be tested.

开始阅读有关嵌入式开发的权威是 Jack Gansle 和他的 www.embedded.com .

A great authority to start reading about embedded development is Jack Gansle and his firmware handbook. Also www.embedded.com for general articles.

这篇关于固件开发入门的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆