Вы находитесь на странице: 1из 32

Q N X S O F T WA R E D E V E L O P M E N T P L AT F O R M v 6 .

10


QNX

2010 QNX Software Systems GmbH & Co. KG.


. QNX, Momentics, Neutrino, Aviage, Photon
Photon microGUI
QNX Software Systems GmbH & Co. KG,
/
QNX Software
Systems Co.
.


,
QNX Software Development Platform (QNX
SDP), () QNX Neutrino
QNX Momentics Tool Suite!
1

QNX Software Development Platform


QNX Neutrino

QNX Neutrino

12

QNX Neutrino

15

17

20

22

10

26

, ,
QNX Neutrino QNX Software Development Platform ( QNX SDP).
QNX Momentics Tool Suite,
. :
, ,
(),
, . Microsoft Windows
Linux
(Integrated Development Environment. IDE).
QNX SDP QNX Neutrino
, ,
Windows 7, Windows Vista, Windows 2000, Windows XP, Linux,
.

QNX Momentics
Tool Suite, QNX Neutrino
, :

QNX Momentics
IDE 4,5

QNX Neutrino

IDE

QNX Momentics Tool Suite

..

DVD c QNX SDP,


www.qnx.com/products/evaluation/.
QNX Neutrino 86,
QNX SDP ( ) 86-
CD- QNX SDP (
86-).
DVD-
.

QNX Software Systems 3

,
QNX Neutrino:
.

, 3.0
( procnto 700 .
, ,
, 300 ).

. ,
QNX Neutrino - (DVD CD).
. QNX Neutrino
,
( PPC, ARM, MIPS SH).
(BSP). ,
BSP, ,
.

Foundry27 http://community.qnx.com,
BSP .
. QNX Neutrino
VMware. VMware
, ,
.
QNX Neutrino
,
Windows,
86 .
4

QNX Software Development Platform


Windows 7, Vista, 2000 XP. DVD- QNX Software


Development Platform. ,
- qnxsdp-6.5.0-nnnnnnnnnnnn-win32.exe (
nnnnnnnnnnnn ), DVD-.
.
. (Installation Guide).
.
- QNX,
. ,
DVD CD.
Windows QNX Momentics IDE:

QNX Momentics
IDE 4,5

QNX Software Systems 5

QNX Neutrino

, QNX Neutrino:
. DVD-
QNX Software Development Platform QNX Neutrino RTOS Host CD-
Installation and Boot CD (x86 Targets)
. ,
www.qnx.com/products/evaluation/.
: DVD CD-
( ) QNX
Neutrino .
. . (Installation Guide).
. DVD- VMware,
VMware Workstation 7 Player 3.
DVD-, VMware c
http://www.qnx.com/products/evaluation/eval-target.html.
ISO- QNX Neutrino.
CD/DVD- VMware,
ISO-, ISO-,
QNX Neutrino.
.
,
("root") . IP-
. .
6

,
QNX Neutrino,
QNX Photon microGUI. (, , QNX
Neutrino ).
. . Utilities
Terminal. ,
, : pidin | less.
, ,

. ,
, . ,
QNX Neutrino ,
. less q.

QNX Software Systems 7

QNX Neutrino,
.
!

QNX Neutrino:
.


QNX Neutrino

QNX Neutrino ( ) .

. , DCHP-, QNX Neutrino
IP-. ,
ifconfig, (Utilities
Reference).

, QNX Neutrino
. Configure
Launch.

QNX Software Systems 9

Devices IP-: DHCP . Network IP- DNS.

Windows cmd.
ping IP_address, ,
, QNX
Neutrino:

10

cmd ipconfig, IP-


. IP- ,
, :

.
() ,
ping. Windows XP Allow incoming echo
request ICMP.
,
.
:
http://www.qnx.com/developers/hardware_support.
, ,
QNX.
: QNX Neutrino
.
enum-devices n, ,
, , .

QNX Software Systems 11

IDE- QNX Momentics.


(workspace),
, .
. , Workbench:
QNX C Project. File
New, QNX C Project.

. ,
Generate default file , Add project to working
set Next.
.
Build Variants.
86.
12

:
PPC, SH4 ARM. :
. ,
: debug (
) release ( ).

Finish. c Makefile,
(
"Welcome to the QNX Momentics IDE"),
.
QNX Software Systems 13

, C/C++ Perspective
IDE, ,
(Views)
:

QNX C Makefile

14

QNX Neutrino

.
, qconn. QNX
Neutrino .

IDE
(target project). System Information Perspective:
Windows Open Perspective > QNX System Information.
Target Navigator
New QNX Target.

Same as hostname
. IP- .
QNX Software Systems 15

Finish
Target Navigator
.
QNX
Neutrino.

.
Windows Show view.

,
QNX Neutrino
16


C/C++ perspective,
C,

.

:
.
Project Explorer Properties. QNX
C/C++ Projects, Build Variants
x86. , : debug (
) release ( ). OK.
.
QNX C Project
Makefiles. , ,
Build Project.
.
, (-
, ),
C-Build Console. ,
Problems.
. Editor
, .

QNX Software Systems 17


Binaries.
"o" ( ) "o-g" (-g
). Makefiles
.

18

libc.so, ,
.
, , Project >Properties.
QNX C/C++ Project, Linker
Extra Libraries Category:

Add lib .
, libm.so
Name m:

OK. .

QNX Software Systems 19

,
(launch configuration). ,
( ,
..). .
.
.
bug Open Debug Dialog...:

,
, .
C/C++ QNX QConn (IP).
(-) , QNX
Neutrino qconn.
New launch configuration:

20

,
.
Main.
.
,
. C/C++ Application,
Search Project . ,
, _g.
,
. OK.
, Target Options ,
Apply. .

QNX Software Systems 21

- Debug .
,
. Debug.
IDE- Debug

QNX Neutrino, .
, . Debug
, .
Debug.

22

IDE,
IDE.
.
printf(), Welcome to the QNX
Momentics IDE.
Step Over .

Variables ,
. Step Into
(, ,
).
,
, Add Breakpoint
.
, .

QNX Software Systems 23

,
, , , .
Resume ,
. ,
Terminate. Remove All Terminated
Launches, .

Remove
All Terminated
Launches

Resume

Terminated

.
. , ,
.
.
( ),
Run Run
Configurations...:

24

(
), .
.
Target File System Navigator
System Information Perspective ( Window, Show View)
.
. ,
, QNX
Neutrino (. fs-cifs
QNX Neutrino QNX Neutrino RTOS Utilities Reference),
.

QNX Software Systems 25

10

QNX- ,
.

. ,
, , , ,
,
/ QNX Neutrino.
, ( ) , ,
!
IDE ,
. IDE Help
Welcome, Tutorials:
IDE QNX,
Eclipse. Help Contents
Help:

26

Roadmap to the QNX Software Development Platform


. Welcome
to the QNX Software Development Platform, System Architecture Guide
QNX Neutrino, IDE IDE User's Guide
Programmer's Guide QNX Neutrino.


Help .
.
QNX Aviage,
, .

QNX Software Systems 27

,
, ,
, .
Help, Welcome Samples:

.
" QNX Neutrino"
QNX Neutrino RTOS Library Reference.

28


QNX Momentics Tool Suite QNX
Neutrino , , . ,
, www.foundry27.com (
QNX), ,
QNX.
, !
QNX Software Systems
www.qnx.com
info@qnx.com

QNX Software Systems 29

Corporate Headquarters
175 Terence Matthews Crescent
Ottawa, Ontario
Canada, K2M 1W8
North America
t: +1 800 676-0566
f: +1 613 591-3579
International
t: +1 613 591-0931
f: +1 613 591-3579
Online
info@qnx.com
www.qnx.com

Оценить