• 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

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

电子发烧友 电子发烧友

  • 全文搜索
    • 全文搜索
    • 标题搜索
  • 全部时间
    • 全部时间
    • 1小时内
    • 1天内
    • 1周内
    • 1个月内
  • 默认排序
    • 默认排序
    • 按时间排序
  • 全部板块
    • 全部板块
大家还在搜
  • 关于汽车线控制动系统和线控转向系统总结的太棒了

    本文主要介绍汽车线控制动系统和线控转向系统。

    2021-05-14 06:23

  • XC32汇编程序错误

    同时使用选项:--GTyff-2(在MPLABX菜单中有“生产生成符号”)和A=文件FLST(从MPLABX菜单中的“列表到文件”)导致一个错误:截断ASM文件的例子:MIPS编译器处理这样的例子没有问题。 以上来自于百度翻译 以下为原文 Using the options at the same time:--gdwarf-2 ("Have symbols in production build." from MPLABX menu)and-a = file.lst ("List to file" from the MPLABX menu)causes an error:/opt/microchip/xc32/v2.05/bin/xc32-gcc -c -o asm.o asm.S -Wa, - gdwarf-2, -a = asm.lst/tmp/ccxsIFVj.s: Assembler messages:/tmp/ccxsIFVj.s: Internal error!Assertion failure in emit_inc_line_addr at /build/bamboo/xml-data/build-dir/XC32-TBC-BLD/builddir/pic32m-source/src48x/binutils/gas/dwarf2dbg.c line 985.Please report this bug.Example of a truncated asm file:.section .reset, code.global _reset_reset:la $ t0, mainj $ t0main:lui $ t0, 0xffj mainnopThe MIPS compiler deals with such an example without problems. Albert

    2018-10-08 09:48

  • 如何调试Boot Exception Vector异常

    我正在为PIC32 MM启动引导程序。在修改默认链接器脚本以创建Bootloader项目之后,一旦调试器执行重置向量(0xbfc000,但我不能确定,因为调试器不允许我通过启动),执行向量直接到引导异常向量。我还没有加载应用程序项目,我只是想在BooLoad中达到主要功能。我怎样才能找出引起这种异常的原因呢?我已经实现了一个泛型异常处理器,有没有办法实现一个使用过的定义的启动异常处理程序?或者可以用另一种方式确定异常原因/位置吗?谢谢!P.S.如果有人碰巧知道PIC32 MM的Bootloader项目,我也会很感激。我以前创建了BooLoad,但它们似乎总是一个痛苦,我很明显与这个链接器脚本部分挣扎。 以上来自于百度翻译 以下为原文 I am working on a bootloader for the PIC32MM.After modifying the default linker script to create an bootloader project, it appears that as soon as the debugger executes the reset vector (0xbfc00000, but I cannot be sure because the debugger will not let me step through startup) execution vectors directly to the Boot Exception Vector.I have not yet loaded the application project in, I am just trying to reach the main function in the booloader.How can I find out what is causing this exception?I have implemented a _general_exception_handler is there a way to implemented a used defined boot exception handler?Or can the exception cause/location be determined in another way? Thanks! P.S. If anyone happens to know of an example bootloader project for the PIC32MM, I would appreciate that also.I have created bootloaders before but they seem to always be a pain and I am obviously struggling with the linker scripts portion of this one.

    2019-03-18 10:30

  • 电子制动系统的知识点看完你就懂了

    电子制动系统的结构及特点是什么电子制动系统开发过程中的关键问题电子制动系统原理样机的模块化设计

    2021-05-12 06:18

  • 第一个C++程序后的基本调试问题

    你好,我想知道为什么模拟器中的断点在while循环和返回显示直接从i++到i+=10返回0?显然,它不会停留在while循环,我犯了什么明显的错误?它不通过i=0语句,它似乎在while循环结束时返回,不确定发生了什么。让弗兰SouthOIs//TestPro程序包含和lt;CSTDLIB & Gt;int main(int ARCC,CHAR**ARGV){int i;而(1){i++;i+=10;} i=0;返回0;} 以上来自于百度翻译 以下为原文 Hello, I was wondering why the simulator with break points in the while loop and and on return shows going straight from i++ to i+=10 to return 0 ?Apparently it won't stay in the while loop, any obvious mistake I made ?It does'nt pass the i = 0 statement, it seems to return at the end of while loop, not sure what's happening. Jean-François // TEST PROGRAM #include int main(int argc, char** argv) {int i; while (1) { i++; i+=10;}i = 0;return 0;}

    2018-12-24 16:38