Electronics Questions not on EE
   21 tags on 18 sites

1 answer

How to replace newlib's malloc

I'm using LPCXpresso with LPC1768. I'm trying to implement few memory pools. I have my old code that allows this, so I'm fine there. What I'm unable to do is to prevent newlib from using it's own ...

0 answers

oprofile: what does “[vectors] (tgid:20712 range:0xffff0000-0xffff1000)” mean?

I profile my application using oprofile on an ARM Cortex-A8 and I notice a lot of samples with image name "[vectors] (tgid:20712 range:0xffff0000-0xffff1000)" oprofile reports that this is ...

0 answers

Communication between Chrome app usb and USB device

I want to develop a chrome extension using the Chrome.usb api. I started with this two project : https://github.com/GoogleChrome/chrome-app-samples/tree/master/usb/knob ...

1 answer

what are all the components used to connect arduino and android

i want to send data from android smartphone to Arduino AND Arduino to android but without using Bluetooth and Wifi. What are all the ways? How to do it?

1 answer

uses of container_of and dev_set_drvdata and dev_get_drvdata

I am new to device drivers and I was learning this container_of and dev_get_drvdata and came across this driver.I removed some partof this driver so as to make it compact. static void ...

0 answers

Hosting different java types of java games

Morning / Afternoon all, If a standard webhost will not accept java programs that allow clients to post data to a server via a socket, will they accept the same program if it was instead built into …

0 answers

Options of interfaces upon plug-in in custom OMAP4 USB board with Ubuntu 12.04

I have a OMAP4 USB board running Ubuntu 12.04 which has be used either as USB Storage or Wifi Adapter. Now when it plugs in the system I want it to give me options to choose between the above two ...

1 answer

Linux Kernel Booting Approach Pre built rootfs

I am learning the linux kernel booting process and trying to install linux on my beagleboard xM. I came across two approach both using the SD card. 1. Have the MLO, initrd, uboot.bin and uImage in …

1 answer

Microsoft Windows Embedded Studio download

I have a Win XP Embedded machine (WES2009), that does not have preinstalled "Microsoft Windows Embedded Studio" (MSWES). I need MSWES as a preposition for development (RTX by IntervalZero). All I ...

1 answers | 1 hour ago by Peter on Stack Overflow stackoverflow.com
0 answers

android Opencv based on Float instead of Double

Floating point operations(compered to Doubles) are much faster on arm architectures and other than that NEON doesn't support doubles. So why isn't opencv4android based on float instead of double to …

1 answer

Collect and Store data to EEPROM

I already display the output on my serial monitor but i want is to save the output to the EEPROM. how can i loop 10 times and collect the 10 data and store the 10 data to EEPROM? For my understand i …

1 answers | 3 hours ago by Fufu Alex on Stack Overflow stackoverflow.com
0 answers

Seedstudio NFC shield Ultralight Write

I'm trying to modify the sample code from the NFC shield to be able to write to Ultralight tags. I've modified the code in the PN532.cpp library file to include the followeing function: uint8_t ...

3 answers

Cryptographic pseudo random number generator in embedded system?

I am working on the STM32L152xx that has a peripheral to perform AES128 (CBC) encryption. However, to initialize a random IV I am looking for a good scheme to create cryptographically secure random …

3 answers | 4 hours ago by tll on Stack Overflow stackoverflow.com
0 answers

Modbus Communication not Working

https://code.google.com/p/stm32modbus/source/browse/#svn%2Ftrunk%2F%20stm32modbus%20--username%20ickingdom%40gmail.com%253Fstate%253Dclosed I have debug and compile this program successfully but ...

1 answer

what is the “@” meaning in a asm inline function?

I looking into a inline asm function, and I found a statement can't understand, the code is: static inline void arch_local_irq_enable(void) { unsigned long temp; asm volatile( " …

1 answers | 6 hours ago by luozhibin on Stack Overflow stackoverflow.com
5 answers

Getting U-boot's Version from Userspace

Does anyone know of a way to get U-boot version installed from userspace? There is the fw_printenv command that provides access to U-boot's environment variables, but not the version.

5 answers | 6 hours ago by waffleman on Stack Overflow stackoverflow.com
1 answer

How to connect to ssh-server running on embedded linux without /etc/passwd?

After installing ssh server on my remote machine (which runs embedded Linux), I tried to connect to ssh server from host machine but it failed. This is because I could not specify user account when …

1 answer

How to check my account on embedded linux without “/etc/passwd”?

On some embedded linux systems, there is no /etc/passwd file and /etc directory is not writable (which means I cannot set user account and password?). Then what is my (default) account name and ...

0 answers

Arduino with ethernet shield Login with PHP?

I'm newbie to Arduino but I learned something I have an Arduino UNO R3 and Ethernet Shield , I want to have a login page with a local server like WAMP, but isn't possible to write PHP code in the IDE …

0 answers

pic32 start bit does not clear — Basic I2C setup

I am new to embedded programming and am trying to get my first I2C project working. I am using the PIC32MX795F512L. I am pretty much following the microchip datasheet for I2C on PIC32. The problem …

1 answer

Program exits endless loop (PIC microcontroller)?

I wrote a program for the PIC 16f690 microcontroller after noticing my programs seemed to be exiting an endless loop. There are LEDs on pins 3,4,5 of PORTC. #include <xc.h> #define _XTAL_FREQ …

1 answer

PIC16F648A programming - some functions don't work

I have problems with successful pic programming work.. As i'm new in pic programming i started with lighting up 8-segment display LED one by one. Everything went well except RB4 output LED didn't ...

2 answers

Decoding BLX instruction on ARM/Thumb(Android)

I want to decoding a blx instruction on arm, and I have found a good answer here: Decoding BLX instruction on ARM/Thumb (IOS) But in my case, I follow this tip step by step, and get the wrong result, …

2 answers | 11 hours ago by Neil.L on Stack Overflow stackoverflow.com
15 answers

Arduino Sketch upload issue - avrdude: stk500_recv(): programmer is not responding

I have an Arduino Duemilanove with an Atmega 328. I am working on Ubuntu 12.04, and the Arduino IDE's version is 1.0. Recently, I tried to upload a few of the sample sketches onto it, such as the ...

15 answers | 11 hours ago by user2364450 on Stack Overflow stackoverflow.com
2 answers

Duplicating identical BeagleBone Black setups

After having set-up and customized my "master" BeagleBone Black (BBB) with applications etc. on the on-board eMMC, I want to duplicate it on other BBB boards. What is the best way to duplicate the …

1 answer

Android app to work with Taximeter

I have an Android app on a tablet and from that app i want to detect when the taximeter starts and when it stops. It it possible? Please advice.

1 answers | 15 hours ago by Arnold Roa on Stack Overflow stackoverflow.com
1 answer

Parsing JSON on the Arduino

I'm using the ArduinoJson library. There is a great example for parsing a single JSON object in the source code. I am attempting to iterate over an array of JSON objects: #include ...

1 answers | 16 hours ago by Richard on Stack Overflow stackoverflow.com
1 answer

Arduino Due Serial Config

I had been using Serial.begin(9600, SERIAL_8E1) in Arduino Mega without problem. When I changed to Arduino Due, I got this error: 'SERIAL_8E1' was not declared in this scope. Apparently, there is a …

1 answers | 16 hours ago by Low Lee Joo on Stack Overflow stackoverflow.com
1 answer

use specific memory section memory to link a variable

I'm having trouble in setting the section attribute of gcc to define that a variable should reside in a specific memory section instead of the default. I'm using the arm cortex m3 LPC1759. I got the …

1 answers | 18 hours ago by Ricardo Crudo on Stack Overflow stackoverflow.com
4 answers

Return a reference via member-function in C++ fast than returning a copy?

Is there a performance difference, when I use references for get-functions? I feel, that with Arduino my program runs 6.6 % slower since I encapsulated my public member variables into public ...

4 answers | 19 hours ago by dgrat on Stack Overflow stackoverflow.com
15 30 50 per page
1 2 3