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.

reading a data through address in embedded linux kernel

Status
Not open for further replies.

mashhur

Member level 5
Joined
Jan 21, 2009
Messages
91
Helped
6
Reputation
12
Reaction score
4
Trophy points
1,288
Activity points
1,863
hello guys,

im lil bit confusing on memories and ganna ask some tricks.
when we wanna write some data to a RAM address, let's say we have an "ABC" value for "0xABCD" address, we could write smth like this code:

// in C, linux kerenel
#define ADDRESS 0xABCD
char *data = "ABC";
char *addr = (char*)ADDRESS;
addr = data;

now the problem is for me how to write this data to other memories, let's say NAND memory or other external memories.

I heard that there are physical and virtual memories. could somebody pls explain them? And the issue below could be solved by "chip select address" said one engineer. is it whether true? how to implement it??

thanks for helping out.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top