@whycan
经过测试发现一个问题,使用USB供电是能识别到USB设备(Tina ADB能弹出来)。使用外部电源,把USB的电源断开就无法识别USB设备(Tina ADB不能弹出来)。
wl17761275256 发布的帖子
-
回复: V853 USB烧录不了问题—各位大佬帮忙看下
-
回复: V853 USB烧录不了问题—各位大佬帮忙看下
@whycan
我发现了一个问题,我在上电后面刚识别设备时就点击固件烧录,可以进去烧录进度条。但是发现设备管理器里面弹出有不识别的设备。这个是不是就是烧录不进去设备没有识别呀。
有什么办法吗?
-
回复: V853 USB烧录不了问题—各位大佬帮忙看下
@whycan 在 V853 USB烧录不了问题—各位大佬帮忙看下 中说:
我记得只有安卓点这个地方才能进入烧录模式,你确认Linux可以这么做吗?
这个问题已经困扰我们太久了,还没有什么破解办法方法吗。
-
V853 USB烧录不了问题—各位大佬帮忙看下
一、烧写问题描述:
-
1、USB上电后设备识别
-
2、PhoenixSuit.exe全志烧写工具识别
-
3、串口打印log
------run profile file----- _____ _ __ _ |_ _||_| ___ _ _ | | |_| ___ _ _ _ _ | | _ | || | | |__ | || || | ||_'_| | | | || | || _ | |_____||_||_|_||___||_,_| |_| |_||_|_||_|_| Tina is Based on OpenWrt! --------------------------[ 6.926014] [ 6.926014] insmod_device_driver [ 6.926014] -------------------- Tina Linux (Neptune, 5C1C9C53) ---------------------------------------------- swu_param: #### swu_software: #### swu_mode: #### no swupdate_cmd to run, wait for next swupdate root@TinaLinux:/# [ 6.999539] urandom_read: 2 callbacks suppressed [ 6.999547] random: wpa_supplicant: uninitialized urandom read (3 bytes read) [ 7.013061] random: wpa_supplicant: uninitialized urandom read (1024 bytes re ad) Successfully initialized wpa_supplicant Could not read interface wlan0 flags: No such device nl80211: Driver does not support authentication/association or connect commands nl80211: deinit ifname=wlan0 disabled_11b_rates=0 Could not read interface wlan0 flags: No such device wlan0: Failed to initialize driver interface [ 7.173337] android_work: sent uevent USB_STATE=CONNECTED [ 7.199100] configfs-gadget gadget: high-speed config #1: c [ 7.205527] android_work: sent uevent USB_STATE=CONFIGURED udhcpc: sending discover 1970-01-01 00:06:43:079: WMG_EXCESSIVE [src/os/linux/utils.c:check_process_is_ex ist:32]: wpa_supplicant not exist 1970-01-01 00:06:44:097: WMG_EXCESSIVE [src/os/linux/utils.c:check_process_is_ex ist:32]: wpa_supplicant not exist 1970-01-01 00:06:45:114: WMG_EXCESSIVE [src/os/linux/utils.c:check_process_is_ex ist:32]: wpa_supplicant not exist udhcpc: sending discover 1970-01-01 00:06:46:329: WMG_EXCESSIVE [src/os/linux/utils.c:check_process_is_ex ist:32]: wpa_supplicant not exist 1970-01-01 00:06:47:346: WMG_EXCESSIVE [src/os/linux/utils.c:check_process_is_ex ist:32]: wpa_sup[ 12.172806] random: wpa_supplicant: uninitialized urandom rea d (3 bytes read) plicant not exist 1970-0[ 12.182932] random: wpa_supplicant: uninitialized urandom read (1024 by tes read) 1-01 00:06:47:346: WMG_ERROR [src/os/linux/linux_wpa.c:start_supplicant:365]: f ailed to start wpa_supplicant times 1 1970-01-01 00:06:47:349: WMG_ERROR [src/os/linux/linux_wpa.c:start_supplicant:36 5]: failed to start wpa_supplicant times 2 1970-01-01 00:06:47:349: WMG_ERROR [src/os/linux/linux_wpa.c:linux_connect_to_su pplicant:1522]: start wpa_supplicant failed 1970-01-01 00:06:47:349: WMG_ERROR [src/wmg_sta.c:sta_mode_enable:416]: failed to connect to wpa_supplicant 1970-01-01 00:06:47:349: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:991]: w ifi sta mode enable faile 1970-01-01 00:06:47:349: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:1014]: switch after current_mode_bitmap:0x0 1970-01-01 00:06:47:349: WMG_ERROR [src/wmg_common.c:wifimg_switch_mode:1021]: switch mode faile 1970-01-01 00:06:47:349: WMG_ERROR [src/wmg_common.c:__wifi_on:49]: failed to s witch wifi mode 1970-01-01 00:06:47:349: WMG_ERROR [wifi_deamon.c:cmd_handle_o:277]: wifi on st a mode failed Successfully initialized wpa_supplicant Could not read interface wlan0 flags: No such device nl80211: Driver does not support authentication/association or connect commands nl80211: deinit ifname=wlan0 disabled_11b_rates=0 Could not read interface wlan0 flags: No such device wlan0: Failed to initialize driver interface udhcpc: no lease, forking to background [ 99.476134] random: crng init done
-
4、烧写失败
二、现象疑问 -
1、USB硬件上是从CPU——共模电感——USB连接器。没有发现硬件上的问题。
-
2、软件上使用同样的代码在双目开发板上没有问题,可以连接PhoenixSuit.exe烧录软件。
各位大佬,需要指点迷津呀,小弟在此谢过了。
-
-
回复: V853烧录问题后自动重新烧录
@null037
兄弟,可以帮忙看下我这个问题吗?是不是也是芯片问题呀。这颗EMMC芯片也不在这个手册里面。[allwinner-v853-emmc-flash-support-list_v1.0.pdf]我这个开机打印没有你帖子里面的打印的内容多。
https://bbs.aw-ol.com/topic/3487/v853-无法烧录问题-whycan晕哥?_=1683766917546
-
回复: V853 无法烧录问题@whycan晕哥
@yuzukihd
1、板子上面只有EMMC,没有TF卡和Flash其他的。
2、PC的启动顺序,我确认下。但是我用开发板插上USB是可以烧录看到进度条的。 -
V853 无法烧录问题@whycan晕哥
硬件背景
1、原理图参考官方双目开发板,电源管理使用 AXP2101。
2、EMMC使用妙存-AT70B08G3S03F。上电测试EMMC_CLK是50MHz波形。烧录操作
1、开机上电USB供电5V。
2、使用PhoenixSuit.exe软件烧录固件。3、附图烧录
4、附开机打印日志
开机打印.txt打印到最后就没有了。一直停在这个位置
CCC[2313]fes begin commit:4b419f21ba [2317]PMU: AXP21 [2320]set pll start [2322]periph0 has been enabled [2325]set pll end [2327]board init ok [2329]beign to init dram [2331]DRAM use external ZQ!! [2334]chip id check OK [2336]DRAM_VCC set to 1500 mv [2339]trefi:7.8ms [2342][AUTO DEBUG] single rank and full DQ! [2346]trefi:7.8ms [2348][AUTO DEBUG] rank 0 row = 15 [2352][AUTO DEBUG] rank 0 bank = 8 [2355][AUTO DEBUG] rank 0 page size = 2 KB [2359]DRAM BOOT DRIVE INFO: V0.16 [2362]DRAM CLK = 936 MHz [2364]DRAM Type = 3 (2:DDR2,3:DDR3) [2368]DRAMC ZQ value: 0x7b7bfb [2371]DRAM ODT value: 0x42. [2374]DRAM SIZE =512 M [2376]dram_tpr4:0x0 [2380]DRAM simple test OK. [2382]rtc standby flag is 0x0, super standby flag is 0x0 [2387]init dram ok U-Boot 2018.05 (Apr 25 2023 - 11:52:11 +0800) Allwinner Technology [04.899]CPU: Allwinner Family [04.902]Model: sun8iw21 I2C: ready [04.928]DRAM: 512 MiB [04.932]Relocation Offset is: 1ced0000 [04.956]secure enable bit: 0 [04.959]PMU: AXP21 [04.961]PMU: pmu_axp2101 found [04.964]BMU: AXP21 [04.965]BMU: bmu_axp2101 found FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL [04.976]gpio_bias, pc_bias: 1800, pc_supply: not set [04.981]gpio_bias, pl_bias: -1, pl_supply: not set [04.986]dcdc1_vol = 3300, onoff=1 [04.990]dcdc2_vol = 900, onoff=1 [04.993]dcdc5_vol = 0, onoff=0 [04.996]aldo1_vol = 1800, onoff=1 [05.000]aldo2_vol = 1800, onoff=1 [05.003]aldo3_vol = 3300, onoff=1 [05.007]aldo4_vol = 3300, onoff=1 [05.010]bldo1_vol = 1800, onoff=1 [05.014]bldo2_vol = 2800, onoff=1 [05.017]dldo1_vol = 3300, onoff=1 [05.021]dldo2_vol = 1200, onoff=1 bias_name:pc_bias bias_vol:1800 bias_name:pi_bias bias_vol:1800 [05.031]bat_vol=36, ratio=0 [05.033]safe_vol=3500, safe_ratio=1 [05.037]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz MBus=300Mhz [05.043]gic: normal mode sunxi flash map init [05.047]flash init start [05.049]workmode = 16,storage type = 0 try card 2 set card number 2 get card number 2 [05.057][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [05.063][mmc]: get sdc_type fail and use default host:tm4. [05.070][mmc]: Is not Boot mode! [05.072][mmc]: SUNXI SDMMC Controller Version:0x50400 [05.083][mmc]: ************Try SD card 2************ [05.089][mmc]: mmc 2 cmd timeout 100 status 100 [05.093][mmc]: smc 2 err, cmd 8, RTO [05.096][mmc]: mmc 2 close bus gating and reset [05.101][mmc]: mmc 2 cmd timeout 100 status 100 [05.105][mmc]: smc 2 err, cmd 55, RTO [05.109][mmc]: mmc 2 close bus gating and reset [05.113][mmc]: ************Try MMC card 2************ [05.136][mmc]: mmc 2 cmd timeout 100 status 100 [05.140][mmc]: smc 2 err, cmd 8, RTO [05.144][mmc]: mmc 2 close bus gating and reset [05.149][mmc]: mmc 2 cmd timeout 100 status 100 [05.153][mmc]: smc 2 err, cmd 55, RTO [05.156][mmc]: mmc 2 close bus gating and reset [05.172][mmc]: gen_tuning_blk_bus8: total blk 10 [05.176][mmc]: gen_tuning_blk_bus4: total blk 6 [05.181][mmc]: Using 8 bit tuning now [05.185][mmc]: write_tuning_try_freq: write ok [05.189][mmc]: Pattern compare ok [05.192][mmc]: Write tuning pattern ok [05.195][mmc]: ================== HSSDR52_SDR25... [05.200][mmc]: skip freq 400000 [05.203][mmc]: skip freq 25000000 [05.206][mmc]: freq: 2-50000000-64-4 [05.355][mmc]: [0-53|54] [61-63|3] [05.358][mmc]: ================== HSDDR52_DDR50... [05.362][mmc]: skip freq 400000 [05.365][mmc]: freq: 1-25000000-64-4 [05.507][mmc]: freq: 2-50000000-64-4 [05.598][mmc]: [0-50|51] [62-63|2] [05.602][mmc]: [0-30|31] [32-50|19] [62-63|2] [05.606][mmc]: DS26/SDR12: 0xffffffff 0xffffffff [05.610][mmc]: HSSDR52/SDR25: 0xff1bffff 0xffffffff [05.615][mmc]: HSDDR52/DDR50: 0xff0f19ff 0xffffffff [05.619][mmc]: HS200/SDR104: 0xffffffff 0xffffffff [05.624][mmc]: HS400: 0xffffffff 0xffffffff [05.628][mmc]: HS400: 0xffffffff 0xffffffff [05.632][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 8 [05.638]line:724 init_clocks [05.641]init_clocks:finish [05.644]Loading Environment from SUNXI_FLASH... OK [05.648]try to burn key [05.651]out of usb burn from boot: not need burn key Hit any key to stop autoboot: 0 sunxi work mode=0x10 run usb efex delay time 2500 weak:otg_phy_config usb init ok set address 0x9 set address 0x9 ok