您尚未登录。

楼主 # 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"

离线

#1 2023-12-23 21:30:38

ArtInChip
会员
注册时间: 2023-11-11
已发帖子: 167
积分: 173

Re: D133EBS烧录失败问题

@老鸟kkk

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

离线

楼主 #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)

离线

#3 2023-12-24 00:32:09

tangloong
会员
注册时间: 2023-04-11
已发帖子: 212
积分: 191

Re: D133EBS烧录失败问题

@老鸟kkk
请问是怎么解决的,我做的5块板子,焊接好后,有两块板子1.8v 异常,一块表现为0v ,一块表现为2.5v ,检查过物料 没有焊接错,然后就拆掉了dcdc ,现在1.8v 都测量为0v,ldo 不是应该有1.8v 输出么?
目前表现也是能识别 烧录不成功
本来想做sd启动 烧录了镜像 也不启动,好板子也不启动
直接烧录flash   image 也不知道用什么工具写入

离线

楼主 #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输出 --->编译,然后就可以烧录镜像了

离线

#5 2024-01-04 21:17:42

sjshe3326
会员
注册时间: 2020-10-19
已发帖子: 123
积分: 67.5

Re: D133EBS烧录失败问题

@老鸟kkk

请问你是用官方的BSP重新编译bootload的么, 我试了用原先自带的bootload.bin可以正常启动APP 重新编译了bootload后 就会报错

Pre-Boot Program ... (2023-11-14 13:46:14)
                                          SPINOR

tinySPL (LDO11_LDO18 ON) [Built on Jan  4 2024 14:50:59]
[W] usbh_get_connect_id()107 usb 0 port change wait failed.
[E] main()137 Not find udisk.
qspi0 freq (input): 100000000Hz
qspi0 freq ( bus ): 50000000Hz
qspi0 freq ( bus ): 100000000Hz
Not found FIT
 114913 : Run APP

离线

#6 2024-01-06 13:43:29

xfdr0805
会员
注册时间: 2020-07-23
已发帖子: 292
积分: 345

Re: D133EBS烧录失败问题

请问有有没Linux下像孙熙那样的命令行烧录工具?

离线

#7 2024-01-08 10:06:18

ArtInChip
会员
注册时间: 2023-11-11
已发帖子: 167
积分: 173

Re: D133EBS烧录失败问题

xfdr0805 说:

请问有有没Linux下像孙熙那样的命令行烧录工具?

有的啊,你看了SDK了吗?2.6. 烧录镜像

离线

#8 2024-01-08 10:30:34

xfdr0805
会员
注册时间: 2020-07-23
已发帖子: 292
积分: 345

Re: D133EBS烧录失败问题

ArtInChip 说:
xfdr0805 说:

请问有有没Linux下像孙熙那样的命令行烧录工具?

有的啊,你看了SDK了吗?2.6. 烧录镜像

我又看了一下 仍然没有找到。不是在doc下的文档吗?我按照文档在ubuntu22编译成功了

离线

#9 2024-01-08 14:49:20

ArtInChip
会员
注册时间: 2023-11-11
已发帖子: 167
积分: 173

Re: D133EBS烧录失败问题

xfdr0805 说:
ArtInChip 说:
xfdr0805 说:

请问有有没Linux下像孙熙那样的命令行烧录工具?

有的啊,你看了SDK了吗?2.6. 烧录镜像

我又看了一下 仍然没有找到。不是在doc下的文档吗?我按照文档在ubuntu22编译成功了

sun-tool合集没有,我们有onestep。 真需要的话我们也可以加。

离线

#10 2024-01-19 15:24:43

Gentlepig
会员
注册时间: 2018-10-24
已发帖子: 1,212
积分: 1148.5

Re: D133EBS烧录失败问题

@ArtInChip

onestep.sh只是编译功能吧,不含烧写功能。
aiburn有没有ubuntu版?或者在linux下有命令行烧写功能也行。

离线

#11 2024-01-25 09:51:16

ArtInChip
会员
注册时间: 2023-11-11
已发帖子: 167
积分: 173

Re: D133EBS烧录失败问题

Gentlepig 说:

@ArtInChip

onestep.sh只是编译功能吧,不含烧写功能。
aiburn有没有ubuntu版?或者在linux下有命令行烧写功能也行。

ubuntu版这个暂时没有

离线

页脚

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

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