TestApp_Memory_microblaze_0/src/TestApp_Memory.c:53: warning: assignment
makes pointer from integer without a cast
/opt/Xilinx/11.1/EDK/gnu/microblaze/lin64/bin/../lib/gcc/microblaze-xilinx-elf/4.1.1/../../../../microblaze-xilinx-elf/bin/ld:
region ilmb_cntlr_dlmb_cntlr is full
(TestApp_Memory_microblaze_0/executable.elf section .text)
/opt/Xilinx/11.1/EDK/gnu/microblaze/lin64/bin/../lib/gcc/microblaze-xilinx-elf/4.1.1/../../../../microblaze-xilinx-elf/bin/ld:
section .init [00000050 -> 00000077] overlaps section .text [00000050 ->
00010627]
/opt/Xilinx/11.1/EDK/gnu/microblaze/lin64/bin/../lib/gcc/microblaze-xilinx-elf/4.1.1/../../../../microblaze-xilinx-elf/bin/ld:
section .fini [00000078 -> 00000097] overlaps section .text [00000050 ->
00010627]
/opt/Xilinx/11.1/EDK/gnu/microblaze/lin64/bin/../lib/gcc/microblaze-xilinx-elf/4.1.1/../../../../microblaze-xilinx-elf/bin/ld:
section .rodata [00000098 -> 00000a23] overlaps section .text [00000050 ->
00010627]
/opt/Xilinx/11.1/EDK/gnu/microblaze/lin64/bin/../lib/gcc/microblaze-xilinx-elf/4.1.1/../../../../microblaze-xilinx-elf/bin/ld:
section .sdata2 [00000a24 -> 00000a27] overlaps section .text [00000050 ->
00010627]
/opt/Xilinx/11.1/EDK/gnu/microblaze/lin64/bin/../lib/gcc/microblaze-xilinx-elf/4.1.1/../../../../microblaze-xilinx-elf/bin/ld:
section .data [00000a28 -> 00000f5b] overlaps section .text [00000050 ->
00010627]
/opt/Xilinx/11.1/EDK/gnu/microblaze/lin64/bin/../lib/gcc/microblaze-xilinx-elf/4.1.1/../../../../microblaze-xilinx-elf/bin/ld:
section .ctors [00000f5c -> 00000f63] overlaps section .text [00000050 ->
00010627]
/opt/Xilinx/11.1/EDK/gnu/microblaze/lin64/bin/../lib/gcc/microblaze-xilinx-elf/4.1.1/../../../../microblaze-xilinx-elf/bin/ld:
section .dtors [00000f64 -> 00000f6b] overlaps section .text [00000050 ->
00010627]
/opt/Xilinx/11.1/EDK/gnu/microblaze/lin64/bin/../lib/gcc/microblaze-xilinx-elf/4.1.1/../../../../microblaze-xilinx-elf/bin/ld:
section .eh_frame [00000f6c -> 00000f6f] overlaps section .text [00000050
-> 00010627]
/opt/Xilinx/11.1/EDK/gnu/microblaze/lin64/bin/../lib/gcc/microblaze-xilinx-elf/4.1.1/../../../../microblaze-xilinx-elf/bin/ld:
section .jcr [00000f70 -> 00000f73] overlaps section .text [00000050 ->
00010627]
/opt/Xilinx/11.1/EDK/gnu/microblaze/lin64/bin/../lib/gcc/microblaze-xilinx-elf/4.1.1/../../../../microblaze-xilinx-elf/bin/ld:
section .bss [00000f78 -> 00000feb] overlaps section .text [00000050 ->
00010627]
/opt/Xilinx/11.1/EDK/gnu/microblaze/lin64/bin/../lib/gcc/microblaze-xilinx-elf/4.1.1/../../../../microblaze-xilinx-elf/bin/ld:
section .heap [00000fec -> 000011ef] overlaps section .text [00000050 ->
00010627]
/opt/Xilinx/11.1/EDK/gnu/microblaze/lin64/bin/../lib/gcc/microblaze-xilinx-elf/4.1.1/../../../../microblaze-xilinx-elf/bin/ld:
section .stack [000011f0 -> 000015ef] overlaps section .text [00000050 ->
00010627]
/opt/Xilinx/11.1/EDK/gnu/microblaze/lin64/bin/../lib/gcc/microblaze-xilinx-elf/4.1.1/../../../../microblaze-xilinx-elf/bin/ld:
TestApp_Memory_microblaze_0/executable.elf: section .text lma 0x50 overlaps
previous sections
/opt/Xilinx/11.1/EDK/gnu/microblaze/lin64/bin/../lib/gcc/microblaze-xilinx-elf/4.1.1/../../../../microblaze-xilinx-elf/bin/ld:
TestApp_Memory_microblaze_0/executable.elf: section .fini lma 0x78 overlaps
previous sections
/opt/Xilinx/11.1/EDK/gnu/microblaze/lin64/bin/../lib/gcc/microblaze-xilinx-elf/4.1.1/../../../../microblaze-xilinx-elf/bin/ld:
TestApp_Memory_microblaze_0/executable.elf: section .rodata lma 0x98
overlaps previous sections
/opt/Xilinx/11.1/EDK/gnu/microblaze/lin64/bin/../lib/gcc/microblaze-xilinx-elf/4.1.1/crtend.o:(.init+0x0):
relocation truncated to fit: R_MICROBLAZE_32_PCREL_LO against `.text'
collect2: ld returned 1 exit status
make: *** [TestApp_Memory_microblaze_0/executable.elf] Error 1
Done!
Any suggestions?
Is it possible to do it using vhdl?
I've never used microblaze, but my assumption is that you'd want to
use the microblaze gcc only to compile that code that goes onto your
microblaze on the FPGA.
Then you could compile a regular C (or other language) program on the
computer to send commands to your FPGA board and listen for data
coming back, which can then be easily written to a text file for later
analysis.
Personally I like to use Python to do this, though, because once you
have pyserial installed, the serial port routines are a breeze to work
with.. and matplotlib is nice for graphing results, too.
Writing to a text file with VHDL is useful to log results from a
simulation, not from an actual running chip.
Well, one could connect up some device to an FPGA mircoblaze
that one could fprintf to. A serial printer might not be so
hard, a little harder for a disk drive and file system.
Maybe NFS through ethernet wouldn't be so bad, either.
> I've never used microblaze, but my assumption is that you'd want to
> use the microblaze gcc only to compile that code that goes onto your
> microblaze on the FPGA.
> Then you could compile a regular C (or other language) program on the
> computer to send commands to your FPGA board and listen for data
> coming back, which can then be easily written to a text file for later
> analysis.
Yes, it doesn't seem that the OP has such attached to the microblaze.
-- glen
Just use Hyperterminal in the capture mode to record everything coming
in on the RS232 port from the uart?
Then use a text editor, perl script, or whatever to extract the
information you want (if it needs filtering).
I am presuming the text file resides on the same computer the RS232 is
connected to, so this just makes more sense that what you seem to be
doing.
Austin