• 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
返回

电子发烧友 电子发烧友

  • 全文搜索
    • 全文搜索
    • 标题搜索
  • 全部时间
    • 全部时间
    • 1小时内
    • 1天内
    • 1周内
    • 1个月内
  • 默认排序
    • 默认排序
    • 按时间排序
  • 全部板块
    • 全部板块
  • 用rt-thread在gb32f103上移植,开启shell失败是什么原因

    第一次用rt-thread,按照网上教程在gb32f103上移植,开启shell失败,请教大神。1、添加相关文件2、组态开启没有使用动态堆3、串口实现接收中断开启,未实现任何功能串口发送正常,但无法开启shellSecureCRT无法打开4、代码调试查看shell初始化代码执行正常,启动正常,但是没有调用finsh_thread_entry第一次使用,没有什么经验,请各位帮忙看下原因

    2022-04-25 09:30

  • 在汇编代码中编写中断例程找不到任何有关这种方式的信息

    亲爱的各位,我对C是全新的。我来自PICBASIC职业世界,我需要把一些旧程序转换成C。这并不困难,但是我无法找到一个明确的答案来解决汇编代码中的中断例程。我用的是18F2685,用18F27 K40代替,这是MAI。我的环境是Windows 7,MPLAB X 4.05和XC81.45。根据XC8用户指南,我已经启动了我的IT函数:int采样;空隙高优先级中断ItNoint(空隙){但这是C,不是ASM!我还发现了一些关于编写汇编文件但具体用于中断的信息。我想,我必须建立一个特定的.ASM文件来承载我的ASM中断例程。但是我找不到任何有关这种方式的信息。这个文件的结构是什么,用什么声明等等?谢谢你的帮助 以上来自于百度翻译 以下为原文 Dear all, I am quite new to C. I am coming from the PICBASIC PRO world and I need to transform some old programs to C.Not so difficult but I cxnnot find a clear answer to the issue of writing an interrupt routine in assembly code. I am using a 18F2685, to be replaced by a 18F27K40 and this is the main reason for my migration.My environment is Windows 7, MPLAB X 4.05 and XC8 1.45. According to the XC8 user guide I have started my IT function by : int sample;void high_priority interrupt IT_NOTE(void){ but this is C, not ASM ! I have also found some information about writing assembly files but specifically used for interrupts. I imagine that I have to have to built a specific .asm file to host my asm interrupt routine.But I cannot find any acccurate information about the way of doing that. What would be the structure of this file, with what declarations, etc ? Thank you for your help Kelt

    2018-11-21 15:28

  • 植入产品的定义是什么?可植入材料有哪些应用?

    植入产品的定义是什么?可植入材料可以分为哪几类?可植入材料有哪些应用?

    2021-07-09 06:16