您尚未登录。

楼主 # 2023-12-23 20:22:09

老鸟kkk
会员
注册时间: 2020-03-24
已发帖子: 15
积分: 20

D133EBS烧录失败问题

全新的D133EBS芯片,板子采用单独外接3.3供电,其他电源用内部ldo,现在设备管理器能识别到芯片,AiBurn也能识别到,但是点烧录就失败,换过flash了,用逻辑分析能测到MISO MOSI CLK等引脚有波形,看论坛有大佬说换个配置编译烧录也试了,结果都一样,不知道咋回事了!
烧写失败日志如下:
[debug] WinEvent: Some devnode changed
[debug] No device available

[debug] WinEvent: Some devnode changed
[debug] There are "1" device available

[debug] Try to connect the ArtInChip device "1:7" ...
[debug] Try to get Usb device hd info...
[debug] Get Usb device hd info success
[debug] The status of ArtInChip device: true

[debug] WinEvent: Some devnode changed
[debug] There are "1" device available
[debug] Start burn online ...
[debug] Scan the current 3 partitions in list ...
[debug] Part name: spl , Selected: true
[debug] Part name: env , Selected: true
[debug] Part name: os , Selected: true
[debug] Progress range: 0 ~ 366592

[debug] Burn Image file "E:/baremetal-master/output/d13x_per1-nor_baremetal_helloworld/images/d13x_per1-nor_v1.0.0.img" ...

[debug] Meta 0 image.updater.spl , size 118544 ...
[debug] Blocksize 4 , chunk 1048576 * 0 , rest 118544
[debug] Offset: 4608 Size: 118544
[debug] Dev "1:7" Send the rest data 118544
[error] aicupg_trans_recv_pkt()208: CSW size 0, Pipe error(-9)
[error] aicupg_cmd_send_fwc_data_final()777: Recv resp failed, expect 16, got 0
[debug] Don't check the result of image.updater.spl

[debug] Meta 1 image.info , size 2048 ...
[error] aicupg_trans_send_pkt()80: CBW tag 0xbeb, size 0, Pipe error(-9)
[error] aicupg_cmd_get_hwinfo()106: Send command failed. ret = 0, siz = 16
[debug] Wait to reconnect dev "1:7"
[debug] QTime("20:02:19.605") Wait for Dev "1:7" ready

[debug] WinEvent: Some devnode changed

[debug] WinEvent: Some devnode changed

[debug] WinEvent: Some devnode changed
[debug] Blocksize 4 , chunk 1048576 * 0 , rest 2048
[debug] Offset: 0 Size: 2048
[debug] Dev "1:7" Send the rest data 2048

[debug] Meta 2 image.target.spl , size 118544 ...
[error] The status of device "1:7" error
[warn ] Try to resend firmware component image.target.spl , try count: 1
[warn ] Try to recovery the connection
[warn ] Resend firmware component: image.target.spl
[error] The status of device "1:7" error
[debug] Update "fail_cnt" of "2023-12-23"

离线

楼主 #2 2023-12-23 22:25:39

老鸟kkk
会员
注册时间: 2020-03-24
已发帖子: 15
积分: 20

Re: D133EBS烧录失败问题

ArtInChip 说:

@老鸟kkk

麻烦发您手机号到sales@artinchip.com ,听说要移植算法,我看怎么支持这个项目。


感谢群里的各位大佬支持,已经可以正常烧录了。
移植的话是一个初步的想法,成不成还是一回事,这会是一个相对较长的时间过程,毕竟个人玩家时间精力有限,工程量也非常大,差不多要用寄存器重构BSP big_smile

最近编辑记录 老鸟kkk (2023-12-23 22:26:42)

离线

楼主 #4 2023-12-24 09:26:55

老鸟kkk
会员
注册时间: 2020-03-24
已发帖子: 15
积分: 20

Re: D133EBS烧录失败问题

@tangloong
我的是只用了3.3V供电,其他的是用的内置的ldo电源,用的nor flash。根据官方的说法要先把config配置成bootloader,然后在bootloader的menuconfig中把1.1和1.8的电源使能输出(默认1.1有1.2V输出,1.8没有输出),根据手册1.1V和1.8V的寄存器值应设为4和3,然后编译;接下来把config配置成app的,同理配置1.1和1.8电源后再编译,按他们的说法打包镜像的时候会自动去找前面编译好的bootloader一起打包。
举个例子:
在luban-lite下使用env:scons --apply-def=2 ---> scons --menuconfig配置ldo输出 --->编译;scons --apply-def=3 ---> scons --menuconfig配置ldo输出 --->编译,然后就可以烧录镜像了

离线

页脚

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

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