I-Logix Proprietary and Confidential CPU External Code RTO S OXF Framework Rhapsody Generated Code CPU External Code IDF Framework Rhapsody Generated Code Requires a Real-Time Operating System Needs no Operating System IDF Framework V0.13 (30th Oct 2001) •Interrupt Driven Framework •Object eXecution Framework
12
Embed
I-Logix Proprietary and Confidential CPU External Code RTOS OXF Framework Rhapsody Generated Code CPU External Code IDF Framework Rhapsody Generated Code.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
I-Logix Proprietary and Confidential
CPU
Exte
rnal
Cod
e
RTOS
OXF Framework
RhapsodyGenerated Code
CPUEx
tern
alC
ode
IDF Framework
RhapsodyGenerated Code
Requires a Real-Time Operating System
Needs no Operating System
IDF Framework V0.13 (30th Oct 2001)
• Interrupt Driven Framework
• Object eXecution Framework
I-Logix Proprietary and Confidential
Current Environments• Environments tested on target hardware
– Arm compiler + ARM7 • Environments running on a simulator
• Environments running with an OS (used just to generate a periodic timeout)– Microsoft Visual C++ compiler + Windows– Gnu compiler + VxWorks– Borland compiler + Windows
I-Logix Proprietary and Confidential
IDF Characteristics
• No need for an RTOS• Can be used with 16 bit compilers• Smaller code size between 5k and 11k
(depending on if the list/map/string/collection classes are used)
• Avoids using malloc / free (except if containers used)
• Entire framework in documented Rhapsody model• Most standard Rhapsody models can be run
using the IDF framework (as long as model does not use any OS features, ex: Tasks, Semaphores)
I-Logix Proprietary and Confidential
IDF Characteristics
• Must create environment for compiler and microprocessor (rough estimate : 1 days work)
• Must implement three operations to disable / enable interrupts and setup a periodic interrupt (rough estimate : 1 days work)
• Single task / thread• Animated is not supported on the target, this must
be done on the host using the OXF framework• IAR & Tasking compiler currently require a perl
script to automatically modify the Rhapsody generated code (this problem will be resolved in Rhapsody V4.0)
• Currently only Rhapsody in C (Preliminary version does exist in C++)