常见问题及解决方案*
本页收录常见问题及解决方案
Q: GX8008(C) 串口频繁打印 Receive FIFO underflow interrupt.
A: 该报错出自 mcu 的接口:flash_spi_irq_handler,出此问题的原因是可能是程序访问了非法地址,需要软件工程师查询所修改代码对内存的访问是否正常。
Q 使用UAC功能时卡死并出现此条打印
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
|

Q: DSP编译报错_1
You need to either specify the name of a registered Xtensa core (with
the --xtensa-core option or the XTENSA_CORE environment variable) or
specify a different registry of Xtensa cores (with the --xtensa-system
option or the XTENSA_SYSTEM environment variable).
[Preparing vsp/dsp ...]
Error: the "GXHifi4_170719A_G1708" core is not in the current Xtensa core registry.

Q: 串口烧录出错_1
$ sudo /home/sdisk/jialp/OTP/bootx_v1.5.37/bootx -m leo_mini -t s -d /dev/ttyUSB2 -c "download 0 output/mcu_nor.bin;reboot"
Version : v1.5.37 (20220222)
NationalChip AIoT Download Tools
Copyright (C) 2001-2022 NationalChip Co., Ltd
ALL RIGHTS RESERVED!
wait ROM request... please power on or restart the board...
Found serial: /dev/ttyUSB2
downloading [1/2] :
[==========][100%]
[ERROR] : BootROM error: wait for "GET",please check UART receive !
A: USB-HUB 异常或 USB 异常,可能是由于 PC 长时间未重启,建议重启 PC。
Q 第一次执行 make menuconfig 出现如下报错:
$ make menuconfig
make[1]: Entering directory '/home/xpf/vsp_sdk/scripts/kconfig'
cp zconf.hash.c_shipped zconf.hash.c
cp zconf.lex.c_shipped zconf.lex.c
cp zconf.tab.c_shipped zconf.tab.c
make[1]: Leaving directory '/home/xpf/vsp_sdk/scripts/kconfig'
make[1]: Entering directory '/home/xpf/vsp_sdk/scripts/kconfig'
cp zconf.hash.c_shipped zconf.hash.c
cp zconf.lex.c_shipped zconf.lex.c
cp zconf.tab.c_shipped zconf.tab.c
gcc -c -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -DLOCALE -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -lncurses lxdialog/menubox.c -o lxdialog/menubox.o
In file included from lxdialog/menubox.c:59:0:
lxdialog/dialog.h:38:20: fatal error: ncurses.h: 没有那个文件或目录
compilation terminated.
Makefile:9: recipe for target 'lxdialog/menubox.o' failed
make[1]: *** [lxdialog/menubox.o] Error 1
make[1]: Leaving directory '/home/xpf/vsp_sdk/scripts/kconfig'
Makefile:45: recipe for target '/home/xpf/vsp_sdk/scripts/kconfig/mconf' failed
make: *** [/home/xpf/vsp_sdk/scripts/kconfig/mconf] Error 2

A 缺少库,请执行: sudo apt install libncurses5-dev