Feed for discussion QNX Momentics Community Support in project Community. http://community.qnx.com/sf/discussion/do/listTopics/projects.community/discussion.qnx_momentics_community_support Posts for QNX Momentics Community Support post101626: Re: How to execute scheduled tasks? http://community.qnx.com/sf/go/post101626 I 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 > Thu, 23 May 2013 09:18:52 GMT http://community.qnx.com/sf/go/post101626 Allen Chen 2013-05-23T09:18:52Z post101604: Re: How can I get CPU utilization? http://community.qnx.com/sf/go/post101604 Thank 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.com Wed, 22 May 2013 15:31:34 GMT http://community.qnx.com/sf/go/post101604 Allen Chen 2013-05-22T15:31:34Z post101601: Re: How can I get CPU utilization? http://community.qnx.com/sf/go/post101601 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. Wed, 22 May 2013 14:40:58 GMT http://community.qnx.com/sf/go/post101601 Shawn Unger 2013-05-22T14:40:58Z post101600: Re: How to execute scheduled tasks? http://community.qnx.com/sf/go/post101600 Thank 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.com Wed, 22 May 2013 14:33:31 GMT http://community.qnx.com/sf/go/post101600 Allen Chen 2013-05-22T14:33:31Z post101597: Re: How to execute scheduled tasks? http://community.qnx.com/sf/go/post101597 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. Wed, 22 May 2013 14:07:05 GMT http://community.qnx.com/sf/go/post101597 Shawn Unger 2013-05-22T14:07:05Z post101596: Re: How to execute scheduled tasks? http://community.qnx.com/sf/go/post101596 Where 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.com Wed, 22 May 2013 13:56:53 GMT http://community.qnx.com/sf/go/post101596 Allen Chen 2013-05-22T13:56:53Z post101593: RE: How to execute scheduled tasks? http://community.qnx.com/sf/go/post101593 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 Wed, 22 May 2013 12:10:52 GMT http://community.qnx.com/sf/go/post101593 Mario Charest 2013-05-22T12:10:52Z post101591: How to execute scheduled tasks? http://community.qnx.com/sf/go/post101591 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 Wed, 22 May 2013 09:29:07 GMT http://community.qnx.com/sf/go/post101591 Allen Chen 2013-05-22T09:29:07Z post101199: How can I get CPU utilization? http://community.qnx.com/sf/go/post101199 I 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 Chen Tue, 07 May 2013 08:13:43 GMT http://community.qnx.com/sf/go/post101199 Allen Chen 2013-05-07T08:13:43Z post101150: CAN Test Between Two Beaglebones http://community.qnx.com/sf/go/post101150 For 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! Stefan Sat, 04 May 2013 22:28:48 GMT http://community.qnx.com/sf/go/post101150 Stefan Hall 2013-05-04T22:28:48Z post100459: Re: Makefile:4: recurse.mk: No such file or directory http://community.qnx.com/sf/go/post100459 Found the fix for the issue... In Windows 7, you must install QNXSDP as administrator otherwise it may obliterate those files. Wed, 10 Apr 2013 23:02:04 GMT http://community.qnx.com/sf/go/post100459 Erick Roane 2013-04-10T23:02:04Z post100448: Makefile:4: recurse.mk: No such file or directory http://community.qnx.com/sf/go/post100448 I'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? Wed, 10 Apr 2013 21:17:31 GMT http://community.qnx.com/sf/go/post100448 Erick Roane 2013-04-10T21:17:31Z post100261: Momentics installation halts on :" Preparing for installation; this may take several minutes..." http://community.qnx.com/sf/go/post100261 Hey, 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 Yaniv Tue, 02 Apr 2013 13:05:00 GMT http://community.qnx.com/sf/go/post100261 Yaniv Machani 2013-04-02T13:05:00Z post100258: Compilation fail http://community.qnx.com/sf/go/post100258 I 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. Mon, 01 Apr 2013 22:00:57 GMT http://community.qnx.com/sf/go/post100258 Maciej Kulasiek 2013-04-01T22:00:57Z post100114: Urgent. Error from moc.exe http://community.qnx.com/sf/go/post100114 This is from latest devstage. Please fix it asap. Fri, 22 Mar 2013 21:14:20 GMT http://community.qnx.com/sf/go/post100114 Libo Yu 2013-03-22T21:14:20Z post100030: Re: Using Own Built Library http://community.qnx.com/sf/go/post100030 After 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.. Wed, 20 Mar 2013 10:12:45 GMT http://community.qnx.com/sf/go/post100030 Ruly Kurniawan 2013-03-20T10:12:45Z post100021: Using Own Built Library http://community.qnx.com/sf/go/post100021 Hi, 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 you Wed, 20 Mar 2013 03:30:55 GMT http://community.qnx.com/sf/go/post100021 Ruly Kurniawan 2013-03-20T03:30:55Z post99863: Re: Build QNX project using command prompt http://community.qnx.com/sf/go/post99863 make 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.com Wed, 13 Mar 2013 15:44:59 GMT http://community.qnx.com/sf/go/post99863 Elena Laskavaia 2013-03-13T15:44:59Z post99815: Build QNX project using command prompt http://community.qnx.com/sf/go/post99815 I would like to know the commands for building a QNX project using command prompt. Tue, 12 Mar 2013 11:23:48 GMT http://community.qnx.com/sf/go/post99815 Vijayachandra Kumar Ramamurthy 2013-03-12T11:23:48Z post99776: Re: Delete key doesn't work on command line http://community.qnx.com/sf/go/post99776 I fixed it. See my answer here: http://unix.stackexchange.com/questions/66434/delete-key-doesnt-work-on-command-line/67356#67356 Fri, 08 Mar 2013 21:55:47 GMT http://community.qnx.com/sf/go/post99776 karl mortensen 2013-03-08T21:55:47Z post99621: Delete key doesn't work on command line http://community.qnx.com/sf/go/post99621 I 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-line Thu, 28 Feb 2013 22:24:04 GMT http://community.qnx.com/sf/go/post99621 karl mortensen 2013-02-28T22:24:04Z post99578: making depends files http://community.qnx.com/sf/go/post99578 Ok... 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. -stv Wed, 27 Feb 2013 14:55:43 GMT http://community.qnx.com/sf/go/post99578 Steve Iribarne 2013-02-27T14:55:43Z post99561: Makefile question http://community.qnx.com/sf/go/post99561 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. -stv Tue, 26 Feb 2013 20:06:37 GMT http://community.qnx.com/sf/go/post99561 Steve Iribarne 2013-02-26T20:06:37Z post99380: Re: Include existing source tree into QNX C++ Project in Momentics v4.7.0, Linux http://community.qnx.com/sf/go/post99380 Hi! 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. Wed, 20 Feb 2013 15:39:33 GMT http://community.qnx.com/sf/go/post99380 Mike Lorenz 2013-02-20T15:39:33Z post98843: QNX 6.5.0, Apache, WSGI, Django http://community.qnx.com/sf/go/post98843 Greetings 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, Nathan Mon, 28 Jan 2013 23:18:55 GMT http://community.qnx.com/sf/go/post98843 Nathan Wright 2013-01-28T23:18:55Z post98703: RE: Sharing License http://community.qnx.com/sf/go/post98703 You 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.com Mon, 21 Jan 2013 18:16:24 GMT http://community.qnx.com/sf/go/post98703 Mario Charest 2013-01-21T18:16:24Z post98701: Sharing License http://community.qnx.com/sf/go/post98701 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. Mon, 21 Jan 2013 15:34:59 GMT http://community.qnx.com/sf/go/post98701 Ashwini Dubey 2013-01-21T15:34:59Z post98678: RE: Floating point license query http://community.qnx.com/sf/go/post98678 You 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.com Fri, 18 Jan 2013 17:42:24 GMT http://community.qnx.com/sf/go/post98678 Mario Charest 2013-01-18T17:42:24Z post98651: Floating point license query http://community.qnx.com/sf/go/post98651 I have five licences but users are 10. Is there any mechanism or license type by which i can do the same. Fri, 18 Jan 2013 05:48:22 GMT http://community.qnx.com/sf/go/post98651 Ashwini Dubey 2013-01-18T05:48:22Z post98628: Re: PRE_BUILD macro http://community.qnx.com/sf/go/post98628 Solved it using: PRE_TARGET=UPDATE_REVISION UPDATE_REVISION: SubWCRev.exe $(PROJECT_ROOT) $(PROJECT_ROOT)/version.tmpl $(PROJECT_ROOT)/version.h Thu, 17 Jan 2013 06:45:31 GMT http://community.qnx.com/sf/go/post98628 Ole Jørgen Legård 2013-01-17T06:45:31Z post98611: PRE_BUILD macro http://community.qnx.com/sf/go/post98611 Hi 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? Wed, 16 Jan 2013 19:34:25 GMT http://community.qnx.com/sf/go/post98611 Ole Jørgen Legård 2013-01-16T19:34:25Z post98394: Re: Installing 6.50 SP1 breaks make (can't find qconfig.mk) http://community.qnx.com/sf/go/post98394 Installing 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. Fri, 04 Jan 2013 23:26:22 GMT http://community.qnx.com/sf/go/post98394 Jeff Pace 2013-01-04T23:26:22Z post98079: Slinger XHTML http://community.qnx.com/sf/go/post98079 Hi, 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? Thu, 13 Dec 2012 10:27:46 GMT http://community.qnx.com/sf/go/post98079 Pascal Mues 2012-12-13T10:27:46Z post97880: Re: sem_timedwait_monotonic issue http://community.qnx.com/sf/go/post97880 I 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.com Thu, 06 Dec 2012 21:17:56 GMT http://community.qnx.com/sf/go/post97880 Elena Laskavaia 2012-12-06T21:17:56Z post97826: RE: QNX Momentics suddenly slow! http://community.qnx.com/sf/go/post97826 Garbage 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.com Wed, 05 Dec 2012 16:36:06 GMT http://community.qnx.com/sf/go/post97826 Mario Charest 2012-12-05T16:36:06Z post97824: Re: QNX Momentics suddenly slow! http://community.qnx.com/sf/go/post97824 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. Wed, 05 Dec 2012 16:03:44 GMT http://community.qnx.com/sf/go/post97824 John Parker 2012-12-05T16:03:44Z post97788: Re: Remote Debugging Not Hitting Breakpoints http://community.qnx.com/sf/go/post97788 If 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. Tue, 04 Dec 2012 22:25:56 GMT http://community.qnx.com/sf/go/post97788 John Parker 2012-12-04T22:25:56Z post97787: sem_timedwait_monotonic issue http://community.qnx.com/sf/go/post97787 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 Tue, 04 Dec 2012 22:23:22 GMT http://community.qnx.com/sf/go/post97787 John Parker 2012-12-04T22:23:22Z post97756: LPR Printing / A4 paper format not possible ? http://community.qnx.com/sf/go/post97756 Hi, 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 ) Tue, 04 Dec 2012 14:17:19 GMT http://community.qnx.com/sf/go/post97756 Yves Digaud 2012-12-04T14:17:19Z post97576: Problem resolving deadlock with HAM http://community.qnx.com/sf/go/post97576 Hi, 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?? Wed, 28 Nov 2012 16:03:13 GMT http://community.qnx.com/sf/go/post97576 Vikram Yadav 2012-11-28T16:03:13Z post97572: Re: Undefined reference error with ham functions http://community.qnx.com/sf/go/post97572 I has a typo in linked library name. Thank you. Wed, 28 Nov 2012 15:57:54 GMT http://community.qnx.com/sf/go/post97572 Vikram Yadav 2012-11-28T15:57:54Z post97467: Re: Undefined reference error with ham functions http://community.qnx.com/sf/go/post97467 It 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.com Mon, 26 Nov 2012 22:01:03 GMT http://community.qnx.com/sf/go/post97467 Elena Laskavaia 2012-11-26T22:01:03Z post97462: Re: rtkit install from usb flash? http://community.qnx.com/sf/go/post97462 Yes, 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. Mon, 26 Nov 2012 20:13:02 GMT http://community.qnx.com/sf/go/post97462 Norton Allen 2012-11-26T20:13:02Z post97436: Undefined reference error with ham functions http://community.qnx.com/sf/go/post97436 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 Sat, 24 Nov 2012 22:17:58 GMT http://community.qnx.com/sf/go/post97436 Vikram Yadav 2012-11-24T22:17:58Z post97428: Re: Momentics v4.7.0, Linux: Files deleted in Project Explorer get deleted permanently from the disk http://community.qnx.com/sf/go/post97428 Momentics 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.com Fri, 23 Nov 2012 18:29:08 GMT http://community.qnx.com/sf/go/post97428 Elena Laskavaia 2012-11-23T18:29:08Z post97403: Re: Error in running program http://community.qnx.com/sf/go/post97403 Means 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.com Thu, 22 Nov 2012 18:33:47 GMT http://community.qnx.com/sf/go/post97403 Elena Laskavaia 2012-11-22T18:33:47Z post97401: Re: Installing 6.50 SP1 breaks make (can't find qconfig.mk) http://community.qnx.com/sf/go/post97401 (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.com Thu, 22 Nov 2012 18:28:45 GMT http://community.qnx.com/sf/go/post97401 Elena Laskavaia 2012-11-22T18:28:45Z post97370: Re: Installing 6.50 SP1 breaks make (can't find qconfig.mk) http://community.qnx.com/sf/go/post97370 sudo -E doesn't work for me either. Any solution? Thu, 22 Nov 2012 09:13:36 GMT http://community.qnx.com/sf/go/post97370 Pratik Sinha 2012-11-22T09:13:36Z post97357: Momentics v4.7.0, Linux: Files deleted in Project Explorer get deleted permanently from the disk http://community.qnx.com/sf/go/post97357 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... Wed, 21 Nov 2012 21:09:13 GMT http://community.qnx.com/sf/go/post97357 Oleg V 2012-11-21T21:09:13Z post97356: Include existing source tree into QNX C++ Project in Momentics v4.7.0, Linux http://community.qnx.com/sf/go/post97356 I 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. Wed, 21 Nov 2012 21:00:21 GMT http://community.qnx.com/sf/go/post97356 Oleg V 2012-11-21T21:00:21Z post97330: Error in running program http://community.qnx.com/sf/go/post97330 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. Wed, 21 Nov 2012 11:00:10 GMT http://community.qnx.com/sf/go/post97330 pooja chahal 2012-11-21T11:00:10Z post97308: Remote Debugging Not Hitting Breakpoints http://community.qnx.com/sf/go/post97308 I 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. Tue, 20 Nov 2012 16:54:59 GMT http://community.qnx.com/sf/go/post97308 JV 2012-11-20T16:54:59Z post97307: Re: rtkit install from usb flash? http://community.qnx.com/sf/go/post97307 Did you find a solution for this? I want to do the same thing. Tue, 20 Nov 2012 16:31:11 GMT http://community.qnx.com/sf/go/post97307 Ole Jørgen Legård 2012-11-20T16:31:11Z post97262: Re: Dynamic HTML auto refresh using ds data server with slinger and qnxvar http://community.qnx.com/sf/go/post97262 Hi 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, Trevor Fri, 16 Nov 2012 15:22:13 GMT http://community.qnx.com/sf/go/post97262 Trevor Gelowsky 2012-11-16T15:22:13Z post97260: Dynamic HTML auto refresh using ds data server with slinger and qnxvar http://community.qnx.com/sf/go/post97260 I 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. Fri, 16 Nov 2012 14:51:59 GMT http://community.qnx.com/sf/go/post97260 Raymond Flach 2012-11-16T14:51:59Z post96840: Re: multiple definition of 'main ' error...... http://community.qnx.com/sf/go/post96840 Why don't you split the code to separate source code files? Mon, 05 Nov 2012 14:06:29 GMT http://community.qnx.com/sf/go/post96840 Pavol Kycina 2012-11-05T14:06:29Z post96839: RE: multiple definition of 'main ' error...... http://community.qnx.com/sf/go/post96839 You 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.com Mon, 05 Nov 2012 12:44:27 GMT http://community.qnx.com/sf/go/post96839 Mario Charest 2012-11-05T12:44:27Z post96835: multiple definition of 'main ' error...... http://community.qnx.com/sf/go/post96835 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.... Mon, 05 Nov 2012 12:05:57 GMT http://community.qnx.com/sf/go/post96835 pooja chahal 2012-11-05T12:05:57Z post96833: RE: multiple definition of 'main ' error...... http://community.qnx.com/sf/go/post96833 You 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.com Mon, 05 Nov 2012 11:33:39 GMT http://community.qnx.com/sf/go/post96833 Mario Charest 2012-11-05T11:33:39Z post96823: multiple definition of 'main' error http://community.qnx.com/sf/go/post96823 please 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..:) Mon, 05 Nov 2012 05:01:35 GMT http://community.qnx.com/sf/go/post96823 pooja chahal 2012-11-05T05:01:35Z post96822: multiple definition of 'main ' error...... http://community.qnx.com/sf/go/post96822 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' Mon, 05 Nov 2012 04:50:57 GMT http://community.qnx.com/sf/go/post96822 pooja chahal 2012-11-05T04:50:57Z post96737: how to handle signalkill() http://community.qnx.com/sf/go/post96737 when 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. Thu, 01 Nov 2012 08:43:07 GMT http://community.qnx.com/sf/go/post96737 Joe W 2012-11-01T08:43:07Z post96541: RE: Can we use Netfront instead of Slinger as a web server in QNX? http://community.qnx.com/sf/go/post96541 Netfront 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.com Tue, 23 Oct 2012 07:57:15 GMT http://community.qnx.com/sf/go/post96541 Max Feil 2012-10-23T07:57:15Z post96539: Can we use Netfront instead of Slinger as a web server in QNX? http://community.qnx.com/sf/go/post96539 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. Tue, 23 Oct 2012 07:01:40 GMT http://community.qnx.com/sf/go/post96539 Samaneh Dehghan 2012-10-23T07:01:40Z post96343: baud=460800 with devc_ser8250? http://community.qnx.com/sf/go/post96343 I 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? Mon, 15 Oct 2012 20:53:58 GMT http://community.qnx.com/sf/go/post96343 Norton Allen 2012-10-15T20:53:58Z post96336: Re: IO-Address for mmap_device_io with PC-104 http://community.qnx.com/sf/go/post96336 Ok 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. Mon, 15 Oct 2012 18:01:08 GMT http://community.qnx.com/sf/go/post96336 Adam Barber 2012-10-15T18:01:08Z post96218: Re: IO-Address for mmap_device_io with PC-104 http://community.qnx.com/sf/go/post96218 Strictly - 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. Wed, 10 Oct 2012 23:43:35 GMT http://community.qnx.com/sf/go/post96218 Warren Deitch 2012-10-10T23:43:35Z post96185: Re: IO-Address for mmap_device_io with PC-104 http://community.qnx.com/sf/go/post96185 Hmmm 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? Wed, 10 Oct 2012 14:47:35 GMT http://community.qnx.com/sf/go/post96185 Adam Barber 2012-10-10T14:47:35Z post96164: Re: IO-Address for mmap_device_io with PC-104 http://community.qnx.com/sf/go/post96164 The 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. Tue, 09 Oct 2012 22:33:55 GMT http://community.qnx.com/sf/go/post96164 Warren Deitch 2012-10-09T22:33:55Z post96129: Re: IO-Address for mmap_device_io with PC-104 http://community.qnx.com/sf/go/post96129 Great, 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")? Tue, 09 Oct 2012 15:30:23 GMT http://community.qnx.com/sf/go/post96129 Adam Barber 2012-10-09T15:30:23Z post96113: Re: IO-Address for mmap_device_io with PC-104 http://community.qnx.com/sf/go/post96113 I 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." Mon, 08 Oct 2012 22:58:05 GMT http://community.qnx.com/sf/go/post96113 Warren Deitch 2012-10-08T22:58:05Z post96112: IO-Address for mmap_device_io with PC-104 http://community.qnx.com/sf/go/post96112 I'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. Mon, 08 Oct 2012 22:45:58 GMT http://community.qnx.com/sf/go/post96112 Adam Barber 2012-10-08T22:45:58Z post95893: Re: Installing 6.50 SP1 breaks make (can't find qconfig.mk) http://community.qnx.com/sf/go/post95893 I still have the same problem even with preserve env variables ie. "-E" . Thu, 27 Sep 2012 15:45:51 GMT http://community.qnx.com/sf/go/post95893 Grigore Lupescu 2012-09-27T15:45:51Z post95273: Re: Cross compiling Apache with pkgsrc? http://community.qnx.com/sf/go/post95273 I'm looking to cross-compile Apache. I've you been able to do it? Germain Wed, 29 Aug 2012 19:23:42 GMT http://community.qnx.com/sf/go/post95273 Germain Hebert 2012-08-29T19:23:42Z post95073: Touchscreen on QNX6.5.0 for Kontron nanoEXTexpress http://community.qnx.com/sf/go/post95073 Hi, Is there touchscreen egalax USB driver for Kontron nanoEXTexpress x86 board? If yes whera can I get it? Thanks, Alex. Thu, 23 Aug 2012 13:55:35 GMT http://community.qnx.com/sf/go/post95073 Alex Mach 2012-08-23T13:55:35Z post94999: Re: Installing 6.50 SP1 breaks make (can't find qconfig.mk) http://community.qnx.com/sf/go/post94999 I 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. Tue, 21 Aug 2012 19:32:17 GMT http://community.qnx.com/sf/go/post94999 Shawn Unger 2012-08-21T19:32:17Z post94957: Re: Problem building project: error in make command http://community.qnx.com/sf/go/post94957 i used sudo -E for installing SP1 and the problem is fixed now. Mon, 20 Aug 2012 19:07:14 GMT http://community.qnx.com/sf/go/post94957 Pourya Shirazian 2012-08-20T19:07:14Z post94905: Re: Problem building project: error in make command http://community.qnx.com/sf/go/post94905 I 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? Thu, 16 Aug 2012 22:03:27 GMT http://community.qnx.com/sf/go/post94905 Pourya Shirazian 2012-08-16T22:03:27Z post94828: Re: Installing 6.50 SP1 breaks make (can't find qconfig.mk) http://community.qnx.com/sf/go/post94828 Sorry 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 Kevin Tue, 14 Aug 2012 21:17:33 GMT http://community.qnx.com/sf/go/post94828 Kevin Stallard 2012-08-14T21:17:33Z post94827: Re: Momentics IDE fails to start - stuck on "Validating C/C++ buil...tings: (0%)" http://community.qnx.com/sf/go/post94827 Actually, 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, Omair Tue, 14 Aug 2012 21:17:29 GMT http://community.qnx.com/sf/go/post94827 Omair Muhi 2012-08-14T21:17:29Z post94822: Re: Installing 6.50 SP1 breaks make (can't find qconfig.mk) http://community.qnx.com/sf/go/post94822 So 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 Kevin Tue, 14 Aug 2012 20:09:51 GMT http://community.qnx.com/sf/go/post94822 Kevin Stallard 2012-08-14T20:09:51Z post94820: Installing 6.50 SP1 breaks make (can't find qconfig.mk) http://community.qnx.com/sf/go/post94820 I 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 Kevin Tue, 14 Aug 2012 19:57:58 GMT http://community.qnx.com/sf/go/post94820 Kevin Stallard 2012-08-14T19:57:58Z post94819: Re: /opt/qnx650/target/qnx6/arlmle library files http://community.qnx.com/sf/go/post94819 Corrupted install...I downloaded the individual 6.5.0 version (instead of the dvd) and it works... Tue, 14 Aug 2012 19:53:30 GMT http://community.qnx.com/sf/go/post94819 Kevin Stallard 2012-08-14T19:53:30Z post94817: /opt/qnx650/target/qnx6/arlmle library files http://community.qnx.com/sf/go/post94817 Hey 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 Kevin Tue, 14 Aug 2012 18:54:48 GMT http://community.qnx.com/sf/go/post94817 Kevin Stallard 2012-08-14T18:54:48Z post94811: Re: Momentics IDE fails to start - stuck on "Validating C/C++ buil...tings: (0%)" http://community.qnx.com/sf/go/post94811 Hi, 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, Omair Tue, 14 Aug 2012 16:50:39 GMT http://community.qnx.com/sf/go/post94811 Omair Muhi 2012-08-14T16:50:39Z post94720: recv() does not immediately return when data is available http://community.qnx.com/sf/go/post94720 Hi, 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, Jan Thu, 09 Aug 2012 14:41:50 GMT http://community.qnx.com/sf/go/post94720 Jan Henrik 2012-08-09T14:41:50Z post94660: dcheck for qnx6fs? http://community.qnx.com/sf/go/post94660 The 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? Mon, 06 Aug 2012 20:08:40 GMT http://community.qnx.com/sf/go/post94660 Norton Allen 2012-08-06T20:08:40Z post94487: Re: the problem of Audio data receive http://community.qnx.com/sf/go/post94487 hi 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!!! Sat, 28 Jul 2012 10:51:27 GMT http://community.qnx.com/sf/go/post94487 bhanu shankar d g 2012-07-28T10:51:27Z post94452: QNX 6.4.0 and FTDI FT245R http://community.qnx.com/sf/go/post94452 whether there is support for this equipment in QNX 6.4? Need to make it work Fri, 27 Jul 2012 13:36:57 GMT http://community.qnx.com/sf/go/post94452 Andrey Strunin 2012-07-27T13:36:57Z post94427: ETFS file system http://community.qnx.com/sf/go/post94427 how to create ETFS file system on external usb device. Thu, 26 Jul 2012 10:55:49 GMT http://community.qnx.com/sf/go/post94427 Ganapathi D 2012-07-26T10:55:49Z post94404: Re: Momentics IDE fails to start - stuck on "Validating C/C++ buil...tings: (0%)" http://community.qnx.com/sf/go/post94404 Hi, Just tried starting Momentics today and it worked this time. Regards, Omair Wed, 25 Jul 2012 15:46:09 GMT http://community.qnx.com/sf/go/post94404 Omair Muhi 2012-07-25T15:46:09Z post94395: Momentics IDE fails to start - stuck on "Validating C/C++ buil...tings: (0%)" http://community.qnx.com/sf/go/post94395 Hi, 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, Omair Tue, 24 Jul 2012 17:58:58 GMT http://community.qnx.com/sf/go/post94395 Omair Muhi 2012-07-24T17:58:58Z post94364: Can IDE (Momentics 4.7) build multi-level source tree? http://community.qnx.com/sf/go/post94364 Hi, 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, David Fri, 20 Jul 2012 09:48:39 GMT http://community.qnx.com/sf/go/post94364 David Fraser 2012-07-20T09:48:39Z post94365: Re: Can IDE (Momentics 4.7) build multi-level source tree? http://community.qnx.com/sf/go/post94365 Ha, Apologies - I think I finally found where the documentation covers this. Will post back, if I still have issues. Cheers, David Fri, 20 Jul 2012 09:37:01 GMT http://community.qnx.com/sf/go/post94365 David Fraser 2012-07-20T09:37:01Z post94294: slogger http://community.qnx.com/sf/go/post94294 hello, 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. Tue, 17 Jul 2012 16:44:21 GMT http://community.qnx.com/sf/go/post94294 Mure Eric 2012-07-17T16:44:21Z post94228: Re: QNX 6.5 compile with -fstack-protector-all http://community.qnx.com/sf/go/post94228 I 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. Thu, 12 Jul 2012 16:53:48 GMT http://community.qnx.com/sf/go/post94228 Harry Wang 2012-07-12T16:53:48Z post94225: Re: QNX 6.5 compile with -fstack-protector-all http://community.qnx.com/sf/go/post94225 As 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 Mansfield Thu, 12 Jul 2012 15:54:48 GMT http://community.qnx.com/sf/go/post94225 Ryan Mansfield 2012-07-12T15:54:48Z post94224: Re: QNX 6.5 compile with -fstack-protector-all http://community.qnx.com/sf/go/post94224 OK, 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) *.o Thu, 12 Jul 2012 15:49:28 GMT http://community.qnx.com/sf/go/post94224 Harry Wang 2012-07-12T15:49:28Z post94177: Re: QNX 6.5 compile with -fstack-protector-all http://community.qnx.com/sf/go/post94177 I 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. Tue, 10 Jul 2012 19:59:23 GMT http://community.qnx.com/sf/go/post94177 Harry Wang 2012-07-10T19:59:23Z post94174: Re: QNX 6.5 compile with -fstack-protector-all http://community.qnx.com/sf/go/post94174 On 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 Mansfield Tue, 10 Jul 2012 18:57:42 GMT http://community.qnx.com/sf/go/post94174 Ryan Mansfield 2012-07-10T18:57:42Z post94173: Re: QNX 6.5 compile with -fstack-protector-all http://community.qnx.com/sf/go/post94173 Yeah, I can see the symbols. But I still get the link problem. Tue, 10 Jul 2012 18:53:52 GMT http://community.qnx.com/sf/go/post94173 Harry Wang 2012-07-10T18:53:52Z post94172: Re: QNX 6.5 compile with -fstack-protector-all http://community.qnx.com/sf/go/post94172 On 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 Mansfield Tue, 10 Jul 2012 16:55:53 GMT http://community.qnx.com/sf/go/post94172 Ryan Mansfield 2012-07-10T16:55:53Z post94169: Re: QNX 6.5 compile with -fstack-protector-all http://community.qnx.com/sf/go/post94169 And 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_fail Tue, 10 Jul 2012 15:58:13 GMT http://community.qnx.com/sf/go/post94169 Harry Wang 2012-07-10T15:58:13Z post94168: Re: QNX 6.5 compile with -fstack-protector-all http://community.qnx.com/sf/go/post94168 armv7 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' Tue, 10 Jul 2012 15:53:47 GMT http://community.qnx.com/sf/go/post94168 Harry Wang 2012-07-10T15:53:47Z post94166: Re: QNX 6.5 compile with -fstack-protector-all http://community.qnx.com/sf/go/post94166 On 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 Mansfield Tue, 10 Jul 2012 14:34:21 GMT http://community.qnx.com/sf/go/post94166 Ryan Mansfield 2012-07-10T14:34:21Z post94165: Re: QNX 6.5 compile with -fstack-protector-all http://community.qnx.com/sf/go/post94165 Yes, 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/include Tue, 10 Jul 2012 14:18:58 GMT http://community.qnx.com/sf/go/post94165 Harry Wang 2012-07-10T14:18:58Z post94158: Re: QNX 6.5 compile with -fstack-protector-all http://community.qnx.com/sf/go/post94158 On 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 Mansfield Mon, 09 Jul 2012 22:10:44 GMT http://community.qnx.com/sf/go/post94158 Ryan Mansfield 2012-07-09T22:10:44Z post94156: Re: QNX 6.5 compile with -fstack-protector-all http://community.qnx.com/sf/go/post94156 I encountered the same thing with BBNDK10.0.6 for x86, arm has no such a problem though. Mon, 09 Jul 2012 21:52:08 GMT http://community.qnx.com/sf/go/post94156 Harry Wang 2012-07-09T21:52:08Z post94123: Re: Welcome to the QNX Momentics Community Support Forum ! http://community.qnx.com/sf/go/post94123 The two binaries are the same application, except the one with the "_g" contains the symbol tables required for line-by-line debugging. Fri, 06 Jul 2012 13:34:25 GMT http://community.qnx.com/sf/go/post94123 Edward Lee 2012-07-06T13:34:25Z post94122: Re: Welcome to the QNX Momentics Community Support Forum ! http://community.qnx.com/sf/go/post94122 do you have QNET running on the target? Fri, 06 Jul 2012 13:32:20 GMT http://community.qnx.com/sf/go/post94122 Edward Lee 2012-07-06T13:32:20Z post94112: Re: Welcome to the QNX Momentics Community Support Forum ! http://community.qnx.com/sf/go/post94112 > 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 icons Fri, 06 Jul 2012 07:59:29 GMT http://community.qnx.com/sf/go/post94112 rohitha vakamudi 2012-07-06T07:59:29Z post94111: Re: Welcome to the QNX Momentics Community Support Forum ! http://community.qnx.com/sf/go/post94111 I 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. Fri, 06 Jul 2012 07:55:37 GMT http://community.qnx.com/sf/go/post94111 rohitha vakamudi 2012-07-06T07:55:37Z post93895: QNX system builder http://community.qnx.com/sf/go/post93895 Hi, 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. Wed, 27 Jun 2012 11:00:16 GMT http://community.qnx.com/sf/go/post93895 Pekka Tuusjärvi 2012-06-27T11:00:16Z post93749: Running ntoarm-addr2line.exe http://community.qnx.com/sf/go/post93749 Hi, 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??? Tue, 19 Jun 2012 05:52:05 GMT http://community.qnx.com/sf/go/post93749 Thalaichamy Sathish Kumar 2012-06-19T05:52:05Z post93715: Problem with integration of CImg.h file in QNX momentics http://community.qnx.com/sf/go/post93715 Hi, 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. Mon, 18 Jun 2012 06:57:22 GMT http://community.qnx.com/sf/go/post93715 Megha Sanghvi 2012-06-18T06:57:22Z post93692: QCC Compiler error on NEON intrinsic only when using -finstrument-functions option http://community.qnx.com/sf/go/post93692 Hey 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, Jarrod Fri, 15 Jun 2012 10:07:35 GMT http://community.qnx.com/sf/go/post93692 Jarrod Smith 2012-06-15T10:07:35Z post93653: arrow keys and behaviour of toogle button ,combo box and text label http://community.qnx.com/sf/go/post93653 Hi , 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).? Thu, 14 Jun 2012 07:59:24 GMT http://community.qnx.com/sf/go/post93653 Arun Kumar 2012-06-14T07:59:24Z post93138: Re: Profiler: Unable to open source file http://community.qnx.com/sf/go/post93138 It 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/post92740 Wed, 16 May 2012 17:43:50 GMT http://community.qnx.com/sf/go/post93138 Elena Laskavaia 2012-05-16T17:43:50Z post92895: /var/log/utmp and who http://community.qnx.com/sf/go/post92895 In 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? Thu, 03 May 2012 13:56:08 GMT http://community.qnx.com/sf/go/post92895 Norton Allen 2012-05-03T13:56:08Z post92855: Using PC-lint with QNX Momentics http://community.qnx.com/sf/go/post92855 Has 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] Tue, 01 May 2012 13:59:08 GMT http://community.qnx.com/sf/go/post92855 Chris Welch 2012-05-01T13:59:08Z post92747: problem with "Step Over" during debugging http://community.qnx.com/sf/go/post92747 I 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!! Thu, 26 Apr 2012 16:52:21 GMT http://community.qnx.com/sf/go/post92747 Paul Imthurn 2012-04-26T16:52:21Z post92740: Profiler: Unable to open source file http://community.qnx.com/sf/go/post92740 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. Wed, 25 Apr 2012 19:04:20 GMT http://community.qnx.com/sf/go/post92740 Sadashiv Hiremath(deleted) 2012-04-25T19:04:20Z post92570: Re: Uninstall of QNX and activate the QNX Momentics http://community.qnx.com/sf/go/post92570 I haven't used the Rhapsody before. Maybe someone else can comment on your question. Mon, 16 Apr 2012 14:13:47 GMT http://community.qnx.com/sf/go/post92570 Andy Jin 2012-04-16T14:13:47Z post92569: Re: Uninstall of QNX and activate the QNX Momentics http://community.qnx.com/sf/go/post92569 Thanks 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. Thanks Mon, 16 Apr 2012 14:01:09 GMT http://community.qnx.com/sf/go/post92569 Mohan Ramasamy 2012-04-16T14:01:09Z post92568: Re: Uninstall of QNX and activate the QNX Momentics http://community.qnx.com/sf/go/post92568 Thanks for all Andy. For ques, Are you aware of Integrating QNX6.4-Rhapsody7.5 in Linux version. Mon, 16 Apr 2012 13:59:22 GMT http://community.qnx.com/sf/go/post92568 Mohan Ramasamy 2012-04-16T13:59:22Z post92567: Re: Uninstall of QNX and activate the QNX Momentics http://community.qnx.com/sf/go/post92567 You 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 > Mon, 16 Apr 2012 13:50:14 GMT http://community.qnx.com/sf/go/post92567 Andy Jin 2012-04-16T13:50:14Z post92566: Re: Uninstall of QNX and activate the QNX Momentics http://community.qnx.com/sf/go/post92566 Thanks for understanding. Have you aware , Is it chargable for increaing the activation number. Mon, 16 Apr 2012 13:42:04 GMT http://community.qnx.com/sf/go/post92566 Mohan Ramasamy 2012-04-16T13:42:04Z post92565: Re: Uninstall of QNX and activate the QNX Momentics http://community.qnx.com/sf/go/post92565 1. 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. > Mon, 16 Apr 2012 13:33:28 GMT http://community.qnx.com/sf/go/post92565 Andy Jin 2012-04-16T13:33:28Z post92564: Re: Uninstall of QNX and activate the QNX Momentics http://community.qnx.com/sf/go/post92564 1. Can we use the same license key and activate ? 2. How many times that key can be activated. Mon, 16 Apr 2012 13:27:16 GMT http://community.qnx.com/sf/go/post92564 Mohan Ramasamy 2012-04-16T13:27:16Z post92563: Re: Uninstall of QNX and activate the QNX Momentics http://community.qnx.com/sf/go/post92563 I 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 > Mon, 16 Apr 2012 13:07:32 GMT http://community.qnx.com/sf/go/post92563 Andy Jin 2012-04-16T13:07:32Z post92562: Re: Uninstall of QNX and activate the QNX Momentics http://community.qnx.com/sf/go/post92562 Thanks Andy, I have used qnx641 but now I am uninstalling that key. Do I want ot return something related? Mon, 16 Apr 2012 12:43:09 GMT http://community.qnx.com/sf/go/post92562 Mohan Ramasamy 2012-04-16T12:43:09Z post92561: Re: Uninstall of QNX and activate the QNX Momentics http://community.qnx.com/sf/go/post92561 You 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. Mon, 16 Apr 2012 12:38:19 GMT http://community.qnx.com/sf/go/post92561 Andy Jin 2012-04-16T12:38:19Z post92559: Re: Uninstall of QNX and activate the QNX Momentics http://community.qnx.com/sf/go/post92559 Information : Linux version Client Mon, 16 Apr 2012 12:22:45 GMT http://community.qnx.com/sf/go/post92559 Mohan Ramasamy 2012-04-16T12:22:45Z post92558: Re: Uninstall of QNX and activate the QNX Momentics http://community.qnx.com/sf/go/post92558 Any Suggessions? Mon, 16 Apr 2012 11:36:20 GMT http://community.qnx.com/sf/go/post92558 Mohan Ramasamy 2012-04-16T11:36:20Z post92533: Uninstall of QNX and activate the QNX Momentics http://community.qnx.com/sf/go/post92533 I 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. Thu, 12 Apr 2012 10:57:42 GMT http://community.qnx.com/sf/go/post92533 Mohan Ramasamy 2012-04-12T10:57:42Z post92453: RE: Update tool chain in QNX6.5.0 http://community.qnx.com/sf/go/post92453 Ok. 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/post92451 Wed, 04 Apr 2012 14:37:24 GMT http://community.qnx.com/sf/go/post92453 Zahira Ammarguellat 2012-04-04T14:37:24Z post92451: Re: Update tool chain in QNX6.5.0 http://community.qnx.com/sf/go/post92451 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 Wed, 04 Apr 2012 14:24:29 GMT http://community.qnx.com/sf/go/post92451 Ryan Mansfield 2012-04-04T14:24:29Z post92449: RE: Update tool chain in QNX6.5.0 http://community.qnx.com/sf/go/post92449 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, -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/post92430 Wed, 04 Apr 2012 14:16:42 GMT http://community.qnx.com/sf/go/post92449 Zahira Ammarguellat 2012-04-04T14:16:42Z post92430: Re: Update tool chain in QNX6.5.0 http://community.qnx.com/sf/go/post92430 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 Tue, 03 Apr 2012 21:28:03 GMT http://community.qnx.com/sf/go/post92430 Ryan Mansfield 2012-04-03T21:28:03Z post92429: Re: Update tool chain in QNX6.5.0 http://community.qnx.com/sf/go/post92429 Ryan, 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, -Zahira Tue, 03 Apr 2012 21:09:04 GMT http://community.qnx.com/sf/go/post92429 Zahira Ammarguellat 2012-04-03T21:09:04Z post92428: Re: Update tool chain in QNX6.5.0 http://community.qnx.com/sf/go/post92428 On 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 Mansfield Tue, 03 Apr 2012 19:38:19 GMT http://community.qnx.com/sf/go/post92428 Ryan Mansfield 2012-04-03T19:38:19Z post92427: RE: Update tool chain in QNX6.5.0 http://community.qnx.com/sf/go/post92427 > -----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 > Tue, 03 Apr 2012 19:33:47 GMT http://community.qnx.com/sf/go/post92427 Mario Charest 2012-04-03T19:33:47Z post92425: Re: Update tool chain in QNX6.5.0 http://community.qnx.com/sf/go/post92425 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. 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 Tue, 03 Apr 2012 18:33:27 GMT http://community.qnx.com/sf/go/post92425 Ryan Mansfield 2012-04-03T18:33:27Z post92423: Update tool chain in QNX6.5.0 http://community.qnx.com/sf/go/post92423 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. Thanks, -Zahira Tue, 03 Apr 2012 18:07:32 GMT http://community.qnx.com/sf/go/post92423 Zahira Ammarguellat 2012-04-03T18:07:32Z post92152: Re: Touchscreen on QNX6.4.1 http://community.qnx.com/sf/go/post92152 Doh, 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, > > Mani Fri, 16 Mar 2012 18:42:07 GMT http://community.qnx.com/sf/go/post92152 Erick Muis 2012-03-16T18:42:07Z post92134: Can't install QNX® Software Development Platform http://community.qnx.com/sf/go/post92134 I got Non-Commercial & Academic End User License Key, but can't install QNX® Momentics® Tool Suite, becouse this key "not valid" Why? Please, help. Thu, 15 Mar 2012 10:43:18 GMT http://community.qnx.com/sf/go/post92134 aleks petrov 2012-03-15T10:43:18Z post92051: Re: Touchscreen on QNX6.4.1 http://community.qnx.com/sf/go/post92051 Hi Erick, FYKI, I am using EETI projected capacitive touch screen. Thanks, Mani Mon, 12 Mar 2012 17:06:56 GMT http://community.qnx.com/sf/go/post92051 MANIVELAN MUTHUSAMY 2012-03-12T17:06:56Z post92050: Re: Touchscreen on QNX6.4.1 http://community.qnx.com/sf/go/post92050 Hi 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, Mani Mon, 12 Mar 2012 16:58:29 GMT http://community.qnx.com/sf/go/post92050 MANIVELAN MUTHUSAMY 2012-03-12T16:58:29Z post91912: Re: Touchscreen on QNX6.4.1 http://community.qnx.com/sf/go/post91912 > 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, Erick Mon, 05 Mar 2012 23:22:54 GMT http://community.qnx.com/sf/go/post91912 Erick Muis 2012-03-05T23:22:54Z post91910: Re: Touchscreen on QNX6.4.1 http://community.qnx.com/sf/go/post91910 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? Mon, 05 Mar 2012 21:40:49 GMT http://community.qnx.com/sf/go/post91910 MANIVELAN MUTHUSAMY 2012-03-05T21:40:49Z post91703: Configure shutdown http://community.qnx.com/sf/go/post91703 Is 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! Wed, 22 Feb 2012 11:16:48 GMT http://community.qnx.com/sf/go/post91703 Nicklas Larsson 2012-02-22T11:16:48Z post91613: Re: How to install QNX momentics tool suite on QNX neutrino OS? http://community.qnx.com/sf/go/post91613 Starting 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. Wed, 15 Feb 2012 16:54:29 GMT http://community.qnx.com/sf/go/post91613 Andy Jin 2012-02-15T16:54:29Z post91610: How to install QNX momentics tool suite on QNX neutrino OS? http://community.qnx.com/sf/go/post91610 After 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. Wed, 15 Feb 2012 16:19:09 GMT http://community.qnx.com/sf/go/post91610 HuiHsien Wu 2012-02-15T16:19:09Z post91357: API to determine total CPU Load? http://community.qnx.com/sf/go/post91357 Is 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. Mon, 06 Feb 2012 14:12:13 GMT http://community.qnx.com/sf/go/post91357 Norton Allen 2012-02-06T14:12:13Z post91352: Enumeration of PCI host bridges http://community.qnx.com/sf/go/post91352 Hello 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"? Mon, 06 Feb 2012 11:57:51 GMT http://community.qnx.com/sf/go/post91352 David Müller 2012-02-06T11:57:51Z post91075: Re: /dev problem http://community.qnx.com/sf/go/post91075 Found 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.... ;-) Mon, 23 Jan 2012 14:50:19 GMT http://community.qnx.com/sf/go/post91075 Augie Mattheiss 2012-01-23T14:50:19Z post90895: Help with Makefile please http://community.qnx.com/sf/go/post90895 Hello 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 Ricardo Tue, 10 Jan 2012 16:38:39 GMT http://community.qnx.com/sf/go/post90895 Ricardo Blanco 2012-01-10T16:38:39Z post90856: Issues with "tinit" in QNX 6.5.0 http://community.qnx.com/sf/go/post90856 I 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.0 Fri, 06 Jan 2012 21:18:33 GMT http://community.qnx.com/sf/go/post90856 Veni Kothamachu 2012-01-06T21:18:33Z post90854: Wrap C fuctions in Python API http://community.qnx.com/sf/go/post90854 I'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 Sudhir Fri, 06 Jan 2012 17:11:41 GMT http://community.qnx.com/sf/go/post90854 sudhir katta 2012-01-06T17:11:41Z post90799: Re: Linker error in Momentics 6.5.0 http://community.qnx.com/sf/go/post90799 This is not enough information. Please copy errors from the build console (Console view) Tue, 03 Jan 2012 15:13:32 GMT http://community.qnx.com/sf/go/post90799 Elena Laskavaia 2012-01-03T15:13:32Z post90755: Linker error in Momentics 6.5.0 http://community.qnx.com/sf/go/post90755 HI, 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. Fri, 23 Dec 2011 05:51:11 GMT http://community.qnx.com/sf/go/post90755 Vignesh Rengasamy 2011-12-23T05:51:11Z post90549: QNET compatibility between QNX 6.3.2 and QNX 6.5.0 http://community.qnx.com/sf/go/post90549 We 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”? Mon, 12 Dec 2011 18:01:15 GMT http://community.qnx.com/sf/go/post90549 Martin Fillion 2011-12-12T18:01:15Z post90514: Dinkum Abridged with Mudflap http://community.qnx.com/sf/go/post90514 Hello, 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. Sat, 10 Dec 2011 01:17:49 GMT http://community.qnx.com/sf/go/post90514 Michael Mathews 2011-12-10T01:17:49Z post90329: Re: Transfer File from Windows to QNX 6.5 32-bit http://community.qnx.com/sf/go/post90329 hi, 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 :( Tue, 29 Nov 2011 07:49:18 GMT http://community.qnx.com/sf/go/post90329 limpei Feng 2011-11-29T07:49:18Z post90308: Re: Transfer File from Windows to QNX 6.5 32-bit http://community.qnx.com/sf/go/post90308 hahas 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 ? Mon, 28 Nov 2011 07:07:37 GMT http://community.qnx.com/sf/go/post90308 limpei Feng 2011-11-28T07:07:37Z post90274: Re: Transfer File from Windows to QNX 6.5 32-bit http://community.qnx.com/sf/go/post90274 Hi, 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. Christoph Thu, 24 Nov 2011 11:18:16 GMT http://community.qnx.com/sf/go/post90274 Christoph Nemmaier 2011-11-24T11:18:16Z post90271: Re: Transfer File from Windows to QNX 6.5 32-bit http://community.qnx.com/sf/go/post90271 Thx 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 :( Thu, 24 Nov 2011 05:57:14 GMT http://community.qnx.com/sf/go/post90271 limpei Feng 2011-11-24T05:57:14Z post90261: Re: QNX Momentics Error on first execution http://community.qnx.com/sf/go/post90261 Hi, 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. -Regards Wed, 23 Nov 2011 15:15:43 GMT http://community.qnx.com/sf/go/post90261 Omair Muhi 2011-11-23T15:15:43Z post90255: Re: Transfer File from Windows to QNX 6.5 32-bit http://community.qnx.com/sf/go/post90255 Hi, 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. Christoph Wed, 23 Nov 2011 09:23:05 GMT http://community.qnx.com/sf/go/post90255 Christoph Nemmaier 2011-11-23T09:23:05Z post90252: Re: Transfer File from Windows to QNX 6.5 32-bit http://community.qnx.com/sf/go/post90252 hahas thx guys, but can spoon feed alittle more? i've no idea how/where to start about :'( Wed, 23 Nov 2011 02:25:03 GMT http://community.qnx.com/sf/go/post90252 limpei Feng 2011-11-23T02:25:03Z post90241: Re: Transfer File from Windows to QNX 6.5 32-bit http://community.qnx.com/sf/go/post90241 > 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? Christoph Tue, 22 Nov 2011 16:29:18 GMT http://community.qnx.com/sf/go/post90241 Christoph Nemmaier 2011-11-22T16:29:18Z post90236: Re: Transfer File from Windows to QNX 6.5 32-bit http://community.qnx.com/sf/go/post90236 Ok so you need to run ftp server or ssh server on qnx box, then you can upload your files using these protocols Tue, 22 Nov 2011 13:42:03 GMT http://community.qnx.com/sf/go/post90236 Elena Laskavaia 2011-11-22T13:42:03Z post90230: Re: Transfer File from Windows to QNX 6.5 32-bit http://community.qnx.com/sf/go/post90230 The 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, Christoph Tue, 22 Nov 2011 08:59:16 GMT http://community.qnx.com/sf/go/post90230 limpei Feng 2011-11-22T08:59:16Z post90227: Re: Transfer File from Windows to QNX 6.5 32-bit http://community.qnx.com/sf/go/post90227 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, Christoph Tue, 22 Nov 2011 07:46:28 GMT http://community.qnx.com/sf/go/post90227 Christoph Nemmaier 2011-11-22T07:46:28Z post90223: Re: Transfer File from Windows to QNX 6.5 32-bit http://community.qnx.com/sf/go/post90223 Thx 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#. Tue, 22 Nov 2011 03:00:16 GMT http://community.qnx.com/sf/go/post90223 limpei Feng 2011-11-22T03:00:16Z post90208: Re: Transfer File from Windows to QNX 6.5 32-bit http://community.qnx.com/sf/go/post90208 Hello, 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 Christoph Mon, 21 Nov 2011 11:24:36 GMT http://community.qnx.com/sf/go/post90208 Christoph Nemmaier 2011-11-21T11:24:36Z post90205: Transfer File from Windows to QNX 6.5 32-bit http://community.qnx.com/sf/go/post90205 Hi, 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 :D Mon, 21 Nov 2011 09:04:40 GMT http://community.qnx.com/sf/go/post90205 limpei Feng 2011-11-21T09:04:40Z post90201: Re: RE: /sbin/rtc -l hw is off by an hour http://community.qnx.com/sf/go/post90201 Ugh. 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.) Sat, 19 Nov 2011 19:37:53 GMT http://community.qnx.com/sf/go/post90201 Norton Allen 2011-11-19T19:37:53Z post90197: Re: RE: /sbin/rtc -l hw is off by an hour http://community.qnx.com/sf/go/post90197 That 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. Sat, 19 Nov 2011 03:15:52 GMT http://community.qnx.com/sf/go/post90197 Norton Allen 2011-11-19T03:15:52Z post90196: Re: RE: /sbin/rtc -l hw is off by an hour http://community.qnx.com/sf/go/post90196 My 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. Sat, 19 Nov 2011 03:06:20 GMT http://community.qnx.com/sf/go/post90196 Norton Allen 2011-11-19T03:06:20Z post90195: RE: /sbin/rtc -l hw is off by an hour http://community.qnx.com/sf/go/post90195 Does 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 > Fri, 18 Nov 2011 22:02:42 GMT http://community.qnx.com/sf/go/post90195 Mario Charest 2011-11-18T22:02:42Z post90194: /sbin/rtc -l hw is off by an hour http://community.qnx.com/sf/go/post90194 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? Fri, 18 Nov 2011 20:52:34 GMT http://community.qnx.com/sf/go/post90194 Norton Allen 2011-11-18T20:52:34Z post90122: Re: Loss of debug connectivity http://community.qnx.com/sf/go/post90122 I'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. Wed, 16 Nov 2011 10:00:58 GMT http://community.qnx.com/sf/go/post90122 Alan Braddy 2011-11-16T10:00:58Z post90059: Re: QNX Momentics Error on first execution http://community.qnx.com/sf/go/post90059 i got the same error Sun, 13 Nov 2011 22:36:04 GMT http://community.qnx.com/sf/go/post90059 kashyap veljibhai gada 2011-11-13T22:36:04Z post90022: RE: Writing a video driver in QNX with GF based Graphics System http://community.qnx.com/sf/go/post90022 These 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/post89894 Fri, 11 Nov 2011 02:28:49 GMT http://community.qnx.com/sf/go/post90022 Michael Van Reenen 2011-11-11T02:28:49Z post89894: Writing a video driver in QNX with GF based Graphics System http://community.qnx.com/sf/go/post89894 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. Sun, 06 Nov 2011 17:27:39 GMT http://community.qnx.com/sf/go/post89894 Partha Koley 2011-11-06T17:27:39Z post89886: Re: QNX Momentics Error on first execution http://community.qnx.com/sf/go/post89886 Do you have QNX_CONFIGURATION variable set before you run ide? Fri, 04 Nov 2011 17:55:22 GMT http://community.qnx.com/sf/go/post89886 Elena Laskavaia 2011-11-04T17:55:22Z post89881: Re: QNX Momentics Error on first execution http://community.qnx.com/sf/go/post89881 I'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. Fri, 04 Nov 2011 16:05:39 GMT http://community.qnx.com/sf/go/post89881 Peter Buckley(deleted) 2011-11-04T16:05:39Z post89800: Re: Removing default installation paths from "Includes" within QNX Momentics projects http://community.qnx.com/sf/go/post89800 These 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. Tue, 01 Nov 2011 13:16:15 GMT http://community.qnx.com/sf/go/post89800 Elena Laskavaia 2011-11-01T13:16:15Z post89788: Re: Loss of debug connectivity http://community.qnx.com/sf/go/post89788 Killing 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. Tue, 01 Nov 2011 09:18:14 GMT http://community.qnx.com/sf/go/post89788 Alan Braddy 2011-11-01T09:18:14Z post89783: Removing default installation paths from "Includes" within QNX Momentics projects http://community.qnx.com/sf/go/post89783 By 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, Mohamed Mon, 31 Oct 2011 22:16:05 GMT http://community.qnx.com/sf/go/post89783 Mohamed Issa 2011-10-31T22:16:05Z post89733: Re: Loss of debug connectivity http://community.qnx.com/sf/go/post89733 Is 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 > Fri, 28 Oct 2011 14:46:03 GMT http://community.qnx.com/sf/go/post89733 Elena Laskavaia 2011-10-28T14:46:03Z post89730: Re: Loss of debug connectivity http://community.qnx.com/sf/go/post89730 Ok 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 > Fri, 28 Oct 2011 13:50:41 GMT http://community.qnx.com/sf/go/post89730 Andy Jin 2011-10-28T13:50:41Z post89728: Re: Loss of debug connectivity http://community.qnx.com/sf/go/post89728 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). Fri, 28 Oct 2011 13:43:22 GMT http://community.qnx.com/sf/go/post89728 Alan Braddy 2011-10-28T13:43:22Z post89726: Re: Loss of debug connectivity http://community.qnx.com/sf/go/post89726 You 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 > Fri, 28 Oct 2011 13:28:00 GMT http://community.qnx.com/sf/go/post89726 Andy Jin 2011-10-28T13:28:00Z post89725: Re: Loss of debug connectivity http://community.qnx.com/sf/go/post89725 Yes, QConn is still running when I lose the indicatoraccording to pidin Fri, 28 Oct 2011 13:18:09 GMT http://community.qnx.com/sf/go/post89725 Alan Braddy 2011-10-28T13:18:09Z post89719: Re: Loss of debug connectivity http://community.qnx.com/sf/go/post89719 This 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 > Fri, 28 Oct 2011 11:51:16 GMT http://community.qnx.com/sf/go/post89719 Andy Jin 2011-10-28T11:51:16Z post89713: Re: Loss of debug connectivity http://community.qnx.com/sf/go/post89713 > 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 Fri, 28 Oct 2011 09:22:13 GMT http://community.qnx.com/sf/go/post89713 Alan Braddy 2011-10-28T09:22:13Z post89711: Loss of debug connectivity http://community.qnx.com/sf/go/post89711 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). Fri, 28 Oct 2011 07:46:57 GMT http://community.qnx.com/sf/go/post89711 Alan Braddy 2011-10-28T07:46:57Z post89458: mount an iso image http://community.qnx.com/sf/go/post89458 Can 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 Sheldon Wed, 19 Oct 2011 17:17:03 GMT http://community.qnx.com/sf/go/post89458 Paul Sheldon 2011-10-19T17:17:03Z post89436: Re: Blank dialog when starting QNX Momentics version 6.4.1 http://community.qnx.com/sf/go/post89436 The 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! Tue, 18 Oct 2011 17:39:12 GMT http://community.qnx.com/sf/go/post89436 Matthew Giassa 2011-10-18T17:39:12Z post89359: Re: OMAP L137 - How to disable I2C http://community.qnx.com/sf/go/post89359 Hi 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. Thu, 13 Oct 2011 08:29:24 GMT http://community.qnx.com/sf/go/post89359 zaheer sheriff 2011-10-13T08:29:24Z post89250: Re: QNX Momentics Error on first execution http://community.qnx.com/sf/go/post89250 In 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. Thu, 06 Oct 2011 19:49:14 GMT http://community.qnx.com/sf/go/post89250 Michael Foster(deleted) 2011-10-06T19:49:14Z post88783: Re: qcc for QNX v6.5.0 vs qcc for v6.3.2 v: qcc doesn't accept -std=C99 option http://community.qnx.com/sf/go/post88783 > 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! Mon, 12 Sep 2011 14:21:29 GMT http://community.qnx.com/sf/go/post88783 Paolo Lomotti 2011-09-12T14:21:29Z post88772: Re: qcc for QNX v6.5.0 vs qcc for v6.3.2 v: qcc doesn't accept -std=C99 option http://community.qnx.com/sf/go/post88772 Aleks suggested -Wc,-std=c99 and you took out the comma and replaced it with a space. Regards, Ryan Mansfield Mon, 12 Sep 2011 09:06:22 GMT http://community.qnx.com/sf/go/post88772 Ryan Mansfield 2011-09-12T09:06:22Z post88771: Re: qcc for QNX v6.5.0 vs qcc for v6.3.2 v: qcc doesn't accept -std=C99 option http://community.qnx.com/sf/go/post88771 Also 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 > > Mon, 12 Sep 2011 08:54:15 GMT http://community.qnx.com/sf/go/post88771 Paolo Lomotti 2011-09-12T08:54:15Z post88765: Re: Missing source files while debugging dll http://community.qnx.com/sf/go/post88765 Static 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 > Fri, 09 Sep 2011 15:06:11 GMT http://community.qnx.com/sf/go/post88765 Elena Laskavaia 2011-09-09T15:06:11Z post88763: Re: Missing source files while debugging dll http://community.qnx.com/sf/go/post88763 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 Fri, 09 Sep 2011 14:52:48 GMT http://community.qnx.com/sf/go/post88763 Anatoly Abelev 2011-09-09T14:52:48Z post88761: Re: Missing source files while debugging dll http://community.qnx.com/sf/go/post88761 Is 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 > Fri, 09 Sep 2011 14:35:16 GMT http://community.qnx.com/sf/go/post88761 Elena Laskavaia 2011-09-09T14:35:16Z post88759: Re: RE: Missing source files while debugging dll http://community.qnx.com/sf/go/post88759 I have done it yesterday and retried today again. Still have the same problem... Fri, 09 Sep 2011 14:14:49 GMT http://community.qnx.com/sf/go/post88759 Anatoly Abelev 2011-09-09T14:14:49Z post88757: Re: Missing source files while debugging dll http://community.qnx.com/sf/go/post88757 You 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 > Fri, 09 Sep 2011 13:42:31 GMT http://community.qnx.com/sf/go/post88757 Elena Laskavaia 2011-09-09T13:42:31Z post88756: RE: Missing source files while debugging dll http://community.qnx.com/sf/go/post88756 You 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/post88755 Fri, 09 Sep 2011 13:40:36 GMT http://community.qnx.com/sf/go/post88756 Andy Jin 2011-09-09T13:40:36Z post88755: Missing source files while debugging dll http://community.qnx.com/sf/go/post88755 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 Fri, 09 Sep 2011 13:29:14 GMT http://community.qnx.com/sf/go/post88755 Anatoly Abelev 2011-09-09T13:29:14Z post88689: Re: qcc for QNX v6.5.0 vs qcc for v6.3.2 v: qcc doesn't accept -std=C99 option http://community.qnx.com/sf/go/post88689 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 > Wed, 07 Sep 2011 19:22:57 GMT http://community.qnx.com/sf/go/post88689 Aleksandar Ristovski 2011-09-07T19:22:57Z post88676: qcc for QNX v6.5.0 vs qcc for v6.3.2 v: qcc doesn't accept -std=C99 option http://community.qnx.com/sf/go/post88676 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? Wed, 07 Sep 2011 08:20:13 GMT http://community.qnx.com/sf/go/post88676 Paolo Lomotti 2011-09-07T08:20:13Z post88640: Re: Can't locate PNP nodes http://community.qnx.com/sf/go/post88640 for anyone googling here... PNP (Plug aNd Play) http://www.openqnx.com/phpbbforum/viewtopic.php?t=9244 Mon, 05 Sep 2011 12:05:46 GMT http://community.qnx.com/sf/go/post88640 tim brown 2011-09-05T12:05:46Z post88590: Re: Changing process names http://community.qnx.com/sf/go/post88590 This 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 > Thu, 01 Sep 2011 17:12:00 GMT http://community.qnx.com/sf/go/post88590 David Cummings 2011-09-01T17:12:00Z post88589: Changing process names http://community.qnx.com/sf/go/post88589 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 Thu, 01 Sep 2011 17:08:54 GMT http://community.qnx.com/sf/go/post88589 Mark Dowdy 2011-09-01T17:08:54Z post88491: Re: spawn system call error http://community.qnx.com/sf/go/post88491 > 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. Tue, 30 Aug 2011 12:21:11 GMT http://community.qnx.com/sf/go/post88491 Peter Weber 2011-08-30T12:21:11Z post88490: Re: spawn system call error http://community.qnx.com/sf/go/post88490 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.. Tue, 30 Aug 2011 12:17:22 GMT http://community.qnx.com/sf/go/post88490 shakthi b 2011-08-30T12:17:22Z post88489: Re: spawn system call error http://community.qnx.com/sf/go/post88489 > 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. Tue, 30 Aug 2011 12:13:48 GMT http://community.qnx.com/sf/go/post88489 Peter Weber 2011-08-30T12:13:48Z post88488: Re: spawn system call error http://community.qnx.com/sf/go/post88488 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. Tue, 30 Aug 2011 12:11:21 GMT http://community.qnx.com/sf/go/post88488 shakthi b 2011-08-30T12:11:21Z post88487: Re: spawn system call error http://community.qnx.com/sf/go/post88487 > //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. Tue, 30 Aug 2011 12:09:12 GMT http://community.qnx.com/sf/go/post88487 Peter Weber 2011-08-30T12:09:12Z post88486: Re: spawn system call error http://community.qnx.com/sf/go/post88486 //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.. Tue, 30 Aug 2011 11:59:14 GMT http://community.qnx.com/sf/go/post88486 shakthi b 2011-08-30T11:59:14Z post88485: Re: spawn system call error http://community.qnx.com/sf/go/post88485 What 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 > > Tue, 30 Aug 2011 11:53:29 GMT http://community.qnx.com/sf/go/post88485 Peter Weber 2011-08-30T11:53:29Z post88483: Re: spawn system call error http://community.qnx.com/sf/go/post88483 no dude. i ve tried i got some error like: spawn : no such file or directory.. dont know what to do?? Tue, 30 Aug 2011 11:41:20 GMT http://community.qnx.com/sf/go/post88483 shakthi b 2011-08-30T11:41:20Z post88482: Re: spawn system call error http://community.qnx.com/sf/go/post88482 ups, I mean: how about a memset(&inherit, 0, sizeof(inherit)); :-) Tue, 30 Aug 2011 11:37:30 GMT http://community.qnx.com/sf/go/post88482 Peter Weber 2011-08-30T11:37:30Z post88481: Re: spawn system call error http://community.qnx.com/sf/go/post88481 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 Tue, 30 Aug 2011 11:34:07 GMT http://community.qnx.com/sf/go/post88481 Peter Weber 2011-08-30T11:34:07Z post88480: spawn system call error http://community.qnx.com/sf/go/post88480 //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 Tue, 30 Aug 2011 11:29:15 GMT http://community.qnx.com/sf/go/post88480 shakthi b 2011-08-30T11:29:15Z post88378: Re: rtkit install from usb flash? http://community.qnx.com/sf/go/post88378 Yeah, 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? Thu, 25 Aug 2011 19:36:47 GMT http://community.qnx.com/sf/go/post88378 Norton Allen 2011-08-25T19:36:47Z post88377: Re: rtkit install from usb flash? http://community.qnx.com/sf/go/post88377 All 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 > Thu, 25 Aug 2011 19:26:39 GMT http://community.qnx.com/sf/go/post88377 Keith Russell 2011-08-25T19:26:39Z post88376: Re: rtkit install from usb flash? http://community.qnx.com/sf/go/post88376 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) Thu, 25 Aug 2011 19:14:09 GMT http://community.qnx.com/sf/go/post88376 Norton Allen 2011-08-25T19:14:09Z post88375: RE: rtkit install from usb flash? http://community.qnx.com/sf/go/post88375 We 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/post88374 Thu, 25 Aug 2011 19:11:15 GMT http://community.qnx.com/sf/go/post88375 Martin Doane 2011-08-25T19:11:15Z post88374: Re: rtkit install from usb flash? http://community.qnx.com/sf/go/post88374 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 > Thu, 25 Aug 2011 19:07:08 GMT http://community.qnx.com/sf/go/post88374 Keith Russell 2011-08-25T19:07:08Z post88373: Re: Boot CD 6.5.0 on Hercules II http://community.qnx.com/sf/go/post88373 Sorry 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. Thu, 25 Aug 2011 19:05:07 GMT http://community.qnx.com/sf/go/post88373 Norton Allen 2011-08-25T19:05:07Z post88372: rtkit install from usb flash? http://community.qnx.com/sf/go/post88372 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? Thu, 25 Aug 2011 19:02:56 GMT http://community.qnx.com/sf/go/post88372 Norton Allen 2011-08-25T19:02:56Z post88053: Re: RE: how2install JDT for Momentics 4.7? http://community.qnx.com/sf/go/post88053 Andy - thanks a lot for your help. This was exactly the information I was searching for! Fri, 12 Aug 2011 10:29:11 GMT http://community.qnx.com/sf/go/post88053 Bjoern Petri 2011-08-12T10:29:11Z post88039: RE: Bindres error on Windows 7 http://community.qnx.com/sf/go/post88039 This 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/post87991 Thu, 11 Aug 2011 21:30:40 GMT http://community.qnx.com/sf/go/post88039 Max Feil 2011-08-11T21:30:40Z post88037: Re: Momentics / Lint integeration http://community.qnx.com/sf/go/post88037 Page 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/post88036 Thu, 11 Aug 2011 20:37:49 GMT http://community.qnx.com/sf/go/post88037 Elena Laskavaia 2011-08-11T20:37:49Z post88036: RE: Momentics / Lint integeration http://community.qnx.com/sf/go/post88036 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 Thu, 11 Aug 2011 20:29:04 GMT http://community.qnx.com/sf/go/post88036 Mario Charest 2011-08-11T20:29:04Z post88035: Re: Momentics / Lint integeration http://community.qnx.com/sf/go/post88035 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 Thu, 11 Aug 2011 19:20:09 GMT http://community.qnx.com/sf/go/post88035 Elena Laskavaia 2011-08-11T19:20:09Z post88033: RE: Momentics / Lint integeration http://community.qnx.com/sf/go/post88033 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 Thu, 11 Aug 2011 19:14:42 GMT http://community.qnx.com/sf/go/post88033 Mario Charest 2011-08-11T19:14:42Z post88031: Re: Momentics / Lint integeration http://community.qnx.com/sf/go/post88031 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 ;-) > > Thu, 11 Aug 2011 18:37:24 GMT http://community.qnx.com/sf/go/post88031 Elena Laskavaia 2011-08-11T18:37:24Z post88029: Re: Momentics / Lint integeration http://community.qnx.com/sf/go/post88029 Also, 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 > > Thu, 11 Aug 2011 18:06:37 GMT http://community.qnx.com/sf/go/post88029 Christian Damus(deleted) 2011-08-11T18:06:37Z post88022: RE: Momentics / Lint integeration http://community.qnx.com/sf/go/post88022 I 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/post88017 Thu, 11 Aug 2011 16:42:18 GMT http://community.qnx.com/sf/go/post88022 Mario Charest 2011-08-11T16:42:18Z post88016: Re: Momentics / Lint integeration http://community.qnx.com/sf/go/post88016 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 > Thu, 11 Aug 2011 16:01:18 GMT http://community.qnx.com/sf/go/post88016 Elena Laskavaia 2011-08-11T16:01:18Z post88015: Momentics / Lint integeration http://community.qnx.com/sf/go/post88015 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? Thu, 11 Aug 2011 15:58:00 GMT http://community.qnx.com/sf/go/post88015 Alan Braddy 2011-08-11T15:58:00Z post88014: Re: QNX / Posix timer usage in serial comms application http://community.qnx.com/sf/go/post88014 Sorted - not a QNX problem - it appears to be an issue with the fast timer when running QNX in a virtual machine Thu, 11 Aug 2011 15:53:54 GMT http://community.qnx.com/sf/go/post88014 Alan Braddy 2011-08-11T15:53:54Z post87994: Re: Bindres error on Windows 7 http://community.qnx.com/sf/go/post87994 Thanks, Elena, but I tried that too and it did not work. Wed, 10 Aug 2011 20:47:33 GMT http://community.qnx.com/sf/go/post87994 Terry Laughlin 2011-08-10T20:47:33Z post87992: Re: Bindres error on Windows 7 http://community.qnx.com/sf/go/post87992 change 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 > Wed, 10 Aug 2011 19:56:18 GMT http://community.qnx.com/sf/go/post87992 Elena Laskavaia 2011-08-10T19:56:18Z