| Author |
Message |
|
|
Post subject: Retreive address of onboard flash ROM ???
Posted: Sep 06, 2007 - 06:56 AM
|
|
New Member
Joined: Sep 06, 2007
Posts: 2
|
|
Hi All,
I want to read data from onboard flash ROM, so I want the address list either through QNX system call or commands.
If I want to read image in the flash ROM from my target board, is there any procedure to do it.
Thanking you,
Regards,
kranthi.M |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Retreive address of onboard flash ROM ???
Posted: Sep 06, 2007 - 12:33 PM
|
|
QNX Master
Joined: Sep 01, 2002
Posts: 2675
|
|
If the board is PCI based you should be able to get the physical address of the rom via the PCI register and/or pci_device_attach. If it's ISA, the address is most probably control via switched or hardwired.
Once you get the address you must map it with map_device_memory to get access to it. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 07, 2007 - 07:28 AM
|
|
New Member
Joined: Sep 06, 2007
Posts: 2
|
|
Hi,
I am currently working on VP5, 6U VME bus Embedded Computer. I have a 8MB onboard Flash memory mounted on to the board, how to identify weather it is PCI or not.
Can you provide me the system call details which you have provided me (pci_attach_device and map_device_memory)
It there is any sample code for reading data on the onboard flash, can you please provide me any source code.
Thanking you,
Regards,
Kranthi.M |
|
|
| |
|
|
|
 |
|
|
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group Credits |
|
|