firmware

Testing firmware

China☆狼群 提交于 2019-12-18 12:42:06
问题 This follows a couple of other questions (but I think I have refined my question better). I want to test out my firmware code before I put on the device. I realize that a lot of people write their code, upload, test, etc. But I really want to write and test before upload (mainly because I want to automate the many scenarios). So, what is the best way of doing this. If I were writing pure software, as in, no firmware at all, I would go about it by using cppunit (for example). But I'm a little

Is there an NFC API for the Smartwatch 3 (SWR50)

十年热恋 提交于 2019-12-18 01:19:10
问题 Just to be sure and have clarification of that at first, is the NFC of the Smartwatch 3 just an embedded tag or is it a theoretically fully functioning NFC-chip? Hoping it's not just a tag, we want to build an Android Wear app using NFC and for this the biggest question is: Is there (gonna be?) a API to use the NFC chip of the SWR50? If not is there any other way to activate it, or maybe might an updated version of Android Wear bring support for the chip to the smartwatch? Any help is

ELF loading when VMA != LMA

旧街凉风 提交于 2019-12-14 02:25:44
问题 I have a problem on this one. I am using ARM Cortex-A9 with DS-5 to create baremetal firmware. I modified my linker file to intentionally put the .data section LMA adjacent to the text and rodata sections, because its default run-time VMA is located 1MB away and the .bin image is around 1MB but containing 90% zeroes. And so I intentionally made LMA != VMA to save space. I also added a code in start.S that relocates the .data section from its lma to vma. However on loading the resulting elf

find the firmware in javascript

被刻印的时光 ゝ 提交于 2019-12-13 11:03:20
问题 I am looking for a way to find the os version and model version of the computer my site is being viewed on. jQuery, javascript, html, php, asp... Any language browsers generally support will do. I know it's possible, comex did it for iOS. I think he did: firmware.indexof("4.0"); But I need the model too, as I said before. That is a veeeeeerrrrrryyyyyy long script that won't work for me anyway. I googled it, but no luck. Thanks in advance! 回答1: If you expect that your clients will have Flash

Android firmware image components explanation

走远了吗. 提交于 2019-12-13 00:23:07
问题 Consider unpacking an android firmware image made for a Media box using for example the C code in this post or by 'Amlogic customization tool'. When I use the compiled C code with an android 7.1 image, I get these files: _aml_dtb.PARTITION aml_sdc_burn.ini aml_sdc_burn.UBOOT boot.PARTITION bootloader.PARTITION DDR.USB logo.PARTITION manifest.xml mesonl.dtb platform.conf recovery.PARTITION system.PARTITION UBOOT.USB Excluding some minor config files here, I know each of these images are a

Does anybody know an embedded software library or embedded software development framework? [closed]

我怕爱的太早我们不能终老 提交于 2019-12-12 03:22:42
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . My company is about to replace the 8 bit microcontrollers in all our embedded devices with ARM Cortex-M controllers (32 bit). We will need to redesign and clean up considerable parts of the existing firmware, because it is in pretty bad shape and cannot easily be ported to a different processor. We do now plan

Rename a USB HID device under Windows

血红的双手。 提交于 2019-12-12 02:58:48
问题 I wrote a firmware to a USB device that uses the generic HID class for communicating with the host PC. When connecting the device to the PC, it shows the hard-coded string I put in the firmware, but after the driver installation is over (using the generic Windows driver), the device's name is changed to a generic "USB Input Device". How can I rename the device back? 回答1: You can't do that. The device manager shows the string that is registered at installation by the device driver - in your

Stm32f4: DMA + ADC Transfer pausing

半世苍凉 提交于 2019-12-12 02:43:00
问题 On the Stm32f4-Discovery board I've configured the tripple ADC Interleaved mode with DMA writing the ADC data in circular mode 2. Everything works fine, but I can't pause the transfer properly to transfer the data in the buffer through USART (the transform is performed inside an external interrupt vertor function). I am trying to implement such an algorithm: Initialize DMA and ADCs Wait for an external interrupt Pause the DMA transfer Send the buffered data through USART Resume the DMA

nodemcu custom firmware build problems

坚强是说给别人听的谎言 提交于 2019-12-11 04:06:09
问题 hello everybody:) I built a firmware with cloud build service. The firmware is master and includes "adc, file, gpio, http, mqtt, net, node, ow, spi, tmr, uart, wifi" and also supports SSL. Using ESP 07 and the previous version of firmware was nodeMCU 0.9.6 and that was correctly worked but didn't support some modules that i need. To flash the firmware, i use NodeMCU flasher with these setting: flasher setting I upload the binary firmware file to address 0x00000 and esp_init_data_default.bin

Dump Flash Memory through a single GPIO pin

喜你入骨 提交于 2019-12-10 16:06:00
问题 I'm working with Infineon's XMC4500 Relax Kit and I'm trying to extract the firmware through a single GPIO pin. My very naive idea is to dump one bit at a time through the GPIO pin and somehow "sniff" the data with a logic analyzer. Pseudocode: while(word by word memory copy hasn't finished) ... register = value; temp_value = value AND 0x1; pin = temp_value; value = value >> 1; ... Am I on the right track? Does anybody have a better/nicer idea how to archive this? ### EDIT ### Actually a