Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Linking between 2 Separate C Programs

Status
Not open for further replies.

rangerskm

Full Member level 4
Full Member level 4
Joined
Jan 23, 2013
Messages
199
Helped
0
Reputation
2
Reaction score
0
Trophy points
1,296
Activity points
2,663
1) How to Access one function in second C program from First C program dynamically
2)do we need to mention the address in the linker to redirect programming vector
 

1) How to Access one function in second C program from First C program dynamically...

are you referring two source code programs (prog1.c and prog2.c) and the functions inside?

If so what do you mean by "dynamically"?
 

i mean 2 separate binary loaded in flash .in first binary i have to give control to second binary.

are you referring two source code programs (prog1.c and prog2.c) and the functions inside?

If so what do you mean by "dynamically"?
 

Hi,

we don´t know about nothing about your problem.

On a microcontroller with harvard architecture you need to compile both sources together ... then you don´t have two independent binaries.
On a machine with van Neumann architecture, (like a PC) you usually have an OS. And you have to take care about OS functionality when compiling a new piece of software.

***
Another thing is:
* In post#1 you talk about a "C program", which usually is the source code and needs to be compiled.
* but in post#3 you talk about "binaries" ... which usually is the result of a compiler.

Klaus
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top