== OpenECU Frequently Asked Questions == This is the frequently asked questions site for OpenECU. ~+<>+~ ---- === Software build troubleshooting === * [[SFunction Error|I see 'could not find S-function' errors when I try to build, what is wrong?]] * "[[Cannot find ...rtwlib.a: No such file or directory]]" * [[Unsuccessful build for model..but build completed successfully]] * [[Error0169|"Error 0169 at offset 00016B7F: Unexpected EOF" - what does that mean?]] * [[Model Naming Restrictions|"Error (dcc:1173): compiler out of sync. Probably missing ‘;’ or ‘}’" – what does that mean?]] * [[Replacement Types|Replacement type (FREAL, F32, S32, S16, S8, U32, U16, U8, U8, INT, UINT) must be defined as a Simulink.AliasType or a Simulink.NumericType object, and the object must resolve to a primitive type. – what does that mean?]] * [[Model Naming Restrictions|What are the restrictions on model names?]] * [[Compiler Selection|I have the latest version of the Diab compiler, why doesn't it work?]] * [[Channel Selection Changed|The channel selection changed in my model, what happened?]] * [[AddDataTypeConvert|"signal attribute specified.. is invalid because individual signals contained in this line are mapped to different memory locations" - what does that mean?]] * [[Why does my application have a larger code size when compiled with GCC?]] * [[RSIM 2018b|My simulink model is developed using OpenECU r2.8.0 and MATLAB 2018b with RSim coder. Why does it fail to build?]] * [[Empty ASAP2 File]] - does not contain constants, calibrations, array maps, enumerations or signals === OpenECU 2.9.0 r2020-1 software bugs and improvements === * [[Why does MATLAB crash when I open a simulink model with reference configuration?]] * [[buildinfo.mat build error]] * [[Two Pot Demo Model build error]] === Software troubleshooting === * [[ECU Reset|My ECU keeps resetting, how do I debug it?]] * [[Resolving Pan Conflict|I've encountered a conflict with pan.mdl, what do I do?]] * [[Channel Selection Changed|The channel selection changed in my model, what happened?]] * [[Channel Selection Changed|The channel selection list does not match my ECU]] * [[CANdb Transmission Rate|My CAN message is transmitting at a rate that is different than what I specified in my CANdb file. Why?]] * [[CANdb Support#The_signal_looks_good_on_the_CAN_bus.2C_but_it_is_clipped_by_OpenECU|CANdb received or transmitted values are always zero, what is happening?]] * [[MATLAB Connector Error|Opening a model raises an error with MATLAB Connector, what do I do?]] * [[Calibration Maps|My calibration map / table is not working.]] ---- === Hardware troubleshooting === * [[ECU Recovery Front|How do I recover an ECU that will not communicate with the calibration tool?]] * [[Dead ECU|My ECU is dead, what do I do?]] * [[Flash Code Output|How do I determine the ECU status using the flash code output?]] * [[ECU Reset|My ECU keeps resetting, how do I debug it?]] * [[CAN Problems|Why is my CAN bus not working?]] * [[Discrete IO Troubleshooting#Digital_inputs|My digital input is not working]] * [[Discrete IO Troubleshooting#Digital_outputs|My digital output is not working]] * [[Discrete IO Troubleshooting#M670_monitor_fault|My M670 is indicating a fault on Monitor (Fault) - what's wrong?]] * [[Discrete IO Troubleshooting#Analog_inputs|My analog input is not working]] * [[Discrete IO Troubleshooting#Frequency_inputs|My frequency input is not working]] * [[Discrete IO Troubleshooting#Digital_outputs|My PWM/frequency output is not working]] * [[Scope Trace Looks Good No Input|My scope trace looks good, but my frequency / PWM input is not working]] ---- === System troubleshooting === * [[Ignition coil setup|How do I wire up ignition coils to an OpenECU?]] ---- === Flashing and calibration troubleshooting === * [[ECU Reprogramming|How do I reprogram my ECU?]] * [[ECU Recovery Front|How do I recover an ECU that will not communicate with the calibration tool?]] * [[Flash Code Output|How do I determine the ECU status using the flash code output?]] * [[ECU Reprogramming|How do I use ETAS INCA with OpenECU?]] * [[Signal Troubleshooting|I know a data dictionary signal is changing, but I can't see it change in the calibration tool]] * [[ECU Reprogramming#Running_the_Application|Can I make the ECU automatically reset after programming my application?]] ---- === Installation and setup of OpenECU on your PC === * [[PCRequirements|What kind of PC do I need to use OpenECU?]] * [[How to run|I've installed OpenECU, now how do I run it?]] * [[Environment Variables|How do I set environment variables?]] * [[Does OpenECU work on Windows 8?|Does OpenECU work on Windows 8 and 10?]] ---- === Information (does OpenECU do X?) === * [[Third Party Tools|Which tools does OpenECU need to work?]] * [[auto-coders|Which auto-coders are supported?]] * [[SLX format|Can SLX file format be used with OpenECU?]] * [[Simulink Versions|I have version x of Simulink, will it work with OpenECU?]] * [[Extended Diagnostics|Does OpenECU have built-in OBD-compliant features?]] * [[Floating point|Can I use double precision floating point math with OpenECU?]] * [[Libraries And Model References|Can I use OpenECU blocks in a library or reference model?]] * [[Simulink Lookup Tables|Can I use Simulink built-in lookup blocks?]] * [[Block Support|Which blocks are supported by my ECU?]] * [[Lookup Table Axes|Can I reuse axis names in different lookup blocks?]] * [[Wake on CAN|Does OpenECU support wake-on-CAN?]] * [[Open ECU Org|Can I have information about Subaru/Mitsuhishi/other-car-make ECU?]] * [[Protected Ref Model|Does OpenECU software support protecting a subsystem of application software developed in simulink through the use of protected reference model?]] * [[UDS Protocol|Does OpenECU support application development and reprogramming using UDS protocol?]] * [[M110 CAN Limitations|What are the throughput limitations for CAN C and D on the M110?]] ---- === How-to guide (nothing is wrong, but I don't understand how to do something) === * [[Selecting A Data Dictionary Format|What is a data dictionary and how do I use it?]] * [[Data Dictionary Rules|What are the naming rules for data dictionary entries?]] * [[Adaptive Block Usage|How do I use the adaptive memory blocks?]] * [[Power Hold|What is power hold and how should it be used?]] * [[NVM Erase|When is non-volatile application data erased?]] * [[Version Retrieval|How do I determine which version of boot/platform/application software is on my ECU?]] * [[ApplicationResourceUsage|What is the memory summary that is shown at the end of an OpenECU build?]] * [[ApplicationResourceUsage|How do I check the performance of an OpenECU application?]] * [[ApplicationResourceUsage|How do I find out how much RAM / stack / application memory / calibration memory my application is using?]] * [[ApplicationResourceUsage|How do I find out how much CPU throughput my application is using?]] * [[ApplicationResourceUsage|How do I find out how much time is being used by each of my application tasks?]] * [[ApplicationResourceUsage|How do I find out how close I am to a task overrun?]] * [[CANdb Support|Will my CAN database (CANdb or .dbc) file work with OpenECU?]] * [[Example Models|Where can I find examples?]] * [[non-ASCII|Can I use non-ASCII characters in my OpenECU model?]] * [[Floating point|Can I use double precision floating point math with OpenECU?]] * [[Libraries And Model References|Can I use OpenECU blocks in a library or reference model?]] * [[Simulink Lookup Tables|Can I use Simulink built-in lookup blocks?]] * [[Leaky Bucket|How does the leaky bucket work?]] * [[CANdb Transmission Rate|How do I set the transmition rate for CAN messages in my CAN database (CANdb) file?]] * [[Quadrature Decode|How does quadrature decode work?]] * [[CCP security|How do I use CCP security?]] * [[Wasted Spark|Can I do wasted spark?]] * [[Current Monitors|How should I use the ECU pin electrical current monitors?]] * [[UDS Reprogramming Specification]] * [[How to perform OpenECU UDS reprogramming ?]] ---- === M560/M580 Questions === * [[API|Does the M560/M580 provide an API for I/O and other drivers?]] * [[Real-time operation|Does the M560/M580 provide a real-time operation system, task adjusting interface (including 10ms, 20ms, 100ms tasks)?]] * [[M5xx NVM|Does the M560/M580 support Non-Volatile Memory? Does the M560/M580 store self-learning data after ignition cycle? What is the memory size?]] * [[Calibration and CCP|Does the M560/M580 support ASAP2 calibration tools and the CCP protocol in development stage? What is the size of calibration memory?]] * [[Flash bootloader|Does the M560/M580 support off-line reprogramming, does it have a bootloader?]] * [[Diagnostics|Does the M560/M580 provide a hardware diagnostic interface, I/O signal diagnostics, sensor power supply diagnostics, a CPU Reset interface?]] * [[Safety Structure|Does the M560/M580 have a level 3 safety structure and software interface, supporting RAM Partitioning, Flash partitioning, program flow monitoring, CPU working frequency monitoring, and CPU load monitoring?]] * [[Start-up time|What is the M560/M580 initialization time and system start-up check completion time?]] * [[Compilers|Do the two processors in the M560/M580 use the same compiler?]] * [[Secondary CCP|Does the M560/M580 secondary processor support CAN CCP calibration?]] * [[LIN|Does the M560/M580 have a solution for LIN communication?]] * [[Primary only|I’m using the M560/M580 for the first time. What is the minimum requirement to deploy code to primary micro without interference from secondary micro?]] * [[M5xx Wake on CAN|Does the M560/M580 have Wake on CAN capability?]] * [[I have questions related to UDS protocol in M560/M580.]] * [[How does PLC communication protocol work in M560 & M580?]]