我用的是dnw下载的,但是也还是不能打印信息 这是编译过程:
arm-linux-gcc -c test.c -o test.o
test.c:10:8: warning: built-in function 'printf' declared as non-function
test.c:10:31: warning: initialization makes pointer from integer without a cast
arm-linux-ld -Ttext=0x70003000 test.o -o test
arm-linux-ld: warning: cannot find entry symbol _start; defaulting to 70003000
arm-linux-objcopy -O binary test test.bin
这是下载过程:
师培训代码/03rd_key/1st# dnw test.bin
load address: 0x57E00000
Writing data...
100% 0x0000813A bytes (32 K)
speed: 3.154945M/S
这是minicom里的烧录过程:
TINY4412 # dnw 70003000
OTG cable Connected!
Now, Waiting for DNW to transmit data
Download Done!! Download Address: 0x70003000, Download Filesize:0x8130
Checksum is being calculated.
Checksum O.K.
TINY4412 # go 70003000
## Starting application at 0x70003000 ...