A
alb
Guest
INFO: this very same post was posted to comp.arch.embedded with no
follow up over few days, that's the reason why I decided to post
it here where I hope to get more feedback.
Hi everyone,
I'm dealing with an mb-lite which is clone of the microblaze
architecture and I'm trying to understand how the memory mapping works.
We have memory mapped registers which are needed to exchange data
between the uP and the FPGA and it should be pretty straight
forward to
map this memory into a segment in 'data memory', but unfortunately it
seems the object-dump does not seem to show anything but a list of
segments with no distinction between 'data memory' and 'instruction
memory'.
IIRC on similar Harvard Architectures (like the ADSP21xx) you could
write the linker script to store data and instructions.
I'm using a mb-gcc and I've looked to the ld refernce, but how can you
specify that a set of registers need to go to the data memory to a
specific address? Or is it implicitely assumed that .data segments
would
go to a 'data memory'?
Anyone with any pointer?
Al
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
----Android NewsGroup Reader----
http://usenet.sinaapp.com/
follow up over few days, that's the reason why I decided to post
it here where I hope to get more feedback.
Hi everyone,
I'm dealing with an mb-lite which is clone of the microblaze
architecture and I'm trying to understand how the memory mapping works.
We have memory mapped registers which are needed to exchange data
between the uP and the FPGA and it should be pretty straight
forward to
map this memory into a segment in 'data memory', but unfortunately it
seems the object-dump does not seem to show anything but a list of
segments with no distinction between 'data memory' and 'instruction
memory'.
IIRC on similar Harvard Architectures (like the ADSP21xx) you could
write the linker script to store data and instructions.
I'm using a mb-gcc and I've looked to the ld refernce, but how can you
specify that a set of registers need to go to the data memory to a
specific address? Or is it implicitely assumed that .data segments
would
go to a 'data memory'?
Anyone with any pointer?
Al
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
----Android NewsGroup Reader----
http://usenet.sinaapp.com/