该问题由某用户提出,发生在 STM32F2xx 器件上。据其工程师讲述:在其产品设计中,使用了第三方的软件库。出于某种原因,第三方不能提供软件库的源代码,只能以二进制映像的形式供其使用。在软件工程中,通过相关设置将该映像定位到某一固定的地址上,用户程序则是通过各个库函数的入口地址来调用相关的库函数。在软件调试过程中,其工程师发现,将库函数的入口地址赋给函数指针,再用函数指针进行函数调用会导致程序跑飞。使用调试器中止程序运行后,发现程序停留在Hard fault 中断服务程序内。
标签: 指针
上传时间: 2022-02-21
上传用户:zhanglei193
STM32F334 内部集成了高精度Timer,最高主频4.6GHz,灵活的控制用于产生数字电源等产品的PWM 控制信号,与此同时对于产品安全部分也就有更高要求,而STM32F334 内部的fault 联动机制可以保证这样的控制要求,比如过流保护,过压保护任意一项都可以产生fault 事件,关闭PWM 输出,与此同时可以区别对待fault 事件,可以一直关闭PWM 输出,也可以关闭再打开的操作等。
标签: STM32
上传时间: 2022-02-22
上传用户:
Methods for designing a maintenance simulation training system for certain kind of radio are introduced. fault modeling method is used to establish the fault database. The system sets up some typical failures, follow the prompts trainers can locate the fault source and confirm the type to accomplish corresponding fault maintenance training. A training evaluation means is given to examining and evaluating the training performance. The system intuitively and vividly shows the fault maintenance process, it can not only be used in teaching, but also in daily maintenance training to efficiently improve the maintenance operation level. Graphical programming language LabVIEW is used to develop the system platform.
上传时间: 2013-11-19
上传用户:3294322651
Abstract: IC switches and multiplexers are proliferating, thanks to near-continual progress in lowering the supply voltage,incorporating fault-protected inputs, clamping the output voltage, and reducing the switch resistances. The latest of these advancesis the inclusion of precision resistors to allow two-point calibration of gain and offset in precision data-acquisition systems.
上传时间: 2013-11-12
上传用户:acwme
Abstract: With its small size and large load (10W) capability, the MAX13256 H-bridge transformer driver is an attractive solution forcharging supercapacitors (supercaps). However, a large capacitance on the output of the circuit can force the driver into fault modeat startup, due to the high initial charge current. This application note presents a solution that allows users to charge a largecapacitance without going into fault.
上传时间: 2013-10-20
上传用户:2728460838
Abstract: As electronic systems take over many of the mechanical functions in a car—ranging from engine timing to steering andbraking—there is a growing concern about fault tolerance. There should not be a single point of failure that would prevent a car fromat least "limping" off the road or making it to the nearest service station. Redundant systems, watchdog timers, and other controlcircuits are used to reroute signals and perform other functions that ensure that a vehicle can safely make it off the road when afailure occurs.
上传时间: 2013-11-10
上传用户:diets
STM32,5110液晶显示声纳探鱼器200KHz,带电路图,精确到厘米 MC34063升压,大声压发射,实际板子上滤波电路没要(电路图上的滤波电阻电容电感没焊,开路或者短路)。一般200KHz的换能器在水里面的耦合比较好,在空气中发射出来的(或者接收的)强度很低。 用的MOSFET Relay,contact和release时间都可以做到很小,不过选的是比较低端器件,所以最近测量距离为70cm。 开源啦开源啦 架构为状态机+任务流,Task都是放在函数指针数组里面的 Task分两种,routine的和错误处理的 5110液晶的SPI用的DMA 基本上STM32和C语言高阶的特征都用上了,稍微修改直接可以商用 Open Issue 偶尔会hardware fault或者memory fault,然后watchdog重启, 应该比较好解决,仔细检查下就好 有什么问题代码的file comment里面有我联系地址 有能搞到好的器件也请知会我,多谢了 接下来准备把它装到船模上,用以前四轴的那套东西,就看什么时候有时间了
上传时间: 2013-10-28
上传用户:songyue1991
利用单片机具有的智能程序控制的特点,设计了基于STC89C52单片机的"二极管特性测试器",可对二极管一般特性进行快速测试。通过稳定线性电流源给二极管加载恒定电流,然后由高精度模数转换器测试其压降,以此为基础可判断二极管好坏、检测二极管极性和测试二极管伏安特性等,避免了用万用表测试只能测得极性而不知其特性这一缺点。可用于电子设计制作过程中对二极管进行快速测试,以确定被测二极管是否满足电路的设计要求。 Abstract: By making good use of the intelligent control function of the Micro Controller Unit (MCU), the diode trait tester was designed based on the STC89C52,which could be used to test the trait of a diode rapidly. By loading constant current to diode through the stable linear current source, and measuring the voltage drop of the diode by high-precision analogue-to-digital converter (ADC), it can judge whether the diode is good or not, distinguish the polarity of the diode, and test the trait that the diode, which can avoid the fault of using a multimeter can only measure the polarity but not the trait. This device can be used to test the trait of a diode quickly,and to make sure that whether a diode can be used in the electronic design or not.
上传时间: 2013-11-13
上传用户:assef
在航电系统维护过程中,为解决定位故障的效率和降低维修成本等问题,提出了基于ICD(Interface Control Document,接口控制文件)的1553B总线的信息监控系统模型。该系统运用数据采集卡对总线中传输的信号有无失真、偏差等电气特性进行检测,并使用1553B通讯卡通过测控软件LabWindows/CVI编程与ICD数据库的动态链接,实现总线信息的解析和故障的判断。与传统的维护过程相比,这种模型能够从信号的电气特性以及信息的解析等全方位的去检测判断故障的来源,并且能够广泛在其他1553B总线系统内扩展应用。验证表明该监控系统可以对总线信息进行快速有效地监测分析,能满足应用需求。 Abstract: In the process of avionics system maintenance, to solve the problems such as improving the efficiency of fast orientation to troubles and reducing maintenance cost, system of 1553B bus information monitor model based on ICD was proposed. The system observed whether the data which transmitted on the bus appear distortion and deviation by using data acquisition card. And using 1553B communication card programming of the measure software LabWindows/CVI and the dynamic linking of ICD database, message analysis and fault estimation could be realized. Compared with traditional maintenance, this model can all-dimensionally detect and analyze the source of faults from both electrical characteristics of the signal and message analysis, and it can be widely applied in the other 1553B system. Experiment shown that this monitor system can effectively detect and analyze the bus message and can meet the application requirements.
上传时间: 2013-11-23
上传用户:18752787361
针对船舶气象仪保障维修而设计的船舶气象仪测试系统,包括信息处理终端、主仪器检测模块、传感器检测模块,各个模块都采用基于AVR单片机的嵌入式系统,模块之间通过CAN总线进行通信。结果表明,船舶气象仪测试系统能够快速检测船舶气象仪故障,与单纯依靠人工方式排查故障相比,故障检测时间缩短了60%以上。 Abstract: The test system of ship meteorological instrument was developed to satisfy the maintenance of ship meteorological instruments,which composed of information processing terminal, testing module of main instrument and testing module of sensors. Each of these modules included an embedded system based on microcontroller of AVR series and communicated with other module by CAN bus. The results show that the test system can judge the fault of ship meteorological instrument quickly and shorten the fault detection time as much as 60% compared with simple manual troubleshooting.
上传时间: 2013-11-23
上传用户:stvnash