Click here to Skip to main content
15,891,785 members
Everything / Operating Systems / Windows / Embedded

Embedded

embedded

Great Reads

by Mike Hankey
Part 2 in an on going series of article featuring an Autonomus Rover
by bbirajdar
How to embed an image in email body
by Alex Robenko
Easy compile-time configurable implementation of binary communication protocols in C++11
by Pansion_chen
Ownerdraw listctrl with transparent background and custermized items image on WinCE.

Latest Articles

by ToughDev
How to install Microsoft Web Deploy on Win7
by ToughDev
How to integrate FatFs FAT filesystem module with CH375/CH376 USB controller
by HenkAlles
Show Simple Log - see the article by Jochen Scharr - in the browser with a nice layout
by Alex Robenko
Easy compile-time configurable implementation of binary communication protocols in C++11

All Articles

Sort by Updated

Embedded 

4 Feb 2010 by #realJSOP
Maybe use google? I found this:http://www.dreamincode.net/forums/showtopic34831.htm[^]
19 Mar 2012 by #realJSOP
Add it as a resource that's extracted when the program runs (it's a resource property).
23 May 2011 by 01.mandar
i am using Atmel AVR UC3 L0 (Board)Atmel AVR ATAVRSBIN1 (Sensor Board)AVR Studio 5sensors_xplained-1.0.1.zip (Sensor header files)AVR-SoftwareFramework-2.4.0 (not needed as per the document)i have seen the documentation for all of above and done accordingly.AVR UC3 L0 code runs...
14 Jul 2011 by 01.mandar
how can i open TCP Port on AMOD GSM device using GPRS?i am able to send data from my AMOD GSM Device to some static ip server with some port no.AT+AIPO=1,,"14.97.98.47",8080,0server ip =14.97.98.47port 8080Working(can send data ):From Device => To ServerNOT Working...
6 Nov 2014 by 1337Architect
Try to write your select query with a nolock statement. It should improve your situation a lot. Otherwise this part will block the entire table when running causing deadlocks.SELECT * FROM Dispatching.PackageTrace (NOLOCK) WHERE PackageID = 'klaslndsskok230m'
22 Nov 2011 by :)9/11
if (yourmum = buttonState.pressed) setvibration(playerindex.me,1,69)else { fatness++; }if (fatCountingUp > 300kg); (setBiggestLoserShow = true);else { (setBiggestLoserShow = MEGAtrue); }if (codDisc = broken); (YouDumpGirlfriend);else { ...
6 Mar 2024 by _Asif_
have compiled your code on Windows and there are no memory allocation issues found. fgets do not allocate additional memory rather it simply copy content from the file stream into the source pointer. Since you already have allocated 5000 bytes of...
13 Sep 2004 by aakaab
OOP aspects of JavaScript programming language.
22 Oct 2012 by ad_robot
Hi Everyone, I'm trying to interpret some data from an embedded sensor device into a C++ program. The device uses a numerical format called 1.15 fractional format. This means it transmits 2 hex bytes into a value rangle of ~1
10 Dec 2005 by advatronix
C++ Class to enumerate COM ports on Pocket PC
18 Feb 2007 by AhmedEssamNaiem
Using Vector and double linked list to create trees
2 Nov 2004 by Alain Rist
CZoomScrollImpl extends WTL CScrollImpl to allow continuous zooming.
23 Jul 2015 by Albert Holguin
Your extension definition needs to include your dependencies.See here: https://docs.python.org/2/extending/building.html[^]Example from above:module1 = Extension('demo', define_macros = [('MAJOR_VERSION', '1'), ...
23 Jul 2015 by Albert Holguin
I don't think you can... if you want to use CMake, you'd have to use Swig to tie your C++ in with your Python. You're sort of mixing two things that don't have too much to do with each other.
28 Jul 2015 by Albert Holguin
Answered here: How to build a C++ embedded Python file that requires a cmake?[^]
8 Nov 2013 by Alessandro Bellanda
Hello everyone, I have something like this:My div has to be over the embed file but i can't figure out how to get it done.Embedded file always wins.Did someone resolve this? ThanksAlessandro
22 Feb 2016 by Alex J Lennon
How to build example 3rd party component for inclusion in a Yocto/OpenEmbedded Linux image.
7 Oct 2020 by Alex Robenko
Easy compile-time configurable implementation of binary communication protocols in C++11
17 Dec 2007 by alex turner
Excel 2007 does not seem to support DBF files, here is a VBScript workaround.
6 Jun 2016 by Alexandr Surkov
How to build and run .Net Micro Framework 4.4 on STM32F4Discovery board.
20 Feb 2016 by Alexandr Surkov
How to build .Net Micro Framework 4.4 repo and create simple "Hello World" samle with .Net Micro Framework Emulator for Windows.
6 Dec 2007 by Ali Ozgur
Describes making of an external tools add-in using ProcessStartInfo and Process classes in System.Diagnostics
27 Feb 2008 by Ali Rafiee
Using this class, you can broadcast a message to windows without having to know their handle. You can also broadcast the same message to multiple windows at the same time.
15 Aug 2020 by Alpit_Abrol
import RPi.GPIO as GPIO class keypad(): def __init__(self, columnCount = 3): GPIO.setmode(GPIO.BOARD) # CONSTANTS if columnCount is 3: self.KEYPAD = [ [1,2,3], [4,5,6], ...
9 Apr 2013 by Amar_C
Hi all,I'm getting below error while compiling the u-boot standalone application, i have implemented the standalone app which does testing on the peripherals connected. below is the error displayed while compiling the code..Please help outframework/diag/bit_main.o: In function...
9 Jul 2014 by Ambati Madhu
Actually i am doing a car parking automation system.for that i want to take input from camera and find out white pixels and dark pixels.Now based on those values i can calculate empty slots and allocate to requested users.I am done with every thing except taking input from camera and calculating...
30 Dec 2007 by Amer Chaudhry
.NET and J2EE interoperability for .Net Developers
12 Jan 2015 by Andrea Feduzzi
I've created an application with visual studio c# and I've used an localDB.When I start the application in computer with windows XP, 7 or 8 ( after installation of SQL Server 2014 LocalDB Express from this web site:...
8 Jun 2016 by Anisuzzaman Sumon
Hi I am sending email using exchange server and the email body format I choosen is HTML.In the email body I've embedded several images or in email body there are many inline images .ThanksAnisWhat I have tried:To accomplish this I've used base64 ecoded data url as image...
1 Dec 2016 by Anto Anush
i have created a code automatic waterlevel indicator for micro controller.i have to write a code automatic salt water and pure water collection by interchanging of valves....how can i create using embedded c........example program is given#includesbit rs=P1^0; sbit rw=P1^1;...
18 Feb 2019 by Apriorit Inc, ruksovdev
A detailed description of an FPGA-specific framework called ISE Design Suite, and the main steps you need to take in order to create a VGA driver using FPGA
4 Mar 2019 by Apriorit Inc, Artem K.
A clear overview on how you can establish communication between a device and its driver
5 Oct 2010 by ARopo
I think strlen(msgData) may be running over because msgData has no nullChange tostatic const char msgData[]= {"Hiiii am in serial c\0"};also i'm not sure what cof_serCread does with msgData but would have thought it stored data in it, but it can't because this is a const arrayyou may...
20 Mar 2016 by Arthur V. Ratz
Here's how to create S19 files:S-Record Generation with gcc for ARM/Kinetis | MCU on Eclipse[^]andConverting S19 Files into Binary Files with GNU objcopy | MCU on Eclipse[^]
12 Jun 2008 by Ashish Kaila
An introduction to the dependency injection design pattern and frameworks, illustrated by a simple example.
3 Sep 2012 by Ashoka K
Hello,I am adding a new protocol to the existing embedded system on ARM cortex processor. I need to do a load test and performance test after adding the new protocol to earlier system. The source code is in C and C++.Please let me know if any free test code to do a load and performance...
3 Sep 2012 by Ashoka K
Found out the following:System performance you can use oprofile or gprof.Network profiling you can use ethereal or netstat.I/O statistics you can use iostat or sar.For CPU profiling you can use mpstat.
3 Sep 2012 by Ashoka K
Also for memory leaks dmalloc can be used.And LTT (Linux Trace Toolkit) provides a graphical event trace of what the system is doing during a time window.
16 Jan 2010 by AspDotNetDev
This does not appear to be a question. Perhaps you meant to post your suggestion to Site Bugs / Suggestions?
16 Jan 2010 by AspDotNetDev
Also, there is already a mobile category for articles. That is likely where articles relating to embedded code would go.
27 Dec 2007 by Asya Alshaikh
show how to call a web services inside ASP.NET web project. using a test published web services; Extentrix Web Services 2.0 Application Edition
1 Mar 2017 by ATarek001
Hi everyone,I have a problem and i hope someone can help with it,i am an intermediate embedded software developer, currently working on a project related to home appliances, but i am not aware of some concepts and methods, that you may help with;- how is software quality assurance is...
2 Dec 2015 by Athuldevaraj
hai I am trying i2c programming, i need communicate dspic30f2010 as master and pic16f1788 as slave. i am not clear about the baud rate and slave address calculation of 16f1788. Anybody please help me.
26 Mar 2014 by atul329
I am coding a GUI for my menu. The problem is this that when I access the drawtext function only the first element of my sub_menu char array is getting displayed when I access the function using drawText(38,195,*a->sub_Menu[1],0); drawText(38,240, a->sub_Menu[2],0); ...
2 Apr 2014 by atul329
When i assign int r, s, t, u, v; none of the if conditions are working.When i assign int r=0, s=0, t=0, u=0, v=0; all the if conditions are working.I am not able to find the error. int r, s, t, u, v; if((mouseXPos 30 && mouseYPos > 365 && mouseYPos
13 Apr 2014 by atul329
Can anyone tell me how do I implement scroll function on touchscreenScrolling can be of any type like message or a rectangular box or may be a point.
27 Apr 2015 by barneyman
ok - some basics ...X509 defines a digital certificate format and its contentsa digital certificate holds identification about its owner, and also holds the PUBLIC key component of PKI keypair - the PRIVATE component is held by the owner, securely, on their machinePKI...
3 Dec 2013 by bbirajdar
How to embed an image in email body
27 Aug 2014 by BCN-163
I can get a IHTMLDocument2 interface from IE in the following method.UINT nMsg = ::RegisterWindowMessage( _T("WM_HTML_GETOBJECT") );::SendMessageTimeout( (HWND)hwnd_parent, nMsg, 0L, 0L, SMTO_ABORTIFHUNG, 1000, (DWORD*)&lRes );CComPtr spDoc;hr = ObjectFromLresult( lRes,...
9 Mar 2018 by BetaEngineer
Hello, I want to know if there is a really good (yet free) software tool which can analyse my C code (which i have written based on PIC and 8051/52 controllers), can find possible coding mistakes and also check MISRA Compliance... What I have tried: I know about PC_LINT, LINT, SPLINT.. but...
25 Jan 2011 by bigbro_1985
Hi,I'm having some serious trouble attaching the following video from streetfire.net as an embedded player on one of my codeproject articles. The video is located here: http://www.streetfire.net/video/vehicle-accessory-computer-interface_2076357.htm[^]I have inserted the embedded...
10 Nov 2014 by Bob Sidie
How is the image height defined for an embedded object? In this case, referencing an Excel workbook embedded in a PowerPoint slide.Steps to reproduce:1. Create a new Excel workbook with one column and 38 rows. Fill the cells with the row number from 1 to 38 just to have data.2. Set the...
2 Nov 2011 by brianb@nationaltravel.com
Ok, here is my current project/headache/problem. I have 5 computers that connect to eachother through a workgroup. Each PC has 1, 19"LCD and 1, 32LCD hooked to it. The 19"LCD is the primary and the 32" is the secondary. The systems are all using NVIDIA NVS300 video cards (I'm not sure if...
10 Oct 2007 by c-smile
HTML/XML scanner/tokenizer, also known as a pull parser
19 Mar 2012 by CelestialCoder
I have a C# application with a flash advertisement. But the swf file should be in the application folder in run time.How can I "embed" the swf file in the exe so that it is not visible to the user. For dll files I think I can find an application. But can we bundle dll and swf with exe from...
27 Oct 2004 by Chad Z. Hower aka Kudzu
In this article, I’ll explain how you can easily store and retrieve your application settings with just a few lines of code
30 Aug 2005 by Channa Jayasinghe
How to remove the annoying “Backup Battery Very Low” (bogus) critical notification programmatically.
25 Apr 2022 by Charan Kumar N
I have a RFID reader which gives output in rs232 and I want to create a task for reading the data whenever a person scans the RFID card can anyone help me with how to create a task for this ? What I have tried: Not familiar with the task creation
1 Aug 2022 by Charan Kumar N
I'm using USART for RS232 communication and I'm receiving only two characters of whatever I send through RS232 port I'm not sure what's the problem ,please help me guys,.... What I have tried: void ism_rs232_handler(void) { uint32_t...
18 Aug 2022 by Charan Kumar N
I'm trying to use USART to receive continous data from RS232 port and not able to receive all the data. What I have tried: I previously tried using UART for RS232 port and the data was receiving properly but when I try to use it using USART the...
6 Mar 2024 by Charan Kumar Oct2022
I have written a simple c program as below where we are trying to read line by line data by using fgets() and we skipping the lines which doesn't start with character '$' , the problem I'm facing is I'm getting error as fgets: Cannot allocate...
26 Oct 2014 by charankumar516
The Internet of Things is Bigger than the Industrial Revolution.
9 Nov 2014 by charankumar516
Absolute Beginner's Guide to Arduino
6 Jun 2023 by Charlie Chang 2022
UART interrupt routiing set TI = 0 will cause printf crashed, I use sprintf and below uart_sendstring to replace printf to avoid crash. If didn't set TI = 0 in UART interrupt routing, It will cause the UART interrupt to continually occur at the...
16 Dec 2007 by Chayan
SQLite is very suitable for memory constraint systems like WinCE, Palms, Smart Phones, embedded devices and also normal single user desktop applications.
18 Dec 2007 by Chesnokov Yuriy
This article describes an object tracking approach by estimating a time averaged background scene for tracking static and moving objects in real-time on down-scaled image data.
5 Jun 2013 by CHill60
Instead of "moving" an exe around create a deployment package that contains all the dependent stuff you need (this might include config files and other resources for example).Here's a starting point on deployment topics[^]Another one to watch out for is on the properties for references...
26 Mar 2017 by CHill60
That is not how this forum works. We do not write code for you.Nor do we design circuits in a forum on a website called "CodeProject" For those who code
15 Mar 2022 by CHill60
This is a quick answers forum and your questions can't really be answered quickly. I recommend acquiring a good book on the subject e.g. Programming Embedded Systems in C and C++: Amazon.co.uk: Michael Barr: 9781565923546: Books[^] or Embedded C...
26 Jun 2008 by chmod2222
Having problems changing app.config and web.config? Use your own settings class. Easy to add new keys and save to disk.
22 Aug 2013 by Chris1493
Hey,Im working on Windows Embedded and writing in C++.At the moment I'm writing a program to rename a harddisk from a driver. Im renaming the hard disk right after the first boot of the system. The program is working fine. After the program is finished it has to reboot my...
12 May 2010 by Christian Graus
VB6 was always rubbish and has been unsupported for nearly a decade. Having said that, a simple google search gave me this:http://www.pcreview.co.uk/forums/thread-523424.phpYou must be in China, I guess, but surely Bing gives the same results ?
8 Jul 2011 by Christian Graus
The only reason I can see for it to be a bottleneck is if you store big files in it and have a lot of users. I would expect SQL Server to outperform the other options you mention. If you keep your SQL simple, if you use SQL Server and have problems with it, you can move your DB to another type...
25 Jan 2008 by code-frog
A simple guide meant to take the reader through a series of questions that will help them plan for and manage their business network.
23 Jan 2005 by Colin Angus Mackay
Discusses various aspects of SQL Injection attacks, what to look for in your code, and how to secure it against SQL Injection attacks.
9 Jan 2012 by CPallini
Since it is a rather specialized topic, you'll probably get better help at Microchip forums.
24 Feb 2012 by CPallini
Cannot you simply count events, based on a known property of the waveform (for instance crossing a given level)?
12 Jan 2013 by CPallini
Your project looks ambitious: the C# application should convert each function (actually they looks more similar to a programs) into a set of statements the PIC can understand. That is you have to implement a compiler (to an intermediate language) on the PC (C#) side and an interpreter (able to...
27 Oct 2013 by CPallini
Read:The section 21 of the dsPIC30F Family Reference Manual[^]The datasheet of your actual device.Also this application note might help: "Using the PICmicro MSSP Module for I2C Communications"[^].
15 Dec 2013 by CPallini
There is no such a thing like 'the golden receipt'.UART strings are, generally speaking, binary data and you have to parse it according to the communication protocol (e.g MODBUS).If you have control on the embedded device then you might choose (or invent) the best protocol that fits your needs.
22 Jan 2014 by CPallini
In the sake of simplicity, suppose you have a 8-bit-only processor and want to show a 16 bit unsigned number.Assuming n is the input number, the algorithm could be (pseudo code):k = 0if n = 0 exitr[k] = reminder of n div 10n = n div 10k = k + 1goto 2(where div is the integer...
26 Mar 2015 by CPallini
Yes, RAM is (usually) temporary while ROM is permanent. ROM is not writable.RAM size is measured in bytes, hence 4 GB are the same on machines with different (32 bit vs 64 bit) architectures.
20 May 2015 by CPallini
Timers are usually relatively simple to program, you should study the documentation and then coding should be straightforward. Please note, you might find better help on forum dedicated on such a microcontroller (possibly you may also find application notes published by the MCU manufacturer).
22 Sep 2015 by CPallini
You need to be able to design both hardware and firmware. A course in electronic engineering could help.
25 Feb 2016 by CPallini
Bootloaders highly depend on the target microcontroller architecture. You have to:Search for manufacturer's documentation about (e.g. application notes).Look at forums specialized on the target microcontroller.
7 Apr 2016 by CPallini
Quote:void string_uart(char *q){ while(*q) { *(*q++);}Did you actually meanvoid string_uart(char *q){ while(*q) { tx((unsigned char) *q); ++q; }}?
1 Mar 2017 by CPallini
Note, no one prevents you using profitably Google[^].
31 Jan 2018 by CPallini
Nope. SQlite and Microsoft Access are quite different beasts. See for instance: SQLite is a Self Contained System[^].
21 Mar 2018 by CPallini
Your code should be enclosed in a neverending loop void Enter_password() { for (;;) { key= get_key(); if (key >= 0 && key
28 Jun 2018 by CPallini
Quote: I am not a pro at either C nor C++ . I was able to convet the basic protocols which are just a very small part of the code Then change processor. Seriously. Unless it is a very trivial code, you have to be proficient in both C++ and C in order to accomplish the task.
29 Nov 2019 by CPallini
Generally speaking, you can directly initialize registers because they are memory mapped. Hence you assign a value to a variable and the corresponding bit pattern is set into the target register (and viceversa in a read operation). Quote: and again the other way is providing bit values to the...
20 Apr 2023 by CPallini
Use Serial.Print(Seconds) and check the output using the serial monitor. It is a cheap & quick way to gain some insight.
6 Mar 2024 by CPallini
I compiled your code, getting just the following warning: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 50 | while (uPktlen = CustomGetLine(tempbuf, &PtrSize, pCurrFile, '$', u32Offset)) anyway...
23 May 2012 by Cristhian Selah
Perform a conversion in a select, view, and Stored Procedure.