Thanks Stephen: But I still do not get your point. Obviously I don’t have
enough knowledge on local memory access from the host. Would you please give
me a little detailed explanation? Or could you please let me know where
could I get the related information? It is 32bit ROM. We spend so many time
to investigate it. I understand it is impossible to load 3MB at once, but I
still don’t know how I can chop it and write it to ROM. Thanks.
zhongsheng
-----Original Message-----
From: Stephen Williams [mailto:xxxxx@icarus.com]
Sent: Tuesday, March 20, 2001 4:11 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Load 3MB image into PCI device ROM at the very fi
rst time?
xxxxx@exgate.tek.com said:
well, after i960 is running VxWorks, there should not be any problem
to map device RAM or ROM. The problem is how you make i960 running at
the very first time because there is no OS on the board. I am not
quite sure whether i960 is required for host to access device RAM.
Could you give me some hightlight?
If the ROM on the i960RP/RD is 32bit, then you can access it in order
to flash it by shifting around the base address in the MU. You can
access enough of the i960RP control registers from the default BAR0
memory region (and device specific configuration registers) to make
32bit accesses to any local memory or DRAM on the board.
There is no need to map the entire 3Meg of address space to do this.
Indeed, there is no *way* to do that if your BARs aren’t programed
to do that by the i960 in the first place.
Beyond this, you are going to need to get creative.
Steve Williams “The woods are lovely, dark and deep.
xxxxx@icarus.com But I have promises to keep,
xxxxx@picturel.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep.”
You are currently subscribed to ntdev as: xxxxx@exgate.tek.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com