M
MAx
Guest
On Feb 20, 3:40 pm, Jan Pech <inva...@void.domain> wrote:
I have assigned 64k of local memory.
Is there an alternative to this problem im facing.
I want to be able to read intergers from the hyper terminal.
Thanks
Hi ,On Wed, 2008-02-20 at 01:45 -0800, MAx wrote:
Hi,
How to read an integer from hyperterminal onto a microbaze using
EDK 9.1i.
Im trying it using scanf but its giving me errors.
here are the lines of code im trying to achieve the read.
scanf("%d",&var);
xil_print("\r\n Entered %d \r\n",var);
I get the following errors,
At Local date and time: Wed Feb 20 15:08:33 2008
xbash -q -c "cd /cygdrive/d/SCANF/; /usr/bin/make -f system.make
TestApp_Memory_program; exit;" started...
mb-gcc -O2 TestApp_Memory/src/TestApp_Memory.c -o TestApp_Memory/
executable.elf \
-mno-xl-soft-mul -mxl-pattern-compare -mcpu=v6.00.a -Wl,-T -
Wl,TestApp_Memory/src/TestApp_Memory_LinkScr.ld -g -I./
microblaze_0/include/ -L./microblaze_0/lib/ \
/cygdrive/c/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/
3.4.1/../../../../microblaze/bin/ld.real: region ilmb_cntlr_dlmb_cntlr
is full (TestApp_Memory/executable.elf section .text)
/cygdrive/c/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/
3.4.1/../../../../microblaze/bin/ld.real: region ilmb_cntlr_dlmb_cntlr
is full (TestApp_Memory/executable.elf section .text)
/cygdrive/c/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/
3.4.1/../../../../microblaze/bin/ld.real: section .init [00000050 -
00000077] overlaps section .text [00000050 -> 00010293]
/cygdrive/c/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/
3.4.1/../../../../microblaze/bin/ld.real: section .fini [00000078 -
00000093] overlaps section .text [00000050 -> 00010293]
/cygdrive/c/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/
3.4.1/../../../../microblaze/bin/ld.real: section .rodata [00000094 -
00000cdf] overlaps section .text [00000050 -> 00010293]
/cygdrive/c/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/
3.4.1/../../../../microblaze/bin/ld.real: section .data [00000ce0 -
000013ff] overlaps section .text [00000050 -> 00010293]
/cygdrive/c/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/
3.4.1/../../../../microblaze/bin/ld.real: section .ctors [00001400 -
00001407] overlaps section .text [00000050 -> 00010293]
/cygdrive/c/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/
3.4.1/../../../../microblaze/bin/ld.real: section .dtors [00001408 -
0000140f] overlaps section .text [00000050 -> 00010293]
/cygdrive/c/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/
3.4.1/../../../../microblaze/bin/ld.real: section .jcr [00001410 -
00001413] overlaps section .text [00000050 -> 00010293]
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccGEcfLD.o: In function
`main':
/cygdrive/d/SCANF/TestApp_Memory/src/TestApp_Memory.c:85: undefined
reference to `xil_print'
collect2: ld returned 1 exit status
make: *** [TestApp_Memory/executable.elf] Error 1
Done!
Expecting a quick response
Thanks in advance
You do not have enough code space to use scanf()...
Jan- Hide quoted text -
- Show quoted text -
I have assigned 64k of local memory.
Is there an alternative to this problem im facing.
I want to be able to read intergers from the hyper terminal.
Thanks