全新的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"
离线
@老鸟kkk
麻烦发您手机号到sales@artinchip.com ,听说要移植算法,我看怎么支持这个项目。
感谢群里的各位大佬支持,已经可以正常烧录了。
移植的话是一个初步的想法,成不成还是一回事,这会是一个相对较长的时间过程,毕竟个人玩家时间精力有限,工程量也非常大,差不多要用寄存器重构BSP
最近编辑记录 老鸟kkk (2023-12-23 22:26:42)
离线
@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输出 --->编译,然后就可以烧录镜像了
离线