Get from Ico-github-logo

Highlights from
QNX Target Support Package for Embedded Coder

  • ert_qnx_make_rtw_hook(hoo...
  • postGenFunc(buildInfo)
  • qnxAfterMakeHook( modelNa...
  • qnx_callback_handler(hDlg...
    slConfigUISetVal(hDlg, hSrc, 'ProdHWDeviceType', 'Motorola HC12');
  • qnx_download(modelName,ma...
    Temporary file with commands for ftp
  • qnx_setup()
    Set up paths
  • sl_customization(cm)
  • qnxdemo_f14.slx
  • qnx_simple.mdl
  • qnxdemo_fuelsys.mdl
  • qnx_simple_single_tasking...
  • qnxdemo_auto_climatecontr...
  • sldemo_mdlref_bus_qnx.slx
  • mdlref_counter_bus_qnx.slx
  • View all files
4.0
4.0 | 1 rating Rate this file 1 Download (last 30 days) File Size: 774 KB File ID: #42290 Version: 1.2

QNX Target Support Package for Embedded Coder

by

Mikhail (view profile)

 

19 Jun 2013 (Updated )

This target support package allows you to deploy your algorithms on QNX RTOS.

| Watch this File

File Information
Description

QNX Target Support Package for Embedded Coder
=======
**Summary:**
QNX (http://www.qnx.com) is a Unix-like real-time operating system, aimed primarily at the embedded systems market.

Simulink (http://www.mathworks.com/products/simulink) is a leading environment for multidomain simulation and Model-Based Design.

Embedded Coder (http://www.mathworks.com/products/embedded-coder) allows you to generate C code and deploy your algorithms to target hardware.

This Embedded Coder Target Support Package was tested on Beagleboard xM running QNX 6.5.1.
It should also work with other QNX targets, provided they have a BSP. Minimal changes to Template Makefile are required in this case to reflect other compiler flags.

Please refer to this repository: https://github.com/kyak/qnx_ert for the latest development version. Your input and feedback is highly appreciated!

**Installation:**

1) Run qnx_setup.m.

2) For Windows hosts, you need to download plink.exe from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html and put it into "qnx" directory.
This utility is used to start the binary automatically on target.

**What this package already has:**

    Standalong execution driven by POSIX timers (multirate/multitasking)
    External Mode support
    Automatic download to target using FTP and start via TELNET

**What this package would like to have:**

    See TODO.

Required Products Embedded Coder
MATLAB release MATLAB 8.3 (R2014a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
10 Mar 2015 dzoelham hoesny

Hi Mikhail.

When I clicked Connect to Target in Simulink menu. The diagnostic viewer reports this error below:
Error occurred while executing External Mode MEX-file 'ext_comm':
Invalid EXT_CONNECT_RESPONSE packet.

Would you help me to fix this?

Regards

Comment only
18 Jul 2014 Mikhail

Mikhail (view profile)

Hi Michael,

To activate C++ compiler, line 12 of qnxtools.mak should read:
DEFAULT_OPT_OPTS = -lang-c++

For more details, see here: https://github.com/kyak/qnx_ert/commit/ba5b4980928d4a23c55a752e963884aef4a40873

Comment only
18 Jul 2014 Michael Wiescholek

Thank you Mikhail,

Your package helped a lot, however what changes in the template make file do I have to make to support C++ like the Package for VxWorks?

Comment only
05 Mar 2014 Mikhail

Mikhail (view profile)

Martin, i hadn't tried this package with R2013b before.

However, now i have tried it and made some changes for it to work with R2013b.

It turns out that it didn't work with R2013b out of the box. I believe you did some changes for it to work, which might lead to crashes.

Anyway, I don't experience any crashes with R2013b.

You can try the latest version from Github repo here: https://github.com/kyak/qnx_ert.

Comment only
25 Feb 2014 Martin

Martin (view profile)

Good work, Mikhail!

Only one thing annoys: My Matlab/SL 2013b always crashes when the execution of the generated code on the QNX target is stopped by pressing the stop button!

Updates
02 Apr 2014 1.1

Update to R2014a.

15 Jan 2015 1.2

Link to Github repo

Contact us