TIC2000调用API函数Flash擦除片上FLASH失败

       这次在28379d上用FLASH API库操作一个扇区,作为参数存储用的时候,发生一个现象:用仿真器连着,就能正常读写,摘除仿真器,用上位机软件通过CAN总线读写flash就擦除不成功。导致程序死掉,后台大while不运行,前台中断也不运行了。

       查了两天的犄角旮旯的歪门邪道的地方,仍旧解决不了这个问题。

       下面这个截图跟我遇到的问题比较类似,但是最终,证明我遇到的问题跟下面遇到的问题都不一样。

       导致这个问题产生的根本原因是没有严格落实TMS320F2837xD Flash APIVersion 1.54这篇文档中的flash读写流程及注意事项。该文档有两个地方需要仔细阅读,及严格执行到位:

第一:

红色部分文档特别说明,实际上我在写读写flash的时候,开始应该是写了这个函数,后来修改过程中误删除了,没发现,导致出了问题,一时也怀疑不到这个点上去。

第二:

流程图里面写的很清楚,红色圈圈这个函数在何时调用,严格按照这个来就行。

本次的教训是,遇到问题,首先不是想稀奇古怪的可能原因,而是要重新梳理一遍正规的流程,看哪里没执行到位。

类似于打架,花拳绣腿,不行,马步扎稳才是基础。

https://bbs.elecfans.com/jishu_1937866_1_1.html

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
TI Training Resources TI offers multiple training opportunities to aid in the development of your signal processing application: WORKSHOPS – TI workshops are a fast and efficient way to learn how to use and implement designs on TI DSPs. The workshops are designed to develop a strong working knowledge of TI DSPs through lectures and practical hands-on exercises. All workshops are facilitated by qualified TI representatives and are based on DSP Starter Kits (DSKs), Evaluation Modules (EVMs) or simulators. We have a range of One-day, Application, and Multi-day Workshops. ONE-DAY WORKSHOPS – One-day workshops are introductory courses designed to offer product or technology knowledge. These workshops include a significant hands-on section and are ideal introductions to get started with TI DSPs. APPLICATION WORKSHOPS – Application workshops are introductory courses that teach integration of a DSP into an application. Additionally, these workshops focus on the application functionality. MULTI-DAY WORKSHOPS – Three- or four-day, hands-on, advanced, educational courses are highly technical and designed for engineers who want to sharpen their design and development skills. Managed by TI’s Technical Training Staff, these workshops include extensive hands-on labs emphasizing the demonstration and application of techniques and skills. TI DEVELOPER CONFERENCE – Whether you are a novice or experienced user, learn about the latest in signal processing design from industry experts through demonstrations, presentations, hands-on training, networking activities and more. ONLINE TRAINING – A variety of free online training courses are available to you at your fingertips 24/7. Learn more about how to design your signal processing application with self-paced online training courses covering DSP and Analog applications, easy-to-use software development tools and more.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

量子力学和生命科学

写作提升自己,打赏更能鼓励我

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值