firmware

Writing firmware: assembly or high level?

ε祈祈猫儿з 提交于 2019-11-30 06:19:10
问题 Related to: Testing firmware starting a microcontroller simulator/emulator Interpreting assembly code If you are writing code for a microcontroller is there a real difference if you write in assembly or C or some other high level language? If you wrote C code, how would you compile it? Thanks 回答1: Several comments: 1) Absolutely not assembly unless performance or optimization constraints warrant it. The following metrics go through the roof with assembly: time to code it time to debug it time

Debian 8. Failed to load iwlwifi

落花浮王杯 提交于 2019-11-30 05:24:12
问题 I used the netdisk iso to install debian, which apperently is missing the firmware files: rtl_nic_rtl8411-2.fw and iwlwifi, so I can't get my wifi working. My laptop uses intel wireless-AC 8260, and I have updated my kernel to 4.8 Dmesg output: iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-8000C-24.ucode (-2) firmware: failed to load iwlwifi-8000C-23.ucode (-2) firmware: failed to load iwlwifi-8000C-22.ucode (-2) firmware: failed to load iwlwifi-8000C-21.ucode (-2) firmware: failed

iPhone check firmware version

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-30 04:07:36
HI all I want to make one app for iPhone 2.2.* and for version 3.0. Some method in 2.2* is deprecated in 3.0. ( like UITableViewCell setText and setLabel ) Is there any way to check which firmware version is used on iPhone and to set different method to use You will need to use pre-processor directives for the conditional compilation such as __IPHONE_3_0 and build two separate executables. For example: #ifdef __IPHONE_3_0 // code specific to version 3 #else // code specific to version 2 #end If you need to detect the version at run-time you can use [[UIDevice currentDevice] systemVersion]. It

Is low-level / embedded systems programming hard for software developers? [closed]

给你一囗甜甜゛ 提交于 2019-11-29 07:03:21
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . Given my background as a generalist, I can cover much of the area from analog electronics to writing simple applications that interface to a RDBMS backend. I currently work in a company that develops hardware to solve industry-specific problems. We have an experienced

iPhone check firmware version

早过忘川 提交于 2019-11-29 01:58:38
问题 HI all I want to make one app for iPhone 2.2.* and for version 3.0. Some method in 2.2* is deprecated in 3.0. ( like UITableViewCell setText and setLabel ) Is there any way to check which firmware version is used on iPhone and to set different method to use 回答1: You will need to use pre-processor directives for the conditional compilation such as __IPHONE_3_0 and build two separate executables. For example: #ifdef __IPHONE_3_0 // code specific to version 3 #else // code specific to version 2

Linux-Based Firmware, how to implement a good way to update?

家住魔仙堡 提交于 2019-11-28 17:38:28
I'm developing a linux-based appliance using an alix 2d13. I've developed a script that takes care of creating an image file, creating the partitions, installing the boot loader (syslinux), the kernel and the initrd and, that takes care to put root filesystem files into the right partition. Configuration files are on tmpfs filesystem and gets created on system startup by a software that reads an XML file that resides on an own partition. I'm looking a way to update the filesystem and i've considered two solutions: the firmware update is a compressed file that could contain kernel, initrd and

Writing firmware: assembly or high level?

喜欢而已 提交于 2019-11-28 17:05:38
Related to: Testing firmware starting a microcontroller simulator/emulator Interpreting assembly code If you are writing code for a microcontroller is there a real difference if you write in assembly or C or some other high level language? If you wrote C code, how would you compile it? Thanks Several comments: 1) Absolutely not assembly unless performance or optimization constraints warrant it. The following metrics go through the roof with assembly: time to code it time to debug it time to test it time to document it time to figure out (1 year later) what it was you were doing when you coded

How to use c++11 to program the Arduino?

僤鯓⒐⒋嵵緔 提交于 2019-11-28 04:28:21
How can I use c++11 when programming the Arduino? I would be fine using either the Arduino IDE or another environment. I am most interested in the core language improvements, not things that require standard library changes. jose.angel.jimenez As of version 1.6.6 , the Arduino IDE enables c++11 by default. For older versions, read on: It is very easy to change the flags for any element of the toolchain, including the assembler, compiler , linker or archiver. Tested on the Arduino IDE version 1.5.7 (released on July 2014), Locate the platform.txt file, AVR architecture => {install path}

How to use c++11 to program the Arduino?

柔情痞子 提交于 2019-11-27 00:26:03
问题 How can I use c++11 when programming the Arduino? I would be fine using either the Arduino IDE or another environment. I am most interested in the core language improvements, not things that require standard library changes. 回答1: As of version 1.6.6 , the Arduino IDE enables c++11 by default. For older versions, read on: It is very easy to change the flags for any element of the toolchain, including the assembler, compiler , linker or archiver. Tested on the Arduino IDE version 1.5.7