您尚未登录。

#1 工业芯 匠芯创 » 参考test—psadc例程自己照写了一个,但是跑不过去 » 昨天 10:43:56

beyond_yourself
回复: 0

基本跟test_psadc例程一样,就是struct aic_psadc_ch aic_psadc_chs[]改成struct aic_psadc_ch aic_psadc_chs2[] ;struct aic_psadc_queue aic_psadc_queues改成struct aic_psadc_queue aic_psadc_queues2,然后把函数中的对应数组名也改了,但是跑到test_psadc_get_adc()里面的 hal_psadc_read_poll(),就跑不过去了,这是为什么,用的PA9,psadc9,而且rtconfig里面#define AIC_PSADC_TRIG_BY_SOFT
#define AIC_USING_PSADC9 都没有值,menuconfig按照手册修改了的

#2 工业芯 匠芯创 » 匠芯创的mcu,有适配过WS1850T吗,有相关驱动文件吗? » 2026-01-06 19:43:31

beyond_yourself
回复: 0

ws1850t,读卡芯片,有适配就最好,没有就只能尝试参考WS1850T的配置,在工程里自己配一个了

#3 Re: 工业芯 匠芯创 » menuconfig的热键以及选项问题 » 2026-01-04 09:39:47

_20260104093614.png

看着意思好像是缺了什么文件?制作镜像失败了

#4 Re: 工业芯 匠芯创 » menuconfig的热键以及选项问题 » 2026-01-04 09:37:00

根据help去处理,切换存储工作完成,但是编译出现了以下问题:
scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly
File "E:\ALL_Project\new_project\luban-lite-master\SConstruct", line 20, in <module>
Newlib version:3.2.0
nftl use lib ....
E:\ALL_Project\new_project\luban-lite-master\kernel\rt-thread
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: output\d21x_d100-nand_rt-thread_work-project
LINK output\d21x_d100-nand_rt-thread_work-project\images\d21x.elf
-rw-r--r-- 1 11923880 Jan  4 09:34 output\d21x_d100-nand_rt-thread_work-project\images\d21x.elf

riscv64-unknown-elf-objcopy -O binary output\d21x_d100-nand_rt-thread_work-project\images\d21x.elf output/d21x_d100-nand_rt-thread_work-project/images/d21x.bin
riscv64-unknown-elf-size output\d21x_d100-nand_rt-thread_work-project\images\d21x.elf
   text    data     bss     dec     hex filename
1579664   19248  243184 1842096  1c1bb0 output\d21x_d100-nand_rt-thread_work-project\images\d21x.elf
python3 E:\ALL_Project\new_project\luban-lite-master\tools/scripts/fsinstall.py --sdkout E:\ALL_Project\new_project\luban-lite-master\output/d21x_d100-nand_rt-thread_work-project/images/ --clean rodata/,data/
python3 E:\ALL_Project\new_project\luban-lite-master\tools/scripts/fsinstall.py --sdkout E:\ALL_Project\new_project\luban-lite-master\output/d21x_d100-nand_rt-thread_work-project/images/ --src E:\ALL_Project\new_project\luban-lite-master\packages\artinchip\lvgl-ui\aic_demo\demo_hub\assets/1024x600/ --dst rodata/
python3 E:\ALL_Project\new_project\luban-lite-master\tools/scripts/fsinstall.py --sdkout E:\ALL_Project\new_project\luban-lite-master\output/d21x_d100-nand_rt-thread_work-project/images/ --src E:\ALL_Project\new_project\luban-lite-master\packages\artinchip\aic-startup-ui\assets/ --dst data/
python3 E:\ALL_Project\new_project\luban-lite-master\tools/scripts/linked_size.py -m E:\ALL_Project\new_project\luban-lite-master\output/d21x_d100-nand_rt-thread_work-project/images/d21x.map
python3 E:\ALL_Project\new_project\luban-lite-master\tools/scripts/makefatfs.py --fullpart --volab default --cluster 8 --sector 512 --tooldir E:\ALL_Project\new_project\luban-lite-master\tools/scripts/ --inputdir rodata --outfile E:\ALL_Project\new_project\luban-lite-master\output/d21x_d100-nand_rt-thread_work-project/images/rodata.fatfs
python3 E:\ALL_Project\new_project\luban-lite-master\tools/scripts/makefatfs.py --fullpart --volab default --cluster 8 --sector 512 --tooldir E:\ALL_Project\new_project\luban-lite-master\tools/scripts/ --inputdir data --outfile E:\ALL_Project\new_project\luban-lite-master\output/d21x_d100-nand_rt-thread_work-project/images/data.fatfs
Image data.fatfs is not used in any partition
please check your project's image_cfg.json
Disk full
scons: *** [output\d21x_d100-nand_rt-thread_work-project\images\d21x.elf] Error 1
scons: building terminated because of errors.

#5 Re: 工业芯 匠芯创 » menuconfig的热键以及选项问题 » 2026-01-03 17:43:46

因主控是D21x——100pin,但是flash是nand的,所以需要新建工程,而选择参照的demo,只有D21-100pin-nor的,也就nor flash;目前怀疑是这个工程是对应nor的flash,导致参照这个工程新建工程,将nor flash的一些配置写死了,按照手册切换存储方式,有些配置去不掉,将nand的配置加上,就会报错,说sfud这个文件没有

#6 工业芯 匠芯创 » menuconfig的热键以及选项问题 » 2026-01-03 15:49:53

beyond_yourself
回复: 4

像   “-*- Enable SPI NOR driver test command ”这种怎么更改?目前知道Y,N,+,-; 还有些按键触发怪怪的

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn


太原小智科技有限责任公司 - 东莞哇酷科技有限公司联合开发