完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
首先,我是刚学习CC3200芯片的,我从淘宝网上买了一块开发板学习。当我在测试CC3200SDK_1.2.0中的exampleserial_wifi例子,用EWARM软件通过JTAG方式下载到芯片RAM中运行,main程序中建立了2个任务后执行osi_start(),我一直跟着代码走了下去,当调用portasm.s文件中的vPortStartFirstTask函数里的 “svc 0” (在152行)时,PC计数器不在执行下去了,一直停留在"SVC 0"这一行,这是什么原因呢?
我感觉好像不能进入中断异常,后来又测试了exampleinterrupt例子,也不能中断。 麻烦哪位工程师帮我解答下,谢谢。 |
|
相关推荐
6 个讨论
|
|
你好,我已经更新过servicepack,但是好像没用, 程序还是停留在 “SVC 0” 这一行。。。
[15:38:12] Begin ServicePackProgramming operation. [15:38:13] INFO: > Executing Operation: Connect [15:38:15] INFO: setting break signal [15:38:15] INFO: connection succeeded [15:38:15] INFO: getting storage list [15:38:15] INFO: > Executing Operation: ServicePackProgramming [15:38:15] INFO: Path to the service pack file: E:/TI/CC3100_CC3200_ServicePack_1.0.1.6-2.6.0.5/servicepack_1.0.1.6-2.6.0.5.bin [15:38:15] INFO: reading version info [15:38:15] INFO: CC3200R Device detected. [15:38:15] INFO: NWP/MAC/PHY Version from Service Pack: [15:38:15] INFO: NWP Patch version: 2.6.0.5 [15:38:15] INFO: MAC Patch version: 1.4.0.1 [15:38:15] INFO: PHY Patch version: 1.0.3.34 [15:38:15] INFO: reading version info [15:38:15] INFO: DEVICE CC3200 ES1.33 [15:38:15] INFO: reading version info [15:38:16] INFO: reading version info [15:38:18] INFO: Downloading file "/sys/servicepack.ucf" with size 25820 [15:38:20] INFO: New Token is 0x0 [15:38:20] INFO: Download complete [15:38:20] INFO: > Executing Operation: Disconnect [15:38:20] Operation ServicePackProgramming returned. 这是UniFlash显示的内容 文件系统: [15:51:07] Begin ListFileSystem operation. [15:51:07] INFO: > Executing Operation: Connect [15:51:09] INFO: setting break signal [15:51:09] INFO: connection succeeded [15:51:09] INFO: getting storage list [15:51:09] INFO: > Executing Operation: Init [15:51:09] INFO: reading version info [15:51:09] INFO: DEVICE CC3200 ES1.33 [15:51:09] INFO: reading version info [15:51:10] INFO: reading version info [15:51:12] INFO: > Executing Operation: ListFileSystem [15:51:12] INFO: extracting file system information... [15:51:12] INFO: Serial Flash block size: 4096 bytes [15:51:12] INFO: Serial Flash capacity: 256 blocks [15:51:12] INFO: file start size fail total size filename [15:51:12] INFO: index block [BLKs] safe [BLKs] [15:51:12] INFO: ---------------------------------------------------------------------------- [15:51:12] INFO: N/A 0 5 N/A 5 FATFS [15:51:12] INFO: 0 81 22 yes 44 /sys/mcuimg.bin [15:51:12] INFO: 4 5 5 yes 10 /tmp/phy.cal [15:51:12] INFO: 6 15 33 yes 66 /sys/servicepack.ucf [15:51:12] INFO: 7 125 1 no 1 www/main.html [15:51:12] INFO: 8 126 2 no 2 www/index_cn.html [15:51:12] INFO: 9 128 2 no 2 www/sys_status_cn.html [15:51:12] INFO: 10 130 3 no 3 www/peripherals_uart0_cn.html [15:51:12] INFO: 11 133 1 no 1 www/reload_reset_cn.html [15:51:12] INFO: 12 134 3 no 3 www/wifi_set_cn.html [15:51:12] INFO: 13 137 2 no 2 www/webee.png [15:51:12] INFO: 14 139 17 yes 34 uart0.cfg [15:51:12] INFO: 15 173 17 yes 34 netword.cfg [15:51:12] INFO: 16 207 1 yes 2 /sys/mode.cfg [15:51:12] INFO: 17 209 1 yes 2 /sys/ap.cfg [15:51:12] INFO: 18 211 17 yes 34 socket_uart0.cfg [15:51:12] INFO: 19 245 2 yes 4 /sys/pref.net [15:51:12] INFO: 20 249 1 yes 2 /sys/ipcfg.ini [15:51:12] INFO: [15:51:12] INFO: Flash usage [15:51:12] INFO: ------------------------- [15:51:12] INFO: used space: 251 blocks [15:51:12] INFO: free space: 5 blocks [15:51:12] INFO: memory hole: [251-255] [15:51:12] INFO: > Executing Operation: Disconnect [15:51:12] Operation ListFileSystem returned. |
|
|
|
|
|
我已经格式化flash了,也已经烧写了servicepack,以下是获取的文件列表:
我用IAR打开了getting_started_with_wlan_ap,并重新选择了 J-link作为调试器。成功下载到了RAM,运行时还是停留在了 "SVC 0" [15:59:07] INFO: > Executing Operation: ServicePackProgramming [15:59:07] INFO: Path to the service pack file: E:/TI/CC3100_CC3200_ServicePack_1.0.1.6-2.6.0.5/servicepack_1.0.1.6-2.6.0.5.bin [15:59:07] INFO: reading version info [15:59:07] INFO: CC3200R Device detected. [15:59:07] INFO: NWP/MAC/PHY Version from Service Pack: [15:59:07] INFO: NWP Patch version: 2.6.0.5 [15:59:07] INFO: MAC Patch version: 1.4.0.1 [15:59:07] INFO: PHY Patch version: 1.0.3.34 [15:59:07] INFO: reading version info [15:59:07] INFO: DEVICE CC3200 ES1.33 [15:59:07] INFO: reading version info [15:59:08] INFO: reading version info [15:59:10] INFO: Downloading file "/sys/servicepack.ucf" with size 25820 [15:59:13] INFO: New Token is 0xD0FCCA53 [15:59:13] INFO: Download complete [15:59:13] INFO: > Executing Operation: Disconnect [15:59:13] Operation ServicePackProgramming returned. [15:59:15] Begin ListFileSystem operation. [15:59:15] INFO: > Executing Operation: Connect [15:59:17] INFO: setting break signal [15:59:18] INFO: detecting FTDI for device reset [15:59:18] ERROR: No device USB ports were found [15:59:18] INFO: --- please restart the device --- [15:59:21] INFO: connection succeeded [15:59:21] INFO: getting storage list [15:59:21] INFO: > Executing Operation: Init [15:59:21] INFO: reading version info [15:59:21] INFO: DEVICE CC3200 ES1.33 [15:59:21] INFO: reading version info [15:59:22] INFO: reading version info [15:59:24] INFO: > Executing Operation: ListFileSystem [15:59:24] INFO: extracting file system information... [15:59:24] INFO: Serial Flash block size: 4096 bytes [15:59:24] INFO: Serial Flash capacity: 256 blocks [15:59:24] INFO: file start size fail total size filename [15:59:24] INFO: index block [BLKs] safe [BLKs] [15:59:24] INFO: ---------------------------------------------------------------------------- [15:59:24] INFO: N/A 0 5 N/A 5 FATFS [15:59:24] INFO: 4 5 5 yes 10 /tmp/phy.cal [15:59:24] INFO: 6 15 33 yes 66 /sys/servicepack.ucf [15:59:24] INFO: [15:59:24] INFO: Flash usage [15:59:24] INFO: ------------------------- [15:59:24] INFO: used space: 81 blocks [15:59:24] INFO: free space: 175 blocks [15:59:24] INFO: memory hole: [81-255] [15:59:24] INFO: > Executing Operation: Disconnect [15:59:24] Operation ListFileSystem returned. |
|
|
|
|
|
只有小组成员才能发言,加入小组>>
NA555DR VCC最低电压需要在5V供电,为什么用3.3V供电搭了个单稳态触发器也使用正常?
683 浏览 3 评论
MSP430F249TPMR出现高温存储后失效了的情况,怎么解决?
599 浏览 1 评论
对于多级放大电路板,在PCB布局中,电源摆放的位置应该注意什么?
1054 浏览 1 评论
739 浏览 0 评论
普中科技F28335开发板每次上电复位后数码管都会显示,如何熄灭它?
524 浏览 1 评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
161浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
125浏览 14评论
在使用3254进行录音的时候出现一个奇怪的现象,右声道有吱吱声,请教一下,是否是什么寄存器设置存在问题?
126浏览 13评论
TLV320芯片内部自带数字滤波功能,请问linein进来的模拟信号是否是先经过ADC的超采样?
122浏览 12评论
TPA6304-Q1: TPA6304 两片公用一组I2C的话,其中一片配置不成功怎么办
168浏览 10评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-24 19:58 , Processed in 1.031858 second(s), Total 68, Slave 56 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号