您尚未登录。

#1 Re: 全志 SOC » 众人拾柴-F1C200S通过SPI使用ESP8089或ESP8266做无线网卡 » 2021-05-01 12:07:26

迪卡 说:
ma6254 说:

迪神NB
我尝试在openwrt跑跑看,不知道能不能长期用,还有就是8266在这种工作模式下的休眠和唤醒会不会有问题

休眠??老子不让他休眠

请问怎么让ESP8089不进入休眠,我刚把它驱动起来,就回了消息20(SIP_EVT_SLEEP)

[W/SDIO] vdd=0,bit=23,power_mode=0
clock 0Hz busmode 1 powermode 1 cs 0 Vdd 23 width 0 
clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 23 width 0 
clock 400000Hz busmode 1 powermode 2 cs 1 Vdd 23 width 0 
clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 23 width 0 
[E/MMC] mmc err=0x00000100,risr_reg=0x00000000,risr=0x00000104
[E/MMC] [err]:0x00000100,  RTO
[E/MMC] mmc cmd 8 err
clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 14 width 0 
clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 14 width 0 
[D/SDIO] function 0, CIS tuple code 1, length 3
CISTPL_MANFID[0] 0x6666 0x1111[D/SDIO] function 0, CIS tuple code 21, length 2
[D/SDIO] function 0, CIS tuple code 1a, length 5
[D/SDIO] function 0, CIS tuple code 1b, length 8
clock 50000000Hz busmode 2 powermode 2 cs 0 Vdd 14 width 0 
clock 50000000Hz busmode 2 powermode 2 cs 0 Vdd 14 width 2 
CISTPL_MANFID[1] 0x6666 0x1111[D/SDIO] function 1, CIS tuple code 21, length 2
[D/SDIO] function 1, CIS tuple code 80, length 1
[D/SDIO] function 1, CIS tuple code 81, length 1
[D/SDIO] function 1, CIS tuple code 82, length 1
sdio_function_num=1,manufacturer=6666,product=1111esp8089 manufacturer=6666,product=1111sdio_function[1]->product=0x1111[I/esp] esp_sif_sdio_probe >> enter
SDIO: enabling function func[1]=800cebb0 with func[0]=800ceaec
SDIO: enabled function successfull
[I/esp]  esp_sif_sdio_probe >> power_on err 0 
[D/esp] 

                 SLC data 0x12102500, ID 0x00000600

[E/esp] esp_msg_level=0x00000007[I/esp] esp_sif_sdio_init_all offset=0x10,addr=0x40100000,len=0xc130
[I/esp] esp_sif_sdio_init_all offset=0xc148,addr=0x3ffe8000,len=0xf4
[I/esp] esp_sif_sdio_init_all offset=0xc244,addr=0x3ffe8100,len=0x920
SDIO: enabling IRQ for function 1
[I/esp] sending bootup
[I/esp] sip_alloc_skbuf ptr=800cf294,len=16,sip_type=0,sip_cmd=5
[I/esp] sip_cmd=5,seq=222
[I/esp] sip_free_skbuff ptr=800cf294,len=16,ref=1
[I/e[I/esp]  sif_dsr enter 0 
[D/esp] sif_dsr real_intr_cnt 1[I/esp] sip_rx enter
[I/esp] sip_rx rx_buf=800d2bc8 first_sz=12 ref=1
[I/esp]  sip_rx first_skb only
[I/esp] esp_sip_rx_pkt_process Hcredits 0x0000c068, realCredits 104
[D/esp] sip_update_tx_credits:before add, credits is 0
[I/esp] sip_update_tx_credits:after add 104, credits is 104
[I/esp] esp_sip_rx_pkt_process first_pkt_len 12, whole pkt len 12 
[I/esp] seq 0 
[I/esp] sip_parse_events evtid=0
[I/esp] sip_alloc_skbuf ptr=800d2de4,len=140,sip_type=0,sip_cmd=7
[I/esp] sip_cmd=7,seq=0
[I/esp] sip_free_skbuff ptr=800d2de4,len=140,ref=1
[I/esp] sip_free_skbuff ptr=800d2bc8,len=12,ref=1
[I/esp]  sif_dsr enter 1 
[D/esp] sif_dsr bogus_intr_cnt 1
sgussent bootup
[I/esp] polling resetting event... 
[I/esp]  sif_dsr enter 2 
[D/esp] sif_dsr real_intr_cnt 2[I/esp] sip_rx enter
[I/esp] sip_rx rx_buf=800d2bc8 first_sz=256 ref=1
[I/esp]  sip_rx first_skb only
[I/esp] esp_sip_rx_pkt_process Hcredits 0x00100001, realCredits 1
[D/esp] sip_update_tx_credits:before add, credits is 103
[I/esp] sip_update_tx_credits:after add 1, credits is 104
[I/esp] esp_sip_rx_pkt_process first_pkt_len 256, whole pkt len 256 
[I/esp] seq 1 
[I/esp] sip_parse_events evtid=8
[I/esp] esp_target: e826c2b3c9fd 57 18202
[I/esp] sip_free_skbuff ptr=800d2bc8,len=256,ref=1
[I/esp]  sif_dsr enter 3 
[D/esp] sif_dsr real_intr_cnt 3[I/esp] sip_rx enter
[I/esp] sip_rx rx_buf=800d2bc8 first_sz=12 ref=1
[I/esp]  sip_rx first_skb only
[I/esp] esp_sip_rx_pkt_process Hcredits 0x0000c000, realCredits 0
[I/esp] esp_sip_rx_pkt_process first_pkt_len 12, whole pkt len 12 
[I/esp] seq 2 
[I/esp] sip_parse_events evtid=16
[I/esp] sip_free_skbuff ptr=800d2bc8,len=12,ref=1
[I/esp]  sif_dsr enter 4 
[D/esp] sif_dsr bogus_intr_cnt 2
[I/esp]  sif_dsr enter 5 
[D/esp] sif_dsr bogus_intr_cnt 3
[I/esp] target resetting 0
[I/esp]  esp_sif_sdio_probe return  0
[I/esp] first normal exit
SDIO: disabling IRQ for function 1
[E/MMC] mmc err=0x00000100,risr_reg=0x00000010,risr=0x00000114
[E/MMC] [err]:0x00000100,  RTO
[E/MMC] mmc cmd 52 err
[E/esp] sif_disable_irq release irq failed
[W/SDIO] vdd=14,bit=23,power_mode=2
clock 50000000Hz busmode 1 powermode 2 cs 0 Vdd 23 width 0 
clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 23 width 0 
clock 400000Hz busmode 1 powermode 2 cs 1 Vdd 23 width 0 
clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 23 width 0 
[E/MMC] mmc err=0x00000100,risr_reg=0x00000000,risr=0x00000104
[E/MMC] [err]:0x00000100,  RTO
[E/MMC] mmc cmd 8 err
clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 14 width 0 
clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 14 width 0 
[D/SDIO] function 0, CIS tuple code 1, length 3
CISTPL_MANFID[0] 0x6666 0x1111[D/SDIO] function 0, CIS tuple code 21, length 2
[D/SDIO] function 0, CIS tuple code 1a, length 5
[D/SDIO] function 0, CIS tuple code 1b, length 8
clock 50000000Hz busmode 2 powermode 2 cs 0 Vdd 14 width 0 
clock 50000000Hz busmode 2 powermode 2 cs 0 Vdd 14 width 2 
CISTPL_MANFID[1] 0x6666 0x1111[D/SDIO] function 1, CIS tuple code 21, length 2
[D/SDIO] function 1, CIS tuple code 80, length 1
[D/SDIO] function 1, CIS tuple code 81, length 1
[D/SDIO] function 1, CIS tuple code 82, length 1
sdio_function_num=1,manufacturer=6666,product=1111esp8089 manufacturer=6666,product=1111sdio_function[1]->product=0x1111[I/esp] esp_sif_sdio_probe >> enter
SDIO: enabling function func[1]=800cebcc with func[0]=800ceaec
SDIO: enabled function successfull
[I/esp]  esp_sif_sdio_probe >> power_on err 0 
[D/esp] 

                 SLC data 0x12102500, ID 0x00000600

[I/esp] esp_sif_sdio_init_all offset=0x10,addr=0x40100000,len=0xfcc8
[I/esp] esp_sif_sdio_init_all offset=0xfce0,addr=0x3ffe8000,len=0x3de
[I/esp] esp_sif_sdio_init_all offset=0x100c6,addr=0x3ffe83e0,len=0x4b4
SDIO: enabling IRQ for function 1
[I/esp] sending bootup
[I/esp] sip_alloc_skbuf ptr=800d2bf4,len=16,sip_type=0,sip_cmd=5
[I/esp] sip_cmd=5,seq=286
[I/esp] sip_free_skbuff ptr=800d2bf4,len=16,ref=1
[I/esp] sent bootup
[I/esp] polling bootup event... 
[I/esp]  sif_dsr enter 6 
[D/esp] sif_dsr real_intr_cnt 4[I/esp] sip_rx enter
[I/esp] sip_rx rx_buf=800d2c20 first_sz=12 ref=1
[I/esp]  sip_rx first_skb only
[I/esp] esp_sip_rx_pkt_process Hcredits 0x0000c068, realCredits 104
[D/esp] sip_update_tx_credits:before add, credits is 0
[I/esp] sip_update_tx_credits:after add 104, credits is 104
[I/esp] esp_sip_rx_pkt_process first_pkt_len 12, whole pkt len 12 
[I/esp] seq 0 
[I/esp] sip_parse_events evtid=0
[I/esp] sip_alloc_skbuf ptr=800d2e3c,len=140,sip_type=0,sip_cmd=7
[I/esp] sip_cmd=7,seq=0
[I/esp] sip_free_skbuff ptr=800d2e3c,len=140,ref=1
[I/esp] sip_free_skbuff ptr=800d2c20,len=12,ref=1
[I/esp]  sif_dsr enter 7 
[D/esp] sif_dsr bogus_intr_cnt 4
[I/esp]  sif_dsr enter 8 
[D/esp] sif_dsr real_intr_cnt 5[I/esp] sip_rx enter
[I/esp] sip_rx rx_buf=800d2c20 first_sz=28 ref=1
[I/esp]  sip_rx first_skb only
[I/esp] esp_sip_rx_pkt_process Hcredits 0x0001c001, realCredits 1
[D/esp] sip_update_tx_credits:before add, credits is 103
[I/esp] sip_update_tx_credits:after add 1, credits is 104
[I/esp] esp_sip_rx_pkt_process first_pkt_len 28, whole pkt len 28 
[I/esp] seq 1 
[I/esp] sip_parse_events evtid=1
[I/esp] sip_post_init tx_blksz 260 rx_blksz 524 mac ac:d0:74:d3:f8:c6
[I/esp] sip_free_skbuff ptr=800d2c20,len=28,ref=1
[I/esp]  sif_dsr enter 9 
[D/esp] sif_dsr real_intr_cnt 6[I/esp] sip_rx enter
[I/esp] sip_rx rx_buf=800d2c20 first_sz=256 ref=1
[I/esp]  sip_rx first_skb only
[I/esp] esp_sip_rx_pkt_process Hcredits 0x00100000, realCredits 0
[I/esp] esp_sip_rx_pkt_process first_pkt_len 256, whole pkt len 256 
[I/esp] seq 2 
[I/esp] sip_parse_events evtid=8
[I/esp] esp_target: e826c2b3c9fd 57 18202
[I/esp] sip_free_skbuff ptr=800d2c20,len=256,ref=1
[I/esp]  sif_dsr enter 10 
[D/esp] sif_dsr bogus_intr_cnt 5
[I/esp]  sif_dsr enter 11 
[D/esp] sif_dsr bogus_intr_cnt 6
[I/esp] target booted up
[I/esp]  esp_sif_sdio_probe return  0
[I/esp] second normal exit
[I/esp]  sif_dsr enter 12 
[D/esp] sif_dsr real_intr_cnt 7[I/esp] sip_rx enter
[I/esp] sip_rx rx_buf=800d2bf4 first_sz=12 ref=1
[I/esp] s
[I/esp]  sip_rx first_skb only
[I/esp] esp_sip_rx_pkt_process Hcredits 0x0000c000, realCredits 0
[I/esp] esp_sip_rx_pkt_process first_pkt_len 12, whole pkt len 12 
[I/esp] seq 3 
[I/esp] sip_parse_events evtid=20                                    //ESP进入休眠?
[I/esp] sip_free_skbuff ptr=800d2bf4,len=12,ref=1
[I/esp]  sif_dsr enter 13 
[D/esp] sif_dsr bogus_intr_cnt 7

页脚

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

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