Common problems and solutions*
This page contains common problems and solutions
Q: GX8008(C) serial port frequently prints Receive FIFO underflow interrupt.
A: The error comes from the MCU interface: flash_spi_irq_handler. The reason for this problem may be that the program has accessed illegal address, and software engineers need to query the memory access of the modified code Is it normal.
Q When using the UAC function, it is stuck and this message appears
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 compilation error _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: Serial programming error_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 abnormality or USB abnormality, it may be because the PC has not been restarted for a long time, it is recommended to restart the PC.
Q The following error occurs when I execute make menuconfig for the first time:
$ 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: No such file or directory
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 Missing library, please execute: sudo apt install libncurses5-dev