Cypress43438下载wifi固件偶现卡死问题

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
usrpp
Level 1
Level 1
5 sign-ins First question asked Welcome!

卡死现象不是必现的,不定时的出现,也没什么规律。上电启动,load模块,ifconfig wlan0 up网卡,偶现该问题。出现这个现象时,sdio时钟正常,模块外部32.7K时钟正常, reg_on电压正常。尝试升级驱动版本为100.10.545, 问题依旧。在写wifi模块固件时出现,固件时分多次由主控写入模块。有时候第一次写出错,有时候写入几次h

内核版本:3.10.14+ #18 

[ 2.019434] dhd_module_init in
[ 2.024240] found wifi platform device md_bcmdhd_wlan
[ 2.035721] Power-up adapter 'DHD generic adapter'
[ 2.045774] =========== WLAN placed in NOMAL ON========
[ 2.051314] wlan power on: init
[ 2.054568] bcm_wlan_power_on NORMAL
[ 2.364305] wait stable.[291][cgu_msc0]
[ 2.377038] wifi_platform_bus_enumerate device present 1
[ 2.412387] dhd_customer_oob_irq_map,host_oob_irq = 138
[ 2.417893] irq = 138
[ 2.420801] F1 signature read @0x18000000=0x1541a9a6
[ 2.435463] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x1 pkg:0x4
[ 2.446046] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
[ 2.453417] wifi_platform_prealloc: failed to alloc static mem section 7
[ 2.460428] wifi_platform_get_mac_addr
[ 2.466118] wl_create_event_handler(): thread:wl_event_handler:7e started
[ 2.474130] dhd_attach(): thread:dhd_watchdog_thread:7f started
[ 2.480463] dhd_attach(): thread:dhd_dpc:80 started
[ 2.485679] dhd_attach(): thread:dhd_rxf:81 started
[ 2.490838] dhd_deferred_work_init: work queue initialized
[ 2.498130] Dongle Host Driver, version 1.363.125.7 (r)
[ 2.498130] Compiled in /home/222/111/333/module_driver/devices/wireless/bcmdhd_1.363.125.7 on Nov 20 2020 at 14:16:41
[ 2.518146] Register interface [wlan0] MAC: 00:90:4c:11:22:33
[ 2.518146]
[ 2.525841] wl_destroy_event_handler(): thread:wl_event_handler:7e terminated OK
[ 2.533565] dhd_wl_ioctl: returning as busstate=0
[ 2.538492] dhd_bus_devreset: == Power OFF ==
[ 2.544413] dhd_bus_devreset: WLAN OFF DONE
[ 2.549230] =========== WLAN placed in NOMAL OFF ========
[ 2.554818] wlan power off: initok
killall: bsa_server: no process killed
[ 4.939871]
[ 4.939871] Dongle Host Driver, version 1.363.125.7 (r)
[ 4.939871] Compiled in /home/222/111/3333/module_driver/devices/wireless/bcmdhd_1.363.125.7 on Nov 20 2020 at 14:16:41
[ 4.963215] wl_android_wifi_on in
[ 4.966730] =========== WLAN placed in RESET ON ========
[ 4.972514] wlan power on: poweron
[ 4.976115] bcm_wlan_power_on, RESETsdio_reset_comm():
[ 5.302119] wait stable.[291][cgu_msc0]
[ 5.569726] wait stable.[291][cgu_msc0]
[ 5.576427]
[ 5.576427]
[ 5.576427] dhd_bus_devreset: == WLAN ON ==
[ 5.584544] F1 signature read @0x18000000=0x1541a9a6
[ 5.600723] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x1 pkg:0x4
[ 5.611453] DHD: dongle ram size is set to 524288(orig 524288) at 0x0

============================================

最新log,主控向wifi模块写入数据过程中卡死。(另一种是刚开始写数据就卡死,不会打印该行log[ 6.703895] dhdsdio_membytes: write 4 bytes at offset 0x00007ffc in window 0x00078000)

[ 6.657235] dhd_bus_devreset: == WLAN ON ==
[ 6.665313] F1 signature read @0x18000000=0x1541a9a6
[ 6.680517] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x1 pkg:0x4
[ 6.692087] DHD: dongle ram size is set to 524288(orig 524288) at 0x0

[ 6.703895] dhdsdio_membytes: write 4 bytes at offset 0x00007ffc in window 0x00078000
[ 6.726355] dhdsdio_membytes: write 2048 bytes at offset 0x00000000 in window 0x00000000
[ 6.736182] dhdsdio_membytes: write 2048 bytes at offset 0x00000800 in window 0x00000000
[ 6.745998] dhdsdio_membytes: write 2048 bytes at offset 0x00001000 in window 0x00000000
[ 6.756612] dhdsdio_membytes: write 2048 bytes at offset 0x00001800 in window 0x00000000
[ 6.766435] dhdsdio_membytes: write 2048 bytes at offset 0x00002000 in window 0x00000000
[ 6.776242] dhdsdio_membytes: write 2048 bytes at offset 0x00002800 in window 0x00000000
[ 6.786034] dhdsdio_membytes: write 2048 bytes at offset 0x00003000 in window 0x00000000
[ 6.796648] dhdsdio_membytes: write 2048 bytes at offset 0x00003800 in window 0x00000000
[ 6.806467] dhdsdio_membytes: write 2048 bytes at offset 0x00004000 in window 0x00000000
[ 6.816289] dhdsdio_membytes: write 2048 bytes at offset 0x00004800 in window 0x00000000
[ 6.826109] dhdsdio_membytes: write 2048 bytes at offset 0x00005000 in window 0x00000000
[ 6.836726] dhdsdio_membytes: write 2048 bytes at offset 0x00005800 in window 0x00000000

0 点赞
1 解答
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

Hello:

    1.363.125.7 是有客户量产过的版本, 先排除驱动问题。

sdio时钟正常,模块外部32.7K时钟正常, reg_on电压正常。

如果上述评论准确的话, 那么需要检查下中断模式, 也可以看下上电时序。

32.7K 的指标参数运行的时候也可以实际看下是否满足spec要求。 

 

 

在原帖中查看解决方案

0 点赞
2 回复数
Roy_Liu
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 10 questions asked

用的是那个模组?

Roy Liu
0 点赞
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

Hello:

    1.363.125.7 是有客户量产过的版本, 先排除驱动问题。

sdio时钟正常,模块外部32.7K时钟正常, reg_on电压正常。

如果上述评论准确的话, 那么需要检查下中断模式, 也可以看下上电时序。

32.7K 的指标参数运行的时候也可以实际看下是否满足spec要求。 

 

 

0 点赞