473,397 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

compilations

8
Hello,
I have some confusion about compilations process in embedded system. Can please explain compilations process up to loader
Aug 27 '09 #1
3 1514
JosAH
11,448 Expert 8TB
@kp7796
Normally you don't compile anything on the embedded system itself. You 'cross compile' on a host (e.g. a PC) and transfer the compiled files to your embedded system.

The embedded system has a loader; some of them can link your compiled files and some don't, if not you have to link your compiled files on your host system after compilation.

The loader loads the image (and possibly relocates symbolic addresses) and starts the process.

kind regards,

Jos
Aug 27 '09 #2
donbock
2,426 Expert 2GB
@JosAH
In the old days you might download the program image from the host computer to a COTS "prom burner" over a serial line, use that device to copy the program image into a memory device (PROM or EPROM), and then manually install the memory device in the target system with a "screw driver".

This procedure is still done today; but you're more likely to use a loader program that is always resident in the target system to download the program image from the host computer directly into flash memory in the target system.

In the much older days you might use punch cards or paper tape as the transfer medium, but that bit of nostalgia only has relevance to my misspent youth ...
Aug 27 '09 #3
JosAH
11,448 Expert 8TB
@donbock
Note how I left out the means of the transfer in my previous paragraph: "transfer the compiled files to your embedded system." ;-) I know these PROM programmers: it took several minutes to program 4KB in total and sometimes it even failed ...

@donbock
I dropped 4000 puch cards (unmarked) when I ran down the stairs carrying them on my arm. It took me hours to sort them again ;-) btw, have you ever used those old PLAs (Programmable Logic Arrays)? They were amazingly fast but you could throw them away if your program contained a bug. Those were the days ;-)

kind regards,

Jos
Aug 27 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Shawn Wilson | last post by:
Hi, I have never installed PHP before. It's always been set up for me. I have a client whose site is hosted as a virtual server. I'm trying to set up ecom for him, but the mhash library is...
0
by: Josh | last post by:
To all... I have experienced this problem and recently so has my co-worker which led me to try to solve the problem. Before I give you the fix, let me give a brief overview of the problem....
1
by: cybertof | last post by:
Hello, I have a custom Excel 2003 .dll assembly, and each time i rebuild the assembly and place it on the client PC, i have to apply again the security on the new assembly (same location). Is...
17
by: goldfita | last post by:
I saw some code that appeared to do something similar to this struct foo { char offset; int d; }; struct foo { int a; int b;
1
by: peter.fredrikson | last post by:
Hi, I have a web server application (C#) which I would like to speed up a little. I would appriciate a discussion of design principles for a specific optimization scenario described below. My...
6
by: wenmang | last post by:
Here is the code which causes core dump when is built differently, 1 for regular dev built, the other for packaging build. class my_class{ public: my_class(){}; ~my_class(){}; private:...
2
by: Jim Carr | last post by:
Upon entering the site www.FutureByDesign-Music.com with IE6, my clipboard is erased and then disabled in all other Windows XP applications. Navigating to another site returns clipboard...
1
by: Troels Arvin | last post by:
Serge Rielau wrote: Somewhat scrambled (for privacy reasons) output: http://troels.arvin.dk/db/db2/long-compilation/1/statement-explained.txt (My scrambling _may_ have broken internal...
5
by: puzzlecracker | last post by:
As I understand, initially we compile csharp code into intermediate language called IL, and then during runtime, only used parts, are compiled into the native code by CLR using JIT compiler, hence...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.