微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI WIFI设计交流 > cc3200 bootloader 问题 求TI回复 问了多次了

cc3200 bootloader 问题 求TI回复 问了多次了

时间:10-02 整理:3721RD 点击:

bootloader未修改 放入mcuimg.bin中

oob例程未修改  放入mcuimg1.bin中

能正常启动oob文件网页什么都正常就是sta模式就卡死

但是 通过网页设置为sta模式 程序就会卡死

        while(uiConnectTimeoutCnt<AUTO_CONNECTION_TIMEOUT_COUNT &&
            ((!IS_CONNECTED(g_ulStatus)) || (!IS_IP_ACQUIRED(g_ulStatus))))
        {
            //Turn RED LED On
            GPIO_IF_LedOn(MCU_RED_LED_GPIO);
            osi_Sleep(50);
            
            //Turn RED LED Off
            GPIO_IF_LedOff(MCU_RED_LED_GPIO);
            osi_Sleep(50);
            
            uiConnectTimeoutCnt++;
        }

程序在这里死掉了

sta例程也是同样死掉了

能说明下为什么么?

[18:01:25] Begin Format operation.
[18:01:25] INFO: > Executing Operation: Connect
[18:01:27] INFO: setting break signal
[18:01:27] INFO: connection succeeded
[18:01:27] INFO: getting storage list
[18:01:28] INFO: > Executing Operation: Init
[18:01:28] INFO: reading version info
[18:01:28] INFO: DEVICE CC3200 ES1.32
[18:01:28] INFO: reading version info
[18:01:29] INFO: reading version info
[18:01:31] INFO: > Executing Operation: Format
[18:01:31] INFO: Erase storage SFLASH
[18:01:32] INFO: erase storage succeeded
[18:01:32] INFO: erase storage completed
[18:01:32] INFO: > Executing Operation: Disconnect
[18:01:32] Operation Format returned.
[18:01:35] Begin Program operation.
[18:01:35] INFO: > Executing Operation: Connect
[18:01:37] INFO: setting break signal
[18:01:38] INFO: detecting FTDI for device reset
[18:01:39] INFO: connection succeeded
[18:01:39] INFO: getting storage list
[18:01:39] INFO: > Executing Operation: Init
[18:01:39] INFO: reading version info
[18:01:39] INFO: DEVICE CC3200 ES1.32
[18:01:39] INFO: reading version info
[18:01:41] INFO: reading version info
[18:01:43] INFO: > Executing Operation: Program
[18:01:43] INFO: > File name: /sys/mcuimg.bin, Update: true, Erase: true
[18:01:43] INFO: > Erase File: /sys/mcuimg.bin
[18:01:43] INFO: erasing file "/sys/mcuimg.bin"
[18:01:43] INFO: deleting file "/sys/mcuimg.bin"
[18:01:43] INFO: erase file completed
[18:01:43] INFO: > Size of file = 13952
[18:01:43] INFO: > Update File: /sys/mcuimg.bin
[18:01:43] INFO: Downloading file "/sys/mcuimg.bin" with size 13952
[18:01:44] INFO:

New Token is 0x0
[18:01:44] INFO: Download complete
[18:01:44] INFO: Verifying Data...
[18:01:44] INFO: get file
[18:01:45] INFO: Done. Reading 13952  bytes
[18:01:45] INFO:

Verification OK
[18:01:46] INFO: > Updated Token value: 0x0
[18:01:46] INFO: > File name: /cert/ca.pem, Update: false, Erase: false
[18:01:46] INFO: > File name: /cert/client.pem, Update: false, Erase: false
[18:01:46] INFO: > File name: /cert/private.key, Update: false, Erase: false
[18:01:46] INFO: > File name: /sys/macadd.bin, Update: false, Erase: true
[18:01:46] INFO: > Erase File: /sys/macadd.bin
[18:01:46] INFO: erasing file "/sys/macadd.bin"
[18:01:46] INFO: deleting file "/sys/macadd.bin"
[18:01:46] INFO: erase file completed
[18:01:46] INFO: > File name: /sys/mode.cfg, Update: false, Erase: false
[18:01:46] INFO: > File name: /sys/ipcfg.ini, Update: false, Erase: false
[18:01:46] INFO: > File name: /sys/ap.cfg, Update: false, Erase: false
[18:01:46] INFO: > File name: /sys/devname.cfg, Update: false, Erase: false
[18:01:46] INFO: > File name: /sys/mdns.cfg, Update: false, Erase: false
[18:01:46] INFO: > File name: /sys/dhcpsrv.cfg, Update: false, Erase: false
[18:01:46] INFO: > File name: /sys/httpsrv.cfg, Update: false, Erase: false
[18:01:46] INFO: > File name: /sys/pref.net, Update: false, Erase: false
[18:01:46] INFO: > File name: /sys/smartconfigkeys.cfg, Update: false, Erase: false
[18:01:46] INFO: > File name: /sys/stacfg.ini, Update: false, Erase: false
[18:01:46] INFO: > File name: /sys/p2p.cfg, Update: false, Erase: false
[18:01:46] INFO: > File name: /sys/pmcfg.ini, Update: false, Erase: false
[18:01:46] INFO: > File name: /sys/mcuimg1.bin, Update: true, Erase: true
[18:01:46] INFO: > Erase File: /sys/mcuimg1.bin
[18:01:46] INFO: erasing file "/sys/mcuimg1.bin"
[18:01:46] INFO: deleting file "/sys/mcuimg1.bin"
[18:01:46] INFO: erase file completed
[18:01:46] INFO: > Size of file = 48420
[18:01:46] INFO: > Update File: /sys/mcuimg1.bin
[18:01:46] INFO: Downloading file "/sys/mcuimg1.bin" with size 48420
[18:01:49] INFO:

New Token is 0x0
[18:01:49] INFO: Download complete
[18:01:49] INFO: Verifying Data...
[18:01:49] INFO: get file
[18:01:50] INFO: Done. Reading 48420  bytes
[18:01:50] INFO:

Verification OK
[18:01:51] INFO: > Updated Token value: 0x0
[18:01:51] INFO: > Executing Operation: Disconnect
[18:01:51] Operation Program returned.
[18:01:54] Begin ListFileSystem operation.
[18:01:55] INFO: > Executing Operation: Connect
[18:01:57] INFO: setting break signal
[18:01:58] INFO: detecting FTDI for device reset
[18:01:59] INFO: connection succeeded
[18:01:59] INFO: getting storage list
[18:01:59] INFO: > Executing Operation: Init
[18:01:59] INFO: reading version info
[18:01:59] INFO: DEVICE CC3200 ES1.32
[18:01:59] INFO: reading version info
[18:02:01] INFO: reading version info
[18:02:03] INFO: > Executing Operation: ListFileSystem
[18:02:03] INFO: extracting file system information...
[18:02:03] INFO: Serial Flash block size:    4096 bytes
[18:02:03] INFO: Serial Flash capacity:        2048 blocks

[18:02:03] INFO:     file    start    size    fail    total size    filename
[18:02:03] INFO:     index    block    [BLKs]    safe    [BLKs]
[18:02:03] INFO: ----------------------------------------------------------------------------
[18:02:03] INFO:     N/A    0    5    N/A    5        FATFS
[18:02:03] INFO:     0    15    4    yes    8        /sys/mcuimg.bin
[18:02:03] INFO:     4    5    5    yes    10        /tmp/phy.cal
[18:02:03] INFO:     6    23    12    yes    24        /sys/mcuimg1.bin
[18:02:03] INFO:


[18:02:03] INFO:     Flash usage
[18:02:03] INFO: -------------------------
[18:02:03] INFO: used space:    47 blocks
[18:02:03] INFO: free space:    2001 blocks
[18:02:03] INFO: memory hole:    [47-2047]
[18:02:03] INFO: > Executing Operation: Disconnect
[18:02:03] Operation ListFileSystem returned.

你的意思是官方的代码不做任何修改都不可以正常STA模式工作?卡死在那个while了?

对。仿真模式是可以正常运行的。 不使用bootloader 也可以正常运行。 sta历程 放在mcuimg1上运行就会死在那个while里

你芯片的版本读出来怎么是1.32的,这个版本是以前工程样品的版本。量产的芯片版本是1.33.

是我片子的问题么?  我之前将bootloader程序和sta 程序发给别人都可以使用

我也是这个问题,不用bootloader,一切正常。使用bootloader后,能连接AP(运行了SimpleLinkWlanEventHandler),但是不能获取IP(SimpleLinkNetAppEventHandler始终不运行)

你的板子作为sta 手机作为AP  你的手机可以显示你的板子已经连接上了 么?

解决了,去掉bootload里的dma

你好   加下我QQ843908787 我再具体问下你

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top