页次: 1
@大帅
我用移远的EC800G模块,f1c100s+linux 4.15, USB识别ttyUSBx,不断探测->断开->探测
buildroot login: [ 17.048082] cdc_ether: probe of 1-1:1.0 failed with error -110
[ 17.054447] option 1-1:1.0: GSM modem (1-port) converter detected
[ 17.061880] option 1-1:1.1: GSM modem (1-port) converter detected
[ 27.128618] option 1-1:1.2: GSM modem (1-port) converter detected
[ 27.135500] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[ 37.208628] option 1-1:1.3: GSM modem (1-port) converter detected
[ 37.215540] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
[ 57.369062] option 1-1:1.5: GSM modem (1-port) converter detected
[ 57.376225] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB4
[ 67.448628] option 1-1:1.7: GSM modem (1-port) converter detected
[ 67.455539] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB5
[ 77.528625] option 1-1:1.8: GSM modem (1-port) converter detected
[ 77.535534] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB6
[ 77.544762] usb 1-1: USB disconnect, device number 2
[ 77.550397] option 1-1:1.0: device disconnected
[ 77.555417] option 1-1:1.1: device disconnected
[ 77.562964] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 77.571313] option 1-1:1.2: device disconnected
[ 77.577354] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
[ 77.585710] option 1-1:1.3: device disconnected
[ 77.593727] option1 ttyUSB4: GSM modem (1-port) converter now disconnected from ttyUSB4
[ 77.602077] option 1-1:1.5: device disconnected
[ 77.609449] option1 ttyUSB5: GSM modem (1-port) converter now disconnected from ttyUSB5
[ 77.617680] option 1-1:1.7: device disconnected
[ 77.624978] option1 ttyUSB6: GSM modem (1-port) converter now disconnected from ttyUSB6
[ 77.633341] option 1-1:1.8: device disconnected
[ 77.987971] usb 1-1: new high-speed USB device number 3 using musb-hdrc
[ 78.168361] usb 1-1: config 1 has an invalid interface number: 8 but max is 7
[ 78.175571] usb 1-1: config 1 has no interface number 6
[ 78.180949] usb 1-1: config 1 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 32, changing to 9
[ 78.454795] musb-hdrc musb-hdrc.1.auto: Babble
[ 93.288071] cdc_ether: probe of 1-1:1.0 failed with error -110
[ 93.294433] option 1-1:1.0: GSM modem (1-port) converter detected
[ 93.301853] option 1-1:1.1: GSM modem (1-port) converter detected
[ 103.368551] option 1-1:1.2: GSM modem (1-port) converter detected
[ 103.375416] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[ 113.448561] option 1-1:1.3: GSM modem (1-port) converter detected
[ 113.455427] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
f1c100s跑rtos, 配置DMA为NDMA模式,0通道。
源DRQ为0x0C : Audio Codec, IO Mode,目的DRQ为0x11,Linear Mode : SDRAM Memory,Data Width:16-bit, Burst Length:4,音频采样8kHz, mono单通道。按采样20ms计算:8000*16*0.02=320字节,结果采样只有160字节。DMA方式20ms,codec只有160字节。DMA完成后,只采集到160字节
NDMA_BYTE_CNT_REG设置为160
NDMA采样 Full Transfer Interrupt模式触发
采集流程:开始DMA音频采集->DMA FULL中断触发->中断函数重设DMA音频采集->如此循环。 DMA的目的地址映射到一个循环缓冲区。
大家好,我在rtt的allwinner_tina包中加入了speex编译,编译器为gcc,链接时候出现以下问题,不知道是不是链接脚本的问题。麻烦大家帮忙看一下。谢谢
CC build\speex-1.2.0\libspeex\modes_wb.o
CC build\speex-1.2.0\libspeex\nb_celp.o
CC build\speex-1.2.0\libspeex\quant_lsp.o
CC build\speex-1.2.0\libspeex\sb_celp.o
CC build\speex-1.2.0\libspeex\smallft.o
CC build\speex-1.2.0\libspeex\speex.o
CC build\speex-1.2.0\libspeex\speex_callbacks.o
CC build\speex-1.2.0\libspeex\speex_header.o
CC build\speex-1.2.0\libspeex\stereo.o
CC build\speex-1.2.0\libspeex\vbr.o
CC build\speex-1.2.0\libspeex\vorbis_psy.o
CC build\speex-1.2.0\libspeex\vq.o
CC build\speex-1.2.0\libspeex\window.o
LINK rtthread.elf
d:/env_released_1.2.0/tools/gnu_gcc/arm_gcc/mingw/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/liblibc.a(lib_a-fini.o): In function `__libc_fini_array':
fini.c:(.text.__libc_fini_array+0x30): undefined reference to `_fini'
collect2.exe: error: ld returned 1 exit status
scons: * [rtthread.elf] Error 1
scons: building terminated because of errors.
附图
页次: 1