Feed for discussion QNX Momentics Community Support in project Community.Posts for QNX Momentics Community Supportpost101626: Re: How to execute scheduled tasks?Allen Chenhttp://community.qnx.com/sf/go/post1016262013-05-23T09:18:52Z2013-05-23T09:18:52ZI found cron in /usr/sbin/. There is another question.
I add /usr/sbin/cron & command in /etc/rc.d/rc.local script file.
And execute crontab -e and add one line:
30 21 * * * shutdown -b
When the time is up, I cannot see system shutdown warning message
displayed on console. The system is not powered off.
于 2013/5/22 22:07, Shawn Unger 写道:
> If installed, it is located /usr/sbin/cron.
>
> Which version of QNX are you running? You may have been presented with an option during install to include publicly licensed tools, I believe that cron could be one of them.
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post101597
> To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.com
>Allen Chen2013-05-23T09:18:52Zpost101604: Re: How can I get CPU utilization?Allen Chenhttp://community.qnx.com/sf/go/post1016042013-05-22T15:31:34Z2013-05-22T15:31:34ZThank you very much!
Allen
在 2013-5-22,下午10:40,Shawn Unger <community-noreply@qnx.com> 写道:
> There is some sample code here: http://www.qnx.com/support/knowledgebase.html?id=50130000000P9b5
>
> Effectively, it simply looks at how busy the idle thread is. It may be of value to you.
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post101601
> To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.comAllen Chen2013-05-22T15:31:34Zpost101601: Re: How can I get CPU utilization?Shawn Ungerhttp://community.qnx.com/sf/go/post1016012013-05-22T14:40:58Z2013-05-22T14:40:58ZThere is some sample code here: http://www.qnx.com/support/knowledgebase.html?id=50130000000P9b5
Effectively, it simply looks at how busy the idle thread is. It may be of value to you.Shawn Unger2013-05-22T14:40:58Zpost101600: Re: How to execute scheduled tasks?Allen Chenhttp://community.qnx.com/sf/go/post1016002013-05-22T14:33:31Z2013-05-22T14:33:31ZThank you.
I use QNX 6.5.0. Let me look for cron in /usr/sbin.
Allen
在 2013-5-22,下午10:07,Shawn Unger <community-noreply@qnx.com> 写道:
> If installed, it is located /usr/sbin/cron.
>
> Which version of QNX are you running? You may have been presented with an option during install to include publicly licensed tools, I believe that cron could be one of them.
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post101597
> To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.comAllen Chen2013-05-22T14:33:31Zpost101597: Re: How to execute scheduled tasks?Shawn Ungerhttp://community.qnx.com/sf/go/post1015972013-05-22T14:07:05Z2013-05-22T14:07:05ZIf installed, it is located /usr/sbin/cron.
Which version of QNX are you running? You may have been presented with an option during install to include publicly licensed tools, I believe that cron could be one of them.Shawn Unger2013-05-22T14:07:05Zpost101596: Re: How to execute scheduled tasks?Allen Chenhttp://community.qnx.com/sf/go/post1015962013-05-22T13:56:53Z2013-05-22T13:56:53ZWhere is cron? I cannot find it.
于 2013/5/22 20:10, Mario Charest 写道:
> Cron is available .
>
>> -----Message d'origine-----
>> De : Allen Chen [mailto:community-noreply@qnx.com]
>> Envoyé : 22 mai 2013 05:29
>> À : momentics-community
>> Objet : How to execute scheduled tasks?
>>
>> On Linux, I can execute time scheduled task, such as shutdown at 21:30,
>> using cron tool. How to implement on QNX?
>> Thank you.
>>
>> Allen
>>
>>
>>
>> _______________________________________________
>>
>> QNX Momentics Community Support
>> http://community.qnx.com/sf/go/post101591
>> To cancel your subscription to this discussion, please e-mail momentics-
>> community-unsubscribe@community.qnx.com
>
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post101593
> To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.comAllen Chen2013-05-22T13:56:53Zpost101593: RE: How to execute scheduled tasks?Mario Charesthttp://community.qnx.com/sf/go/post1015932013-05-22T12:10:52Z2013-05-22T12:10:52ZCron is available .
> -----Message d'origine-----
> De : Allen Chen [mailto:community-noreply@qnx.com]
> Envoyé : 22 mai 2013 05:29
> À : momentics-community
> Objet : How to execute scheduled tasks?
>
> On Linux, I can execute time scheduled task, such as shutdown at 21:30,
> using cron tool. How to implement on QNX?
> Thank you.
>
> Allen
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post101591
> To cancel your subscription to this discussion, please e-mail momentics-
> community-unsubscribe@community.qnx.comMario Charest2013-05-22T12:10:52Zpost101591: How to execute scheduled tasks?Allen Chenhttp://community.qnx.com/sf/go/post1015912013-05-22T09:29:07Z2013-05-22T09:29:07ZOn Linux, I can execute time scheduled task, such as shutdown at 21:30, using cron tool. How to implement on QNX?
Thank you.
AllenAllen Chen2013-05-22T09:29:07Zpost101199: How can I get CPU utilization?Allen Chenhttp://community.qnx.com/sf/go/post1011992013-05-07T08:13:43Z2013-05-07T08:13:43ZI need to monitor CPU average load in a C++ program. On Linux, I can get it by reading and parsing /proc/stat file. How to get this status value on QNX?
Allen ChenAllen Chen2013-05-07T08:13:43Zpost101150: CAN Test Between Two BeaglebonesStefan Hallhttp://community.qnx.com/sf/go/post1011502013-05-04T22:28:48Z2013-05-04T22:28:48ZFor the last couple days I have been following the guide to testing CAN communications on the beaglebone. Everything went well during the loopback test, but when trying to test communication between two beaglebones it didn't work.
I'm not entirely sure how to do this part.
I first initialized the CAN driver without loopback enabled. I then set one board to receive on rx0 and transmitted testing from the other from tx16 in a loop as was one step in the test.
During the test I connected the two boards using transcievers. Between the two transcievers I put a 56ohm resistor in parallel between canh and canl.
Is this the correct procedure? I can post more information on my wiring configuration or anything that may not have been clear in this post.
Thanks in advance!
StefanStefan Hall2013-05-04T22:28:48Zpost100459: Re: Makefile:4: recurse.mk: No such file or directoryErick Roanehttp://community.qnx.com/sf/go/post1004592013-04-10T23:02:04Z2013-04-10T23:02:04ZFound the fix for the issue...
In Windows 7, you must install QNXSDP as administrator otherwise it may obliterate those files.Erick Roane2013-04-10T23:02:04Zpost100448: Makefile:4: recurse.mk: No such file or directoryErick Roanehttp://community.qnx.com/sf/go/post1004482013-04-10T21:17:31Z2013-04-10T21:17:31ZI'm running QNXSDP-6.5.0 with SP1 on Windows 7.
PROCESSOR=AMD64
QNX_CONFIGURATION=C:\Program Files (x86)\QNX Software Systems
QNX_HOST=C:/QNX650/host/win32/x86
PATH=C:\QNX650\host\win32\x86\usr\bin;...
MAKEFLAGS=-IC:/QNX650/target/qnx6/usr/include
Trying to build my BSP for Nitrogen6X in QNX Momentics IDE after properly installing it via http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/Bsp_650InstallationNotes. This is what I get.
**** Build of configuration QNX QCC for project bsp-freescale-mx6q-nitrogen-src ****
make all
cp -rf prebuilt/* install
make -Csrc hinstall
make[1]: Entering directory `C:/momentics-workspace/bsp-freescale-mx6q-nitrogen-src/src'
Makefile:4: recurse.mk: No such file or directory
make[1]: Leaving directory `C:/momentics-workspace/bsp-freescale-mx6q-nitrogen-src/src'
make[1]: *** No rule to make target `recurse.mk'. Stop.
make: *** [install] Error 2
I've seen other user posts with similar error. They all seemed to have been fixed by eliminating environment paths with whitespace. The only environment variable with whitespace in its path is QNX_CONFIGURATION, but this doesn't seem like the cause of the problem. Why is this generally a problem in QNX Momentics?Erick Roane2013-04-10T21:17:31Zpost100261: Momentics installation halts on :" Preparing for installation; this may take several minutes..."Yaniv Machanihttp://community.qnx.com/sf/go/post1002612013-04-02T13:05:00Z2013-04-02T13:05:00ZHey,
I'm trying to install 6.5 SP1 on ubuntu 10.4,
After the installation starts, i get the "Preparing for installation; this may take several minutes..."
message and the process halts forever.
We are using Java Sun 1.6
The install log shows nothing special, and stops at the same spot.
Can you please advise ?
Thanks
YanivYaniv Machani2013-04-02T13:05:00Zpost100258: Compilation failMaciej Kulasiekhttp://community.qnx.com/sf/go/post1002582013-04-01T22:00:57Z2013-04-01T22:00:57ZI have some problem with compilation of my first program and i don't know what to do.
Please help me, i'll try to fix the problem but it's complicated.
Thanks for any helps.Maciej Kulasiek2013-04-01T22:00:57Zpost100114: Urgent. Error from moc.exeLibo Yuhttp://community.qnx.com/sf/go/post1001142013-03-22T21:14:20Z2013-03-22T21:14:20ZThis is from latest devstage. Please fix it asap.Libo Yu2013-03-22T21:14:20Zpost100030: Re: Using Own Built LibraryRuly Kurniawanhttp://community.qnx.com/sf/go/post1000302013-03-20T10:12:45Z2013-03-20T10:12:45ZAfter searching from several sources, it looks like I put the file in a folder, and the LD_LIBRARY_PATH did not point to the directory. Now I can run it normally..Ruly Kurniawan2013-03-20T10:12:45Zpost100021: Using Own Built LibraryRuly Kurniawanhttp://community.qnx.com/sf/go/post1000212013-03-20T03:30:55Z2013-03-20T03:30:55ZHi,
I'm new to QNX, and I'm trying to do some simple experiment on QNX. I create two projects:
- SimpleLibrary, consisting of one object I created for learning purpose, compile it as Shared Library, no problem after compilation
- SimpleApplication, to use the SimpleLibrary. I add SimpleLibrary.so to the Linker, Extra object files, and I can compile successfully.
However, when I tried to run the application, I got ":ldd:FATAL: Could not load library libSimpleLibrary.so" error. I tried to copy all the file (.so, _g.so, and the application) to the virtual machine but I still got the same error. What should I do to make it run?
Thank youRuly Kurniawan2013-03-20T03:30:55Zpost99863: Re: Build QNX project using command promptElena Laskavaiahttp://community.qnx.com/sf/go/post998632013-03-13T15:44:59Z2013-03-13T15:44:59Zmake
On 13-03-12 07:23 AM, Vijayachandra Kumar Ramamurthy wrote:
> I would like to know the commands for building a QNX project using command prompt.
>
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post99815
> To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.comElena Laskavaia2013-03-13T15:44:59Zpost99815: Build QNX project using command promptVijayachandra Kumar Ramamurthyhttp://community.qnx.com/sf/go/post998152013-03-12T11:23:48Z2013-03-12T11:23:48ZI would like to know the commands for building a QNX project using command prompt.Vijayachandra Kumar Ramamurthy2013-03-12T11:23:48Zpost99776: Re: Delete key doesn't work on command linekarl mortensenhttp://community.qnx.com/sf/go/post997762013-03-08T21:55:47Z2013-03-08T21:55:47ZI fixed it. See my answer here: http://unix.stackexchange.com/questions/66434/delete-key-doesnt-work-on-command-line/67356#67356karl mortensen2013-03-08T21:55:47Zpost99621: Delete key doesn't work on command linekarl mortensenhttp://community.qnx.com/sf/go/post996212013-02-28T22:24:04Z2013-02-28T22:24:04ZI can't bind the delete key to delete on QNX Neutrino 6.4.1 PDKSH shells accessed via PuTTy. Please point me in the right direction.
My bind settings are as follows:
bind | grep del
^D = eot-or-delete
^H = delete-char-backward
^? = delete-char-backward
^[^H = delete-word-backward
^[d = delete-word-forward
^[h = delete-word-backward
^[^? = delete-word-backward
^X3 = delete-char-forward
^XP = delete-char-forward
ଠ= delete-char-forward
It leaves a ~ where it should have deleted a character. Neither ^[[3~ nor ^? seem to work.
Please see my issue at http://unix.stackexchange.com/questions/66434/delete-key-doesnt-work-on-command-linekarl mortensen2013-02-28T22:24:04Zpost99578: making depends filesSteve Iribarnehttp://community.qnx.com/sf/go/post995782013-02-27T14:55:43Z2013-02-27T14:55:43ZOk... since no one answered my question maybe changing the topic will help....
We are using the recursive make.
I'm noticing that there are a few issues with updating header files and the source files not getting recompiled.
So I was trying to find where the depends files are getting created and I don't believe they are. I noticed qdepfile.mk
but it doesn't seem that any of the q<*>.mk files include it or call it. That's where the depends rules are.
Can any help me and tell me how to get the QNX recursive make to build depend files?
Thanks.
-stvSteve Iribarne2013-02-27T14:55:43Zpost99561: Makefile questionSteve Iribarnehttp://community.qnx.com/sf/go/post995612013-02-26T20:06:37Z2013-02-26T20:06:37ZWe are using the recursive make.
I'm noticing that there are a few issues with updating header files and the source files not getting recompiled.
So I was trying to find where the depends files are getting created and I don't believe they are. I noticed qdepfile.mk but it doesn't seem that any of the q<*>.mk files include it or call it. That's where the depends rules are.
Can any help me and tell me how to get the QNX recursive make to build depend files?
Thanks.
-stvSteve Iribarne2013-02-26T20:06:37Zpost99380: Re: Include existing source tree into QNX C++ Project in Momentics v4.7.0, LinuxMike Lorenzhttp://community.qnx.com/sf/go/post993802013-02-20T15:39:33Z2013-02-20T15:39:33ZHi!
Maybe I have one possible sollution for you.
If you have used makefiles in your project your want to import, you can do :
1. set the workspace-directory of momentics on directory 1 level below all of your source code
2. create a new common C or C++ Project (not QNX-C Project) for each makefile. Chose "Empty Makefile Project" and "QNX Toolchain" . Name the project like the subdirectory where the makefile and sources lies (ignore the warning of existing directory)
3. create your own make targets e.g. "all" , "clean" etc. in the ShowView "Make Targets"
4. maybe you have to change/configure your makefile e.g. CC=qcc -lang-c ...
Example:
workspace dir : "xxxsrc"
xxxsrc/p1/makefile and sources for binary1 or objects -> new C-Project named p1
xxxsrc/p2/makefile and sources for binary2 or objects -> new C-Project named p2
... etc.
you can choose different workspaces too
there is also another possible sollution importing or linking your files from somewhere (Import... - General - File System ...) after creating a new "C Project" in a totally different workspace.Mike Lorenz2013-02-20T15:39:33Zpost98843: QNX 6.5.0, Apache, WSGI, DjangoNathan Wrighthttp://community.qnx.com/sf/go/post988432013-01-28T23:18:55Z2013-01-28T23:18:55ZGreetings community,
I have two questions. The first is general, the second is specific.
1. Has anyone had any success implementing Django and Apache using mod_wsgi on QNX 6.5?
2. Has anyone successfully imported time through mod_wsgi?
Background:
I have been struggling with it for a few weeks now. I've run through all the troubleshooting guides on both mod_wsgi site and django's site. They all seem to think this is trivial so I'm starting to think there must be some underlying incompatibility (or I'm just really bad at reading haha).
I can successfully run Apache. I can run simple python apps via mod_wsgi, returning sys.path for example. I can run simple django apps using the built in development server (python manage.py runserver). I cannot seem to put it all together though.
When I attempt to put it all together, i.e. run my simple 'hello world' django app via mod_wsgi I get an error attempting to import the time module. The traceback looks like...
File "/usr/pkg/share/djroot/mars/mars/wsgi.py", line 29, in <module>
import django.core.handlers.wsgi
File "/usr/qnx650/hosts/qnx6/x86/usr/lib/python2.5/site-packages/django/core/handlers/wsgi.py", line 2, in <module>
from threading import Lock
File "/usr/qnx650/hosts/qnx6/x86/usr/lib/python2.5/threading.py", line 11, in <module>
from time import time as _time, sleep as _sleep
ImportError: No module named time
This module imports successfully from the python command line. Apache can't seem to load it though. I added it to my simple test_mod_wsgi app and it also generated an error there.
Any help would be greatly appreciated.
Thanks,
NathanNathan Wright2013-01-28T23:18:55Zpost98703: RE: Sharing LicenseMario Charesthttp://community.qnx.com/sf/go/post987032013-01-21T18:16:24Z2013-01-21T18:16:24ZYou need to contact sales to get a floating license
-----Message d'origine-----
De : Ashwini Dubey [mailto:community-noreply@qnx.com]
Envoyé : Tuesday, January 22, 2013 4:35 AM
À : momentics-community
Cc : dostlalit@gmail.com
Objet : Sharing License
Hi,
I want to know how to share the floating license between multiple users. For example: I have 2 license of qnx momentics 6.5 and 4 user. I want to share one license between two user. Is there any option while installing the software or any other mechanism to share the floating license.
Please reply asap.
_______________________________________________
QNX Momentics Community Support
http://community.qnx.com/sf/go/post98701
To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.comMario Charest2013-01-21T18:16:24Zpost98701: Sharing LicenseAshwini Dubeyhttp://community.qnx.com/sf/go/post987012013-01-21T15:34:59Z2013-01-21T15:34:59ZHi,
I want to know how to share the floating license between multiple users. For example: I have 2 license of qnx momentics 6.5 and 4 user. I want to share one license between two user. Is there any option while installing the software or any other mechanism to share the floating license.
Please reply asap.Ashwini Dubey2013-01-21T15:34:59Zpost98678: RE: Floating point license queryMario Charesthttp://community.qnx.com/sf/go/post986782013-01-18T17:42:24Z2013-01-18T17:42:24ZYou have to contact sales to obtain floating licenses.
-----Message d'origine-----
De : Ashwini Dubey [mailto:community-noreply@qnx.com]
Envoyé : Friday, January 18, 2013 6:48 PM
À : momentics-community
Cc : dostlalit@gmail.com
Objet : Floating point license query
I have five licences but users are 10. Is there any mechanism or license type by which i can do the same.
_______________________________________________
QNX Momentics Community Support
http://community.qnx.com/sf/go/post98651
To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.comMario Charest2013-01-18T17:42:24Zpost98651: Floating point license queryAshwini Dubeyhttp://community.qnx.com/sf/go/post986512013-01-18T05:48:22Z2013-01-18T05:48:22ZI have five licences but users are 10. Is there any mechanism or license type by which i can do the same.Ashwini Dubey2013-01-18T05:48:22Zpost98628: Re: PRE_BUILD macroOle Jørgen Legårdhttp://community.qnx.com/sf/go/post986282013-01-17T06:45:31Z2013-01-17T06:45:31ZSolved it using:
PRE_TARGET=UPDATE_REVISION
UPDATE_REVISION:
SubWCRev.exe $(PROJECT_ROOT) $(PROJECT_ROOT)/version.tmpl $(PROJECT_ROOT)/version.hOle Jørgen Legård2013-01-17T06:45:31Zpost98611: PRE_BUILD macroOle Jørgen Legårdhttp://community.qnx.com/sf/go/post986112013-01-16T19:34:25Z2013-01-16T19:34:25ZHi
I need to run a command before compiling a QNX C++ project.
I try to add the following in common.mk
define PRE_BUILD
-@SubWCRev.exe $(PROJECT_ROOT) $(PROJECT_ROOT)/version.tmpl $(PROJECT_ROOT)/version.h
endef
but it seems that the macro is run after the compilation. What can I do to make it execute before the compilation?Ole Jørgen Legård2013-01-16T19:34:25Zpost98394: Re: Installing 6.50 SP1 breaks make (can't find qconfig.mk)Jeff Pacehttp://community.qnx.com/sf/go/post983942013-01-04T23:26:22Z2013-01-04T23:26:22ZInstalling on Ubuntu from the DVD seems to break everything. The individual download qnxsdp-6.5.0SP1-201206271006-linux.bin worked after using the QNXLinuxCleanup and reinstalled 6.5.0.Jeff Pace2013-01-04T23:26:22Zpost98079: Slinger XHTMLPascal Mueshttp://community.qnx.com/sf/go/post980792012-12-13T10:27:46Z2012-12-13T10:27:46ZHi,
i got a problem using a .xhtml-file as a root document.
Configuring slinger (Using QNX 6.5.0SP1) by Env-Vars works successfully and is can access my defined root-file from network with an other pc, BUT the submited content from the webserver is declared as an "occtet-stream", is just can save it as a file-download...
Is there any kind of configuration for the slinger-server to provide non html-file-types?
Is it required to define a specific DOCTYPE in order to slinger recognize the type right, an set the right type for the transmit?Pascal Mues2012-12-13T10:27:46Zpost97880: Re: sem_timedwait_monotonic issueElena Laskavaiahttp://community.qnx.com/sf/go/post978802012-12-06T21:17:56Z2012-12-06T21:17:56ZI think there was an issue when it starts too fast the time is 0 and
some library calls don't think it is valid time for some reason.
On 12-12-04 05:23 PM, John Parker wrote:
> I am attempting to move away from the realtime clock for my timedwait semaphores in order to fix a bug that occurs when the clock jumps due to a call to clock_settime. However, when I switch to sem_timedwait_monotonic in conjunction with clock_gettime(CLOCK_MONOTONIC, &startTime); it is consistently timing out immediately instead of waiting until my timeout time.
>
> Has anyone else run into this? I am running qnx6.50 SP1.
>
> Thanks,
> John Parker
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post97787
> To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.comElena Laskavaia2012-12-06T21:17:56Zpost97826: RE: QNX Momentics suddenly slow!Mario Charesthttp://community.qnx.com/sf/go/post978262012-12-05T16:36:06Z2012-12-05T16:36:06ZGarbage collection does not prevent all cases of memory leak. Once in a while Momentic will run out of memory (java heap) and will then become extremely slow as I suspect the garbage collector is invoked at high frequency. It`s easy to see when you active the display of the heap info in Eclipse preferences.
-----Message d'origine-----
De : John Parker [mailto:community-noreply@qnx.com]
Envoyé : Wednesday, December 05, 2012 11:04 AM
À : momentics-community
Objet : Re: QNX Momentics suddenly slow!
This happens to me occasionally. Usually I close all java based programs on my machine and then restart momentics. This always seems to clear it up for me. As far as I can tell it seems like several java programs can get into a state where they contend heavily over some shared resource and they all grind to a crawl.
_______________________________________________
QNX Momentics Community Support
http://community.qnx.com/sf/go/post97824
To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.comMario Charest2012-12-05T16:36:06Zpost97824: Re: QNX Momentics suddenly slow!John Parkerhttp://community.qnx.com/sf/go/post978242012-12-05T16:03:44Z2012-12-05T16:03:44ZThis happens to me occasionally. Usually I close all java based programs on my machine and then restart momentics. This always seems to clear it up for me. As far as I can tell it seems like several java programs can get into a state where they contend heavily over some shared resource and they all grind to a crawl.John Parker2012-12-05T16:03:44Zpost97788: Re: Remote Debugging Not Hitting BreakpointsJohn Parkerhttp://community.qnx.com/sf/go/post977882012-12-04T22:25:56Z2012-12-04T22:25:56ZIf I see this problem it is usually caused by the way my source code is mapped in the project. Are you debugging the source code from the same path you built it on? If not you will need to set up a mapping in the debugger session options.
If you are debugging from the same path the code was built on, then make sure you have selected "Use full file path to set breakpoints" in the Debugger tab of Debugger Configurations. Also, you should check out the Source Lookup Path setting on the Source tab of Debugger Configurations. For my project I have to use "Absolute File Path" there, but it may be different for you.John Parker2012-12-04T22:25:56Zpost97787: sem_timedwait_monotonic issueJohn Parkerhttp://community.qnx.com/sf/go/post977872012-12-04T22:23:22Z2012-12-04T22:23:22ZI am attempting to move away from the realtime clock for my timedwait semaphores in order to fix a bug that occurs when the clock jumps due to a call to clock_settime. However, when I switch to sem_timedwait_monotonic in conjunction with clock_gettime(CLOCK_MONOTONIC, &startTime); it is consistently timing out immediately instead of waiting until my timeout time.
Has anyone else run into this? I am running qnx6.50 SP1.
Thanks,
John ParkerJohn Parker2012-12-04T22:23:22Zpost97756: LPR Printing / A4 paper format not possible ?Yves Digaudhttp://community.qnx.com/sf/go/post977562012-12-04T14:17:19Z2012-12-04T14:17:19ZHi,
I'm trying to print photon document to a network laser printer ( HP LaserJet P2015X ) , but impossible to create an A4 formatted page ( In the print Wizard, i chose A4 format, pcl.cfg have already been modified to include this ). When i check in the PCL document created, the header's PCL is &l2a ( means letter paper ). When i pipe before to print by "sed", i can change this and replace to print in the correct A4 format ( &l6a ), OK but filters in remote printers ( printcap ) are not allowed.
1 - Is it possible to force the correct A4 format in pcl.cfg file ?
2 - Is it possible to replace phs-to-pcl by a shell script which pipe, "sed" the input to phs-to-pcl ( already try -> echec ) ?
3 -Is it possible to replace pcl:$d:lpr by a shell script which pipe, "sed" the input to lpr -Pxxxx command
4 - Find a tip to pass the remote/filter printcap limit ?
If someone can help me !!!
System : QNX 6.3.2 , APKG HP already installed ( Patch ID 836 )Yves Digaud2012-12-04T14:17:19Zpost97576: Problem resolving deadlock with HAMVikram Yadavhttp://community.qnx.com/sf/go/post975762012-11-28T16:03:13Z2012-11-28T16:03:13ZHi,
It seems like the sample program in HAM tutorial section to maintain liveness is not able to locate '/pro/ham/mutex_remove_deadlock.sh' file to resolve the deadlock after missing heartbeats from registered threads.
Any ideas on why the sh file is not there or does it take some time to appear??Vikram Yadav2012-11-28T16:03:13Zpost97572: Re: Undefined reference error with ham functionsVikram Yadavhttp://community.qnx.com/sf/go/post975722012-11-28T15:57:54Z2012-11-28T15:57:54ZI has a typo in linked library name.
Thank you.Vikram Yadav2012-11-28T15:57:54Zpost97467: Re: Undefined reference error with ham functionsElena Laskavaiahttp://community.qnx.com/sf/go/post974672012-11-26T22:01:03Z2012-11-26T22:01:03ZIt finds the declaration but not definition. You probably did not link
against the library that it required for this
On 12-11-24 05:17 PM, Vikram Yadav wrote:
> Hi,
> I'm getting undefined refenece error while building the project for functions in "ha/ham.h"
> such as ham_heartbeat(). Although the momentics is able to find the declaration in ham.h but is still giving this error. Any ideas on what might be causing this? Any help is appreciated.
> Thank you
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post97436
> To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.comElena Laskavaia2012-11-26T22:01:03Zpost97462: Re: rtkit install from usb flash?Norton Allenhttp://community.qnx.com/sf/go/post974622012-11-26T20:13:02Z2012-11-26T20:13:02ZYes, although it is not a very robust solution. It works for certain specific flash drives some of the time. A more robust solution would probably require matching the driver settings to the flash drive, and build a custom boot image for each drive. I am attaching the build file I used, which is a fairly straightforward modification of the rtkit example.Norton Allen2012-11-26T20:13:02Zpost97436: Undefined reference error with ham functionsVikram Yadavhttp://community.qnx.com/sf/go/post974362012-11-24T22:17:58Z2012-11-24T22:17:58ZHi,
I'm getting undefined refenece error while building the project for functions in "ha/ham.h"
such as ham_heartbeat(). Although the momentics is able to find the declaration in ham.h but is still giving this error. Any ideas on what might be causing this? Any help is appreciated.
Thank youVikram Yadav2012-11-24T22:17:58Zpost97428: Re: Momentics v4.7.0, Linux: Files deleted in Project Explorer get deleted permanently from the diskElena Laskavaiahttp://community.qnx.com/sf/go/post974282012-11-23T18:29:08Z2012-11-23T18:29:08ZMomentics does not really support virtual file system. If you delete the
file - it is gone from the disk.
On 12-11-21 04:09 PM, Oleg Volosin wrote:
> Thats it. Just like the topic says. If I select a source file in Project Explorer and use Delete from context menu the file is deleted from the project but is also deleted from the disk permanently. I would expect this to only remove the reference from the project, not also physically kill the file. Or at least ask what to do exactly. Thanks God I committed to svn before deleting a bunch of files in Project Explorer, otherwise could easily scrap half a day of work...
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post97357
> To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.comElena Laskavaia2012-11-23T18:29:08Zpost97403: Re: Error in running programElena Laskavaiahttp://community.qnx.com/sf/go/post974032012-11-22T18:33:47Z2012-11-22T18:33:47ZMeans no space in /tmp. If you have another folder on device which has
space change it Launch Configuration dialog
On 12-11-21 06:00 AM, pooja chahal wrote:
> When error like mentioned below come “downloading and starting the application…………..” has encountered a problem.
> Transfer of 'C:\DOCUME~1\POOJAC~1\LOCALS~1\Temp\fifo_gxx60180.tmp' to '/tmp/fifo_gPooja_chahal135349373170262' failed.
> Write error: No space left on device
>
>
> this error came when i try to run the program from IDE.
> Please suggest me some solution.
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post97330
> To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.comElena Laskavaia2012-11-22T18:33:47Zpost97401: Re: Installing 6.50 SP1 breaks make (can't find qconfig.mk)Elena Laskavaiahttp://community.qnx.com/sf/go/post974012012-11-22T18:28:45Z2012-11-22T18:28:45Z(just a workaround)
Install 650
Back it up
Install SDP1
Restore missing files from 650 backup
On 12-11-22 04:13 AM, Pratik Sinha wrote:
> sudo -E doesn't work for me either. Any solution?
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post97370
> To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.comElena Laskavaia2012-11-22T18:28:45Zpost97370: Re: Installing 6.50 SP1 breaks make (can't find qconfig.mk)Pratik Sinhahttp://community.qnx.com/sf/go/post973702012-11-22T09:13:36Z2012-11-22T09:13:36Zsudo -E doesn't work for me either. Any solution?Pratik Sinha2012-11-22T09:13:36Zpost97357: Momentics v4.7.0, Linux: Files deleted in Project Explorer get deleted permanently from the diskOleg Vhttp://community.qnx.com/sf/go/post973572012-11-21T21:09:13Z2012-11-21T21:09:13ZThats it. Just like the topic says. If I select a source file in Project Explorer and use Delete from context menu the file is deleted from the project but is also deleted from the disk permanently. I would expect this to only remove the reference from the project, not also physically kill the file. Or at least ask what to do exactly. Thanks God I committed to svn before deleting a bunch of files in Project Explorer, otherwise could easily scrap half a day of work...Oleg V2012-11-21T21:09:13Zpost97356: Include existing source tree into QNX C++ Project in Momentics v4.7.0, LinuxOleg Vhttp://community.qnx.com/sf/go/post973562012-11-21T21:00:21Z2012-11-21T21:00:21ZI asked this first in Core Tools but then realized I'm in a wrong branch.
Basically, the problem is I seems can't import an exiting source tree preserving complete directory structure into a QNX C++ Project in Momentics. The tree gets imported and appears under project in Project Explorer but the source files are excluded from the build. I'm just getting
make[2]: Nothing to be done for `all'.
The only working way to add existing files into QNX C++ Project I found so far is to drag & drop files manually from Nautilus into Project Explorer in Momentics. Now this is an acceptable solution if I had a bunch of files but I have hundreds and hundreds of them. They are all organized into a nice and clean structure on the disk. I hate the idea to manually drag & drop them into one flat group in Project Explorer in Momentics. There is no way I can then find any file in there to edit it.
Strangely enough, importing an existing source tree (preserving the directory structure) works ok in same Momentics IDE if I go with "C/C++ Project" rather than "QNX C++ Project". Used this a lot in stock Eclipse builds too.
Any ideas how to fix this?
Thanks.Oleg V2012-11-21T21:00:21Zpost97330: Error in running programpooja chahalhttp://community.qnx.com/sf/go/post973302012-11-21T11:00:10Z2012-11-21T11:00:10ZWhen error like mentioned below come “downloading and starting the application…………..” has encountered a problem.
Transfer of 'C:\DOCUME~1\POOJAC~1\LOCALS~1\Temp\fifo_gxx60180.tmp' to '/tmp/fifo_gPooja_chahal135349373170262' failed.
Write error: No space left on device
this error came when i try to run the program from IDE.
Please suggest me some solution.pooja chahal2012-11-21T11:00:10Zpost97308: Remote Debugging Not Hitting BreakpointsJVhttp://community.qnx.com/sf/go/post973082012-11-20T16:54:59Z2012-11-20T16:54:59ZI am debugging a program on a remote target and I can see the program running on the target but execution is not halting on any of the breakpoints I've set. I can see them in the Breakpoints tab of the debugger perspective but the program is not stopping.JV2012-11-20T16:54:59Zpost97307: Re: rtkit install from usb flash?Ole Jørgen Legårdhttp://community.qnx.com/sf/go/post973072012-11-20T16:31:11Z2012-11-20T16:31:11ZDid you find a solution for this? I want to do the same thing.Ole Jørgen Legård2012-11-20T16:31:11Zpost97262: Re: Dynamic HTML auto refresh using ds data server with slinger and qnxvarTrevor Gelowskyhttp://community.qnx.com/sf/go/post972622012-11-16T15:22:13Z2012-11-16T15:22:13ZHi Raymond,
If you're using JQuery to perform AJAX requests on a Slinger-hosted page, your best bet might be to write a CGI script which returns a JSON object (or some other kind of formatted information), which JQuery can then use to update the DIV.
The qnxvar SSI is processed on the server side, and is only updated when the page is refreshed. By using a CGI script, you can get any information you need, without needing a controller to explicitly update any global state variable.
Here's a quick tutorial on CGI scripts (in Perl, and C): http://www.jmarshall.com/easy/cgi/
The w3c schools has an excellent AJAX tutorial which may be exactly what you need: http://www.w3schools.com/jquery/jquery_ajax_intro.asp
The Slinger documentation contains information on how to set up a cgi-bin directory where you can put your CGI scripts.
If you really wish to use ds/qnxvar, what you can do is make a simple page that just contains the variables you need. You then have JQuery poll that page, and parse the information from the page in order to update the DIV.
In my opinion, the CGI option will perform better since it doesn't require a persistent server to update a state variable, but really you can do whatever is most convenient for you.
Regards,
TrevorTrevor Gelowsky2012-11-16T15:22:13Zpost97260: Dynamic HTML auto refresh using ds data server with slinger and qnxvarRaymond Flachhttp://community.qnx.com/sf/go/post972602012-11-16T14:51:59Z2012-11-16T14:51:59ZI am tasked with developing a web page interface for the device. This page will dynamically auto update data being displayed whose source is the embedded application. I was wondering if you could point me in the right direction.
I found out that QNX comes with a light duty web page server called Slinger. I managed to get the server to load and run. I also discovered that QNX has a data server “ds” that can be used to serve up global data to Slinger. So I wrote some test html and a server application that generates a count string. I managed to get my web page to show the ds server data on it using the qnxvar read function.
Here is the problem I cannot overcome: I think I need some AJAX programming techniques to get an individual DIV to refresh automatically instead of refreshing the whole page. I found a lot of examples of that, most of them use JQUERY and/or SetInterval. However, I have found not a single example where the data source is a qnxvar. I do not know how to use the ds server in conjunction with the html to auto refresh data elements on the web page. I realize this is a javascript learning curve for me, and I am in desperate need of some direction. Am I taking the wrong approach entirely? Please assist me or get me pointed in the right direction.Raymond Flach2012-11-16T14:51:59Zpost96840: Re: multiple definition of 'main ' error......Pavol Kycinahttp://community.qnx.com/sf/go/post968402012-11-05T14:06:29Z2012-11-05T14:06:29ZWhy don't you split the code to separate source code files?Pavol Kycina2012-11-05T14:06:29Zpost96839: RE: multiple definition of 'main ' error......Mario Charesthttp://community.qnx.com/sf/go/post968392012-11-05T12:44:27Z2012-11-05T12:44:27ZYou need to do some reading to understand the basic concept of programs/process/thread and shared memory.
In a nut shell because you are using SHARED-memory it`s ok to use two programs. That is what SHARED memory is for.
-----Message d'origine-----
De : pooja chahal [mailto:community-noreply@qnx.com]
Envoyé : Monday, November 05, 2012 7:06 AM
À : momentics-community
Objet : multiple definition of 'main ' error......
i am attaching my code they are not separate programs but separate processes , because i have to write and read from same memory llocation. There is only one main in each process so y it is showing error,please suggest me some solution.
thanks in advance....
_______________________________________________
QNX Momentics Community Support
http://community.qnx.com/sf/go/post96835
To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.comMario Charest2012-11-05T12:44:27Zpost96835: multiple definition of 'main ' error......pooja chahalhttp://community.qnx.com/sf/go/post968352012-11-05T12:05:57Z2012-11-05T12:05:57Zi am attaching my code they are not separate programs but separate processes , because i have to write and read from same memory llocation. There is only one main in each process so y it is showing error,please suggest me some solution.
thanks in advance....pooja chahal2012-11-05T12:05:57Zpost96833: RE: multiple definition of 'main ' error......Mario Charesthttp://community.qnx.com/sf/go/post968332012-11-05T11:33:39Z2012-11-05T11:33:39ZYou have two main() in the same program, that illegal. You have to split your process in two separate programs each with its own main()
-----Message d'origine-----
De : pooja chahal [mailto:community-noreply@qnx.com]
Envoyé : Sunday, November 04, 2012 11:51 PM
À : momentics-community
Objet : multiple definition of 'main ' error......
I have made two different process to work in shared memory,one process shmcreator writes into shared memory another process shmuser read from same memory location.
The contents of shared memory object are defined using a structure. All processes that want to access the shared memory object should use this structure to access the proper contents.
but when i m compiling error is comin like:
shmuser.o: In function `main':
shmuser.c:(.text+0x0): multiple definition of `main'
shmcreator.o:shmcreator.c:(.text+0x0): first defined here
shmuser.o:(.data+0x0): multiple definition of `progname'
shmcreator.o:(.data+0x0): first defined here
cc: D://host/win32/x86/usr/bin/ntox86-ld caught signal 1
make.exe[2]: *** [D:/qnx_nov/3nov/x86/o/3nov] Error 1
make.exe[2]: Target `all' not remade because of errors.
make.exe[2]: Leaving directory `D:/qnx_nov/3nov/x86/o'
make.exe[1]: [all] Error 2 (ignored)
D://host/win32/x86/usr/bin/make.exe -j 1 -Co-g -fMakefile all
make.exe[2]: Entering directory `D:/qnx_nov/3nov/x86/o-g'
D://host/win32/x86/usr/bin/rm -f D:/qnx_nov/3nov/x86/o-g/3nov_g
D://host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -oD:/qnx_nov/3nov/x86/o-g/3nov_g shmcreator.o shmuser.o -L . -L D://target/qnx6/x86/lib -L D://target/qnx6/x86/usr/lib -Wl,--rpath-link . -Wl,--rpath-link D://target/qnx6/x86/lib -Wl,--rpath-link D://target/qnx6/x86/usr/lib -g
shmuser.o:(.data+0x0): multiple definition of `progname'
shmcreator.o:(.data+0x0): first defined here
shmuser.o: In function `main':
D:/qnx_nov/3nov/shmuser.c:26: multiple definition of `main'
shmcreator.o:D:/qnx_nov/3nov/shmcreator.c:25: first defined here
cc: D://host/win32/x86/usr/bin/ntox86-ld caught signal 1
make.exe[2]: *** [D:/qnx_nov/3nov/x86/o-g/3nov_g] Error 1
make.exe[2]: Target `all' not remade because of errors.
make.exe[2]: Leaving directory `D:/qnx_nov/3nov/x86/o-g'
make.exe[1]: [all] Error 2 (ignored)
make.exe[1]: Leaving directory `D:/qnx_nov/3nov/x86'
_______________________________________________
QNX Momentics Community Support
http://community.qnx.com/sf/go/post96822
To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.comMario Charest2012-11-05T11:33:39Zpost96823: multiple definition of 'main' errorpooja chahalhttp://community.qnx.com/sf/go/post968232012-11-05T05:01:35Z2012-11-05T05:01:35Zplease suggest me how to solve the error of multiple definition of 'main' when i am using two different processes but while compiling it shows the error. i am attaching my code.
thanks in advance..:)pooja chahal2012-11-05T05:01:35Zpost96822: multiple definition of 'main ' error......pooja chahalhttp://community.qnx.com/sf/go/post968222012-11-05T04:50:57Z2012-11-05T04:50:57ZI have made two different process to work in shared memory,one process shmcreator writes into shared memory another process shmuser read from same memory location.
The contents of shared memory object are defined using a structure. All processes that want to access the shared memory object should use this structure to access the proper contents.
but when i m compiling error is comin like:
shmuser.o: In function `main':
shmuser.c:(.text+0x0): multiple definition of `main'
shmcreator.o:shmcreator.c:(.text+0x0): first defined here
shmuser.o:(.data+0x0): multiple definition of `progname'
shmcreator.o:(.data+0x0): first defined here
cc: D://host/win32/x86/usr/bin/ntox86-ld caught signal 1
make.exe[2]: *** [D:/qnx_nov/3nov/x86/o/3nov] Error 1
make.exe[2]: Target `all' not remade because of errors.
make.exe[2]: Leaving directory `D:/qnx_nov/3nov/x86/o'
make.exe[1]: [all] Error 2 (ignored)
D://host/win32/x86/usr/bin/make.exe -j 1 -Co-g -fMakefile all
make.exe[2]: Entering directory `D:/qnx_nov/3nov/x86/o-g'
D://host/win32/x86/usr/bin/rm -f D:/qnx_nov/3nov/x86/o-g/3nov_g
D://host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -oD:/qnx_nov/3nov/x86/o-g/3nov_g shmcreator.o shmuser.o -L . -L D://target/qnx6/x86/lib -L D://target/qnx6/x86/usr/lib -Wl,--rpath-link . -Wl,--rpath-link D://target/qnx6/x86/lib -Wl,--rpath-link D://target/qnx6/x86/usr/lib -g
shmuser.o:(.data+0x0): multiple definition of `progname'
shmcreator.o:(.data+0x0): first defined here
shmuser.o: In function `main':
D:/qnx_nov/3nov/shmuser.c:26: multiple definition of `main'
shmcreator.o:D:/qnx_nov/3nov/shmcreator.c:25: first defined here
cc: D://host/win32/x86/usr/bin/ntox86-ld caught signal 1
make.exe[2]: *** [D:/qnx_nov/3nov/x86/o-g/3nov_g] Error 1
make.exe[2]: Target `all' not remade because of errors.
make.exe[2]: Leaving directory `D:/qnx_nov/3nov/x86/o-g'
make.exe[1]: [all] Error 2 (ignored)
make.exe[1]: Leaving directory `D:/qnx_nov/3nov/x86'pooja chahal2012-11-05T04:50:57Zpost96737: how to handle signalkill()Joe Whttp://community.qnx.com/sf/go/post967372012-11-01T08:43:07Z2012-11-01T08:43:07Zwhen I debug a application, it crash and have haven't clear stack information as attach. How can I handle this problem or get the real error stack.Joe W2012-11-01T08:43:07Zpost96541: RE: Can we use Netfront instead of Slinger as a web server in QNX?Max Feilhttp://community.qnx.com/sf/go/post965412012-10-23T07:57:15Z2012-10-23T07:57:15ZNetfront is not a web server in the sense that you are thinking. It is a web client.
In Photon, several web clients were implemented using a general mechanism we called "PtWebServer": Voyager, Netfront, Mozilla. This general mechanism allows more than one kind of web layout engine to be chosen for PtWeb widgets, which interface via PtWebClient.
So when we refer to the "Netfront server" or "Mozilla server", this is purely an implementation detail at the client end. It is not at all a true web server like Slinger.
I suggest looking into publicly available QNX ports of Apache 2 if you want to replace Slinger.
Max
-----Original Message-----
From: Samaneh Dehghan [mailto:community-noreply@qnx.com]
Sent: Tuesday, October 23, 2012 3:02 AM
To: momentics-community
Subject: Can we use Netfront instead of Slinger as a web server in QNX?
Hello everybody,
I have used slinger web server and ds data server for developing a web interface for my embedded system.
but I need a more secure web server than slinger, to support SSL. Netfront supports many standards like SSL. but in "http://www.qnx.co.jp/developers/articles/rel_1060_7.html", it is written that "This utility is available only in the Web Browser Technology Development Kit (TDK)." what does it mean? It means that I can't use it instead of slinger in my work?
Thanks in advance.
_______________________________________________
QNX Momentics Community Support
http://community.qnx.com/sf/go/post96539
To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.comMax Feil2012-10-23T07:57:15Zpost96539: Can we use Netfront instead of Slinger as a web server in QNX?Samaneh Dehghanhttp://community.qnx.com/sf/go/post965392012-10-23T07:01:40Z2012-10-23T07:01:40ZHello everybody,
I have used slinger web server and ds data server for developing a web interface for my embedded system.
but I need a more secure web server than slinger, to support SSL. Netfront supports many standards like SSL. but in "http://www.qnx.co.jp/developers/articles/rel_1060_7.html", it is written that "This utility is available only in the Web Browser Technology Development Kit (TDK)." what does it mean? It means that I can't use it instead of slinger in my work?
Thanks in advance.Samaneh Dehghan2012-10-23T07:01:40Zpost96343: baud=460800 with devc_ser8250?Norton Allenhttp://community.qnx.com/sf/go/post963432012-10-15T20:53:58Z2012-10-15T20:53:58ZI am working with a Versalogic EBX-11 board (AMD LX800). The manual indicates that the hardware for com3 and com4 are capable of running at 460800 baud. Can devc_ser8250 be configured to handle such a high baud rate?
My sense is that the baud rate of the 16550 is constrained by the input clock frequency, and I don't know if there is any way to change that input clock frequency. The documentation for devc-ser8250 indicates that the -c option specifies a custom clock rate, but it is unclear whether that is merely informing the driver what the input clock is or asking the driver to adjust the input clock rate. I suspect it is the former. If so, is there any way to actually increase the input clock rate?Norton Allen2012-10-15T20:53:58Zpost96336: Re: IO-Address for mmap_device_io with PC-104Adam Barberhttp://community.qnx.com/sf/go/post963362012-10-15T18:01:08Z2012-10-15T18:01:08ZOk great, thanks a lot for the help.
I'm working on a new problem now, in that I'm trying to use this system for real time control of a robotic system. I'd like to have a control loop run at say 1khz, and maybe a loop that checks the sensors at some other frequency, I'm very lost as to how to go about implementing this.
I can't really use the hardware counters/timers on the Sensoray 526 I have as I 3 of them for encoder inputs so I'd like to use another method. I find the documentation really lacking on how to go about doing this, should I use InterruptAttach()? InterruptAttachEvent()? have the clock send a pulse or message?
I can't find any really good documentation or sample code for this sort of problem. I know people are doing things like this and so it must not be that hard, but accurate loop timing is one of the reasons I decided to use the QNX RTOS.Adam Barber2012-10-15T18:01:08Zpost96218: Re: IO-Address for mmap_device_io with PC-104Warren Deitchhttp://community.qnx.com/sf/go/post962182012-10-10T23:43:35Z2012-10-10T23:43:35ZStrictly - you should only be able to access the first register (Timer control) - anything else is outside the mapped space and should fail with a SIGSEGV.
This suggests very loose limits checking! For safety, don't depend on this behavior - it might be 'fixed' in a new release/patch.Warren Deitch2012-10-10T23:43:35Zpost96185: Re: IO-Address for mmap_device_io with PC-104Adam Barberhttp://community.qnx.com/sf/go/post961852012-10-10T14:47:35Z2012-10-10T14:47:35ZHmmm so I had been using
uintptr_t ioPtr = mmap_device_io (2, 0x2c0); // for the factory supplied base address
And it has been working fine for now, will this cause problems in the future?Adam Barber2012-10-10T14:47:35Zpost96164: Re: IO-Address for mmap_device_io with PC-104Warren Deitchhttp://community.qnx.com/sf/go/post961642012-10-09T22:33:55Z2012-10-09T22:33:55ZThe registers are 16 bit (2 bytes) as you said. There are 27 registers = 54 bytes.
This is supported by 6 low order address lines suggesting a maximum of 64 byte IO space.
Length = 54 bytes
uintptr_t ioPtr = mmap_device_io (54, 0x2c0); // for the factory supplied base address
Don't forget the ThreadCtl(_NTO_TCTL_IO, 0) call to get IO privileges.Warren Deitch2012-10-09T22:33:55Zpost96129: Re: IO-Address for mmap_device_io with PC-104Adam Barberhttp://community.qnx.com/sf/go/post961292012-10-09T15:30:23Z2012-10-09T15:30:23ZGreat, thank you.
I probably read that a few times and didn't realize that was what I was looking for, I assumed the address was set by the OS.
My next question involves the other input to mmap_device_io, the "length." Each register is 16 bits, so is the length 2 (2 bytes)? Or is it 27 ("Model 526 is controlled through a set of 27 registers mapped into I/O space")?Adam Barber2012-10-09T15:30:23Zpost96113: Re: IO-Address for mmap_device_io with PC-104Warren Deitchhttp://community.qnx.com/sf/go/post961132012-10-08T22:58:05Z2012-10-08T22:58:05ZI saw a similar question recently and the answer referred to the manual
http://www.mathworks.com.au/support/solutions/en/data/1-57FT94/index.html?product=XP&solution=1-57FT94
Page 17
"Jumpers marked ADDR15-6 select the higher 10 bits of the board’s base address in I/O space.
Inserted jumper sets the corresponding bit to 0. The board ships with base address set to 0x2C0."Warren Deitch2012-10-08T22:58:05Zpost96112: IO-Address for mmap_device_io with PC-104Adam Barberhttp://community.qnx.com/sf/go/post961122012-10-08T22:45:58Z2012-10-08T22:45:58ZI'm running QNX 6.5 on an Advantech PCM-3350 PC-104 stack with a Sensoray 526 Multifunction I/O card. It seems as though the best way to access the ports on this is through the registers, and it seems as though the best way to do that is by setting up with mmap_device_io(). However, I have no idea how to find base address for the IO card.
Any help would be greatly appreciated.Adam Barber2012-10-08T22:45:58Zpost95893: Re: Installing 6.50 SP1 breaks make (can't find qconfig.mk)Grigore Lupescuhttp://community.qnx.com/sf/go/post958932012-09-27T15:45:51Z2012-09-27T15:45:51ZI still have the same problem even with preserve env variables ie. "-E" .Grigore Lupescu2012-09-27T15:45:51Zpost95273: Re: Cross compiling Apache with pkgsrc?Germain Heberthttp://community.qnx.com/sf/go/post952732012-08-29T19:23:42Z2012-08-29T19:23:42ZI'm looking to cross-compile Apache.
I've you been able to do it?
GermainGermain Hebert2012-08-29T19:23:42Zpost95073: Touchscreen on QNX6.5.0 for Kontron nanoEXTexpressAlex Machhttp://community.qnx.com/sf/go/post950732012-08-23T13:55:35Z2012-08-23T13:55:35ZHi,
Is there touchscreen egalax USB driver for Kontron nanoEXTexpress x86 board? If yes whera can I get it?
Thanks,
Alex.Alex Mach2012-08-23T13:55:35Zpost94999: Re: Installing 6.50 SP1 breaks make (can't find qconfig.mk)Shawn Ungerhttp://community.qnx.com/sf/go/post949992012-08-21T19:32:17Z2012-08-21T19:32:17ZI discovered the hard way that you MUST include the -E (preserve environment variables) when installing. If not, many, many files are wiped out.
I.e.
sudo -E ./qnxsdp-6.5.0SP1-20121234567-linux.bin
The only solution after the fact is to completely uninstall 6.5.0* and start over by installing 6.5.0 and then applying the service pack again.
I hope this helps.Shawn Unger2012-08-21T19:32:17Zpost94957: Re: Problem building project: error in make commandPourya Shirazianhttp://community.qnx.com/sf/go/post949572012-08-20T19:07:14Z2012-08-20T19:07:14Zi used sudo -E for installing SP1 and the problem is fixed now.Pourya Shirazian2012-08-20T19:07:14Zpost94905: Re: Problem building project: error in make commandPourya Shirazianhttp://community.qnx.com/sf/go/post949052012-08-16T22:03:27Z2012-08-16T22:03:27ZI have the same issue under Ubuntu 12.04. I installed 6.5.0 with SP1 in "/opt/qnx650".
What might be the issue in my case then?Pourya Shirazian2012-08-16T22:03:27Zpost94828: Re: Installing 6.50 SP1 breaks make (can't find qconfig.mk)Kevin Stallardhttp://community.qnx.com/sf/go/post948282012-08-14T21:17:33Z2012-08-14T21:17:33ZSorry for my dis-jointed words in the previous post.
I just did some more testing with the SP1 6.5.0 linux instal and it is removing a whole bunch of files. Most of the files in the /usr/include directory and too many others to recount here.
Installing on Ubuntu 10.04 64 bit.
Thanks
KevinKevin Stallard2012-08-14T21:17:33Zpost94827: Re: Momentics IDE fails to start - stuck on "Validating C/C++ buil...tings: (0%)"Omair Muhihttp://community.qnx.com/sf/go/post948272012-08-14T21:17:29Z2012-08-14T21:17:29ZActually, after some google'ing I found that deleting the following file from your workspace can do the trick:
-rw-r--r-- 1 omuhi domusers 437563 2012-08-10 15:24 ./.metadata/.plugins/org.eclipse.core.resources/.snap
See:
http://stackoverflow.com/questions/207843/how-do-i-prevent-eclipse-from-hanging-on-startup
Regards,
OmairOmair Muhi2012-08-14T21:17:29Zpost94822: Re: Installing 6.50 SP1 breaks make (can't find qconfig.mk)Kevin Stallardhttp://community.qnx.com/sf/go/post948222012-08-14T20:09:51Z2012-08-14T20:09:51ZSo it appears as though the files in the $(QNX_TARGET)/usr/include/mk folder have been removed by the SP1 install.
Anyway to do a QNX i nstall in "repair" mode? Why is SP1 deleting but not updating files?
Thanks
KevinKevin Stallard2012-08-14T20:09:51Zpost94820: Installing 6.50 SP1 breaks make (can't find qconfig.mk)Kevin Stallardhttp://community.qnx.com/sf/go/post948202012-08-14T19:57:58Z2012-08-14T19:57:58ZI installed 6.5.0 SP1 just after a band new installation of 6.5.0 and it breaks make. make is unable to find qconfig.mk.
It worked before I installed the service pack.
Ideas?
Thanks
KevinKevin Stallard2012-08-14T19:57:58Zpost94819: Re: /opt/qnx650/target/qnx6/arlmle library filesKevin Stallardhttp://community.qnx.com/sf/go/post948192012-08-14T19:53:30Z2012-08-14T19:53:30ZCorrupted install...I downloaded the individual 6.5.0 version (instead of the dvd) and it works...Kevin Stallard2012-08-14T19:53:30Zpost94817: /opt/qnx650/target/qnx6/arlmle library filesKevin Stallardhttp://community.qnx.com/sf/go/post948172012-08-14T18:54:48Z2012-08-14T18:54:48ZHey Guys,
This relates to the QNX 650 Linux (Ubuntu 10.4).
Both the old and newly installed QNX 650 SDP seems to be missing files from the armle folder. It contains only one lib*.a file, while the other targets have numerous lib*.a files.
I've also installed SP1 to no avail....
When I do the installation, it complains about some errors during installation, and suggests that i review the log, but I don't know where the installation log is placed.
Ideas?
Thanks
KevinKevin Stallard2012-08-14T18:54:48Zpost94811: Re: Momentics IDE fails to start - stuck on "Validating C/C++ buil...tings: (0%)"Omair Muhihttp://community.qnx.com/sf/go/post948112012-08-14T16:50:39Z2012-08-14T16:50:39ZHi,
Anyone have a more reliable way of resolving this issue?
My own solution, above, worked a few times but not in the most recent occurrence of this issue. So, I can't start Momentics anymore.
Regards,
OmairOmair Muhi2012-08-14T16:50:39Zpost94720: recv() does not immediately return when data is availableJan Henrikhttp://community.qnx.com/sf/go/post947202012-08-09T14:41:50Z2012-08-09T14:41:50ZHi,
I have a UDP sender attached to my QNX 6.5.0 machine that sends me an UDP packet every ~1.2ms. I want to process those packets with as low latency and low jitter as possible.
When I do a blocking call to recv() the method returns after 1ms or 2ms, with realtime clock tick length set to the default value of 1ms. If I set the realtime clock to a tick size of 0.1ms, I get interval times at 1.2ms and 1.3ms per recv() call. So the waiting time of recv() seems to be coupled to the realtime clock.
Does it not work interrupt based and should return immediately after receiving the packet?
I tried to network cards, one onboard with an Intel chip and the other connected via PCI, also with an Intel chip.
Can anyone help me?
Regards,
JanJan Henrik2012-08-09T14:41:50Zpost94660: dcheck for qnx6fs?Norton Allenhttp://community.qnx.com/sf/go/post946602012-08-06T20:08:40Z2012-08-06T20:08:40ZThe qnx6fs doc does not mention how it handles bad blocks on the media. Does it detect and mark them on its own? For the qnx4 filesystem, we could run dcheck to check the media and chkfsys would recognize the results and adjust for them (IIRC). Is there any similar operation for qnx6fs?Norton Allen2012-08-06T20:08:40Zpost94487: Re: the problem of Audio data receivebhanu shankar d ghttp://community.qnx.com/sf/go/post944872012-07-28T10:51:27Z2012-07-28T10:51:27Zhi
Did you find any solution for that i am facing same issue now!
> Good afternoon!
> I'm writing a program about Audio driver(Microphone).
> I met some problems:
> Audio data :(in Audio data receive end callback function)
> i use usbd_urb_status()to got the urb's status ,status is USBD_URB_CMP_ERR
> ,then i got the return of function :5(EIO).
> i use the isco pipe to receive the data ,after i insertion the device.
> i set the urb like this:
> usbd_setup_isochronous(micro_info->urb_in,URB_DIR_IN|URB_ISOCH_ASAP|
> URB_SHORT_XFER_OK,0,rbuf,size);
> is there any problem with my parameter or i need some other settings??
>
> by the way:(if device is a multy devide)
> usbd_select_config ()is used only once in the first insertion or need use it
> by every interface insertion .
>
> I'm waiting for your requestion.
> Thanks a lot!!!bhanu shankar d g2012-07-28T10:51:27Zpost94452: QNX 6.4.0 and FTDI FT245RAndrey Struninhttp://community.qnx.com/sf/go/post944522012-07-27T13:36:57Z2012-07-27T13:36:57Zwhether there is support for this equipment in QNX 6.4?
Need to make it workAndrey Strunin2012-07-27T13:36:57Zpost94427: ETFS file systemGanapathi Dhttp://community.qnx.com/sf/go/post944272012-07-26T10:55:49Z2012-07-26T10:55:49Zhow to create ETFS file system on external usb device.Ganapathi D2012-07-26T10:55:49Zpost94404: Re: Momentics IDE fails to start - stuck on "Validating C/C++ buil...tings: (0%)"Omair Muhihttp://community.qnx.com/sf/go/post944042012-07-25T15:46:09Z2012-07-25T15:46:09ZHi,
Just tried starting Momentics today and it worked this time.
Regards,
OmairOmair Muhi2012-07-25T15:46:09Zpost94395: Momentics IDE fails to start - stuck on "Validating C/C++ buil...tings: (0%)"Omair Muhihttp://community.qnx.com/sf/go/post943952012-07-24T17:58:58Z2012-07-24T17:58:58ZHi,
I had been using my Momentics for quite some time now without any major issues until we had a power outage yesterday. I believe my Momentics IDE instance must have shut down unexpectedly as a result of the outage. When I tried to start it today, the C/C++ perspective opens up but then it stops responding and just freezes.
I have tried using the run_qde_admin.sh scripts to start it up but to no avail.
I also tried running the qconfig utility and logged out and back in but that didn't help either.
Any ideas on how to recover from this situation?
Thanks,
OmairOmair Muhi2012-07-24T17:58:58Zpost94364: Can IDE (Momentics 4.7) build multi-level source tree?David Fraserhttp://community.qnx.com/sf/go/post943642012-07-20T09:48:39Z2012-07-20T09:48:39ZHi,
I'm new to QNX so apologies in advance for wrong assumptions.
As part of a larger development, I have a third party source tree which needs (im)ported to QNX 6.5. The source is hierarchical with subdirectories of subdirectories containing source files (and has no usable Makefiles)
I'd hoped to import it and build it all as a QNX C project from the IDE but can't see how to do this. Does the IDE allow building of source trees where files are at different levels or does it require a strict arrangement where all source files are at the same depth in the hierarchy (which is what the "Conventions for Recursive Makefiles and Directories" doc seems to imply)?
Thanks in advance,
DavidDavid Fraser2012-07-20T09:48:39Zpost94365: Re: Can IDE (Momentics 4.7) build multi-level source tree?David Fraserhttp://community.qnx.com/sf/go/post943652012-07-20T09:37:01Z2012-07-20T09:37:01ZHa,
Apologies - I think I finally found where the documentation covers this.
Will post back, if I still have issues.
Cheers,
DavidDavid Fraser2012-07-20T09:37:01Zpost94294: sloggerMure Erichttp://community.qnx.com/sf/go/post942942012-07-17T16:44:21Z2012-07-17T16:44:21Zhello,
I am running QNX6.5 on platform ARM.
and use the following version of slogger and sloginfo :
# use -i sloginfo
NAME=sloginfo
DESCRIPTION=Utility to display system log (slogger) messages
DATE=2010/07/09-15:05:36-EDT
STATE=stable
HOST=mainbuild
USER=builder
VERSION=6.5.0
TAGID=89
# use -i slogger
NAME=slogger
DESCRIPTION=QNX system logging daemon
DATE=2010/07/09-14:22:59-EDT
STATE=stable
HOST=mainbuild
USER=builder
VERSION=6.5.0
TAGID=89
It works fine using the circular buffer in ram.
But when I try to use the -l and -f options of slogger to
writes the messages to a log file, the slogf function call
blocks for ever.
Is there anybody who meet the same behaviour ?
Thanks, Eric Mure.
:._______________
CONFIDENTIALITE : Ce message et les éventuelles pièces attachées sont
confidentiels. Si vous n'êtes pas dans la liste des destinataires,
veuillez informer l'expéditeur immédiatement et ne pas divulguer le
contenu à une tierce personne, ne pas l'utiliser pour quelque raison que
ce soit, ne pas stocker ou copier l'information qu'il contient sur un
quelconque support.Mure Eric2012-07-17T16:44:21Zpost94228: Re: QNX 6.5 compile with -fstack-protector-allHarry Wanghttp://community.qnx.com/sf/go/post942282012-07-12T16:53:48Z2012-07-12T16:53:48ZI know noramally I don't need specify -lc and the path. I added it just because I am having the link problem.
Anyway, now I know the problem is using -nostdlib. Thanks.Harry Wang2012-07-12T16:53:48Zpost94225: Re: QNX 6.5 compile with -fstack-protector-allRyan Mansfieldhttp://community.qnx.com/sf/go/post942252012-07-12T15:54:48Z2012-07-12T15:54:48ZAs I've mentioned the __stack_chk_fail_local is only available in the libc archive. Normally this is brought in implicitly by the driver but you're specifying -nostdlib and only linking against the libc.so..
Regards,
Ryan MansfieldRyan Mansfield2012-07-12T15:54:48Zpost94224: Re: QNX 6.5 compile with -fstack-protector-allHarry Wanghttp://community.qnx.com/sf/go/post942242012-07-12T15:49:28Z2012-07-12T15:49:28ZOK, I wrote a simplest sample for this. This problem happens only for linking a so file, no problem for exe file.
I created 5 files, sample1.c, sample2.c, main.c, sample.h and makefile.
You can put these files under one dir and type make under the NDK10.0.6.324 environment. It will build both sample and sample.so.0.0. You will see sample created but sample.so.0.0 failed with those undefined reference to `__stack_chk_fail_local' errors.
And If you comment out CFLAGS += -fstack-protector-all line in the makefile, both sample and sample.so.0.0 will be built.
Please note that in makefile, there is a hard coded path for libc.so.
Following are the file contents:
sample1.c
---------------------------------------
#include <stdio.h>
int sample1()
{
printf("sample1\n");
return 0;
}
sample2.c
---------------------------------------
#include <stdio.h>
int sample2()
{
printf("sample2\n");
return 0;
}
main.c
---------------------------------------
#include "sample.h"
int main(void)
{
sample1();
sample2();
return 0;
}
sample.h
---------------------------------------
extern int sample1(void);
extern int sample2(void);
makefile
---------------------------------------
#
# GNU Makefile
# Sample Applications
#
default: all
CC := ntox86-gcc
CFLAGS += -lang-c -fPIC -DPIC -fsigned-char
CFLAGS += -fstack-protector-all
CFLAGS += -Wformat=2
LD := $(CC)
LDFLAGS += -L$(LIBDIR)
LDFLAGS += -Wl,-z,relro,-z,now
LDFLAGS += -Lc:/bbndk/target_10_0_6_324/qnx6/x86/lib
LDSFLAGS += -shared -nostdlib -nostartfiles
USEDLIBS += -lc
SRCS := sample1.c sample2.c
OBJS := $(patsubst %.c,%.o,$(SRCS))
SO := sample.so.0.0
EXE := sample
#
# targets
#
all: $(EXE) $(SO)
# Compilation command
%.o: %.c
$(CC) -o $@ -c $(CFLAGS) $<
# Linking command
$(EXE): $(OBJS) main.o
$(CC) -o $@ $(LDFLAGS) $^ $(USEDLIBS)
%.so.0.0: $(OBJS)
$(CC) -o $@ $(LDFLAGS) $(LDSFLAGS) $^ $(USEDLIBS) -Wl,-soname,$(notdir $@).0
clean:
-rm -f $(EXE) *.oHarry Wang2012-07-12T15:49:28Zpost94177: Re: QNX 6.5 compile with -fstack-protector-allHarry Wanghttp://community.qnx.com/sf/go/post941772012-07-10T19:59:23Z2012-07-10T19:59:23ZI am using pure make file under command line. This is Windows version of NDK. I am using ntox86-gcc for compile and link. Are you also using Windows's NDK?
I will try linux version of the toolchain in a few days.
The project I am building is pretty big, I'll see if I can make a simpler one and reproduce the problem.
Thank you very much for your help.Harry Wang2012-07-10T19:59:23Zpost94174: Re: QNX 6.5 compile with -fstack-protector-allRyan Mansfieldhttp://community.qnx.com/sf/go/post941742012-07-10T18:57:42Z2012-07-10T18:57:42ZOn 12-07-10 02:53 PM, Harry Wang wrote:
> Yeah, I can see the symbols. But I still get the link problem.
Hmm, it works for me, and we're also building 10.0.6 with
-fstack-protector and we're not having any problems.
Are you using the qcc driver? Or the gcc driver? Can you email me an
test case?
Regards,
Ryan MansfieldRyan Mansfield2012-07-10T18:57:42Zpost94173: Re: QNX 6.5 compile with -fstack-protector-allHarry Wanghttp://community.qnx.com/sf/go/post941732012-07-10T18:53:52Z2012-07-10T18:53:52ZYeah, I can see the symbols. But I still get the link problem.Harry Wang2012-07-10T18:53:52Zpost94172: Re: QNX 6.5 compile with -fstack-protector-allRyan Mansfieldhttp://community.qnx.com/sf/go/post941722012-07-10T16:55:53Z2012-07-10T16:55:53ZOn 12-07-10 11:53 AM, Harry Wang wrote:
> Anyway, here is the -Wl, -t output:
>
> -lc (../../../bbndk/target_10_0_6_324/qnx6/x86/lib/libc.so)
> -lm (../../../bbndk/target_10_0_6_324/qnx6/x86/lib/libm.so)
> and I still get many:
>
> undefined reference to `__stack_chk_fail_local'
__stack_chk_fail_local is hidden in the shared object, and they're only
in the libcS.a/libc.a. And they're both there...
$ ntox86-nm x86/lib/libcS.a | grep "T __stack_chk_fail_local"
00000000 T __stack_chk_fail_local
$ ntox86-nm x86/lib/libc.a | grep "T __stack_chk_fail_local"
00000000 T __stack_chk_fail_local
Regards,
Ryan MansfieldRyan Mansfield2012-07-10T16:55:53Zpost94169: Re: QNX 6.5 compile with -fstack-protector-allHarry Wanghttp://community.qnx.com/sf/go/post941692012-07-10T15:58:13Z2012-07-10T15:58:13ZAnd objdump does show:
$ ntox86-objdump -T libc.so.3 |grep stack_chk
00089654 g DO .bss 00000004 __stack_chk_guard
00072050 g DF .text 0000001d __stack_chk_fail
$ ntox86-objdump -T libc.so |grep stack_chk
00089654 g DO .bss 00000004 __stack_chk_guard
00072050 g DF .text 0000001d __stack_chk_failHarry Wang2012-07-10T15:58:13Zpost94168: Re: QNX 6.5 compile with -fstack-protector-allHarry Wanghttp://community.qnx.com/sf/go/post941682012-07-10T15:53:47Z2012-07-10T15:53:47Zarmv7 and x86 compiler and libs are under the same QNX_HOST and QNX_TARGET. If I setup wrongly, armv7 libraries will also be 6.5 ones, it won't support stack-protector-strong.
Anyway, here is the -Wl, -t output:
-lc (../../../bbndk/target_10_0_6_324/qnx6/x86/lib/libc.so)
-lm (../../../bbndk/target_10_0_6_324/qnx6/x86/lib/libm.so)
and I still get many:
undefined reference to `__stack_chk_fail_local'Harry Wang2012-07-10T15:53:47Zpost94166: Re: QNX 6.5 compile with -fstack-protector-allRyan Mansfieldhttp://community.qnx.com/sf/go/post941662012-07-10T14:34:21Z2012-07-10T14:34:21ZOn 12-07-10 10:18 AM, Harry Wang wrote:
> Yes, otherwise armv7 compiler won't work, right?
No, what does the x86 libc have to do with the arm compiler?
Dumping the 10.0.6 x86 libc, it's ssp support is there in..
$ ntox86-objdump -T lib/libc.so.3 | grep stack_chk
00089654 g DO .bss 00000004 __stack_chk_guard
00072050 g DF .text 0000001d __stack_chk_fail
Do -Wl,-t when you're linking and find out which libc you're linking
against.
Regards,
Ryan MansfieldRyan Mansfield2012-07-10T14:34:21Zpost94165: Re: QNX 6.5 compile with -fstack-protector-allHarry Wanghttp://community.qnx.com/sf/go/post941652012-07-10T14:18:58Z2012-07-10T14:18:58ZYes, otherwise armv7 compiler won't work, right?
QNX_TARGET=C:/bbndk/target_10_0_6_324/qnx6
QNX_HOST=C:/bbndk/host_10_0_6_1/win32/x86
MAKEFLAGS=-IC:/bbndk/target_10_0_6_324/qnx6/usr/includeHarry Wang2012-07-10T14:18:58Zpost94158: Re: QNX 6.5 compile with -fstack-protector-allRyan Mansfieldhttp://community.qnx.com/sf/go/post941582012-07-09T22:10:44Z2012-07-09T22:10:44ZOn 12-07-09 05:52 PM, Harry Wang wrote:
> I encountered the same thing with BBNDK10.0.6 for x86, arm has no such a problem though.
Are you sure you're linking against the 10.0.6 x86 libc and not the
6.5.0 libc?
Regards,
Ryan MansfieldRyan Mansfield2012-07-09T22:10:44Zpost94156: Re: QNX 6.5 compile with -fstack-protector-allHarry Wanghttp://community.qnx.com/sf/go/post941562012-07-09T21:52:08Z2012-07-09T21:52:08ZI encountered the same thing with BBNDK10.0.6 for x86, arm has no such a problem though.Harry Wang2012-07-09T21:52:08Zpost94123: Re: Welcome to the QNX Momentics Community Support Forum !Edward Leehttp://community.qnx.com/sf/go/post941232012-07-06T13:34:25Z2012-07-06T13:34:25ZThe two binaries are the same application, except the one with the "_g" contains the symbol tables required for line-by-line debugging.Edward Lee2012-07-06T13:34:25Zpost94122: Re: Welcome to the QNX Momentics Community Support Forum !Edward Leehttp://community.qnx.com/sf/go/post941222012-07-06T13:32:20Z2012-07-06T13:32:20Zdo you have QNET running on the target?Edward Lee2012-07-06T13:32:20Zpost94112: Re: Welcome to the QNX Momentics Community Support Forum !rohitha vakamudihttp://community.qnx.com/sf/go/post941122012-07-06T07:59:29Z2012-07-06T07:59:29Z> Welcome to the QNX Momentics Community Support Forum !
>
> Use this forum to post questions, raise issues, propose enhancements and read
> announcements related to QNX Momentics.
>
> For installation or entry-level questions, please use the QNX Momentics
> Getting Started forum found in the Community project.
>
> For question about technologies developed as part of a Foundry27 project,
> please refer to that project's own forums.
>
>
> - The QNX Community Management Group (QCMG)
when I compile my QNX c/c++ projects I see two different icons for the generated binaries,please refer to the attached image.Could you explain what is the difference between these two iconsrohitha vakamudi2012-07-06T07:59:29Zpost94111: Re: Welcome to the QNX Momentics Community Support Forum !rohitha vakamudihttp://community.qnx.com/sf/go/post941112012-07-06T07:55:37Z2012-07-06T07:55:37ZI am unable to see my connected target in momentics IDE,i cna telnet from cmd line also ping it ,but i cannot see it in device perspective of momentics.When i try to add it,it says it already exits,but i can't see it.rohitha vakamudi2012-07-06T07:55:37Zpost93895: QNX system builderPekka Tuusjärvihttp://community.qnx.com/sf/go/post938952012-06-27T11:00:16Z2012-06-27T11:00:16ZHi, is there any manual for building a full runtime image with system builder? I will need all the functionality in the runtime. I have tried the building with qnxbase.ifs but i dont get it how i should boot the image on empty harddisk?? This whole runtime bulding is a new thing to me since before we had a runtime image where we could just install it.Pekka Tuusjärvi2012-06-27T11:00:16Zpost93749: Running ntoarm-addr2line.exeThalaichamy Sathish Kumarhttp://community.qnx.com/sf/go/post937492012-06-19T05:52:05Z2012-06-19T05:52:05ZHi,
I need help in running the utility ntoarm-addr2line.exe. I am running this utility with the exe and the address after my process got terminated but it is pointing to wrong location of the C file. I am not sure if I am missing anything.
Below is the termination message which I received on the console.
Process 32779 (MainAppProc) terminated SIGBUS code=1 fltno=5 ip=0024b29c(MainApp
Proc@main+0x148140) ref=003819ba
I am not sure whether to use the offset address (0x148140) or the IP (0024b29c) as an argument to this tool. I used both and both are pointing to wrong line of code which wont get execute during the process termination.
This is the command which I used - ntoarm-addr2line.exe -e MainAppProc 0x148140
Could you please mention the exact statement to execute this tool and the setup if there is any.
Also it would be helpful if you can suggest anyother good tool to find the exact line of code where the process termination has happened???Thalaichamy Sathish Kumar2012-06-19T05:52:05Zpost93715: Problem with integration of CImg.h file in QNX momenticsMegha Sanghvihttp://community.qnx.com/sf/go/post937152012-06-18T06:57:22Z2012-06-18T06:57:22ZHi,
I want to integrate CImg image processing library into QNX OS. In CImg library only one header file is there CImg.h and when i integrate this into QNX it gives me error but when i run this on visual C/C++ studio it works fine.
So, Please help me on this regards. I also attached the application in which i added the CImg.h file.Megha Sanghvi2012-06-18T06:57:22Zpost93692: QCC Compiler error on NEON intrinsic only when using -finstrument-functions optionJarrod Smithhttp://community.qnx.com/sf/go/post936922012-06-15T10:07:35Z2012-06-15T10:07:35ZHey guys,
I'm using some NEON intrinsics in C++ code targeting the Blackberry Dev Alpha Device. Below are the QCC calls.
This compiles fine:
qcc -o src/main.o ../src/main.c -V4.6.3,gcc_ntoarmv7le -w1 -I/Users/Jarrod/Documents/Dev/Blackberry/bbndk-10.0.4-beta/target/qnx6/usr/include/freetype2 -I/Users/Jarrod/Documents/Dev/Blackberry/bbndk-10.0.4-beta/target/qnx6/../target-override/usr/include -D_FORTIFY_SOURCE=2 -DUSING_GL11 -c -O0 -g -fstack-protector-all -mfloat-abi=softfp -mfpu=neon
This produces the error:
qcc -o src/main.o ../src/main.c -V4.6.3,gcc_ntoarmv7le -w1 -I/Users/Jarrod/Documents/Dev/Blackberry/bbndk-10.0.4-beta/target/qnx6/usr/include/freetype2 -I/Users/Jarrod/Documents/Dev/Blackberry/bbndk-10.0.4-beta/target/qnx6/../target-override/usr/include -D_FORTIFY_SOURCE=2 -DUSING_GL11 -c -O0 -g -fstack-protector-all -finstrument-functions -mfloat-abi=softfp -mfpu=neon
The only difference between the two is the addition of the -finstrument-functions flag.
The error I get is:
In file included from ../src/main.c:28:0:
/Users/Jarrod/Documents/Dev/Blackberry/bbndk-10.0.4-beta/host/macosx/x86/usr/lib/gcc/arm-unknown-nto-qnx8.0.0eabi/4.6.3/include/arm_neon.h: In function 'vget_lane_s64':
/Users/Jarrod/Documents/Dev/Blackberry/bbndk-10.0.4-beta/host/macosx/x86/usr/lib/gcc/arm-unknown-nto-qnx8.0.0eabi/4.6.3/include/arm_neon.h:4992:3: error: argument must be a constant
Digging around it seems that GCC might have some issues with intrinsics when set to -O0, but I tried with -O1 and got the same result (see final comment by Dmitry Moskalchuk): https://groups.google.com/forum/?fromgroups#!topic/android-ndk/nyWARL6zFU0
Thanks for any help guys. I would love to leverage your awesome QNX Application Profiler with my NEON optimised routines as these are the really performance critical parts of my app.
Cheers,
JarrodJarrod Smith2012-06-15T10:07:35Zpost93653: arrow keys and behaviour of toogle button ,combo box and text labelArun Kumarhttp://community.qnx.com/sf/go/post936532012-06-14T07:59:24Z2012-06-14T07:59:24ZHi ,
I have a list of toggle buttons ,combo boxes and text labels. Below given is the arrangement of widgets
in a ptWindow. I enabled pt_ENABLE_CUA and pt_ENABLE_CUA_ARROW so that arrow key parsing is allowed in the container.
TB1 CB1 TL1
TB2 CB2 TL2
TB3 CB3 TL3
Suppose TB1 is the current selection ; If I press right arrow key (in the key board) . control goes to which widget?
What is the order of navigation using these arrow keys(up,down,left,right).?Arun Kumar2012-06-14T07:59:24Zpost93138: Re: Profiler: Unable to open source fileElena Laskavaiahttp://community.qnx.com/sf/go/post931382012-05-16T17:43:50Z2012-05-16T17:43:50ZIt either cannot load symbols for your binary (should not have
happened), or all most of the time it spent in some code
which was does not have debug symbols. You can increase amount of lines
it show in filter from 100 to 1000 to see if you get
more data with symbols.
On 12-04-25 03:04 PM, Sadashiv Hiremath wrote:
> I was trying to profile my Resource Manager using the call count profiling method. I built with CCFLAGS += -p -g options
> I have the option of "Sampling and Call Count Instrumentation" in the Tools Tab.
>
> Everything looks fine in the Profiler session and Execution time. I am able to see the Deep times etc.. at the Thread levels.
> One problem is that I dont see the functions at all. It says<filtered>..
> But when I double click that, I get “The profiler was unable to determine the source file this symbol is in. Debug info may be missing or symbol does not belong to analyzed binary”.
> Am I missing something here?
>
> Thanks.
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post92740Elena Laskavaia2012-05-16T17:43:50Zpost92895: /var/log/utmp and whoNorton Allenhttp://community.qnx.com/sf/go/post928952012-05-03T13:56:08Z2012-05-03T13:56:08ZIn 6.5.0, apparently /var/log/utmp is not maintained. Users logging in via Photon or ssh are not recorded, and no logouts are recorded.
Is there any good way to tell who is currently logged in?Norton Allen2012-05-03T13:56:08Zpost92855: Using PC-lint with QNX MomenticsChris Welchhttp://community.qnx.com/sf/go/post928552012-05-01T13:59:08Z2012-05-01T13:59:08ZHas anyone used PC-lint on QNX Momentics projects? If so, would it be possible to get a copy of the configuration file you use?
Tx,
Chris Welch
Designer, Software Development
Communications and Commercial Optical Products
JDSU
613-843-2553 chris.welch@jdsu.com
www.jdsu.com<http://www.jdsu.com/>
[cid:image001.jpg@01CD277F.E2F6B000]Chris Welch2012-05-01T13:59:08Zpost92747: problem with "Step Over" during debuggingPaul Imthurnhttp://community.qnx.com/sf/go/post927472012-04-26T16:52:21Z2012-04-26T16:52:21ZI am trying to debug a file on Momentics and using the "Step Over" (F6) functionality. Unfortunately, about 10% of the time, when trying to step over the "out32" function, it goes into the inline "out32" function. At that point, I can't get out of the inline function - the execution terminates. This makes it very difficult to debug. I have never noticed the problem with the "in32" function, only the "out32" function. Also, as far as I can tell, getting the inline version of "out32" is random - I see no pattern to this behavior.
Here is a sample of my call of out32:
// clear CTRL Register
out32(AES_P_CTRL, 0);
Here is the inline version of out32 that I see any time the aberrent behavior occurs:
static __inline__ void __attribute__((__unused__))
out32(_Uintptrt __addr, _Uint32t __data)
{
*(volatile _Uint32t *)__addr = __data;
}
Any help is greatly appreciated!!Paul Imthurn2012-04-26T16:52:21Zpost92740: Profiler: Unable to open source fileSadashiv Hiremath(deleted)http://community.qnx.com/sf/go/post927402012-04-25T19:04:20Z2012-04-25T19:04:20ZI was trying to profile my Resource Manager using the call count profiling method. I built with CCFLAGS += -p -g options
I have the option of "Sampling and Call Count Instrumentation" in the Tools Tab.
Everything looks fine in the Profiler session and Execution time. I am able to see the Deep times etc.. at the Thread levels.
One problem is that I dont see the functions at all. It says <filtered>..
But when I double click that, I get “The profiler was unable to determine the source file this symbol is in. Debug info may be missing or symbol does not belong to analyzed binary”.
Am I missing something here?
Thanks.Sadashiv Hiremath(deleted)2012-04-25T19:04:20Zpost92570: Re: Uninstall of QNX and activate the QNX MomenticsAndy Jinhttp://community.qnx.com/sf/go/post925702012-04-16T14:13:47Z2012-04-16T14:13:47ZI haven't used the Rhapsody before. Maybe someone else can comment on your
question.Andy Jin2012-04-16T14:13:47Zpost92569: Re: Uninstall of QNX and activate the QNX MomenticsMohan Ramasamyhttp://community.qnx.com/sf/go/post925692012-04-16T14:01:09Z2012-04-16T14:01:09ZThanks for all Andy,
For a ques,
Are you aware of Integrating QNX6.4.0 - Rhapsody 7.5.0 in Linux versions.
If yes,Please let me know . What might be the complier I have to install and how to determine. ThanksMohan Ramasamy2012-04-16T14:01:09Zpost92568: Re: Uninstall of QNX and activate the QNX MomenticsMohan Ramasamyhttp://community.qnx.com/sf/go/post925682012-04-16T13:59:22Z2012-04-16T13:59:22ZThanks for all Andy.
For ques,
Are you aware of Integrating QNX6.4-Rhapsody7.5 in Linux version.Mohan Ramasamy2012-04-16T13:59:22Zpost92567: Re: Uninstall of QNX and activate the QNX MomenticsAndy Jinhttp://community.qnx.com/sf/go/post925672012-04-16T13:50:14Z2012-04-16T13:50:14ZYou will need to talk to your sales rep for your account charge
information.
On 12-04-16 9:42 AM, "Mohan Ramasamy" <community-noreply@qnx.com> wrote:
>Thanks for understanding.
>
>Have you aware , Is it chargable for increaing the activation number.
>
>
>
>
>
>_______________________________________________
>
>QNX Momentics Community Support
>http://community.qnx.com/sf/go/post92566
>Andy Jin2012-04-16T13:50:14Zpost92566: Re: Uninstall of QNX and activate the QNX MomenticsMohan Ramasamyhttp://community.qnx.com/sf/go/post925662012-04-16T13:42:04Z2012-04-16T13:42:04ZThanks for understanding.
Have you aware , Is it chargable for increaing the activation number.Mohan Ramasamy2012-04-16T13:42:04Zpost92565: Re: Uninstall of QNX and activate the QNX MomenticsAndy Jinhttp://community.qnx.com/sf/go/post925652012-04-16T13:33:28Z2012-04-16T13:33:28Z1. Yes you can use the same key for both 640 and 641
2. There is a limit on the number of activations you can do, I don't
remember the number off head. You have the option to extend this number by
sending your sales rep a request.
On 12-04-16 9:27 AM, "Mohan Ramasamy" <community-noreply@qnx.com> wrote:
>1. Can we use the same license key and activate ?
>
>2. How many times that key can be activated.
>Andy Jin2012-04-16T13:33:28Zpost92564: Re: Uninstall of QNX and activate the QNX MomenticsMohan Ramasamyhttp://community.qnx.com/sf/go/post925642012-04-16T13:27:16Z2012-04-16T13:27:16Z1. Can we use the same license key and activate ?
2. How many times that key can be activated.Mohan Ramasamy2012-04-16T13:27:16Zpost92563: Re: Uninstall of QNX and activate the QNX MomenticsAndy Jinhttp://community.qnx.com/sf/go/post925632012-04-16T13:07:32Z2012-04-16T13:07:32ZI don't quite understand your question of "Do I want to return something
related?". How did you get the key, how did you install it, and how did
you uninstall it?
If you used the installer and uninstaller, they should have handled the
license key correctly.
On 12-04-16 8:43 AM, "Mohan Ramasamy" <community-noreply@qnx.com> wrote:
>Thanks Andy,
>
>I have used qnx641 but now I am uninstalling that key. Do I want ot
>return something related?
>
>
>
>_______________________________________________
>
>QNX Momentics Community Support
>http://community.qnx.com/sf/go/post92562
>Andy Jin2012-04-16T13:07:32Zpost92562: Re: Uninstall of QNX and activate the QNX MomenticsMohan Ramasamyhttp://community.qnx.com/sf/go/post925622012-04-16T12:43:09Z2012-04-16T12:43:09ZThanks Andy,
I have used qnx641 but now I am uninstalling that key. Do I want ot return something related?Mohan Ramasamy2012-04-16T12:43:09Zpost92561: Re: Uninstall of QNX and activate the QNX MomenticsAndy Jinhttp://community.qnx.com/sf/go/post925612012-04-16T12:38:19Z2012-04-16T12:38:19ZYou can use the same license key for both 640 and 641, there should not be any issue as long as you have a valid key.Andy Jin2012-04-16T12:38:19Zpost92559: Re: Uninstall of QNX and activate the QNX MomenticsMohan Ramasamyhttp://community.qnx.com/sf/go/post925592012-04-16T12:22:45Z2012-04-16T12:22:45ZInformation : Linux version ClientMohan Ramasamy2012-04-16T12:22:45Zpost92558: Re: Uninstall of QNX and activate the QNX MomenticsMohan Ramasamyhttp://community.qnx.com/sf/go/post925582012-04-16T11:36:20Z2012-04-16T11:36:20ZAny Suggessions?Mohan Ramasamy2012-04-16T11:36:20Zpost92533: Uninstall of QNX and activate the QNX MomenticsMohan Ramasamyhttp://community.qnx.com/sf/go/post925332012-04-12T10:57:42Z2012-04-12T10:57:42ZI have installed qnx641 and found that i need to install qnx 640. I want to uninstall qnx641.
But What is impact of license after uninstalling qnx641 and installing qnx640.
Hostname is same for both installation.
Please help in this regards.Mohan Ramasamy2012-04-12T10:57:42Zpost92453: RE: Update tool chain in QNX6.5.0Zahira Ammarguellathttp://community.qnx.com/sf/go/post924532012-04-04T14:37:24Z2012-04-04T14:37:24ZOk. Got it. Thanks.
Now I am less confused :-)
>-----Original Message-----
>From: Ryan Mansfield [mailto:community-noreply@qnx.com]
>Sent: Wednesday, April 04, 2012 10:25 AM
>To: momentics-community
>Subject: Re: Update tool chain in QNX6.5.0
>
>On 12-04-04 10:16 AM, Zahira Ammarguellat wrote:
>> Ryan,
>>
>> I am therefore missing something.
>> To get to use the new tool chain, I wanted to replace my "target" directory
>under /opt/qnx650 by the new target in the linux package mentioned below,
>and do the same with the host directory. That wouldn't work because these
>new target and host directories don't seem to contain everything?
>> Thanks,
>
>It's not a replacement to your "target" directory, you extract it over
>top of the existing 6.5.0. You're confusing the toolchain with the OS.
>
>Regards,
>
>Ryan Mansfield
>
>
>
>_______________________________________________
>
>QNX Momentics Community Support
>http://community.qnx.com/sf/go/post92451Zahira Ammarguellat2012-04-04T14:37:24Zpost92451: Re: Update tool chain in QNX6.5.0Ryan Mansfieldhttp://community.qnx.com/sf/go/post924512012-04-04T14:24:29Z2012-04-04T14:24:29ZOn 12-04-04 10:16 AM, Zahira Ammarguellat wrote:
> Ryan,
>
> I am therefore missing something.
> To get to use the new tool chain, I wanted to replace my "target" directory under /opt/qnx650 by the new target in the linux package mentioned below, and do the same with the host directory. That wouldn't work because these new target and host directories don't seem to contain everything?
> Thanks,
It's not a replacement to your "target" directory, you extract it over
top of the existing 6.5.0. You're confusing the toolchain with the OS.
Regards,
Ryan MansfieldRyan Mansfield2012-04-04T14:24:29Zpost92449: RE: Update tool chain in QNX6.5.0Zahira Ammarguellathttp://community.qnx.com/sf/go/post924492012-04-04T14:16:42Z2012-04-04T14:16:42ZRyan,
I am therefore missing something.
To get to use the new tool chain, I wanted to replace my "target" directory under /opt/qnx650 by the new target in the linux package mentioned below, and do the same with the host directory. That wouldn't work because these new target and host directories don't seem to contain everything?
Thanks,
-Zahira
>-----Original Message-----
>From: Ryan Mansfield [mailto:community-noreply@qnx.com]
>Sent: Tuesday, April 03, 2012 5:28 PM
>To: momentics-community
>Subject: Re: Update tool chain in QNX6.5.0
>
>Yes those are the right packages. If you are using a linux host then download
>the linux-gcc-4.6.2.tar.gz. string.h isn't part of gcc. It is part of libc that's part of
>6.5.0
>
>The nto-gcc-4.6.2.tar.gz packages are for self hosted x86 machines.
>
>Regards,
>
>Ryan Mansfield
>
>
>
>_______________________________________________
>
>QNX Momentics Community Support
>http://community.qnx.com/sf/go/post92430Zahira Ammarguellat2012-04-04T14:16:42Zpost92430: Re: Update tool chain in QNX6.5.0Ryan Mansfieldhttp://community.qnx.com/sf/go/post924302012-04-03T21:28:03Z2012-04-03T21:28:03ZYes those are the right packages. If you are using a linux host then download the linux-gcc-4.6.2.tar.gz. string.h isn't part of gcc. It is part of libc that's part of 6.5.0
The nto-gcc-4.6.2.tar.gz packages are for self hosted x86 machines.
Regards,
Ryan MansfieldRyan Mansfield2012-04-03T21:28:03Zpost92429: Re: Update tool chain in QNX6.5.0Zahira Ammarguellathttp://community.qnx.com/sf/go/post924292012-04-03T21:09:04Z2012-04-03T21:09:04ZRyan,
What is the right gcc package?
In the Core Development Tools under File Releases > GCC > GCC4.6 there are several packages.
I am looking for a Linux version. I am assuming that what I need is linux-gcc-4.6.2.tar.gz. When I extracted this package I don't seem to get all the include files. For example <string.h> doesn't seem to be there? I am in the right place?
Also what are the nto-gcc... packages?
Thanks,
-ZahiraZahira Ammarguellat2012-04-03T21:09:04Zpost92428: Re: Update tool chain in QNX6.5.0Ryan Mansfieldhttp://community.qnx.com/sf/go/post924282012-04-03T19:38:19Z2012-04-03T19:38:19ZOn 12-04-03 03:33 PM, Mario Charest wrote:
>
>
>> -----Message d'origine-----
>> De : Ryan Mansfield [mailto:community-noreply@qnx.com]
>> Envoyé : 3 avril 2012 14:33
>> À : momentics-community
>> Objet : Re: Update tool chain in QNX6.5.0
>>
>> On 12-04-03 02:07 PM, Zahira Ammarguellat wrote:
>>> Hello,
>>>
>>> Is there a possibility to keep the same environment but update only the gcc
>> compiler that comes with the tool chain? I am using 4.4.2, and would like to
>> update it to 4.6.
>>
>
>
> Just to make sure. I`m assuming this still not an official release?
It's as official as an foundry release is ever going to get. :)
Regards,
Ryan MansfieldRyan Mansfield2012-04-03T19:38:19Zpost92427: RE: Update tool chain in QNX6.5.0Mario Charesthttp://community.qnx.com/sf/go/post924272012-04-03T19:33:47Z2012-04-03T19:33:47Z> -----Message d'origine-----
> De : Ryan Mansfield [mailto:community-noreply@qnx.com]
> Envoyé : 3 avril 2012 14:33
> À : momentics-community
> Objet : Re: Update tool chain in QNX6.5.0
>
> On 12-04-03 02:07 PM, Zahira Ammarguellat wrote:
> > Hello,
> >
> > Is there a possibility to keep the same environment but update only the gcc
> compiler that comes with the tool chain? I am using 4.4.2, and would like to
> update it to 4.6.
>
Just to make sure. I`m assuming this still not an official release?
> Yes. Download the appropriate gcc package for your host, and extract it into
> your root QNX directory (e.g. /opt/qnx650, C:/QNX650, etc).
>
> Regards,
>
> Ryan Mansfield
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post92425
>Mario Charest2012-04-03T19:33:47Zpost92425: Re: Update tool chain in QNX6.5.0Ryan Mansfieldhttp://community.qnx.com/sf/go/post924252012-04-03T18:33:27Z2012-04-03T18:33:27ZOn 12-04-03 02:07 PM, Zahira Ammarguellat wrote:
> Hello,
>
> Is there a possibility to keep the same environment but update only the gcc compiler that comes with the tool chain? I am using 4.4.2, and would like to update it to 4.6.
Yes. Download the appropriate gcc package for your host, and extract it
into your root QNX directory (e.g. /opt/qnx650, C:/QNX650, etc).
Regards,
Ryan MansfieldRyan Mansfield2012-04-03T18:33:27Zpost92423: Update tool chain in QNX6.5.0Zahira Ammarguellathttp://community.qnx.com/sf/go/post924232012-04-03T18:07:32Z2012-04-03T18:07:32ZHello,
Is there a possibility to keep the same environment but update only the gcc compiler that comes with the tool chain? I am using 4.4.2, and would like to update it to 4.6.
Thanks,
-ZahiraZahira Ammarguellat2012-04-03T18:07:32Zpost92152: Re: Touchscreen on QNX6.4.1Erick Muishttp://community.qnx.com/sf/go/post921522012-03-16T18:42:07Z2012-03-16T18:42:07ZDoh, thats no good, the driver was for the resistive screens only, I have not had one of the projected screens in house yet.
Sorry :(
Erick.
> Hi Erick,
>
> FYKI, I am using EETI projected capacitive touch screen.
>
> Thanks,
>
> ManiErick Muis2012-03-16T18:42:07Zpost92134: Can't install QNX® Software Development Platformaleks petrovhttp://community.qnx.com/sf/go/post921342012-03-15T10:43:18Z2012-03-15T10:43:18ZI got Non-Commercial & Academic End User License Key, but can't install QNX® Momentics® Tool Suite, becouse this key "not valid"
Why? Please, help.aleks petrov2012-03-15T10:43:18Zpost92051: Re: Touchscreen on QNX6.4.1MANIVELAN MUTHUSAMYhttp://community.qnx.com/sf/go/post920512012-03-12T17:06:56Z2012-03-12T17:06:56ZHi Erick,
FYKI, I am using EETI projected capacitive touch screen.
Thanks,
ManiMANIVELAN MUTHUSAMY2012-03-12T17:06:56Zpost92050: Re: Touchscreen on QNX6.4.1MANIVELAN MUTHUSAMYhttp://community.qnx.com/sf/go/post920502012-03-12T16:58:29Z2012-03-12T16:58:29ZHi Erick,
Thank you for your reply.
We have developed our product with QNX6.4.1 on X86 platform target (Advantech PCM9361 SBC board) and our support plan has since expired. Currently the project is on-hold but we are planning to restart activity in a few months. In the meantime, I am working on an internal demo. Could you please provide the Egalax USB touch screen driver binary and installation instruction for us to use in our demo? We are not asking for the Source code.
Thanks,
ManiMANIVELAN MUTHUSAMY2012-03-12T16:58:29Zpost91912: Re: Touchscreen on QNX6.4.1Erick Muishttp://community.qnx.com/sf/go/post919122012-03-05T23:22:54Z2012-03-05T23:22:54Z> Hi,
>
> I do facing the same issue. I tried both RS232 and USB interface.
>
> Is there any update on this issue? Is that egalax touch working?
Hi,
I re-wrote the driver for 6.5.0 which ironed out the issues that we were seeing with the driver and the new driver (USB) works much better now, you can request to get a PSP of it if you happen to have a priority support plan. The other option is to request the source code to the 6.5.0 or the latest 6.4.1 version, as the code has already been merged in both branches.
Best regards,
ErickErick Muis2012-03-05T23:22:54Zpost91910: Re: Touchscreen on QNX6.4.1MANIVELAN MUTHUSAMYhttp://community.qnx.com/sf/go/post919102012-03-05T21:40:49Z2012-03-05T21:40:49ZHi,
I do facing the same issue. I tried both RS232 and USB interface.
Is there any update on this issue? Is that egalax touch working?MANIVELAN MUTHUSAMY2012-03-05T21:40:49Zpost91703: Configure shutdownNicklas Larssonhttp://community.qnx.com/sf/go/post917032012-02-22T11:16:48Z2012-02-22T11:16:48ZIs there a way to configure the time between the SIGTERM signal and the SIGKILL signal when shutting down the system? Besides the -f flag that is.
My understanding is that the default is 10 secs (with -f 1 sec)?
Thank you!Nicklas Larsson2012-02-22T11:16:48Zpost91613: Re: How to install QNX momentics tool suite on QNX neutrino OS?Andy Jinhttp://community.qnx.com/sf/go/post916132012-02-15T16:54:29Z2012-02-15T16:54:29ZStarting from 6.4.0, there is no self-hosted Momentics IDE shipped with the Neutrino installer.
You can install Momentics IDE on Linux or Windows, and use your Neutrino installation as your remote target.Andy Jin2012-02-15T16:54:29Zpost91610: How to install QNX momentics tool suite on QNX neutrino OS?HuiHsien Wuhttp://community.qnx.com/sf/go/post916102012-02-15T16:19:09Z2012-02-15T16:19:09ZAfter qnxsdp-6.4.0-200810211530-dvd.iso QNX neutrino was installed as a target system, I intend to use QNX momentics tool on QNX neutrino OS.
When I checked the QNX OS, a lot of functions was miss. I don't know why?
1.no QNX SDP Activation dialog
2.no QNX momentics tool suite for self-hosted target
3.no Package Installer
Does anyone can help me to turn on or install these functions?
Thanks your attention.HuiHsien Wu2012-02-15T16:19:09Zpost91357: API to determine total CPU Load?Norton Allenhttp://community.qnx.com/sf/go/post913572012-02-06T14:12:13Z2012-02-06T14:12:13ZIs there an established method for determining the CPU load average? It seems as though this would be a useful bit of data to monitor and record. Photon shelf does this by some means, and of course /usr/bin/top.Norton Allen2012-02-06T14:12:13Zpost91352: Enumeration of PCI host bridgesDavid Müllerhttp://community.qnx.com/sf/go/post913522012-02-06T11:57:51Z2012-02-06T11:57:51ZHello
Is there a specific reason why QNX is only scanning for PCI-PCI bridges, but not for HOST-PCI bridges in "/etc/system/enum/devices/bridge"?David Müller2012-02-06T11:57:51Zpost91075: Re: /dev problemAugie Mattheisshttp://community.qnx.com/sf/go/post910752012-01-23T14:50:19Z2012-01-23T14:50:19ZFound this one, a user who will remain nameless was re-directing shell script output to /dev/null but included an extra space and so created the file /dev instead of using the device /dev/null. This made QNX unhappy since, I guess, most devices then disappeared.... ;-)Augie Mattheiss2012-01-23T14:50:19Zpost90895: Help with Makefile pleaseRicardo Blancohttp://community.qnx.com/sf/go/post908952012-01-10T16:38:39Z2012-01-10T16:38:39ZHello guys!
Im new in QNX world!
Im doing some app for test, but i have a problem.
I've created my first QNX app using Application Builder, it is simple, it is just a window and 2 buttons, i have 2 files called my_events.c and my_events.h created at src folder in my project, to compile i use make in console, all its fine.
My app works, but when i change for example a #define in my_events.h file ( or add more code to my_events.h) and i go to console and type "make" y get the message :
test_machine$/home/rick/test>make
make -j 1 -Cx86 -fMakefile
make[1]: Entering directory `/home/rick/test/x86'
make -j 1 -Co -fMakefile
make[2]: Entering directory `/home/rick/test/x86/o'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/home/rick/test/x86/o'
make -j 1 -Co-g -fMakefile
make[2]: Entering directory `/home/rick/test/x86/o-g'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/home/rick/test/x86/o-g'
make[1]: Leaving directory `/home/rick/test/x86'
make doesnt detects my_events.h file has changed, but if i add code to my_events.c and type make, it compiles again, im looking for info refering to common.mk file, im looking http://www.qnx.com/developers/docs/6.4.1/neutrino/prog/make_convent.html
I have read about file dependencies, but my project is not a library is an application, so if i add code to common.mk such as:
test: my_event.c my event.h
to specify dependency it just not works
all i wantis to modify common.mk to compile when my_event.h file has changed, how can i do it?
i hope someone can help me please.
Best Regards
RicardoRicardo Blanco2012-01-10T16:38:39Zpost90856: Issues with "tinit" in QNX 6.5.0Veni Kothamachuhttp://community.qnx.com/sf/go/post908562012-01-06T21:18:33Z2012-01-06T21:18:33ZI observed “tinit” issue in QNX 6.5.0.
1) Connect to QNX 6.5.0 box using hypertermial
2) Login to the box, once the login prompt is displayed
3) Disconnect the hyperterminal
4) Connect back the hyperterminal
5) Shell prompt is displayed instead of the login prompt.
Hyperterminal disconnection is not logging-out the terminal session. However, with QNX 6.3.2 hyperterminal disconnection logs out the user.
Why "tinit" is behaving different in both QNX 6.3.2 and 6.5.0, are there any known bugs with tinit in QNX 6.5.0Veni Kothamachu2012-01-06T21:18:33Zpost90854: Wrap C fuctions in Python APIsudhir kattahttp://community.qnx.com/sf/go/post908542012-01-06T17:11:41Z2012-01-06T17:11:41ZI'm running QNX 6.4.1 on my target embedded system.I have implemented C function that interfaces with APC8620 drivers and IP modules (dio, a2d, d2a, counter, times) on QNX. I have object files for these function and can convert to a library.
I want to wrap these C functions in python to provide an easier access to the system. From my host system I want to log the data from QNX target system using these Python API. As far as I know, the performed is achieved using C / C++ to get the most out of the system but for usability I want to use python.
1. I know QNX comes with Python installed for scripting. Do I have to install any other python version so I can create the python API.
2. Should I write python API on host that cross compile and invoke c function on the target or write python API on target system so other python scripts can access them.
3. How to integrate python to QNX momentics IDE and develop python API.
I have never programmed in python before so I want to know people's opinions before I blindly jump into the coding. I appreciate if you point me to some design cases and readings.
Thanks
Sudhirsudhir katta2012-01-06T17:11:41Zpost90799: Re: Linker error in Momentics 6.5.0Elena Laskavaiahttp://community.qnx.com/sf/go/post907992012-01-03T15:13:32Z2012-01-03T15:13:32ZThis is not enough information. Please copy errors from the build console (Console view)Elena Laskavaia2012-01-03T15:13:32Zpost90755: Linker error in Momentics 6.5.0Vignesh Rengasamyhttp://community.qnx.com/sf/go/post907552011-12-23T05:51:11Z2011-12-23T05:51:11ZHI,
I'm a new bee to this QNX Momentics IDe. Need some help on porting code from Momentics 6.3.2 to 6.5.0 ... The project is getting compiled and could create binaries in 6.3.2 but same project I changed the build variant from PPC to ARM and compiled in 6.5.0 its throwing linker errors
Description Resource Location Type
make.exe[1]:[all] Error 2 (ignored) fw-common line 0 C/C++ Problem
make.exe[2]:*** [cCompress.o] Error1 fw-common line 0 C/C++ Problem
make.exe[2]:*** [cFlatCompr.o] Error1 fw-common line 0 C/C++ Problem
make.exe[2]:*** [Crc.o] Error 1 fw-common line 0 C/C++ Problem
make.exe[2]:*** [cSineCompr.o] Error1 fw-common line 0 C/C++ Problem
make.exe[2]:*** [Path.o] Error 1 fw-common line 0 C/C++ Problem
make.exe[2]:*** [Security.o] Error 1 fw-common line 0 C/C++ Problem
make.exe[2]:*** [TmsFloatConv.o] Error1fw-common line 0 C/C++ Problem
Please help me out to resolve this errors.Vignesh Rengasamy2011-12-23T05:51:11Zpost90549: QNET compatibility between QNX 6.3.2 and QNX 6.5.0Martin Fillionhttp://community.qnx.com/sf/go/post905492011-12-12T18:01:15Z2011-12-12T18:01:15ZWe have two PC:
-One is running QNX 6.3.2;
-The other one is running QNX 6.5.0.
On both machines, we have done “touch /etc/system/config/useqnet”. The QNX 6.3.2 machine’s host name is “SimHost”. The QNX 6.5.0 machine’s host name is “host2”.
QNX 6.3.2 has /lib/dll/npm-qnet.so linked to /lib/dll/npm-qnet-compat.so.
In 6.3.2, /net contains only “SimHost”; In 6.5.0, /net contains only “Thales-FMS”.
Can you tell me why “SimHost” doesn’t see “host2” and why “host2” cannot see “SimHost”?Martin Fillion2011-12-12T18:01:15Zpost90514: Dinkum Abridged with MudflapMichael Mathewshttp://community.qnx.com/sf/go/post905142011-12-10T01:17:49Z2011-12-10T01:17:49ZHello, I'm running into an issue using Mudflap and I am wondering if I missed something or if anyone else ran into the same issue.
I created a "hello world" program to test out the Mudflap debugging capabilities. It is a simple program that uses a std::cout and a some catch bug like accessing after free.
*If I use the GNU CPP libraries, everything works fine. It reports the error without any false positives.
*If I use anything else (in this case, Dinkum Abridged without exceptions), it reports numerous memory errors within the use of std::cout. (The majority of them seem to trace back to static construction)
Question:
Is Mudflap compatible with CPP libraries other than GNU's?
I apologize if I missed something obvious. (It happens often) :)
Extra info:
I'm using QNX 6.5 / Momentics 4.7.2 / GNU Compiler Collection (4.4.2)
Thanks!
Michael.Michael Mathews2011-12-10T01:17:49Zpost90329: Re: Transfer File from Windows to QNX 6.5 32-bitlimpei Fenghttp://community.qnx.com/sf/go/post903292011-11-29T07:49:18Z2011-11-29T07:49:18Zhi, i did have some progress over samba server
I tried "\\201.0.0.9\myShare" at my windwos explorer and it prompted the Windwos Security: Enter Network Password for 201.0.0.9, so i'm pretty sure that the "myShare" from QNX is shared successfully :D
but i've no idea where to get the username/password to input :(limpei Feng2011-11-29T07:49:18Zpost90308: Re: Transfer File from Windows to QNX 6.5 32-bitlimpei Fenghttp://community.qnx.com/sf/go/post903082011-11-28T07:07:37Z2011-11-28T07:07:37Zhahas i did tried that but it says,
"\\201.0.0.9 is not accessible. You migght not have permission to use this network resource. Contact the administrator of this server to find out if you have access permission.
A remote procedure call (RPC) protocol error occured."
I can ping 201.0.0.9(QNX) from 201.0.0.1(Windows) and vice versa.
Any idea how to "give" permission to Windows such that it can access QNX folder ?limpei Feng2011-11-28T07:07:37Zpost90274: Re: Transfer File from Windows to QNX 6.5 32-bitChristoph Nemmaierhttp://community.qnx.com/sf/go/post902742011-11-24T11:18:16Z2011-11-24T11:18:16ZHi,
forget about nmbd and smbclient. You need to access the SMB share from your Windows box. Open an explorer and enter \\201.0.0.6 in the address bar. If smbd is running and smb.conf defines a valid share, you should see its name as a folder there. You'll probably need a user name and password to connect to it.
ChristophChristoph Nemmaier2011-11-24T11:18:16Zpost90271: Re: Transfer File from Windows to QNX 6.5 32-bitlimpei Fenghttp://community.qnx.com/sf/go/post902712011-11-24T05:57:14Z2011-11-24T05:57:14ZThx for all your help <3
I've tried compiling SAMBA-2.0.7 on QNX with reference to this website: http://pcquest.ciol.com/content/windows/101030105.asp
i tried :
/usr/local/samba/bin/testparm /usr/local/samba/lib/smb.conf
and the syntax seem to be fine.
i tried:
/usr/local/samba/bin/smbd -D
/usr/local/samba/bin/nmbd -D
/usr/local/samba/bin/smbclient -L localhost
The results shows:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.0.7]
Share name Type Comment
share Disk
IPCS$ IPC IPC Service (Samba 2.0.7)
which seems to be fine as well... but when i try:
/usr/local/samba/bin/smbclient -L server1
The results shows:
Anomymous login Successful
Error returning browse list: ERRDOS -ERRnoaccess (Access denied.)
* i press "ENTER" for Password prompt.
Need Help :(limpei Feng2011-11-24T05:57:14Zpost90261: Re: QNX Momentics Error on first executionOmair Muhihttp://community.qnx.com/sf/go/post902612011-11-23T15:15:43Z2011-11-23T15:15:43ZHi,
Got around to fixing this by running the qconfig utulity as follows(tried all invocations):
-qconfig
-qconfig -e
and then logged out and back into my Ubuntu OS.
-RegardsOmair Muhi2011-11-23T15:15:43Zpost90255: Re: Transfer File from Windows to QNX 6.5 32-bitChristoph Nemmaierhttp://community.qnx.com/sf/go/post902552011-11-23T09:23:05Z2011-11-23T09:23:05ZHi,
sorry, I'm not much into programming C#. But I assume you create some button and associate some OnButtonPressed() method. In this method, you may want to create a file somewhere, write some data to it, and close it. You may do this by using an FTP client API. I remember I've seen some sample code for C++ in Visual Studio help before, so there must be a C# interface, too.
If you use FTP, you'll have to set up an FTP server on QNX. This is no big deal, please refer to the QNX documentation for ftpd.
As an alternative, you may want to use Windows' generic file open, write, and close mechanisms. In this case, you may want to have your QNX file system acessible via UNC paths, or via a Windows pseudo drive letter. You can accomplish this by setting up smbd on your QNX platform. Which is probably a little more work to do than installing ftpd.
I don't think Visual Studio provides a SSH API.
And after all, you also may write an own TCP or what-else server to run on QNX, capable of creating files, and use TCP or what-else client functions to control it remotely from your C# code.
ChristophChristoph Nemmaier2011-11-23T09:23:05Zpost90252: Re: Transfer File from Windows to QNX 6.5 32-bitlimpei Fenghttp://community.qnx.com/sf/go/post902522011-11-23T02:25:03Z2011-11-23T02:25:03Zhahas thx guys, but can spoon feed alittle more?
i've no idea how/where to start about :'(limpei Feng2011-11-23T02:25:03Zpost90241: Re: Transfer File from Windows to QNX 6.5 32-bitChristoph Nemmaierhttp://community.qnx.com/sf/go/post902412011-11-22T16:29:18Z2011-11-22T16:29:18Z> Ok so you need to run ftp server or ssh server on qnx box, then you can upload
> your files using these protocols
... or a samba share, n'est-ce pas?
ChristophChristoph Nemmaier2011-11-22T16:29:18Zpost90236: Re: Transfer File from Windows to QNX 6.5 32-bitElena Laskavaiahttp://community.qnx.com/sf/go/post902362011-11-22T13:42:03Z2011-11-22T13:42:03ZOk so you need to run ftp server or ssh server on qnx box, then you can upload your files using these protocolsElena Laskavaia2011-11-22T13:42:03Zpost90230: Re: Transfer File from Windows to QNX 6.5 32-bitlimpei Fenghttp://community.qnx.com/sf/go/post902302011-11-22T08:59:16Z2011-11-22T08:59:16ZThe checklist is as follows:
1) [Windows] Create a simple Web Application using Visual Studio C# (Done)
2) [Windows] Publish Web Application on computer A (201.0.0.1) using IIS Manager. (Done)
3) [Windows] Setup a VM using VMWorkStation on another computer (201.0.0.6) and Bootup QNX 6.5 inside the VM (Done)
4) [QNX] Configure network setting, giving static ip address 201.0.0.9 (Done)
5) [Windows] Add a button control click event in the Web Application to write data into "fileA" located @ QNX /home directory. (Pending)
currently stuck at Step 5 :'(
Hi,
well - of course you exchange files at runtime - what I intended to show was a way to do so, i. e., a way to communicate
/ connect. Probably I could understand your problem better if you provide some more information. Does anyone else?
Regards,
Christophlimpei Feng2011-11-22T08:59:16Zpost90227: Re: Transfer File from Windows to QNX 6.5 32-bitChristoph Nemmaierhttp://community.qnx.com/sf/go/post902272011-11-22T07:46:28Z2011-11-22T07:46:28ZHi,
well - of course you exchange files at runtime - what I intended to show was a way to do so, i. e., a way to communicate / connect. Probably I could understand your problem better if you provide some more information. Does anyone else?
Regards,
ChristophChristoph Nemmaier2011-11-22T07:46:28Zpost90223: Re: Transfer File from Windows to QNX 6.5 32-bitlimpei Fenghttp://community.qnx.com/sf/go/post902232011-11-22T03:00:16Z2011-11-22T03:00:16ZThx Christoph.
hahas but I am trying to exchange files at runtime, mainly a Web Application with a button control click event, but i've no idea how to communicate/connect with QNX using C#.limpei Feng2011-11-22T03:00:16Zpost90208: Re: Transfer File from Windows to QNX 6.5 32-bitChristoph Nemmaierhttp://community.qnx.com/sf/go/post902082011-11-21T11:24:36Z2011-11-21T11:24:36ZHello,
I'm not exactly sure what you mean by "use Visual Studio as a platform". But obviously you intend to exchange files between a Windows and a QNX system on a LAN. So in the first place you'll have to provide a way to transport files, e.g . by using FTP, SFTP, or SMB (CIFS).
Assuming your client machine is the Windows box, and (by the existence of a /home directory), the QNX system is a PC, too, I'd set up a samba server on QNX (available on <http://www.netbsd.org>), install a SMB share for /home, mount it on your windows box, and then use Explorer, command line, or any other tool to copy files to the QNX system.
HTH
ChristophChristoph Nemmaier2011-11-21T11:24:36Zpost90205: Transfer File from Windows to QNX 6.5 32-bitlimpei Fenghttp://community.qnx.com/sf/go/post902052011-11-21T09:04:40Z2011-11-21T09:04:40ZHi,
I'm wondering is it possible if i could use Visual Studio 2010 Ultimate as a platform to pick up text files from Windows(201.0.0.1) and deposit it into QNX(201.0.0.6) /home directory and vice versa.
if possible, please share. Thx in advance :Dlimpei Feng2011-11-21T09:04:40Zpost90201: Re: RE: /sbin/rtc -l hw is off by an hourNorton Allenhttp://community.qnx.com/sf/go/post902012011-11-19T19:37:53Z2011-11-19T19:37:53ZUgh. Sometimes you have to ask a question before you can figure out the answer. I've been thinking about this like the old dual-boot systems, but VMware virtualizes the whole damn machine, including the rtc, so the guest OS can have its set to a different time (i.e. the wrong time.)Norton Allen2011-11-19T19:37:53Zpost90197: Re: RE: /sbin/rtc -l hw is off by an hourNorton Allenhttp://community.qnx.com/sf/go/post901972011-11-19T03:15:52Z2011-11-19T03:15:52ZThat is to say, it appears the rtc is set the local time in the summer timezone. What makes this particularly odd is that I documented precisely the opposite behavior during the summer, when it appeared the clock was set to the local standard time.Norton Allen2011-11-19T03:15:52Zpost90196: Re: RE: /sbin/rtc -l hw is off by an hourNorton Allenhttp://community.qnx.com/sf/go/post901962011-11-19T03:06:20Z2011-11-19T03:06:20ZMy timezone is EST05EDT04,..., so yes, it takes summer time into account. We are on standard time now, which means you have to add 5 hours to local time to get UTC. During daylight time, you'd have to add 4 hours to local time to get UTC. What's apparently happening is 6 hours are being added to local time, which isn't right in either case.
This could be explained if the realtime clock were set off by an hour by the host operating system or VMware's emulation. I just tried:
export TZ=utc00
/sbin/rtc hw
date
and see that it is still showing an hour ahead, so it appears that the host OS (XP) is somehow setting the rtc an hour ahead, or the VMware layer is doing that.Norton Allen2011-11-19T03:06:20Zpost90195: RE: /sbin/rtc -l hw is off by an hourMario Charesthttp://community.qnx.com/sf/go/post901952011-11-18T22:02:42Z2011-11-18T22:02:42ZDoes your timezone account for the summer time?
> -----Message d'origine-----
> De : Norton Allen [mailto:community-noreply@qnx.com]
> Envoyé : 18 novembre 2011 15:53
> À : momentics-community
> Objet : /sbin/rtc -l hw is off by an hour
>
> In QNX 6.5.0 /sbin/rtc -l hw sets the clock an hour ahead.
> /sbin/rtc July 9 2010
>
> I know, why on earth would I do that? I'm running in a VM (so maybe it's
> VMware that's causing the problem??)
>
> Has anyone else seen this?
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post90194
>Mario Charest2011-11-18T22:02:42Zpost90194: /sbin/rtc -l hw is off by an hourNorton Allenhttp://community.qnx.com/sf/go/post901942011-11-18T20:52:34Z2011-11-18T20:52:34ZIn QNX 6.5.0 /sbin/rtc -l hw sets the clock an hour ahead.
/sbin/rtc July 9 2010
I know, why on earth would I do that? I'm running in a VM (so maybe it's VMware that's causing the problem??)
Has anyone else seen this?Norton Allen2011-11-18T20:52:34Zpost90122: Re: Loss of debug connectivityAlan Braddyhttp://community.qnx.com/sf/go/post901222011-11-16T10:00:58Z2011-11-16T10:00:58ZI've reconfigured our headless target system to allow remote photon access via phindows, this now allows me to slay qconn on that board.
Like the development system slaying qconn resolves the problem for a few minutes then I lose the target navigator tree again and the debugger fails.
Unfortunately the problem occurs so regularly I can't get any worthwhile debug time on my target.Alan Braddy2011-11-16T10:00:58Zpost90059: Re: QNX Momentics Error on first executionkashyap veljibhai gadahttp://community.qnx.com/sf/go/post900592011-11-13T22:36:04Z2011-11-13T22:36:04Zi got the same errorkashyap veljibhai gada2011-11-13T22:36:04Zpost90022: RE: Writing a video driver in QNX with GF based Graphics SystemMichael Van Reenenhttp://community.qnx.com/sf/go/post900222011-11-11T02:28:49Z2011-11-11T02:28:49ZThese libraries are support libraries for the devg graphics drivers and should not be called directly by an application.
If a driver has support video capture could be supported using the GF video capture API:
http://www.qnx.com/developers/docs/6.4.1/gf/dev_guide/vidcap.html
This can be used along with the GF layer API to display the video:
http://www.qnx.com/developers/docs/6.4.0/gf/dev_guide/layers.html
-----Original Message-----
From: Partha Koley [mailto:community-noreply@qnx.com]
Sent: November-06-11 12:28 PM
To: momentics-community
Subject: Writing a video driver in QNX with GF based Graphics System
HI, I want to know if the libraries- DispUtil and FFB can be used with GF based Graphics System?
Actually in graphics.pdf (that is given in QNX site -QNX Photon DDK) I can see lot of Graphics Driver API and API s for controlling video capture and video module. Can these be used for GF based Graphics system as well or these are only for Photon based Graphical System?
So in that case where to get the video related functions/APIs while using Graphics Framework based Graphics System.
Suggestions will be very helpful.
_______________________________________________
QNX Momentics Community Support
http://community.qnx.com/sf/go/post89894Michael Van Reenen2011-11-11T02:28:49Zpost89894: Writing a video driver in QNX with GF based Graphics SystemPartha Koleyhttp://community.qnx.com/sf/go/post898942011-11-06T17:27:39Z2011-11-06T17:27:39ZHI, I want to know if the libraries- DispUtil and FFB can be used with GF based Graphics System?
Actually in graphics.pdf (that is given in QNX site -QNX Photon DDK) I can see lot of Graphics Driver API and API s for controlling video capture and video module. Can these be used for GF based Graphics system as well or these are only for Photon based Graphical System?
So in that case where to get the video related functions/APIs while using Graphics Framework based Graphics System.
Suggestions will be very helpful.Partha Koley2011-11-06T17:27:39Zpost89886: Re: QNX Momentics Error on first executionElena Laskavaiahttp://community.qnx.com/sf/go/post898862011-11-04T17:55:22Z2011-11-04T17:55:22ZDo you have QNX_CONFIGURATION variable set before you run ide?Elena Laskavaia2011-11-04T17:55:22Zpost89881: Re: QNX Momentics Error on first executionPeter Buckley(deleted)http://community.qnx.com/sf/go/post898812011-11-04T16:05:39Z2011-11-04T16:05:39ZI'm seeing this error consistently reproducible across multiple logout/login/reboot sessions on Ubuntu 11.04 Natty Narwhal 64bit.
I think it is due to a problem with the ia32-libs (ELFCLASS64 segfault errors in the console when I try launching QNX SDP).
I've tried downgrading my ia32-libs and various workarounds for the ELFCLASS64 errors that I found through google but nothing has helped so far. Sure would be nice if QNX worked on recent 64bit versions of ubuntu.Peter Buckley(deleted)2011-11-04T16:05:39Zpost89800: Re: Removing default installation paths from "Includes" within QNX Momentics projectsElena Laskavaiahttp://community.qnx.com/sf/go/post898002011-11-01T13:16:15Z2011-11-01T13:16:15ZThese headers and libraries are taken from QNX_TARGET environment variable (if IDE is set to read the variable)
Go to Window->Preference->QNX and select Use environment variables as choice. Then re-set QNX_TARGET
and re-start IDE.
The other options is just remove these from include folders but if you actually using Qnx Project (vs lets say Managed project) then it is makefile that picked them up.Elena Laskavaia2011-11-01T13:16:15Zpost89788: Re: Loss of debug connectivityAlan Braddyhttp://community.qnx.com/sf/go/post897882011-11-01T09:18:14Z2011-11-01T09:18:14ZKilling and restarting QConn does clear the problem for a few minutes, after which it returns. I can't do this on our target system though, as it's headless.
(Clarification - I have two systems here, a Kontron development system with keyboard & monitor, and our custom target system which is only accessible via ethernet. I can swap the (programmed) processor / disk module between the two systems.)
As far as changes are concerned, I have a number of systems avaialble, my main development board is (as far as I am aware) unchanged, the others have the same Neutrino build (6.5 generic x86 from the distribution DVD) but may have slight differences in the configuration files. The new boards are a slightly later hardware build, BIOS version is the same on all.
All the targets show the same behaviour.
I suspect this may either be something I've inadvertantly changed in a config file, or a side-effect on the development system of a windows update - but these are just guesses.Alan Braddy2011-11-01T09:18:14Zpost89783: Removing default installation paths from "Includes" within QNX Momentics projectsMohamed Issahttp://community.qnx.com/sf/go/post897832011-10-31T22:16:05Z2011-10-31T22:16:05ZBy default when you create or import a project, QNX Momentics adds the default installation header file paths (i.e. C:/QNX650/target/qnx6/usr/include, C:/QNX650/target/qnx6/usr/include/cpp, C:/QNX650/target/qnx6/usr/include/cpp/c) in the project "Includes" section. I don't want these default installation header file paths in the "Includes" section because I have more appropriate ones that are up to date in another directory. How can I tell Momentics not to put these default installation header file paths in the project "Includes" section?
Thanks,
MohamedMohamed Issa2011-10-31T22:16:05Zpost89733: Re: Loss of debug connectivityElena Laskavaiahttp://community.qnx.com/sf/go/post897332011-10-28T14:46:03Z2011-10-28T14:46:03ZIs qconn running on target? Can you re-start it and see if fixes the problem?
On 10/28/2011 05:22 AM, Alan Braddy wrote:
>> I'm running IDE 4.7 (windows hosted) talking to an x86 target running
>> Momentics 6.5 over an ethernet connection.
>
> Oops that should read running Neutrino 6.5 of course
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post89713
>Elena Laskavaia2011-10-28T14:46:03Zpost89730: Re: Loss of debug connectivityAndy Jinhttp://community.qnx.com/sf/go/post897302011-10-28T13:50:41Z2011-10-28T13:50:41ZOk if network is not a problem, are you using the same Neutrino target
machine as the one used before the problem arise? If not is there any
change in the target machine especially in the network configuration?
On 11-10-28 9:43 AM, "Alan Braddy" <community-noreply@qnx.com> wrote:
>I've tried running this on both our LAN (which isn't normally
>particularly busy) and direct from a second network card (cross-over
>cable) on my PC with the same results, my collegue is using it from a
>second network card with a switch & straight cables.
>
>There doesn't appear to be any sign of network congestion even on the LAN
>(no-one in the office is screaming about a slow network).
>
>
>
>_______________________________________________
>
>QNX Momentics Community Support
>http://community.qnx.com/sf/go/post89728
>Andy Jin2011-10-28T13:50:41Zpost89728: Re: Loss of debug connectivityAlan Braddyhttp://community.qnx.com/sf/go/post897282011-10-28T13:43:22Z2011-10-28T13:43:22ZI've tried running this on both our LAN (which isn't normally particularly busy) and direct from a second network card (cross-over cable) on my PC with the same results, my collegue is using it from a second network card with a switch & straight cables.
There doesn't appear to be any sign of network congestion even on the LAN (no-one in the office is screaming about a slow network).Alan Braddy2011-10-28T13:43:22Zpost89726: Re: Loss of debug connectivityAndy Jinhttp://community.qnx.com/sf/go/post897262011-10-28T13:28:00Z2011-10-28T13:28:00ZYou mentioned "Everything has been going fine until a few days ago, and
your colleague also has the same issue". What had changed? Did you install
a firewall in your network? Is your network become congested?
On 11-10-28 9:18 AM, "Alan Braddy" <community-noreply@qnx.com> wrote:
>Yes, QConn is still running when I lose the indicatoraccording to pidin
>
>
>
>_______________________________________________
>
>QNX Momentics Community Support
>http://community.qnx.com/sf/go/post89725
>Andy Jin2011-10-28T13:28:00Zpost89725: Re: Loss of debug connectivityAlan Braddyhttp://community.qnx.com/sf/go/post897252011-10-28T13:18:09Z2011-10-28T13:18:09ZYes, QConn is still running when I lose the indicatoraccording to pidinAlan Braddy2011-10-28T13:18:09Zpost89719: Re: Loss of debug connectivityAndy Jinhttp://community.qnx.com/sf/go/post897192011-10-28T11:51:16Z2011-10-28T11:51:16ZThis is not debug issue. Is your qconn running on target when you see the
"target navigator the expansion (+) indicator next tho the target
disapears after 3-5 minutes"?
On 11-10-28 3:46 AM, "Alan Braddy" <community-noreply@qnx.com> wrote:
>I'm getting an odd effect with respect to the Momentics debug connection.
>I'm running IDE 4.7 (windows hosted) talking to an x86 target running
>Momentics 6.5 over an ethernet connection.
>
>Everything has been going fine until a few days ago, now when viewing the
>target navigator the expansion (+) indicator next tho the target
>disapears after 3-5 minutes and I can't acess the target via the IDE
>debugger.
>
>Ping works from both target and host, and the Target navigator doesn't
>show the target as (not-connected).
>
>I've tried it with both fixed and dynamic IP addresses with the same
>result, and a contractor who is working with me has the same issue on a
>completely different set of hardware.
>
>I've removed all of my software, so the target system is just sitting
>there with phioton up.
>
>Any pointers as to where to start looking would be appreciated.
>
>(At the moment I'm assuming it's something I've done on building the
>target).
>
>
>
>_______________________________________________
>
>QNX Momentics Community Support
>http://community.qnx.com/sf/go/post89711
>Andy Jin2011-10-28T11:51:16Zpost89713: Re: Loss of debug connectivityAlan Braddyhttp://community.qnx.com/sf/go/post897132011-10-28T09:22:13Z2011-10-28T09:22:13Z> I'm running IDE 4.7 (windows hosted) talking to an x86 target running
> Momentics 6.5 over an ethernet connection.
Oops that should read running Neutrino 6.5 of courseAlan Braddy2011-10-28T09:22:13Zpost89711: Loss of debug connectivityAlan Braddyhttp://community.qnx.com/sf/go/post897112011-10-28T07:46:57Z2011-10-28T07:46:57ZI'm getting an odd effect with respect to the Momentics debug connection.
I'm running IDE 4.7 (windows hosted) talking to an x86 target running Momentics 6.5 over an ethernet connection.
Everything has been going fine until a few days ago, now when viewing the target navigator the expansion (+) indicator next tho the target disapears after 3-5 minutes and I can't acess the target via the IDE debugger.
Ping works from both target and host, and the Target navigator doesn't show the target as (not-connected).
I've tried it with both fixed and dynamic IP addresses with the same result, and a contractor who is working with me has the same issue on a completely different set of hardware.
I've removed all of my software, so the target system is just sitting there with phioton up.
Any pointers as to where to start looking would be appreciated.
(At the moment I'm assuming it's something I've done on building the target).Alan Braddy2011-10-28T07:46:57Zpost89458: mount an iso imagePaul Sheldonhttp://community.qnx.com/sf/go/post894582011-10-19T17:17:03Z2011-10-19T17:17:03ZCan anyone tell me what I am doing wrong with attempting the mount an iso image.
mount -vvvvv -tcd /tmp/tmp.iso /sirius-xm/tmp2/
Parsed: mount from [/tmp/tmp.iso] mount on [/sirius-xm/tmp2/] type [cd]
exec: mount_cd -o rw /tmp/tmp.iso /sirius-xm/tmp2/
Using internal mount (mount_cd not found)
Type [cd] Flags 0x00000000
Device [/tmp/tmp.iso] Directory [/sirius-xm/tmp2/]
Options [NULL]
mount: Can't mount /sirius-xm/tmp2/ (type cd)
mount: Possible reason: No such device or address
for what it is worth sirius-xm is a softlink to /fs/nand that I have mounted /dev/etfs2 pm as etfs type.
tmp2 is a directory I have created for my mount point.
tmp.iso is a windows (joliet) created iso image.
I have also tried -tudf with the same results.
Regards,
Paul SheldonPaul Sheldon2011-10-19T17:17:03Zpost89436: Re: Blank dialog when starting QNX Momentics version 6.4.1Matthew Giassahttp://community.qnx.com/sf/go/post894362011-10-18T17:39:12Z2011-10-18T17:39:12ZThe most common case of this is, in the case of running Momentics on a Linux host, is the ~/.momentics folder being deleted or damaged, and the default workspace directory (eg: ~/ide-4.7-workspace) still being intact. When Momentics is launched, the splash screen appears, but does not show the progress bar, and immediately opens a small, blank window with the title "Qde".
In both cases I've seen, I just backup the following two folders:
~/.momentics
~/ide-4.7-workspace (or whichever folder you use as your default workspace)
Then I move the folders to a temporary location, and re-launch Momentics.
Cheers!Matthew Giassa2011-10-18T17:39:12Zpost89359: Re: OMAP L137 - How to disable I2Czaheer sheriffhttp://community.qnx.com/sf/go/post893592011-10-13T08:29:24Z2011-10-13T08:29:24ZHi Saurabh,
I am using OMAP L138 custom board. When board boots up I could see "startting I2c services". How to test that driver from ARM side.
Steps taken by me.
*connected CRO probe to I2c0 clk
*gave this command after bootup "i2c-dm6446 -a0x1 -i15 -p0x01c22000 -f24000000 -l0x1000 --b10000"
* I could see i2c in /dev/i2c0
I should able to see the clock atleast..?
I could not get anything.
How to establish test setup for testing QNX drivers..
help me in this regard.zaheer sheriff2011-10-13T08:29:24Zpost89250: Re: QNX Momentics Error on first executionMichael Foster(deleted)http://community.qnx.com/sf/go/post892502011-10-06T19:49:14Z2011-10-06T19:49:14ZIn the installation notes, it mentions that you need to logout and log back in to make sure the environment variables are updated properly. I was seeing the same errors, and logging out fixed everything.Michael Foster(deleted)2011-10-06T19:49:14Zpost88783: Re: qcc for QNX v6.5.0 vs qcc for v6.3.2 v: qcc doesn't accept -std=C99 optionPaolo Lomottihttp://community.qnx.com/sf/go/post887832011-09-12T14:21:29Z2011-09-12T14:21:29Z> Aleks suggested -Wc,-std=c99 and you took out the comma and replaced it with a
> space.
>
> Regards,
>
> Ryan Mansfield
Oh ... my mistake!
With the comma it works.
Thank you all!Paolo Lomotti2011-09-12T14:21:29Zpost88772: Re: qcc for QNX v6.5.0 vs qcc for v6.3.2 v: qcc doesn't accept
-std=C99 optionRyan Mansfieldhttp://community.qnx.com/sf/go/post887722011-09-12T09:06:22Z2011-09-12T09:06:22ZAleks suggested -Wc,-std=c99 and you took out the comma and replaced it with a space.
Regards,
Ryan MansfieldRyan Mansfield2011-09-12T09:06:22Zpost88771: Re: qcc for QNX v6.5.0 vs qcc for v6.3.2 v: qcc doesn't accept -std=C99 optionPaolo Lomottihttp://community.qnx.com/sf/go/post887712011-09-12T08:54:15Z2011-09-12T08:54:15ZAlso typing
qcc.exe -Wc -std=c99
the same error message appears:
cc: unknown option: '-std=c99'
> Try with -Wc,-std=c99
>
> ---
> Aleksandar
>
>
> On 11-09-07 04:20 AM, Paolo Lomotti wrote:
> > I have to study a software that compiles under v6.3.2 with no errors.
> >
> > The problem is that when try to compile it under v6.5.0 several compiler
> errors occur, for example: 'comma at end of enumerator list'.
> >
> > In other forums I see that the upwritten error can be avoided with the
> compiler option '-std=c99', but when I try to use it the qcc give me the
> following error:
> > cc: unknown option: '-std=c99'
> >
> > I tried also to compile using the command line outside Momentics, but the
> error is the same so this error is not related to the makefile.
> >
> > Can you help me?
> >
> >
> >
> > _______________________________________________
> >
> > QNX Momentics Community Support
> > http://community.qnx.com/sf/go/post88676
> >Paolo Lomotti2011-09-12T08:54:15Zpost88765: Re: Missing source files while debugging dllElena Laskavaiahttp://community.qnx.com/sf/go/post887652011-09-09T15:06:11Z2011-09-09T15:06:11ZStatic libs should always work. Armle specifically have problem that symbols are loaded automatically, you can type
info shared in the gdb console, and if symbols are not loaded you can load them manually
On 09/09/2011 10:52 AM, Anatoly Abelev wrote:
> Yes.
> Actually the problem now with a static lib
> The task: unit_test_hw_dll/arm/le.v7.g/unit_test_hw_dll_g
> The static lib: lib/master/arm/a/le.v7.shared.g/libsensor-master_gS.a.
>
> The debugger can not see a file sensor_cofig that is used to build libsensor-master_gS.a
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88763
>Elena Laskavaia2011-09-09T15:06:11Zpost88763: Re: Missing source files while debugging dllAnatoly Abelevhttp://community.qnx.com/sf/go/post887632011-09-09T14:52:48Z2011-09-09T14:52:48ZYes.
Actually the problem now with a static lib
The task: unit_test_hw_dll/arm/le.v7.g/unit_test_hw_dll_g
The static lib: lib/master/arm/a/le.v7.shared.g/libsensor-master_gS.a.
The debugger can not see a file sensor_cofig that is used to build libsensor-master_gS.aAnatoly Abelev2011-09-09T14:52:48Zpost88761: Re: Missing source files while debugging dllElena Laskavaiahttp://community.qnx.com/sf/go/post887612011-09-09T14:35:16Z2011-09-09T14:35:16ZIs this armle?
On 09/09/2011 10:14 AM, Anatoly Abelev wrote:
> I have done it yesterday and retried today again.
> Still have the same problem...
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88759
>Elena Laskavaia2011-09-09T14:35:16Zpost88759: Re: RE: Missing source files while debugging dllAnatoly Abelevhttp://community.qnx.com/sf/go/post887592011-09-09T14:14:49Z2011-09-09T14:14:49ZI have done it yesterday and retried today again.
Still have the same problem...Anatoly Abelev2011-09-09T14:14:49Zpost88757: Re: Missing source files while debugging dllElena Laskavaiahttp://community.qnx.com/sf/go/post887572011-09-09T13:42:31Z2011-09-09T13:42:31ZYou missing library lookup path for Debugger (in Debugger tab in launch configuration)
On 09/09/2011 09:29 AM, Anatoly Abelev wrote:
> I have set up environment in Linux VW to debug a (sensor) project under Momentics.
> The project outpit are tasks and dlls.
> I have no problem debugging as long as I stay inside a task.
> BUT, when I try to step into a dll there is a message "No source file named xxx.c" (the xxx.c is a file used to build dll).
>
> What settings am I missing
>
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88755
>Elena Laskavaia2011-09-09T13:42:31Zpost88756: RE: Missing source files while debugging dllAndy Jinhttp://community.qnx.com/sf/go/post887562011-09-09T13:40:36Z2011-09-09T13:40:36ZYou need to add your shared library (dll) source lookup path to the
debugger. In your Momentics IDE debug launch configuration dialog,
select the "Debugger" tab, in the middle of the tab select the "Shared
Libraries" tab. Click "Add..." and browser to the folder containing your
dll source code. Make sure it's the folder not the file.
Also make sure you build your dll in debug mode too.
HTH,
Andy
-----Original Message-----
From: Anatoly Abelev [mailto:community-noreply@qnx.com]
Sent: September-09-11 9:29 AM
To: momentics-community
Subject: Missing source files while debugging dll
I have set up environment in Linux VW to debug a (sensor) project under
Momentics.
The project outpit are tasks and dlls.
I have no problem debugging as long as I stay inside a task.
BUT, when I try to step into a dll there is a message "No source file
named xxx.c" (the xxx.c is a file used to build dll).
What settings am I missing
_______________________________________________
QNX Momentics Community Support
http://community.qnx.com/sf/go/post88755Andy Jin2011-09-09T13:40:36Zpost88755: Missing source files while debugging dllAnatoly Abelevhttp://community.qnx.com/sf/go/post887552011-09-09T13:29:14Z2011-09-09T13:29:14ZI have set up environment in Linux VW to debug a (sensor) project under Momentics.
The project outpit are tasks and dlls.
I have no problem debugging as long as I stay inside a task.
BUT, when I try to step into a dll there is a message "No source file named xxx.c" (the xxx.c is a file used to build dll).
What settings am I missingAnatoly Abelev2011-09-09T13:29:14Zpost88689: Re: qcc for QNX v6.5.0 vs qcc for v6.3.2 v: qcc doesn't accept -std=C99
optionAleksandar Ristovskihttp://community.qnx.com/sf/go/post886892011-09-07T19:22:57Z2011-09-07T19:22:57ZTry with -Wc,-std=c99
---
Aleksandar
On 11-09-07 04:20 AM, Paolo Lomotti wrote:
> I have to study a software that compiles under v6.3.2 with no errors.
>
> The problem is that when try to compile it under v6.5.0 several compiler errors occur, for example: 'comma at end of enumerator list'.
>
> In other forums I see that the upwritten error can be avoided with the compiler option '-std=c99', but when I try to use it the qcc give me the following error:
> cc: unknown option: '-std=c99'
>
> I tried also to compile using the command line outside Momentics, but the error is the same so this error is not related to the makefile.
>
> Can you help me?
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88676
>Aleksandar Ristovski2011-09-07T19:22:57Zpost88676: qcc for QNX v6.5.0 vs qcc for v6.3.2 v: qcc doesn't accept -std=C99 optionPaolo Lomottihttp://community.qnx.com/sf/go/post886762011-09-07T08:20:13Z2011-09-07T08:20:13ZI have to study a software that compiles under v6.3.2 with no errors.
The problem is that when try to compile it under v6.5.0 several compiler errors occur, for example: 'comma at end of enumerator list'.
In other forums I see that the upwritten error can be avoided with the compiler option '-std=c99', but when I try to use it the qcc give me the following error:
cc: unknown option: '-std=c99'
I tried also to compile using the command line outside Momentics, but the error is the same so this error is not related to the makefile.
Can you help me?Paolo Lomotti2011-09-07T08:20:13Zpost88640: Re: Can't locate PNP nodestim brownhttp://community.qnx.com/sf/go/post886402011-09-05T12:05:46Z2011-09-05T12:05:46Zfor anyone googling here...
PNP (Plug aNd Play)
http://www.openqnx.com/phpbbforum/viewtopic.php?t=9244tim brown2011-09-05T12:05:46Zpost88590: Re: Changing process namesDavid Cummingshttp://community.qnx.com/sf/go/post885902011-09-01T17:12:00Z2011-09-01T17:12:00ZThis functionality is enabled in our experimental IDE 5.0 release but not in
any currently released products. You can right click on a process/thread in
the timeline and choose Rename.
The experimental release is available at
http://community.qnx.com/sf/frs/do/viewRelease/projects.ide/frs.ide_5_0.ide_
5_0
On 11-09-01 1:08 PM, "Mark Dowdy" <community-noreply@qnx.com> wrote:
> We're trying to profile a system error that occurs intermittently. Due to the
> infrequent nature of the error, we're running tracelogger in ring mode and we
> stop logging programmatically when the error occurs. I upload the
> tracebuffer.kev off my target and onto my development machine to examine the
> capture. Unfortunately, all the processes have names like 'Process xxx' where
> 'xxx' in the process ID. This makes trace analysis rather challenging. Is
> there a way to change the process names in Momentics once I figure out what
> they are? Thanks.
>
> Mark
>
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88589
>David Cummings2011-09-01T17:12:00Zpost88589: Changing process namesMark Dowdyhttp://community.qnx.com/sf/go/post885892011-09-01T17:08:54Z2011-09-01T17:08:54ZWe're trying to profile a system error that occurs intermittently. Due to the infrequent nature of the error, we're running tracelogger in ring mode and we stop logging programmatically when the error occurs. I upload the tracebuffer.kev off my target and onto my development machine to examine the capture. Unfortunately, all the processes have names like 'Process xxx' where 'xxx' in the process ID. This makes trace analysis rather challenging. Is there a way to change the process names in Momentics once I figure out what they are? Thanks.
MarkMark Dowdy2011-09-01T17:08:54Zpost88491: Re: spawn system call errorPeter Weberhttp://community.qnx.com/sf/go/post884912011-08-30T12:21:11Z2011-08-30T12:21:11Z> i dint understood dude.. can you change my code and post it here.. where to
> change.. see it automatically locate the path rite.. then y should i have to
> specify path and it will not accept the path of the windows rite..
#include <stdlib.h>
#include <stdio.h>
#include<unistd.h>
#include <spawn.h>
int main(int argc,char **argv) {
char *args[]={"hello_g",NULL};
int i;
pid_t pid;
struct inheritance inherit;
memset(&inherit, 0, sizeof(inherit));
inherit.flags =0;
if((pid=spawn("/tmp/hello_g",0,NULL,&inherit,args,0))==-1)
perror("spawn failed");
else
printf("the spawn id %d",pid);
return 0;
}
you can't start a QNX executable on windows.
Please start this program on QNX natively from /tmp directory.
So you should have:
/tmp/hello_g as an executable on a QNX RTOS.Peter Weber2011-08-30T12:21:11Zpost88490: Re: spawn system call errorshakthi bhttp://community.qnx.com/sf/go/post884902011-08-30T12:17:22Z2011-08-30T12:17:22Zi dint understood dude.. can you change my code and post it here.. where to change.. see it automatically locate the path rite.. then y should i have to specify path and it will not accept the path of the windows rite..shakthi b2011-08-30T12:17:22Zpost88489: Re: spawn system call errorPeter Weberhttp://community.qnx.com/sf/go/post884892011-08-30T12:13:48Z2011-08-30T12:13:48Z> see now i removed the flag and set it as zero and also change the argument as
> executable that is my current pgm name... see the code properly.. still i face
> the same error.
the path is still relative not absolute.
whether use spawnp to search in the PATH environment (if it points to your executable) or make the path an absolute path.Peter Weber2011-08-30T12:13:48Zpost88488: Re: spawn system call errorshakthi bhttp://community.qnx.com/sf/go/post884882011-08-30T12:11:21Z2011-08-30T12:11:21Zsee now i removed the flag and set it as zero and also change the argument as executable that is my current pgm name... see the code properly.. still i face the same error.shakthi b2011-08-30T12:11:21Zpost88487: Re: spawn system call errorPeter Weberhttp://community.qnx.com/sf/go/post884872011-08-30T12:09:12Z2011-08-30T12:09:12Z> //code
>
> /*#include <spawn.h>
> #include<stdio.h>
> #include<stdlib.h>
> #include<unistd.h>
> int main(int argc,char **argv)
> {
> char *args[]={"spawnexample",NULL};
> int i;
> pid_t pid;
> struct inheritance inherit;
> memset(&inherit, 0, sizeof(inherit));
> inherit.flags =0;
> if((pid=spawn("spawnexample",0,NULL,&inherit,args,0))==-1)
> perror("spawn failed");
> else
> printf("the spawn id %d",pid);
> return 0;
> }
> */
>
> k dude i changed my code
>
> my program name is spawnexample.. i need this pgm should create one child
> process and that process execute my same program..now also am facing same
> error..
you don't get a child process that way. As I said in the previous post, the SPAWN_EXEC flags _REPLACES_ your _CURRENT_ executable. spawn doesn't return at all.
BTW: The first argument <path> must be an absolute path to the executable as described in the documentation.Peter Weber2011-08-30T12:09:12Zpost88486: Re: spawn system call errorshakthi bhttp://community.qnx.com/sf/go/post884862011-08-30T11:59:14Z2011-08-30T11:59:14Z//code
/*#include <spawn.h>
#include<stdio.h>
#include<stdlib.h>
#include<unistd.h>
int main(int argc,char **argv)
{
char *args[]={"spawnexample",NULL};
int i;
pid_t pid;
struct inheritance inherit;
memset(&inherit, 0, sizeof(inherit));
inherit.flags =0;
if((pid=spawn("spawnexample",0,NULL,&inherit,args,0))==-1)
perror("spawn failed");
else
printf("the spawn id %d",pid);
return 0;
}
*/
k dude i changed my code
my program name is spawnexample.. i need this pgm should create one child process and that process execute my same program..now also am facing same error..shakthi b2011-08-30T11:59:14Zpost88485: Re: spawn system call errorPeter Weberhttp://community.qnx.com/sf/go/post884852011-08-30T11:53:29Z2011-08-30T11:53:29ZWhat do you expect to get?
Setting SPAWN_EXEC means you want to replace the current process with a new one.
In argv[0] you set 'child' but in the path you set 'sharedmemorymodel'.
So what do you expect from this program?
If you want to search the PATH variable for the executable you want to replace the running process with, you should use the spawnp() variant.
> how about a memset(&inherit, 0, sizeof(struct inherit)) ? :-)
>
>
>
> > //code
> >
> > /*#include <spawn.h>
> > #include<stdio.h>
> > #include<stdlib.h>
> > #include<unistd.h>
> > int main(int argc,char **argv)
> > {
> > char *args[]={"child",NULL};
> > int i;
> > pid_t pid;
> > struct inheritance inherit;
> > for (i=0;i<3;i++)
> > {
> > inherit.flags |= SPAWN_EXEC;
> > if((pid=spawn("sharedmemorymodel",0,NULL,&inherit,args,environ))==-1)
> > perror("spawn failed");
> > else
> > printf("the spawn id %d",pid);
> > }
> > return 0;
> > }
> > */
> >
> > i have tried this code in qnx momentics and i used vmware to run qnx rtos..
>
> > while executing this code i got error like spawn:not supported.. couldn't
> find
> > out what is the problem.. whether running in windows, executing qnx exe is
>
> > not supportable? or some other problem. pls help me asap
> >
> > thanks in advance,
> > shakthi
>
>Peter Weber2011-08-30T11:53:29Zpost88483: Re: spawn system call errorshakthi bhttp://community.qnx.com/sf/go/post884832011-08-30T11:41:20Z2011-08-30T11:41:20Zno dude. i ve tried i got some error like:
spawn : no such file or directory..
dont know what to do??shakthi b2011-08-30T11:41:20Zpost88482: Re: spawn system call errorPeter Weberhttp://community.qnx.com/sf/go/post884822011-08-30T11:37:30Z2011-08-30T11:37:30Zups,
I mean:
how about a memset(&inherit, 0, sizeof(inherit));
:-)Peter Weber2011-08-30T11:37:30Zpost88481: Re: spawn system call errorPeter Weberhttp://community.qnx.com/sf/go/post884812011-08-30T11:34:07Z2011-08-30T11:34:07Zhow about a memset(&inherit, 0, sizeof(struct inherit)) ? :-)
> //code
>
> /*#include <spawn.h>
> #include<stdio.h>
> #include<stdlib.h>
> #include<unistd.h>
> int main(int argc,char **argv)
> {
> char *args[]={"child",NULL};
> int i;
> pid_t pid;
> struct inheritance inherit;
> for (i=0;i<3;i++)
> {
> inherit.flags |= SPAWN_EXEC;
> if((pid=spawn("sharedmemorymodel",0,NULL,&inherit,args,environ))==-1)
> perror("spawn failed");
> else
> printf("the spawn id %d",pid);
> }
> return 0;
> }
> */
>
> i have tried this code in qnx momentics and i used vmware to run qnx rtos..
> while executing this code i got error like spawn:not supported.. couldn't find
> out what is the problem.. whether running in windows, executing qnx exe is
> not supportable? or some other problem. pls help me asap
>
> thanks in advance,
> shakthiPeter Weber2011-08-30T11:34:07Zpost88480: spawn system call errorshakthi bhttp://community.qnx.com/sf/go/post884802011-08-30T11:29:15Z2011-08-30T11:29:15Z//code
/*#include <spawn.h>
#include<stdio.h>
#include<stdlib.h>
#include<unistd.h>
int main(int argc,char **argv)
{
char *args[]={"child",NULL};
int i;
pid_t pid;
struct inheritance inherit;
for (i=0;i<3;i++)
{
inherit.flags |= SPAWN_EXEC;
if((pid=spawn("sharedmemorymodel",0,NULL,&inherit,args,environ))==-1)
perror("spawn failed");
else
printf("the spawn id %d",pid);
}
return 0;
}
*/
i have tried this code in qnx momentics and i used vmware to run qnx rtos.. while executing this code i got error like spawn:not supported.. couldn't find out what is the problem.. whether running in windows, executing qnx exe is not supportable? or some other problem. pls help me asap
thanks in advance,
shakthishakthi b2011-08-30T11:29:15Zpost88378: Re: rtkit install from usb flash?Norton Allenhttp://community.qnx.com/sf/go/post883782011-08-25T19:36:47Z2011-08-25T19:36:47ZYeah, I have customized rtinstall, and it works well for CD installs (and not a sign of /fs/cd0 there at least). I don't think I'm getting that far, which makes me think the problem might be in diskboot.
diskboot seems to be a little bit of a mystery, since it must be doing some of the things that enum-devices does, but with less configurability. But without configurability, I can't tell it to wait, right?
And that would point the way to a boot image that skips diskboot, starts the drivers I need, waits for /fs/umass0 or whatever, and runs rtinstall. Does that seems like the most straightforward approach?Norton Allen2011-08-25T19:36:47Zpost88377: Re: rtkit install from usb flash?Keith Russellhttp://community.qnx.com/sf/go/post883772011-08-25T19:26:39Z2011-08-25T19:26:39ZAll three, though diskboot I inherited. But in this case I'm only referring
to the script and the technote. I am pretty sure it's possible but I can't
remember right now. It may be just waiting for /fs/usb* and mounting it. The
'rtinstall' is just a shell script. Nothing fancy.
--
Keith
On 11-08-25 15:14 , "Norton Allen" <community-noreply@qnx.com> wrote:
> Keith, When you say "when I wrote it", are you referring to diskboot, the
> rtkit technote or the instflop.dat boot image? (or something else)
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88376
>Keith Russell2011-08-25T19:26:39Zpost88376: Re: rtkit install from usb flash?Norton Allenhttp://community.qnx.com/sf/go/post883762011-08-25T19:14:09Z2011-08-25T19:14:09ZKeith, When you say "when I wrote it", are you referring to diskboot, the rtkit technote or the instflop.dat boot image? (or something else)Norton Allen2011-08-25T19:14:09Zpost88375: RE: rtkit install from usb flash?Martin Doanehttp://community.qnx.com/sf/go/post883752011-08-25T19:11:15Z2011-08-25T19:11:15ZWe found that 6.4.1 would not find rtinstall on a USB CD, but 6.5.0
would.
-----Original Message-----
From: Keith Russell [mailto:community-noreply@qnx.com]
Sent: Thursday, August 25, 2011 3:07 PM
To: momentics-community
Subject: Re: rtkit install from usb flash?
Most likely. When I wrote it it was intended for customization by the
distributor. I'm fairly certain I hardcoded lots of /fs/cd0's in there.
On 11-08-25 15:02 , "Norton Allen" <community-noreply@qnx.com> wrote:
> Has anyone done this? I tried by:
>
> formatting drive with QNX4 using the boot file extracted from
> instflop-rtkit.dat
> copying over the regular rtkit files, including rtinstall,
> boot/fs/*.ifs,*.qfs
>
> The drive boots, but it does not get into the rtinstall script. I'm
*guessing*
> it somehow isn't finding the USB drive
> after booting. Do I need to build a more carefully customized boot
image?
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88372
>
_______________________________________________
QNX Momentics Community Support
http://community.qnx.com/sf/go/post88374Martin Doane2011-08-25T19:11:15Zpost88374: Re: rtkit install from usb flash?Keith Russellhttp://community.qnx.com/sf/go/post883742011-08-25T19:07:08Z2011-08-25T19:07:08ZMost likely. When I wrote it it was intended for customization by the
distributor. I'm fairly certain I hardcoded lots of /fs/cd0's in there.
On 11-08-25 15:02 , "Norton Allen" <community-noreply@qnx.com> wrote:
> Has anyone done this? I tried by:
>
> formatting drive with QNX4 using the boot file extracted from
> instflop-rtkit.dat
> copying over the regular rtkit files, including rtinstall,
> boot/fs/*.ifs,*.qfs
>
> The drive boots, but it does not get into the rtinstall script. I'm *guessing*
> it somehow isn't finding the USB drive
> after booting. Do I need to build a more carefully customized boot image?
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88372
>Keith Russell2011-08-25T19:07:08Zpost88373: Re: Boot CD 6.5.0 on Hercules IINorton Allenhttp://community.qnx.com/sf/go/post883732011-08-25T19:05:07Z2011-08-25T19:05:07ZSorry for the noise. QNX 6.5.0 was not any part of the problem. It was my CD-burning software (Roxio) which was somehow creating an image that wouldn't burn on all systems. I downloaded a trial version of alcohol 120%, and things started working.Norton Allen2011-08-25T19:05:07Zpost88372: rtkit install from usb flash?Norton Allenhttp://community.qnx.com/sf/go/post883722011-08-25T19:02:56Z2011-08-25T19:02:56ZHas anyone done this? I tried by:
formatting drive with QNX4 using the boot file extracted from instflop-rtkit.dat
copying over the regular rtkit files, including rtinstall, boot/fs/*.ifs,*.qfs
The drive boots, but it does not get into the rtinstall script. I'm *guessing* it somehow isn't finding the USB drive
after booting. Do I need to build a more carefully customized boot image?Norton Allen2011-08-25T19:02:56Zpost88053: Re: RE: how2install JDT for Momentics 4.7?Bjoern Petrihttp://community.qnx.com/sf/go/post880532011-08-12T10:29:11Z2011-08-12T10:29:11ZAndy - thanks a lot for your help. This was exactly the information I was searching for!Bjoern Petri2011-08-12T10:29:11Zpost88039: RE: Bindres error on Windows 7Max Feilhttp://community.qnx.com/sf/go/post880392011-08-11T21:30:40Z2011-08-11T21:30:40ZThis sounds a lot like PR49311, which was supposed to be fixed as of
6.4.0. Which version of Momentics are you running? That PR was verified
against Windows Vista, but there could be other issues in Windows 7.
When you say you changed the "ACU settings" does that mean you disabled
User Account Control (UAC)? If not then try disabling it as a
workaround.
It could still be a permission issue, eg. filesystem vs. user
permissions. Without access to your machine I can't do much... but you
can check if the problem happens as an administrator user vs. regular
user, or in a different directory, etc.
Max
-----Original Message-----
From: Terry Laughlin [mailto:community-noreply@qnx.com]
Sent: Wednesday, August 10, 2011 3:50 PM
To: momentics-community
Subject: Bindres error on Windows 7
I am trying to run bindres under momentics in Windows 7 and getting the
following error:
BINDRES iFS/debug/AMO/bin/laser
rm: Skipping iFS/debug/AMO/bin/laser.tmp -- no write permission
bindres: command 'rm iFS/debug/AMO/bin/laser.tmp' failed
make: *** [iFS/debug/AMO/bin/laser] Error 1
make: *** Deleting file `iFS/debug/AMO/bin/laser'
I have tried changing write perms on the file, changing executables to
have admin privileges, change the ACU settings; all to no avail. Ideas?
_______________________________________________
QNX Momentics Community Support
http://community.qnx.com/sf/go/post87991Max Feil2011-08-11T21:30:40Zpost88037: Re: Momentics / Lint integerationElena Laskavaiahttp://community.qnx.com/sf/go/post880372011-08-11T20:37:49Z2011-08-11T20:37:49ZPage about code analysis feature is here:
http://wiki.eclipse.org/CDT/designs/StaticAnalysis
At the bottom there is a link to report bugs
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=CDT&component=cdt-codan
On 08/11/2011 04:29 PM, Mario Charest wrote:
> Elena,
>
> Would you be so kind at to point me where to this is. I`m not familiar with the Eclipse* development world.
>
> -----Message d'origine-----
> De : Elena Laskavaia [mailto:community-noreply@qnx.com]
> Envoyé : 11 août 2011 15:20
> À : momentics-community
> Objet : Re: Momentics / Lint integeration
>
> If you find false positive feel free to report them to cdt :) (cdt-codan component - I am component lead for that)
>
> On 08/11/2011 03:14 PM, Mario Charest wrote:
>> New CDT.
>>
>> -----Message d'origine-----
>> De : Elena Laskavaia [mailto:community-noreply@qnx.com]
>> Envoyé : 11 août 2011 14:37
>> À : momentics-community
>> Objet : Re: Momentics / Lint integeration
>>
>> You still talking PC Lint or about new CDT Code Analysis?
>>
>> On 08/11/2011 12:42 PM, Mario Charest wrote:
>>> I had to turn about 1/4 of the options off because of false positive. Some however turned out to be true ;-)
>>>
>>>
>>
>>
>>
>> _______________________________________________
>>
>> QNX Momentics Community Support
>> http://community.qnx.com/sf/go/post88031
>>
>>
>>
>>
>>
>> _______________________________________________
>>
>> QNX Momentics Community Support
>> http://community.qnx.com/sf/go/post88033
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88035
>
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88036Elena Laskavaia2011-08-11T20:37:49Zpost88036: RE: Momentics / Lint integerationMario Charesthttp://community.qnx.com/sf/go/post880362011-08-11T20:29:04Z2011-08-11T20:29:04ZElena,
Would you be so kind at to point me where to this is. I`m not familiar with the Eclipse* development world.
-----Message d'origine-----
De : Elena Laskavaia [mailto:community-noreply@qnx.com]
Envoyé : 11 août 2011 15:20
À : momentics-community
Objet : Re: Momentics / Lint integeration
If you find false positive feel free to report them to cdt :) (cdt-codan component - I am component lead for that)
On 08/11/2011 03:14 PM, Mario Charest wrote:
> New CDT.
>
> -----Message d'origine-----
> De : Elena Laskavaia [mailto:community-noreply@qnx.com]
> Envoyé : 11 août 2011 14:37
> À : momentics-community
> Objet : Re: Momentics / Lint integeration
>
> You still talking PC Lint or about new CDT Code Analysis?
>
> On 08/11/2011 12:42 PM, Mario Charest wrote:
>> I had to turn about 1/4 of the options off because of false positive. Some however turned out to be true ;-)
>>
>>
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88031
>
>
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88033
_______________________________________________
QNX Momentics Community Support
http://community.qnx.com/sf/go/post88035Mario Charest2011-08-11T20:29:04Zpost88035: Re: Momentics / Lint integerationElena Laskavaiahttp://community.qnx.com/sf/go/post880352011-08-11T19:20:09Z2011-08-11T19:20:09ZIf you find false positive feel free to report them to cdt :) (cdt-codan component - I am component lead for that)
On 08/11/2011 03:14 PM, Mario Charest wrote:
> New CDT.
>
> -----Message d'origine-----
> De : Elena Laskavaia [mailto:community-noreply@qnx.com]
> Envoyé : 11 août 2011 14:37
> À : momentics-community
> Objet : Re: Momentics / Lint integeration
>
> You still talking PC Lint or about new CDT Code Analysis?
>
> On 08/11/2011 12:42 PM, Mario Charest wrote:
>> I had to turn about 1/4 of the options off because of false positive. Some however turned out to be true ;-)
>>
>>
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88031
>
>
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88033Elena Laskavaia2011-08-11T19:20:09Zpost88033: RE: Momentics / Lint integerationMario Charesthttp://community.qnx.com/sf/go/post880332011-08-11T19:14:42Z2011-08-11T19:14:42ZNew CDT.
-----Message d'origine-----
De : Elena Laskavaia [mailto:community-noreply@qnx.com]
Envoyé : 11 août 2011 14:37
À : momentics-community
Objet : Re: Momentics / Lint integeration
You still talking PC Lint or about new CDT Code Analysis?
On 08/11/2011 12:42 PM, Mario Charest wrote:
> I had to turn about 1/4 of the options off because of false positive. Some however turned out to be true ;-)
>
>
_______________________________________________
QNX Momentics Community Support
http://community.qnx.com/sf/go/post88031Mario Charest2011-08-11T19:14:42Zpost88031: Re: Momentics / Lint integerationElena Laskavaiahttp://community.qnx.com/sf/go/post880312011-08-11T18:37:24Z2011-08-11T18:37:24ZYou still talking PC Lint or about new CDT Code Analysis?
On 08/11/2011 12:42 PM, Mario Charest wrote:
> I had to turn about 1/4 of the options off because of false positive. Some however turned out to be true ;-)
>
>Elena Laskavaia2011-08-11T18:37:24Zpost88029: Re: Momentics / Lint integerationChristian Damus(deleted)http://community.qnx.com/sf/go/post880292011-08-11T18:06:37Z2011-08-11T18:06:37ZAlso, the Eclipse CDT 8.0 release included in the future IDE 5.0 release offers a facility for defining custom error parsers based on regular expressions.
In the error parsers settings of your project, you'll find a link to the preference page where you can define a new error parser, then you can use that parser in your project.
You can find an experimental preview build of IDE 5.0 on the file-releases page:
http://community.qnx.com/sf/frs/do/viewRelease/projects.ide/frs.ide_5_0.ide_5_0
Cheers,
Christian
> Yes, you need to configure PC Lint to print error in the same format as gcc
> does.
>
> On 08/11/2011 11:58 AM, Alan Braddy wrote:
> > I'm using PC Lint as an external tool in Momentics, but was wondering if it
> is possible to get Momentics to display the output in the problem view?
> >
> >
> >
> > _______________________________________________
> >
> > QNX Momentics Community Support
> > http://community.qnx.com/sf/go/post88015
> >Christian Damus(deleted)2011-08-11T18:06:37Zpost88022: RE: Momentics / Lint integerationMario Charesthttp://community.qnx.com/sf/go/post880222011-08-11T16:42:18Z2011-08-11T16:42:18ZI had to turn about 1/4 of the options off because of false positive. Some however turned out to be true ;-)
-----Message d'origine-----
De : Christian Damus [mailto:community-noreply@qnx.com]
Envoyé : 11 août 2011 12:10
À : momentics-community
Objet : Re: Momentics / Lint integeration
Also, the Eclipse CDT Indigo release included in the NDK 0.9.3 or later offers a facility for defining custom error parsers based on regular expressions.
In the error parsers settings of your project, you'll find a link to the preference page where you can define a new error parser, then you can use that parser in your project.
Cheers,
Christian
On 2011-08-11, at 12:01 PM, Elena Laskavaia wrote:
> Yes, you need to configure PC Lint to print error in the same format as gcc does.
>
> On 08/11/2011 11:58 AM, Alan Braddy wrote:
> > I'm using PC Lint as an external tool in Momentics, but was wondering if it is possible to get Momentics to display the output in the problem view?
> >
> >
> >
> > _______________________________________________
> >
> > QNX Momentics Community Support
> > http://community.qnx.com/sf/go/post88015
> >
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88016
>
>
_______________________________________________
QNX Momentics Community Support
http://community.qnx.com/sf/go/post88017Mario Charest2011-08-11T16:42:18Zpost88016: Re: Momentics / Lint integerationElena Laskavaiahttp://community.qnx.com/sf/go/post880162011-08-11T16:01:18Z2011-08-11T16:01:18ZYes, you need to configure PC Lint to print error in the same format as gcc does.
On 08/11/2011 11:58 AM, Alan Braddy wrote:
> I'm using PC Lint as an external tool in Momentics, but was wondering if it is possible to get Momentics to display the output in the problem view?
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88015
>Elena Laskavaia2011-08-11T16:01:18Zpost88015: Momentics / Lint integerationAlan Braddyhttp://community.qnx.com/sf/go/post880152011-08-11T15:58:00Z2011-08-11T15:58:00ZI'm using PC Lint as an external tool in Momentics, but was wondering if it is possible to get Momentics to display the output in the problem view?Alan Braddy2011-08-11T15:58:00Zpost88014: Re: QNX / Posix timer usage in serial comms applicationAlan Braddyhttp://community.qnx.com/sf/go/post880142011-08-11T15:53:54Z2011-08-11T15:53:54ZSorted - not a QNX problem - it appears to be an issue with the fast timer when running QNX in a virtual machineAlan Braddy2011-08-11T15:53:54Zpost87994: Re: Bindres error on Windows 7Terry Laughlinhttp://community.qnx.com/sf/go/post879942011-08-10T20:47:33Z2011-08-10T20:47:33ZThanks, Elena, but I tried that too and it did not work.Terry Laughlin2011-08-10T20:47:33Zpost87992: Re: Bindres error on Windows 7Elena Laskavaiahttp://community.qnx.com/sf/go/post879922011-08-10T19:56:18Z2011-08-10T19:56:18Zchange permission on the dir not on file
On 08/10/2011 03:50 PM, Terry Laughlin wrote:
> I am trying to run bindres under momentics in Windows 7 and getting the following error:
>
> BINDRES iFS/debug/AMO/bin/laser
> rm: Skipping iFS/debug/AMO/bin/laser.tmp -- no write permission
> bindres: command 'rm iFS/debug/AMO/bin/laser.tmp' failed
> make: *** [iFS/debug/AMO/bin/laser] Error 1
> make: *** Deleting file `iFS/debug/AMO/bin/laser'
>
> I have tried changing write perms on the file, changing executables to have admin privileges, change the ACU settings; all to no avail. Ideas?
>
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post87991
>Elena Laskavaia2011-08-10T19:56:18Z