Embedded firmware interview questions

1.Write function in C that gets array of chars, and search for the longest sequence of repeatedly 1 bits. It returns the the first bit place in the sequence and the number of 1 bits in the sequence. - (a) loop of 2^0, 2^1, … , 2^7 is done with 1<<j when 0<=j<=7. (b) Take care of remembering the first place of the bit sequence you are counting.

2.You have 16bit register that increment itself and loops about every second. When the register reach 0xffff it will issue an interupt and will run the function update_time(). There is a function unsigned long get_time() that returns the time. You need to implement the two functions. - (a) You need to count every interrupt in order to save the number of seconds. (b) The counter will be the 16bit MSB, and the actual register will be 16bit LSB. (c) If the register will be at ~0xfff0, you will return MSB that is not correct, because you will read the counter, then interrupt will accure and increment by one. Now you have counter that is not correct. (d) You need to check for the (c) problem, and if you catch the problem, you need to read once again the register and the counter before you return them. You depend on the fact the you have about another second until the register will loop.

 
对嵌入式初学者有必要解释一下什么是firmware,中文为固件,一般跑在DSP上,是比较底层的东西,也是目前比较热门和有挑战性的嵌入式工种。从下面的一则招聘信息中我们也可以知道Firmware大概干些什么。
 
招聘职位: Firmware engineer/Senior Firmware engineer
职位描述: Firmware Engineer
Responsibility:
Developing or adapting hardware device driver
Developing or adapting embedded application software for Video Codec
Implementing software on system-on-chip solution using a combination of C
and assembly programming languages. Tuning software for performance
Requirements:
.Solid skills developing in C and assembly languages ,
Experience developing and debugging embedded systems
(ARC, ARM, MIPS, SPARC, ...)
.familiar with peripherals and protocols, such as I2C,
UART,USB,LCD,Ethernet,IDE,SD,TCP/IP,RTP…,Knowledge
of Video CODEC standard and principle,
eg:  MPEG-1/2/4, H.264 is preferred
.good at English, team player, positive personality,
and able to work under pressure to meet deadlines.
BS in Electrical Engineering, Computer Science,
Ability to learn and apply new knowledge quickly
 
职位要求: Senior Firmware
Engineer Responsibility:
Development of embedded software systems for video processing,
involve in all phases of the embedded software development cycle including research, design, implementation, system debug, and documentation.Top-level system firmware integration;
System performance trimming and improvement;
Requirements:
Experience developing and debugging embedded systems
(ARC, ARM, MIPS, SPARC, ...),especially in a RTOS
environment(ThreadX,uclinux,MQX)
.familiar with peripherals and protocols,
such as I2C,UART,USB,LCD,Ethernet,IDE,SD,TCP/IP,RTP…
.Good knowledge of Video CODEC standard and principle,
(eg:  MPEG-1/2/4, H.264), hands-on
.experience on video encode/decode as well
as video applications(HDTV, streaming media,
HD-DVD, PVR/VOD, networked camera, digital
camcorder/camera, video conferencing,
and/or record-able media) is desirable.
.Good at English, team player, positive personality,
and able to work under pressure to meet deadlines.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Embedded Firmware Solutions: Development Best Practices for the Internet of Things is the perfect introduction and daily-use field guide--for the thousands of firmware designers, hardware engineers, architects, managers, and developers--to Intel’s new firmware direction (including Quark coverage), showing how to integrate Intel® Architecture designs into their plans. Featuring hands-on examples and exercises using Open Source codebases, like Coreboot and EFI Development Kit (tianocore) and Chromebook, this is the first book that combines a timely and thorough overview of firmware solutions for the rapidly evolving embedded ecosystem with in-depth coverage of requirements and optimization. What you’ll learn Understand the key differences between PC and embedded ecosystems in terms of firmware needs. Thorough underpinning of Intel’s firmware solutions. How to build a firmware stack for Quark. How to integrate FSP with a bootloader, by studying the hands-on example of Coreboot and UEFI. How to make a smart "build-it or buy-it" decision when starting a new embedded project. Who this book is for Firmware designers and engineers, hardware engineers, software architects, and product development managers. Table of Contents Chapter 1: Introduction Chapter 2: Firmware Stacks for Embedded Chapter 3: InteFirmware Support Package (Intel FSP) Chapter 4: Building Coreboot with Intel FSP Chapter 5: Chromebook Firmware Internals Chapter 6: Intel FSP and UEFI Integration Chapter 7: Building Firmware for Quark Processors Chapter 8: Putting it all together Appendix A: Sample of Boot Setting File (BSF)
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值