qnx

How to create a QNX neutrino 7.0.0 bootable cd image?

僤鯓⒐⒋嵵緔 提交于 2019-12-11 05:28:42
问题 I am a newbie in QNX and I have a question: How to generate a QNX 7.0.0 bootable image for x86 (32-bit) that I can burn on a CD disk and boot on my pc? I have asked a question that looks similar to this, but it was about booting with Photon graphics, but as user "v836" mentioned, it's outdated, so this question is about booting to "just console" QNX with full set of unix utilities, hdd detection/mounting support, networking and (if possible) c compiller. I will be glad if somebody have a link

obtaining time from clock cycles

人盡茶涼 提交于 2019-12-11 04:55:40
问题 I am running QNX, I used a function to get clock cycles per second, uint64_t clockPerSec = getCPS(); uint64_t currentClockCycle = getCurrentCycle(); functions uint64_t getCPS() { return (~(uint64_t)0) /SYSPAGE_ENTRY(qtime) -> cycles_per_sec; } uint63_t getCurrentCycle() { return ClockCycles(); } then after running a function I do currentClockCycle = getCurrentCycle() - currentClockCycle; I am not using it through the whole applications, so I dont have overruns/overflow of the clock, just to

What's the difference between QNX 6.5.0(SP1) and 6.6.0 (backwards compatibility)?

自古美人都是妖i 提交于 2019-12-11 03:59:46
问题 Couldn't find actual release notes that point out the exact difference between QNX 6.5.1 and 6.6.0. I know that Photon's not supported anymore. So far, I've got SDP 6.6.0 but it might be that I need my software also to run on 6.5.0. So what is the actual backward compatibility level to 6.5.0? Some state that "6.6 is binary compatible with 6.5" [1] - can anyone support this with official documents? Since QNX follows the POSIX standard, I suppose that the APIs are the same and should be indeed

Using static const + const as array bound

心不动则不痛 提交于 2019-12-10 01:14:11
问题 I'm doing something like this Class.hpp: class Class { private: static const unsigned int arraySize; int ar[arraySize+2]; }; Class.cpp: #include <Class.hpp> const unsigned int arraySize = 384; The compiler (q++, a c++ compiler for the QNX OS based on g++) gives me error: array bound is not an integer constant while compiling a unit including Class.hpp (not while compiling Class.cpp). Why isn't that working? I know that a static const member can be used as an array bound, guaranteed by the C++

物联网操作系统

╄→гoц情女王★ 提交于 2019-12-09 11:53:19
原文:https://blog.csdn.net/lu_embedded/article/details/78363460 前言    今天 PC 和手机时代的操作系统霸主未必能在物联网时代延续霸业 。 操作系统产业的规律是,当垄断已经形成,后来者就很难颠覆,只有等待下一次产业浪潮。 如此关键的产业环节必然是兵家必争之地 。 ARM、谷歌、微软、华为、阿里、海尔 等国内外著名的 IT 企业纷纷推出物联网操作系统,整个产业呈现出群雄逐鹿的壮观景象。 传统的嵌入式系统公司也不甘示弱,纷纷通过开源和并购策略推出面向物联网软件平台,比如 Intel、风河、芯科和 Micrium 。 在一轮新的产业浪潮中,国内创业公司也走在风口浪尖上,他们纷纷推出自己的物联网操作系统,比如 庆科、Ruff 和 RT-thread。   回溯物联网操作系统的发展历程,2014年是个重要的、标志性的起点。正是从这一年开始,ARM、谷歌、微软等国际巨头陆续登场,形形色色物联网操作系统进入我们的视野。    ARM Mbed OS   mbed OS 是 ARM 公司专门为 IoT 设计的一个操作系统平台,它支持所有基于 Cortex M 系列的控制器,mbed OS 是开源的操作系统,详情源代码请看:https://github.com/ARMmbed/mbed-os,更多介绍请看官网:https://mbed

QNX学习笔记 [IMX6Q/TQIMX6Q]搭建QT Creator QNX 7.0开发调试环境

六眼飞鱼酱① 提交于 2019-12-08 16:09:20
习惯了qt creator开发环境,而且QNX本身就支持qt creator开发调试。以下是搭建方法 ###1.启动QNX SSH登录功能 QNX开发办需要开启SSH功能 包括QNX端 sshd的启动 <1>挂载可读写文件系统到/,并且在该文件系统中同样需要创建/etc/ssh等目录,镜像文件系统时只读的。 <2>配置启动镜像中的ssh_config文件,以及必须路径等。 <3>利用ssh_keygen在QNX中生成所需的key。主要如果/etc不可写,会出现错误。 ###2.编译qt 由于仅仅使用qt creator作为调试环境,因此只编译qtbase模块即可。可 git clone git://code.qt.io/qt/qtbase.git 当重新配置到不同编译架构时,需要重新下在qbase源码 也可直接下在源码https://download.qt.io/archive/qt/5.11/5.11.2/submodules/ 获得qtbase源码,并利用以下,编译得到qnx arm版本的qmake。 编译前需要source sdp7.0下的qnxsdp-env.sh ,并将QCC 添加到系统path。编译器配置文件在qtbase/mkspecs/common/qcc-base-qnx-armle-v7.conf文件中 ./configure -prefix

Can I use Java on QNX?

假装没事ソ 提交于 2019-12-07 08:44:08
问题 I have to serve two masters. One project which is expected to split in two after v1.0. It initially was a straightforward embedded project coded in C using FreeRTOS. It till could be until v1.0. Afterwards, one master says we must use QNX to please a partner or lose a deal while another says that we must use J/XFS (Java extension for financial services) or lose another deal. QNX doesn't exactly seem bustling with support for Java. The best that I can find is this link, but t's hardly official

How to write a CanOpen stack?

限于喜欢 提交于 2019-12-06 06:15:24
I have a similar problem with this. How to program a simple CANopen layer . I read the answers but I have to program a CANopen layer on my own I cannot get a commercial one. So are there any basics of writing a CANopen stack (or layer I'm not certain about the difference)? I don't know even where to start.. If it's required here's some information : My master device is a beagle bone black with QNX. QNX has a generic CAN library I think but not specific to CANopen. And my slave is a militarized brushless motor controller. I'm writing in C++. I have a documentation about the general requirements

Can I use Java on QNX?

馋奶兔 提交于 2019-12-05 13:49:01
I have to serve two masters. One project which is expected to split in two after v1.0. It initially was a straightforward embedded project coded in C using FreeRTOS. It till could be until v1.0. Afterwards, one master says we must use QNX to please a partner or lose a deal while another says that we must use J/XFS (Java extension for financial services ) or lose another deal. QNX doesn't exactly seem bustling with support for Java. The best that I can find is this link , but t's hardly official. So, can anyone shed more light on Java on QNX? I have to say that I've never tried to use Java

cc1plus: Virtual memory exhausted

坚强是说给别人听的谎言 提交于 2019-12-05 11:07:46
I am trying to build a project in QNX Momentics IDE (4.6) using qcc in Linux. I fail to succeed the build process with the following error: virtual memory exhausted: Cannot allocate memory /opt/qnx641/host/linux/x86/usr/lib/gcc/i386-pc-nto-qnx6.4.0/4.3.3/cc1plus error 1 The project has a cpp file with more than 1.3 MLOC. This one is an autogenerated code from a large Matlab/SIMULINK simulation model so it is not easy to divide and conquer. It is hard to understand if it is LOC limit of qcc compiler or due to a programming practice in the autogenerated code. I would like to ask: Is there any