From vxwexplo-errs@csg.lbl.gov Fri Dec 1 02:09:17 2000 From: suresh@cosystems.com Date: Fri Dec 1 02:09:20 PST 2000 Subject: How to use RPC's( pRPC+ ) in pSOS --=====================_19147483==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed HI embeded users, I am working on RPC's on pSOS operating system . * whether pSOS ver-2.2.6 provides full support for SUN RPC's. * In order to use the SUN RPC's , do we need to compile with a cross compiler for vxworks on solaris machine only? or we can use compiler for pSOS on NT machine. Now i am useing "rpcgen" on Solaris Machine to generate the client and server stub files. I wnat the procedure to compile and build the image for server and client.at the same time the equalent system header files of Solaris to pSOS MY main requirnments are. 1. target machine ( containing the protocol stack) should be on pSOS O.S . Server will run on this machine and server contains only the RPC procedures[nothing like main()] which call the standard systems calls like open(), close() etc., - w.r. t above we need the information on compiler ( whether to use cross compiler on solaris for pSOS O.S or something else) and compilation procedures also. 2. host machine ( which runs daemons / applications) should be on solaris O.S. client will run on this machine and client calls the RPC procudures which are coded at the server side. - w.r.t above we need the information about compiler. IF ANY ONE HELP ME IN THIS REGARD IT WILL BE VERY USEFUL TO ME , SO I AM WAITING FOR U REPLY With Regards Suresh K. --=====================_19147483==_.ALT Content-Type: text/html; charset="us-ascii" HI  embeded users,

I am working on RPC's on pSOS operating system .

* whether pSOS ver-2.2.6 provides full support for SUN RPC's.

* In order to use the SUN RPC's , do we need to compile with a cross
compiler for vxworks on solaris machine  only? or we can use compiler for pSOS on NT machine.

Now i am useing "rpcgen" on Solaris Machine to generate the client and  server stub files.
I wnat the procedure to compile and build the image for server and  client.at
the same time the equalent system  header files of Solaris to pSOS

MY  main requirnments are.

1. target machine ( containing the protocol stack) should be on pSOS
O.S . Server will run on this machine and  server contains only the RPC procedures[nothing like main()] which
call the  standard systems calls like open(), close() etc.,
- w.r. t above we need the information on compiler ( whether to use
cross  compiler on solaris for pSOS O.S or something else) and compilation  procedures also.
2. host machine ( which runs daemons / applications) should be on
solaris  O.S. client will run on this machine and  client calls the RPC procudures which are coded at the server side.
- w.r.t above we need the information about compiler.


IF ANY ONE HELP ME IN THIS REGARD IT WILL BE VERY USEFUL TO ME , SO I AM WAITING FOR U REPLY


With Regards
Suresh K. --=====================_19147483==_.ALT-- From vxwexplo-errs@csg.lbl.gov Fri Dec 1 04:03:11 2000 From: Vxworks Exploder Date: Fri Dec 1 04:03:14 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Fri Dec 1 04:03:06 PST 2000 Subject: TOS Byte in the TCP/IP Stack of vxworks Subject: RE: vxWorks Task TCB Subject: How to calculate Task stack space? Subject: Has anybody worked with FTP server and PassFsLib? Subject: Re: ICMP Echo Request ("ping") with zero ICMP checksum? Subject: NI PMC-GPIB on MVME2303, anybody? Subject: Re: ICMP Echo Request ("ping") with zero ICMP checksum? Subject: Port of ppp-2.1.2 to VxWorks Subject: readdir() functionality.... Subject: PCI interrupt connection Subject: Script as argument Subject: Re: redirection of i/o Subject: Re: Driver for Ethernet on SCC Subject: Building vxWorks_rom image Subject: Re: Building vxWorks_rom image Subject: Building vxWorks_rom image Subject: re: readdir() functionality.... Subject: IO mapping Subject: Re: IO mapping Subject: GoAhead web server Subject: VxWorks Symbol Table Download Subject: list files using GNU toolkit for PPC Subject: Re: vxWorks Task TCB Subject: Re: vme longword access in a24 Subject: Driver for Control RocketPort Serial E-net Hub Subject: Re: dhcp server configuration question Subject: Re: vxWorks Task TCB Subject: SNMP mibcomp -man flag not working? Subject: Re: How to calculate Task stack space? Subject: I2C Subject: re: StrataFlash low level drivers Subject: Re: PCI Subject: PCI interrupt on Pentium Subject: What exactly does netTask do? Subject: RE: Driver for Intel 28F128 (128Mbit) flash Subject: Re: data rates with FAT32 file system Subject: problem installing vxworks image on target Subject: Re: PCI Subject: Re: Building vxWorks_rom image Subject: Re: IO mapping Subject: re: comp.os.vxworks newsdigest Subject: re: comp.os.vxworks newsdigest Subject: re: comp.os.vxworks newsdigest Subject: Re: VxWorks Symbol Table Download Subject: Re: How to calculate Task stack space? Subject: Re: Message queues in vxworks Subject: How can I config MPMC202 on MCP750? Subject: Message queues in VxWorks Subject: Files in vxWorks Subject: Re: Q on WindView user events Subject: Re: PCI interrupt on Pentium Subject: scheduler Subject: Re: PCI Subject: Re: MVME2700 User Flash Subject: Re: Re: PCI interrupt on Pentium Subject: How to use RPC's( pRPC+ ) in pSOS ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: TOS Byte in the TCP/IP Stack of vxworks Date: Thu, 30 Nov 2000 12:35:33 +0100 From: "Przybyszewski Marek (PN/EAN2)" Organization: Lawrence Berkeley National Laboratory Message-ID: <905gal$q3$1@overload.lbl.gov> Hi vxworkers, Could anybody please clarify the following point. 1. Is there any possibility in the API of the TCP/IP stack of vxworks to set the TOS Byte in the IP header ? Thanks in advance and best regards. Marek Przybyszewski > TENOVIS GmbH & Co. KG > PN/EAN2-tDue > Fritz-Vomfeldestr. 20, 40547 Düsseldorf > > T +49 211 5354 365 > F +49 211 5354 302 > mailto:Marek.Przybyszewski@tenovis.com http://www.tenovis.com --------------------------- Newsgroups: comp.os.vxworks Subject: RE: vxWorks Task TCB Date: Thu, 30 Nov 2000 19:21:01 +0530 From: "rajesh kumar biswal" Organization: Lawrence Berkeley National Laboratory Message-ID: <905nbl$3n2$1@overload.lbl.gov> Hi, I think U can use WindView tool to find CPU usage by the tasks. It gives a good statistics. ~Rajesh. > In vxWorks I want to find a task that is Hogging CPU. In this regard i > have one doubt. > > In taskTCB what does UINT taskTicks(total number of ticks) stand For? > Is it : The number of ticks the task has taken the CPU Bandwidth since > it was Spawn. > Does vxWorks spy() System Call utilize this field in task TCB to gather > task's CPU Statistics. > If not, can i use this field to get statistics of CPU Usage of tasks. > > Can you suggest some other methods to detect CPU Hogging Task. > --------------------------- Newsgroups: comp.os.vxworks Subject: How to calculate Task stack space? Date: Thu, 30 Nov 2000 06:01:40 -0800 From: "Deja User" Organization: Lawrence Berkeley National Laboratory Message-ID: <200011301401.GAA03645@mail22.bigmailbox.com> Tornado Vxworks Hi All, Can any one suggest, 1.How to calculate accurately the Task stack space?. 2.Do we have any "formula"? or technique to calculate? 3.What is the typical value normally used? Thanks in advance. Regards, Emblov. - ------------------------------------------------------------ - --== Sent via Deja.com http://www.deja.com/ ==-- Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Has anybody worked with FTP server and PassFsLib? Date: Thu, 30 Nov 2000 06:07:56 -0800 From: "Deja User" Organization: Lawrence Berkeley National Laboratory Message-ID: <200011301407.GAA04160@mail22.bigmailbox.com> Tornado Vxworks Hi All, Has any body worked with FTP server with "PassFs" as file system in VxSim?. I could able to start and to log in to FTP server, but could not access any file created using "passFsLib". your suggestions in this regard are most welcome. Regards, Emblov. - ------------------------------------------------------------ - --== Sent via Deja.com http://www.deja.com/ ==-- Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: ICMP Echo Request ("ping") with zero ICMP checksum? Date: Thu, 30 Nov 2000 14:53:28 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <8vm7gf$7tu$1@nnrp1.deja.com> <900h4n$q7q$1@nnrp1.deja.com> <90353e$ud0$1@nnrp1.deja.com> Sender: bpringlemeir@DeadDuck Martin> This probably explains Wind River's liberal use of LOCAL Martin> (a.k.a. static) function and variable declarations. Martin> Another way to drive yourself crazy is to have a variable Martin> like somethingLen which you typo to somethinglen in one place Martin> in a source file. This just happens to be a variable in Martin> another module. It compiles and links perfectly.... Give one check to C++'s name mangling. You should probably prepend all `C' globals with a module name. I am quite sure this has been recommended in several places. Not only is this good for not cluttering the global symbol table, but it also lets the compiler perform additional checks and optimizations. regards, Bill - -- DEPTH CHARGED BY EIGHT ATOMIC BOMBS. SINKING. U-725. --------------------------- Newsgroups: comp.os.vxworks Subject: NI PMC-GPIB on MVME2303, anybody? Date: Thu, 30 Nov 2000 15:56:25 +0100 From: Odd Erik Paulsen Organization: Western Geco Message-ID: I have a National Instruments PMC-GPIB Development Kit, NI-488DDK plugged into a Motorola MVME2301 card. I have the latest driver software (v1.1, for x86 PCI), but it will not compile on my system. Has anybody used this combination? Odd Erik Paulsen Geco-Prakla --------------------------- Newsgroups: comp.os.vxworks Subject: Re: ICMP Echo Request ("ping") with zero ICMP checksum? Date: Thu, 30 Nov 2000 14:59:16 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <8vm7gf$7tu$1@nnrp1.deja.com> <900h4n$q7q$1@nnrp1.deja.com> <90353e$ud0$1@nnrp1.deja.com> Sender: bpringlemeir@DeadDuck >>>>> "Bill" == Bill Pringlemeir writes: Bill> Give one check to C++'s name mangling. You should probably Bill> prepend all `C' globals with a module name. I am quite sure Bill> this has been recommended in several places. Not only is this Bill> good for not cluttering the global symbol table, but it also Bill> lets the compiler perform additional checks and optimizations. Sorry, the use of `static' allows for check and optimizations. Bill - -- Schrodinger on QED: I don't like it, and I'm sorry I ever had anything to do with it. --------------------------- Newsgroups: comp.os.vxworks Subject: Port of ppp-2.1.2 to VxWorks Date: Thu, 30 Nov 2000 14:49:17 GMT From: trichard_ipoptical@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <905pda$35a$1@nnrp1.deja.com> In the Unofficial VxWorks & Tornado FAQ there is a mention of a public domain port of ppp-2.1.2 to VxWorks available via anonymous ftp from ftp.netcom.com at /pub/da/dab/ppp-2.1.2.tar.gz. It looks like this site is gone. Does anyone know if there is a mirror site where I can get this file? Does anyone have this file that they could send me? Any help would be appreciated. Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: readdir() functionality.... Date: Thu, 30 Nov 2000 14:15:59 -0000 From: "David Anderson @ Data Track" Organization: Lawrence Berkeley National Laboratory Message-ID: <905qs5$6ei$1@overload.lbl.gov> vxWorks & Tornado I am writing a custom 'directory listing' command for our system which uses the readdir call. I wonder if anyone has come across any unexpected problems ( e.g. errors returned in errno ) before hitting the end of the directory ( null returned ) associated with file renaming and deleting on a dosFs ram drive device. I believe that after a number of ( rename, erase ) actions the early entries in the directory ( which are erased ) may trigger an error before the end of directory is reached when running code like this :- i.e. x = opendir(....) errno = OK; while ( (y=readdir(x) ) != NULL ) { if ( errno != OK ) break; ..... print out entry y ..... } where errno is the task errno as defined by vxWorks. David Anderson. mailto:danderson@dtrack.demon.co.uk - ------------------------------------- FF: 2B + ~2B , that is the question ? - ------------------------------------- Disclaimer - ---------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please destroy and notify Data Track Technology Plc +44 1425 271900. - ------------------------------------------------------- --------------------------- Newsgroups: comp.os.vxworks Subject: PCI interrupt connection Date: Thu, 30 Nov 2000 20:31:24 +0530 From: PAULY A D Organization: Lawrence Berkeley National Laboratory Message-ID: <905qs5$6ej$1@overload.lbl.gov> Hi all, How I can connect my own routine to PCI interrupt handler in VxWorks. How I know the vector address of PCI interrupts to connect my own routine. Thanks In Advance, AD Pauly --------------------------- Newsgroups: comp.os.vxworks Subject: Script as argument Date: Thu, 30 Nov 2000 15:21:17 GMT From: moshiach@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <905r93$4ph$1@nnrp1.deja.com> I am trying to adapt to Tornado 2/VxWorks a WIN32 program that takes one or more script names as arguments from the DOS command line, runs the scripts, and outputs any errors back to the command line. How can I run the program and have it accept the parameter, and how can I check the variables in the program? Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: redirection of i/o Date: Thu, 30 Nov 2000 10:44:33 -0500 From: "Graham Benton" Organization: Siemens Inc. Message-ID: <905sla$5bc$1@news.mch.sbs.de> References: <3A2408A0.D39F5986@alumnos.uva.es> <3A2625B4.A176914C@vitatron.com> I'm using VxSim Lite on Windows NT, and using tgtsvr doesn't seem to work. fd = open("tgtsvr/fname.out", O_WRONLY|O_CREAT, 0) returns ERROR. (with backslash and forward slash). fd = open("host:fname.out", O_WRONLY|O_CREAT, 0) does not return an error, but subsequent writes to the file descriptor don't produce any data in the file. I tried creating the file on the host first in the directory specified by the -R option to the server, but that didn't help. Also using creat() returns ERROR using either filename. I am using ioTaskStdSet(taskId, STD_OUT, fd) to redirect stdout to the file descriptor, and stdout does stop going to the simulator console using 'host:' in the filename, but I would like to know where the output is actually going. Graham Benton "Bart Gouw" wrote in message news:3A2625B4.A176914C@vitatron.com... > Dear VxWorker, > > I am not sure what your problem is. Do you mean you can not access > (open/read/write/close) files on your host machine using VxSim? > If so, you must read/write to device 'tgtsvr' (instead of 'host:' for > example). Your files will be accessed in the directory specified in the > 'Target-Server command line options'. For example "-V -B wdbpipe -R > C:/MyDir/VxWorks/Files -RW" > If you write to file 'tgtsvr/elvis.txt' it will bestored in > 'C:/MyDir/VxWorks/Files/elvis.txt' > > I hope this information helps, > > Regards, > Bart > > Ismael Lavín Herrán wrote: > > > I'm beginner with tornado 2 and I have a problem with standard i/o, for > > example when a program executes scanf(), the echo hostt shell doesn't > > work and the task control is not returned. When I configure the i/o to > > the target shell the echo works fine but the function exits. If anyone > > know about this, please tell me. > > > > Thank you. > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Driver for Ethernet on SCC Date: Thu, 30 Nov 2000 16:45:57 GMT From: parreg@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <906081$9js$1@nnrp1.deja.com> References: <8v2q8m$1h5$1@nnrp1.deja.com> In article , "Jim" wrote: > 860 BSP uses the SCC1 for ethernet ... if you ask your sales rep he may be > able to pull some strings for you ... > > jim > > wrote in message news:8v2q8m$1h5 $1@nnrp1.deja.com... > > I work with the 8260 and vxWorks. I've a end driver (motFccEnd)to load > > vxWorks via a FCC. I'm interested to load vxWokrs via a SCC. I've > > received from WRS a "non-offical" driver for ethernet on SCC. The > > problem is that is just an object file and it doesn't work. Has someone > > a source (and an object) for an End driver on the SCC? > > > > I suppose that I'm not the first one to load via SCC. I've read some > > msg about this driver.I've the impression that i'm the only one that > > doesn't have this driver. That's why I allow me to ask the source. :) > > > > > > Sent via Deja.com http://www.deja.com/ > > Before you buy. > > If you have the EST for the 8260 your rep should have object code to use for the ethernet driver. parreg Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Building vxWorks_rom image Date: Thu, 30 Nov 2000 10:53:15 -0600 From: "VIJAY" Organization: MOTOROLA Message-ID: <9060ls$8dl$1@newshost.mot.com> Hi, I am trying to build ROM based "vxWorks_rom" image for my vxworks application on MCP750 board. This image is written into ROM and loaded into RAM at boot up time. When i try to build this image I am getting some undefined reference linker errors shown below ldppc -X -N -e _romInit -Ttext fff00100 -Tdata 00800000 \ romInit.o romStart.o version.o D:\Tornado\target\lib\libPPC604gnuvx.a vxWorks.Z.o -o vxWorks_rom romInit.o(.text+0x40c): undefined reference to `sysGetDramSpd' romInit.o(.text+0x438): undefined reference to `sysGetBusSpd' make: *** [vxWorks_rom] Error 0x1 definations for sysGetDramSpd and sysGetBusSpd are in vxWorks.Z.o, but romInit.o is not able to resolve these. Does anybody know how to build this ? Thanks & Best Regards, venkat --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Building vxWorks_rom image Date: Thu, 30 Nov 2000 17:15:04 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <9060ls$8dl$1@newshost.mot.com> Sender: bpringlemeir@DeadDuck >>>>> "VK" == VIJAY writes: VK> definations for sysGetDramSpd and sysGetBusSpd are in VK> vxWorks.Z.o, but romInit.o is not able to resolve these. VK> Does anybody know how to build this ? Do you know what you are doing? The file vxWorks.Z.o is the compressed image that will be loaded to RAM. It is converted to binary and then a `bintoasm' program runs and makes a large data array to uncompress it. When romInit.o and bootInit.o load, they are the only files around (along with a inflate library). You must include the sysGetDramSpd, sysGetBusSpd in with the romInit.o code; at least that is my guess. See the file /target/h/make/rules.bsp. Look at the rules for the target you are making. There are other good files there that will tell you how this process works. have fun, Bill - -- Have you ever opened up your dog through the use of psychokinetic energy? Or fondled moldy milk through the use of psychokinetic energy? Or had your telephone tell you that your sister is confused? You will. And the company that will bring it to you: AT&T. --------------------------- Newsgroups: comp.os.vxworks Subject: Building vxWorks_rom image Date: Thu, 30 Nov 2000 11:17:04 -0600 From: "VIJAY" Organization: MOTOROLA Message-ID: <90622h$a14$1@newshost.mot.com> I am trying to build a custom vxworks romable image in T2. I have made changes to the image and am able download and execute it on the target, no problems. Now I want to flash it on the target. I have changed the rule from vxworks to vxworks_rom in the build tab. When I build the image I receive "romInit.o(.text+0x31c): undefined reference to `sysHawkParamConfig'". This image is strictly based on the BSP. I have added no code to it, nor have I changed any of the options in the vxWorks tab. What am I missing ? Thank you for help. venkat - -- Thanks & Best Regards, Venkatesh JS Motorola - IPO 8303 N.Mopac Suite A-400 Austin TX USA - 78759 Phone (office) : (512)-583-0631 / 2357 ************************************************** [x] General Business Information [ ] Motorola Internal Use only [ ] Motorola Confidential Proprietary ************************************************** --------------------------- Newsgroups: comp.os.vxworks Subject: re: readdir() functionality.... Date: Thu, 30 Nov 2000 17:28:56 +0000 (GMT) From: David Laight Organization: Lawrence Berkeley National Laboratory Message-ID: <200011301728.RAA08511@dsl-2.tadpole.co.uk> RTFM! readdir() returns 0 when the end of directory or error. errno is ONLY valid when an error has been signalled. This is true of almost everying that sets errno (except some maths routines) You code should read: x = opendir( ... ); if (!x) return -1; while (errno=OK,(y = readdir(x))) printf( ... ); if (errno != OK) printf( "read failed %x\n", errno ); The vxWorks readdir matches the solaris one... David > I am writing a custom 'directory listing' command for our system which uses > the readdir call. I wonder if > anyone has come across any unexpected problems ( e.g. errors returned in > errno ) before hitting the > end of the directory ( null returned ) associated with file renaming and > deleting on a dosFs ram drive device. > > > x = opendir(....) > errno = OK; > while ( (y=readdir(x) ) != NULL ) > { > if ( errno != OK ) break; > ..... print out entry y ..... > } > - ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 --------------------------- Newsgroups: comp.os.vxworks Subject: IO mapping Date: Thu, 30 Nov 2000 13:54:18 -0500 From: "Harman Bassan" Organization: The University of Western Ontario, London, Ont. Canada Message-ID: <90672a$gbp$1@panther.uwo.ca> Hi everyone, i am planning to use a PC as a data acquisation system and i want to run vxworks OS on it. I am also in process of designing some hardware data acquisation cards. Those cards decode only 12 address lines and thus sits in the PC IO space. In QNX OS there is C library which facilitates directly accessing those IO address locations. Now in VxWorks, there is no conio.h , so can any one tell me how can map the IO space into the memory mapping or there is some alternative in vxworks. Thanks, Harman. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: IO mapping Date: Thu, 30 Nov 2000 20:17:51 +0100 From: Ismael =?iso-8859-1?Q?Lav=EDn=20Herr=E1n?= Organization: Universidad de Valladolid - Spain Message-ID: <3A26A7DE.DD71F65B@alumnos.uva.es> References: <90672a$gbp$1@panther.uwo.ca> If you have Tornado 2 and your target is a pentium, you can access directly to memory positions where is your card. You must consulte vxworks programmers guide in the section: Appendice pentium or x86, sorry I don't remember. I hope this solve your doubt. Saludos, Harman Bassan escribió: > Hi everyone, > i am planning to use a PC as a data acquisation system and i want to run > vxworks OS on it. I am also in process of designing some hardware data > acquisation cards. Those cards decode only 12 address lines and thus sits in > the PC IO space. In QNX OS there is C library which facilitates > directly accessing those IO address locations. > Now in VxWorks, there is no conio.h , so can any one tell me how can > map the IO space into the memory mapping or there is some alternative in > vxworks. > > Thanks, > Harman. --------------------------- Newsgroups: comp.os.vxworks Subject: GoAhead web server Date: Thu, 30 Nov 2000 14:20:25 -0500 From: "Mike Kordik" Message-ID: Are you using GoAhead with VxWorks? Have you had any problems with it? I am experiencing a problem. After some time goes by (in some cases minutes) I can no longer access the web server remotely. I haven't tried to debug it yet. I was hoping maybe someone else has seen this problem and could help. Thanks, Mike --------------------------- Newsgroups: comp.os.vxworks Subject: VxWorks Symbol Table Download Date: Thu, 30 Nov 2000 11:33:56 -0800 From: "AG" Organization: SBC Internet Services Message-ID: Hi VxWorkers, We are at a point of development where we download our PPC750 VxWorks image directly into RAM on our board using an emulator. It comes up and runs ok but without the symbol table file. Does anybody know where the symbol table file (vxWorks.sym) goes? Meaning, is there an address in RAM it needs to downloaded to (like the runtime image at 0x10000)? Thanks in advance. --------------------------- Newsgroups: comp.os.vxworks Subject: list files using GNU toolkit for PPC Date: Thu, 30 Nov 2000 13:11:50 -0600 From: "Derek Opitz" Organization: Motorola CIG Message-ID: <9068o4$kul1@nntp.cig.mot.com> I am trying to get list files using asppc... this is the line I am using -> ccppc -g -Wa,-alh=myFile.lst,-L $(CFLAGS) $(INCLUDE_PATH) -o $@ $< I want mixed assembly and C, but although I am using the right flags (-alh) all i get is assembly. Anybody else ran into this problem with asppc/ccppc???? Thanks, Derek --------------------------- Newsgroups: comp.os.vxworks Subject: Re: vxWorks Task TCB Date: Thu, 30 Nov 2000 13:49:26 -0600 From: Andrew Johnson Organization: APS, Argonne National Laboratory Message-ID: <3A26AF46.58E2F3CE@aps.anl.gov> References: <904uo5$qmf$1@overload.lbl.gov> Krishna Kishore Reddy Sureddy wrote: > > In taskTCB what does UINT taskTicks(total number of ticks) stand For? > Is it : The number of ticks the task has taken the CPU Bandwidth since > it was Spawn. > Does vxWorks spy() System Call utilize this field in task TCB to gather > task's CPU Statistics. It's most likely to be used by spy, which I think reports the total number of ticks since spy was started, so that's most likely what is kept in that TCB field. > can i use this field to get statistics of CPU Usage of tasks. Probably not unless spy is actually running. > Can you suggest some other methods to detect CPU Hogging Task. We use spy (from the target shell), which works fine... - - Andrew - -- Every great idea appears crazy to start with. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: vme longword access in a24 Date: Thu, 30 Nov 2000 14:10:49 -0600 From: Andrew Johnson Organization: APS, Argonne National Laboratory Message-ID: <3A26B449.8EA4913@aps.anl.gov> References: <8FFC687D9olahallstromesavioni@130.100.128.24> "Ola Hallström" wrote: > > Hi, > I'm trying to setup a Tundra Universe 2 located on another board via the > vme-bus, from a DY4-179 PowerPC cpu board. > The Tundra I am supposed to setup is booted in a24 memoryspace. Writing to > the Tundra's internal registers requires longword accesses, but the default > when writing in a24 from the cpu-board is word accesses. > > How can I make longword writes in vme-bus a24 images? Either you have to enable D32 access in A24 from your CPU (which depends on what kind of VME interface chip the DY4-179 uses) or you have to get something else to do this for you. The former is much simpler if it can be done, but if not see whether it has DMA capability that you can set up to do D32 in A24. - - Andrew - -- Every great idea appears crazy to start with. --------------------------- Newsgroups: comp.os.vxworks Subject: Driver for Control RocketPort Serial E-net Hub Date: Thu, 30 Nov 2000 11:46:37 -0800 From: "Sinn, Larry" Organization: Lawrence Berkeley National Laboratory Message-ID: <906cek$ce4$1@overload.lbl.gov> Does anyone have VxWorks drivers for the RocketPort Serial Ethernet hub for Motorola PowerPC they are willing to share? TIA Larry. Larry Sinn KLA-Tencor MS I-1009 408 875 0247 voice 160 Rio Robles 408 875 6179 fax San Jose, Ca 95134-1809 larry.sinn@kla-tencor.com --------------------------- Newsgroups: comp.os.vxworks Subject: Re: dhcp server configuration question Date: Thu, 30 Nov 2000 20:12:06 GMT From: qa4944@email.mot.com Organization: Deja.com - Before you buy. Message-ID: <906cah$kh4$1@nnrp1.deja.com> References: <8uo6fn$9ni$1@nnrp1.deja.com> Luke, Do you know which version of DHCP server we should be asking for? We are having problems understanding client identifiers from DHCP Discover messages from non-boot ethernet devices (i.e. we have a MPC750 card with multiple ethernet devices which are initiated after bootup). All said and done, we are wondering what version of DHCP server you have, that works like a treat :-) ! - -Sameer In article , Diamand@btinternet.com (Luke Diamand) wrote: > The VxWorks DHCP server is a little erratic. You need to hassle your > account manager until they give you the latest and greatest version > which works a treat. > > On Mon, 13 Nov 2000 07:50:16 GMT, lvshui@my-deja.com wrote: > >Hi, all > > I have a question about DHCP Server in Tornado II, > > > >the DHCP Server already start.DHCP Client send DISCOVER > > > >Packet and the DHCP Server can send OFFER Packet, > > > >but after the DHCP Client send REQUEST Packet and > > > >the DHCP Server no response!!! I think I need some suggestion. > > > >thanks in advance > > > > > >Sent via Deja.com http://www.deja.com/ > >Before you buy. > > -- > Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: vxWorks Task TCB Date: Thu, 30 Nov 2000 12:50:23 -0800 From: Lori Fraleigh Organization: Real-Time Innovations Message-ID: <3A26BD8F.49963110@rti.com> You might try RTI's ProfileScope. It comes in the optional PerformancePak product from Wind River. It will not only show you what tasks are hogging the CPU, but also what functions within the task are using up the most time. For more information, contact your Wind River sales representative or check out http://www.rti.com. Regards, Lori Krishna Kishore Reddy Sureddy wrote: > > Hi vxWorks Gurus, > > In vxWorks I want to find a task that is Hogging CPU. In this regard i > have one doubt. > > In taskTCB what does UINT taskTicks(total number of ticks) stand For? > Is it : The number of ticks the task has taken the CPU Bandwidth since > it was Spawn. > Does vxWorks spy() System Call utilize this field in task TCB to gather > task's CPU Statistics. > If not, can i use this field to get statistics of CPU Usage of tasks. > > Can you suggest some other methods to detect CPU Hogging Task. > > Thanks and Regards, > S.K.K.Reddy. - -- Lori Fraleigh Real-Time Innovations Senior Software Engineer ScopeTools Manager Phone: 408-734-4200 x121 Fax: 408-734-5009 http://www.rti.com Please send/cc all support related email to support@rti.com --------------------------- Newsgroups: comp.os.vxworks Subject: SNMP mibcomp -man flag not working? Date: Thu, 30 Nov 2000 16:02:03 -0500 From: "Mike Anderson" Organization: Lawrence Berkeley National Laboratory Message-ID: <906fv4$d3t$1@overload.lbl.gov> VxWorks Greetings! I am trying to use the Windnet SNMP mibcomp program to compile a mib. When I try to use the "-man" or "-man.h" options, I get a message stateing that the mibcomp program couldn't open the input file "-man". I'm calling it as shown in the manual: mibcomp -man -o man.out rfc1213.mib The mibcomp is version 7.0. Anyone out there in netland able to provide a clue as to what's going wrong and how to fix it? TIA, Mike Anderson Chief Scientist The PTR Group, Inc. Embedded, Real-time Solutions and Services mailto:mike@theptrgroup.com http://www.theptrgroup.com V: 703.585.9384 F: 703.430.3748 --------------------------- Newsgroups: comp.os.vxworks Subject: Re: How to calculate Task stack space? Date: Thu, 30 Nov 2000 14:58:51 -0600 From: "Derek Opitz" Organization: Motorola CIG Message-ID: <906f0o$l861@nntp.cig.mot.com> References: <200011301401.GAA03645@mail22.bigmailbox.com> default when you do an sp is 0x4000. Deja User wrote in message news:200011301401.GAA03645@mail22.bigmailbox.com... > Tornado Vxworks > > Hi All, > > Can any one suggest, > > 1.How to calculate accurately the Task stack space?. > > 2.Do we have any "formula"? or technique to calculate? > > 3.What is the typical value normally used? > > Thanks in advance. > > Regards, > > Emblov. > > ------------------------------------------------------------ > --== Sent via Deja.com http://www.deja.com/ ==-- > Before you buy. > > --------------------------- Newsgroups: comp.os.vxworks Subject: I2C Date: Thu, 30 Nov 2000 22:03:59 GMT From: parreg@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <906isa$qga$1@nnrp1.deja.com> Hi All, Does anyone have a working example of an I2C driver for the MPC8260 using the I2C controller for byte or buffer reads. The EST8260 has software for write only. Thanks. Parreg Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: re: StrataFlash low level drivers Date: Thu, 30 Nov 2000 21:27:16 -0000 From: "timallen" Organization: Lawrence Berkeley National Laboratory Message-ID: <906jfn$do6$1@overload.lbl.gov> >Has anyone out there written any low level driver software for the >Intel StrataFlash for integration into the Wind River True File System? >Thanks in advance. This shouldn't be necessary since the Intel StrataFlash uses the Common Flash Interface(CFI) and Scaleable Command Set (SCS) standards which are supported by TrueFFS. Tim. - -------------------- Tim Allen Ltd Real Time Embedded Software Consultancy VxWorks --------------------------- Newsgroups: comp.os.vxworks Subject: Re: PCI Date: 30 Nov 2000 19:25:45 +0100 From: xwasznio@lab.felk.cvut.cz (Waszniowski) Organization: Mailgate.ORG Server - http://www.Mailgate.ORG Message-ID: <3A269B74.D5B7EF07@lab.felk.cvut.cz> References: <3a238402$0$3431$4dbef881@businessnews.de.uu.net> > Hi, > I'm quite new to vxWorks and I'm trying to access a PCI-card on a x86 board. > Is there any command in the vxWorks C-language for x86 to access directly a > memory address for memory mapped I/O or have I to write it in assembler code > ? > Thanks > Bertram > I'm also new, but I think you are looking for the memDrv. It create pseudo device driver allows you to access memory directly. bye Libor - -- Posted from lag.ensieg.inpg.fr [195.220.24.163] via Mailgate.ORG Server - http://www.Mailgate.ORG --------------------------- Newsgroups: comp.os.vxworks Subject: PCI interrupt on Pentium Date: 30 Nov 2000 20:24:13 +0100 From: xwasznio@lab.felk.cvut.cz (Waszniowski) Organization: Mailgate.ORG Server - http://www.Mailgate.ORG Message-ID: <3A26A92B.F13304A5@lab.felk.cvut.cz> Hi VxWorkers I have PC pentium and PCI Input card AX5410 inside. I can finde it on PCI buss and read the inputs from input register maped in the IO space. Its OK. But the card can generate interrupt if the inpust change, and I can't handle this interrupt. From configuration space (register Interrupt line) I read IRQ = 9 (ther is not other device used this IRQ) This is a fragment of my code: /* Handler */ void axIntHandler (int dummy) { logMsg ("Interrupt\n",0,0,0,0,0,0); semGive(axSemBInt); } .......................... /* connecting */ pciIntConnect (INUM_TO_IVEC ((irqNum + INT_NUM_IRQ0)), (VOIDFUNCPTR) axIntHandler, ioBaseAddr); /* enable */ sysIntEnablePIC (irqNum); /* enable interrupt generating in the card */ sysOutWord (ioBaseAddr, AX_INTERRUPT_ENABLE); Don't anybody know what is wronk? When I spawn this task with stack = 8000, the axIntHandler never run. When I debug this code I used the Brovser to see Vector table. Before pciIntConnect I found Uninit.Int in vector numder 41 (9+INT_NUM_IRQ0) and after pciIntConnect ther have been written __dtors. What does it mean? When I use intConnect - the same result. Thanks Libor - -- Posted from lag.ensieg.inpg.fr [195.220.24.163] via Mailgate.ORG Server - http://www.Mailgate.ORG --------------------------- Newsgroups: comp.os.vxworks Subject: What exactly does netTask do? Date: Thu, 30 Nov 2000 22:54:39 GMT From: Ted Dennison Organization: Deja.com - Before you buy. Message-ID: <906lrc$t2q$1@nnrp1.deja.com> My main question here is when exactly does netTask take over in the TCP/IP (or UDP/IP) send/receive process? I'm trying to debug an intermittent network-related problem, where usually my vxWorks system responds to a UDP request in about 4ms, but somtimes (roughly once every 10 minutes) it takes more like 14. As part of the information-gathering process I thought I'd look at Windview to see what is going on. The task in question is the highest-priority user task, and does nothing but check every tick (~4ms) for new data. If it gets some, it immediately sends a response from a pre-prepared buffer. Windview shows that this takes the task about 100 micros. What I'm seeing is that every ~16ms a data packet comes in (that's the schedule) and netTask does some work. At the next tick, the interface task does its thing (no suprise there). But what I'm not seeing is any further response out of netTask until the next UDP packet comes in 16ms later. Is it possible that netTask is saving up outgoing packets until it has some new incomming ones to process? Or does netTask only handle incomming UDP packets, and outgoing ones are entirely handled by the sending task? - -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: RE: Driver for Intel 28F128 (128Mbit) flash Date: Thu, 30 Nov 2000 14:50:22 -0800 From: Jason Liu Organization: Lawrence Berkeley National Laboratory Message-ID: <906n06$ecg$1@overload.lbl.gov> Hi: Does anyone have VxWorks drivers for Intel 28F128J3A flash that they are willing to share ? Thank you in advance. Jason --------------------------- Newsgroups: comp.os.vxworks Subject: Re: data rates with FAT32 file system Date: Thu, 30 Nov 2000 17:19:32 -0600 From: Bob Irwin Organization: SIS Development Ltd Message-ID: <3A26E084.AAC4FBB5@systemsinterface.com> References: <3A258E61.EFCA6307@grover.jhuapl.edu> Russell Iannuzzelli wrote: > > I have been using the FAT32 file system with VxWorks (on a G4 Moto VME > board), to a harddrive (10000 rpm high performance ultra wide). > > I have been getting 4-6 Mbytes/sec sustained, but no more and a friend > that is only using a narrow scsi (3 row din) is getting the same data > rates. Is there a configuration issue here, or is tied up in the FAT32 > file system? Eventually, after the scsi cache is gone, the system fails > by have the filing task absorb all the free buffers in the system, thus > not keeping up. FAT32 in dosFs2 can perform pretty well. With a Synergy 400 mhz PPC750, (model VGMD), we're now sustaining 12 Mbytes/sec thru an wide, single ended controller to 10000 rpm IBM drives. the rate can go as high as 19 Mbytes/sec, depending on inner/outter disk cylinders used. Now this is primarily a data logging application, so most disk activity is sequential writes with large buffers. The app requirement was to write at 10 Mbytes/sec continuously for up to 28 minutes. the 18 GB drives were formatted as one partition which yields a large cluster size which helps performance. So we take a stream of realtime data and write it to a number of 100 MB files. found that the scsi2lib did not correctly negotiate with the drive, so had to use the scsiTargetOptionsSet() function to force wide, fast xfrs. make sure that you do have the width and rate you expect. In this app, I manage my own buffers and make large writes which allows the system to write directly from my buffers rather than do copies before writing. Refer to the "dosFs for Tornado 2.0 Release Notes" doc for performance issues. buffers are reserved for disk IO by restricting vxWorks memory to 32 MB and making the memory above that non-cached for private disk IO buffers. we also use write(), not fwrite(). Current geometry is 256 256Kbye buffers, and the 'filling' task rarely get very far ahead of the 'writing' task. So, make sure SCSI2 support is configured, that you're getting the cable transfers you expect, and do large transfers, if possible, from your own uncached buffers. good luck. - -- Bob Irwin | bobi@sis-dev.com | SIS Development | 281-484-6661 | Houston --------------------------- Newsgroups: comp.os.vxworks Subject: problem installing vxworks image on target Date: Thu, 30 Nov 2000 16:17:09 -0700 From: Ben Message-ID: <3A26DFF5.7BD4B1CF@hotmail.com> Reply-To: kanigeri@hotmail.com hi i am trying to install vxworks image on my target board(ppc), but i am getting the following error. can you please tell me where am i going wrong. i am also attaching the information which i am getting in ftp. i will be grateful to you for any assistance in this regard. thank you following is the information i am getting in terminal emulator [VxWorks Boot]: @ boot device : dc processor number : 0 host name : U.S.U..usu.edu file name : c:\tornado\target\config\mtx603\vxWorks inet on ethernet (e) : 129.123.4.127:ffffff00 host inet (h) : 129.123.4.237 user (u) : sl149 ftp password (pw) : goud flags (f) : 0x0 target name (tn) : tornado Attaching network interface dc0... done. Attaching network interface lo0... done. Loading... 670192 ......and it gets stuck here... the follwoing information in ftp is [L 0010] 11/30/00 15:46:51 Connection accepted from 129.123.4.127 [C 0010] 11/30/00 15:46:51 Command "USER sl149" received [C 0010] 11/30/00 15:46:51 PASSword accepted [L 0010] 11/30/00 15:46:51 User sl149 logged in. [C 0010] 11/30/00 15:46:51 Command "TYPE I" received [C 0010] 11/30/00 15:46:51 TYPE set to I N [C 0010] 11/30/00 15:46:51 Command "PORT 129,123,4,127,4,1" received [C 0010] 11/30/00 15:46:51 PORT set to 129.123.4.127 - 1025 (4,1) [C 0010] 11/30/00 15:46:51 Command "RETR c:\tornado\target\config\mtx603\vxworks" received [C 0010] 11/30/00 15:46:51 RETRieve started on file c:\tornado\target\config\mtx603\vxworks [C 0010] 11/30/00 15:46:58 Transfer aborted [G 0010] 11/30/00 15:46:58 Got file c:\tornado\target\config\mtx603\vxworks unsuccessfully [! 0010] 11/30/00 15:46:58 Timeout while sending data [C 0010] 11/30/00 15:46:58 QUIT or close - user sl149 logged out --------------------------- Newsgroups: comp.os.vxworks Subject: Re: PCI Date: Thu, 30 Nov 2000 17:36:28 -0600 From: Bob Irwin Organization: SIS Development Ltd Message-ID: <3A26E47C.309DCD51@systemsinterface.com> References: <3a238402$0$3431$4dbef881@businessnews.de.uu.net> <3A269B74.D5B7EF07@lab.felk.cvut.cz> Waszniowski wrote: > > > Hi, > > I'm quite new to vxWorks and I'm trying to access a PCI-card on a x86 board. > > Is there any command in the vxWorks C-language for x86 to access directly a > > memory address for memory mapped I/O or have I to write it in assembler code > > ? > > Thanks > > Bertram for accessing the memory you can reference via a C pointer once you've found the card's memory space. Refer to your BSP's README, config.h and other .h files in your target cpu's directory ( target/config/cpuname. You'll likely need some PCI configuration for the card. Again dig thru your BSP files like sysLib.c and others for examples. grep thru your man pages for 'PCI', you'll likely find help. Also try the target/src and target/unsupported trees. bob - -- Bob Irwin | bobi@sis-dev.com | SIS Development | 281-484-6661 | Houston --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Building vxWorks_rom image Date: Fri, 01 Dec 2000 00:21:52 +0000 From: B Luong Organization: The University of York, UK Message-ID: <3A26EF20.B9B7481F@student.cs.york.ac.uk> References: <90622h$a14$1@newshost.mot.com> Sender: btl101@york.ac.uk I asked a question a while back about building Vxworks_rom. I got this advice courtesy of Michael Lawnick. - ---Be careful ! You'll need patch for SPR#28854 if you use T2 on WinXX - other OSes I don't know - to build a vxWorks_romXXX, as there is missing a TCL statement in project generation script for these.(Adding BOOT_EXTRA to rom loader linkage) . That might be your problem. I had another problem after I got that sorted. It built sucessfully but it wouldn't boot. I got onto Windriver and they sent me a patch to HawkI.c (I think thats the name). You also might want to ask for a new elftobin as well. My version of that didn't work well with romable images. It'll save you hitting your head against your desk. hope that helps regards Ben --------------------------- Newsgroups: comp.os.vxworks Subject: Re: IO mapping Date: Thu, 30 Nov 2000 15:36:51 -0500 From: "James A. Littlefield" Organization: HarvardNET Message-ID: <3A26BA63.AC978851@alum.mit.edu> References: <90672a$gbp$1@panther.uwo.ca> Harman Bassan wrote: > Hi everyone, > i am planning to use a PC as a data acquisation system and i want to run > vxworks OS on it. I am also in process of designing some hardware data > acquisation cards. Those cards decode only 12 address lines and thus sits in > the PC IO space. In QNX OS there is C library which facilitates > directly accessing those IO address locations. > Now in VxWorks, there is no conio.h , so can any one tell me how can > map the IO space into the memory mapping or there is some alternative in > vxworks. > > Thanks, > Harman. Hi Harman, I think the functions you want are in config/pcX86/sysALib.s. There are sysInByte(), sysOutByte(), sysInWord(), and sysOutWord() which will do i/o to the X86 i/o space. Regards, Jim --------------------------- Newsgroups: comp.os.vxworks Subject: re: comp.os.vxworks newsdigest Date: Fri, 01 Dec 2000 10:56:16 +0900 From: "Girish V. Gulawani" Organization: Lawrence Berkeley National Laboratory Message-ID: <9071hm$mgu$1@overload.lbl.gov> > One task receives TCP/IP data and writes into diskfile File1.cur using > fopen and fwrite. When File1.cur reaches a certain size (based on > number of bytes written into it), it is fclosed, renamed to File1.uns. > File2.cur is opened to write incoming data. > A second task scans the directory (using opendir, readdir) for *.uns > files. If found, it transfers these files across the network and > renames the transferred files to *.dat. > > At the end of the second task's operation, File2.cur (opened by the > first task) mysteriously disappears! Can anyone throw light on what's > happening? at the risk of being obvious - .1> does closedir() gets called? 'cause to flush all the file buffers it is required. .2> also dosFsLib does not support file locking is concerned. so accidental rename (copy+delete am i right?), might misplace FAT entries. .3> if files are read+write together, try fflush() just before fclose() .4> if data is binary is b option set? .5> same results with open-read-close? .6> last but not the least. which HDD, formatted correct alongwith dos volume options correct? ANY BAD SECTORS?? hth. _____________________________________________________ Girish V. Gulawani (WIPRO Global R&D) SOC Development Dept. 11. SOC Design Center Platform Technology Development Headquarters Canon Inc. Kosugi Office 53, Imaikami-cho, Nakahara-Ku. Kawasaki. 211-8501, JAPAN. Phone : +81-44-733-6111 ext. 3515 (GMT+09:00) Fax : +81-44-739-6722 E-mail: girish@soc.kosugi.canon.co.jp _____________________________________________________ --------------------------- Newsgroups: comp.os.vxworks Subject: re: comp.os.vxworks newsdigest Date: Fri, 01 Dec 2000 11:40:15 +0900 From: "Girish V. Gulawani" Organization: Lawrence Berkeley National Laboratory Message-ID: <907525$nqn$1@overload.lbl.gov> > Newsgroups: comp.os.vxworks > Subject: reboot > Date: Thu, 30 Nov 2000 09:23:38 +0100 > From: "Bertram Tenner" > Organization: Customer of UUNET Deutschland GmbH > Message-ID: <3a260f08$0$19364$4dbef881@businessnews.de.uu.net> > > Hi, > I have a hard disk vxWorks boot partition on a x86 target. When I reset the > system, vxWorks boots well from the hard disk and loads vxWorks image from > the host. However, when I use the reboot command from the Tornado shell of > the host, the target tries to boot from the floppy and, in case there is no > diskette, it gives me an error message. > How to configure the boot parameters, so that it will boot from the HD ? in sysLib.c set the variable sysWarmType as 2. default is 1 & that is FDD. refer : vxworks programmer's guide appendix d-5, table d-3. hth. --------------------------- Newsgroups: comp.os.vxworks Subject: re: comp.os.vxworks newsdigest Date: Fri, 01 Dec 2000 11:49:44 +0900 From: "Girish V. Gulawani" Organization: Lawrence Berkeley National Laboratory Message-ID: <907526$nqo$1@overload.lbl.gov> > Newsgroups: comp.os.vxworks > Subject: StrataFlash low level drivers > Date: Wed, 29 Nov 2000 14:10:26 GMT > From: parreg@my-deja.com > Organization: Deja.com - Before you buy. > Message-ID: <9032od$sc9$1@nnrp1.deja.com> > > Hi All, > > Has anyone out there written any low level driver software for the > Intel StrataFlash for integration into the Wind River True File System? wrs supports cfi/scs. refer 3.5 of tffs documentation. so need not write driver. guess!! hth. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks Symbol Table Download Date: Fri, 01 Dec 2000 03:28:46 GMT From: "Patrick@Roadrunner" Organization: Road Runner Message-ID: References: Trt using BUILT_IN symbol table, the table gets incorporated into the image which makes loading much easier. Patrick "AG" wrote in message news:x%xV5.203$uE1.61268@news.pacbell.net... > Hi VxWorkers, > > We are at a point of development where we download our PPC750 VxWorks image > directly into RAM on our board using an emulator. It comes up and runs ok > but without the symbol table file. Does anybody know where the symbol table > file (vxWorks.sym) goes? Meaning, is there an address in RAM it needs to > downloaded to (like the runtime image at 0x10000)? > > Thanks in advance. > > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: How to calculate Task stack space? Date: Fri, 01 Dec 2000 03:32:12 GMT From: "Patrick@Roadrunner" Organization: Road Runner Message-ID: <0ZEV5.7481$b73.4236823@typhoon.san.rr.com> References: <200011301401.GAA03645@mail22.bigmailbox.com> Use checkStack myTaskName (or stackCheck, I don't remember the exact syntax). This will give you current/max/margin values for your task. I suggest you try and excercise as much of yout tasks code before using these results to fine tune your stack levels. Patrick "Deja User" wrote in message news:200011301401.GAA03645@mail22.bigmailbox.com... > Tornado Vxworks > > Hi All, > > Can any one suggest, > > 1.How to calculate accurately the Task stack space?. > > 2.Do we have any "formula"? or technique to calculate? > > 3.What is the typical value normally used? > > Thanks in advance. > > Regards, > > Emblov. > > ------------------------------------------------------------ > --== Sent via Deja.com http://www.deja.com/ ==-- > Before you buy. > > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Message queues in vxworks Date: Fri, 01 Dec 2000 03:34:35 GMT From: "Patrick@Roadrunner" Organization: Road Runner Message-ID: References: <904r7l$q2m$1@overload.lbl.gov> for 1: look up the msgQLib there is a function to return of messages in a Q, you can write a routine to read the Q till this value is zeor. for 2: I believe there is a msqQPeek that allows you to look at the next message without removing it from the Q, not sure if you can apply that to the Nth message Patrick "Rajendra Prasad" wrote in message news:904r7l$q2m$1@overload.lbl.gov... > Hi vxworkers, > > Could anybody please clarify the following two points. > > 1. Is there any routine available in vxworks to flush all the messages at > once in a message queue ? > i.e. to discard all the messages waiting in a queue to be read (Posix > or Wind queue) > > 2. Is there any method to pick up nth message from the queue selectively ? > > thanks in advance and best regards, > rajendra. > > vxworks tornado > ____________________________________________________________________________ _________ > Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com > --------------------------- Newsgroups: comp.os.vxworks Subject: How can I config MPMC202 on MCP750? Date: Fri, 01 Dec 2000 06:03:47 GMT From: propellers@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <907f01$gtf$1@nnrp1.deja.com> I am a tenderfoot, could someone tell me what procedure I should follow to configurate a MPMC202 on a MCP750 Board? The OS is Vixworks, of course. Thank you! Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Message queues in VxWorks Date: Fri, 1 Dec 2000 10:46:40 +0530 From: "R R, Rajendra Prabhala (Rajendra)** CTR **" Organization: Lawrence Berkeley National Laboratory Message-ID: <907fjm$qaj$1@overload.lbl.gov> Hi vxworkers, Could anybody please clarify the following two points. 1. Is there any routine available in vxworks to flush all the messages at once in a message queue ? i.e. to discard all the messages waiting in a queue to be read (Posix or Wind queue) 2. Is there any method to pick up nth message from the queue selectively ? thanks in advance and best regards, rajendra. vxworks tornado --------------------------- Newsgroups: comp.os.vxworks Subject: Files in vxWorks Date: Fri, 1 Dec 2000 11:51:17 +0530 From: Rashmi_Topno Organization: Lawrence Berkeley National Laboratory Message-ID: <907fjm$qak$1@overload.lbl.gov> Hi vxworkers, I am working in vxSim. I could create, write and read a file in DOS file system. But through shell if I do "ls", I am not able to see the entry of the file. Will that file be still there if I close that session ? Thanks Rashmi --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Q on WindView user events Date: Fri, 1 Dec 2000 07:22:33 +0100 From: "Markus MItterer" Organization: KPNQwest customer news service Message-ID: <7tHV5.2$s42.816@nreader1.kpnqwest.net> References: Hello Mark, Few months ago I run into the same problem. I didn`t spend a lot of time but I think it most be one more bug of wrs. Sorry, can`t help Markus P.S. If you get useful information please tell me. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: PCI interrupt on Pentium Date: Fri, 01 Dec 2000 08:00:22 +0100 From: Sebastien Fauris Organization: Club-Internet (France) Message-ID: <3A274C86.8A75A4BD@club-internet.fr> References: <3A26A92B.F13304A5@lab.felk.cvut.cz> Hi Libor, the connection seems correct except there is no code to acknowledge the interrupt in your ISR. - - are you sure to use the proper "ioBaseAddr" Address + offset of your 'Interrupt Enable Register' when you enable the interrupts ? - - have you checked that the command register in the PCI Config Space Header of your PCI board has the I/O enable bit set ? Good luck, Sebastien. --------------------------- Newsgroups: comp.os.vxworks Subject: scheduler Date: 1 Dec 2000 08:21:01 +0100 From: skrow@rediffmail.com ("shameek roy") Organization: Mailgate.ORG Server - http://www.Mailgate.ORG Message-ID: <20001201071407.29239.qmail@mailweb6.rediffmail.com> hi, iam new to vxworks. can someone please give me information about vxworks architecture or direct me to appropriate resources(other than wrs documentation). someone please answer the following questions. what are we doing when we are creating a vxworks image? are we compiling the whole vxworks OS? where is the scheduler sitting? what modules of vxworks does the initial bootrom contain(iam downloading vxworks image using tftp)?where are the task management modules? please do provide me with the info or direct me to appropriate resources. thanks in advance, - -shameek _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com Participate in crazy auctions at http://auctions.rediff.com/auctions/ - -- Posted from IDENT:qmailr@[202.54.124.151] via Mailgate.ORG Server - http://www.Mailgate.ORG --------------------------- Newsgroups: comp.os.vxworks Subject: Re: PCI Date: Fri, 1 Dec 2000 08:57:17 +0100 From: "Bertram Tenner" Organization: Customer of UUNET Deutschland GmbH Message-ID: <3a275ad8$0$19374$4dbef881@businessnews.de.uu.net> References: <3a238402$0$3431$4dbef881@businessnews.de.uu.net> <3A269B74.D5B7EF07@lab.felk.cvut.cz> <3A26E47C.309DCD51@systemsinterface.com> Hi Bob, thanks for your answer, you wrote > for accessing the > memory you can reference via a C pointer once you've found the card's > memory space. Refer to your BSP's README, config.h and other .h files > in your target cpu's directory ( target/config/cpuname. Even this I do, accessing the memory address, retrieved from the config space of the card, via a C pointer, but I get an error message. May be there must be some other initialisation of a PCI card to get access to the mapped memory ? Regards Bertram --------------------------- Newsgroups: comp.os.vxworks Subject: Re: MVME2700 User Flash Date: Mon, 27 Nov 2000 08:49:22 +0100 From: "Michael Lawnick" Organization: Deja.com - Before you buy Message-ID: <200011270748.IAA15392@net.softec.de> References: Hi, get the manual for your flash type (its AMD, isn't it?) and enable write to it via registers in your FALCON chip. The registers are descrbed in Motorola's Programmer's User Guide. It's not too hard to get it. Michael > Hello all, > > I have a MVME2700 with 8 MBytes of user flash. I would like to be able to, > under program control, read/write data from flash. Does anyone have any > sample code and or advice on how to do this? > > Thanks in advance > > > > > > _____________________________________________________________ > Deja.com: Before you buy. > http://www.deja.com/ > * To modify or remove your subscription, go to > http://www.deja.com/edit_sub.xp?group=comp.os.vxworks > * Read this thread at > http://www.deja.com/thread/%3Cba%25T5.10220%24BL.699441%40bgtnsc05-news.ops.worldnet.att.net%3E > Michael Lawnick, SOFTEC GmbH ============================================== SOFTEC GmbH Tel +49-731-96600-0 Promenade 17 Fax +49-731-96600-23 D-89073 Ulm Michael Lawnick Germany lawnick@softec.de ============================================== Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Re: PCI interrupt on Pentium Date: 1 Dec 2000 10:55:33 +0100 From: xwasznio@lab.felk.cvut.cz (Waszniowski) Organization: Mailgate.ORG Server - http://www.Mailgate.ORG Message-ID: <3A27755D.DB8BB78F@lab.felk.cvut.cz> References: <3A274C86.8A75A4BD@club-internet.fr> > the connection seems correct except there is no code to acknowledge > the interrupt in your ISR. > Ofcourse, in my ISR I must read the inputs (inputReg= sysInWord (ioBaseAddr);), but now I wil be happy if the ISR only start. > - are you sure to use the proper "ioBaseAddr" Address + offset > of your 'Interrupt Enable Register' when you enable the interrupts ? Hard to say. There is only one register ioBaseAddr+0. There can I read inputs - and it works OK - or by written there 1, I enable interrupts. Ofcourse, I can not verify if interrupt is enable, becouse, when I read this register, I read the inputs. This is 16bit registre, therefore I use sysOutWord. But there is another problem. There is not written wich base addres is the right in the manual. There is written that only one IO register in Base + 0 is used. But when I see the cohfiguration space of this card, there is vritten this: vendor ID = 0x10b5 device ID = 0x9050 command register = 0x0003 status register = 0x0280 revision ID = 0x01 class code = 0x00 sub class code = 0x00 programming interface = 0x00 cache line = 0x08 latency time = 0x00 header type = 0x00 BIST = 0x00 base address 0 = 0xf4800000 base address 1 = 0x0000b401 base address 2 = 0x0000b001 base address 3 = 0x00000000 base address 4 = 0x00000000 base address 5 = 0x00000000 cardBus CIS pointer = 0x00000000 sub system vendor ID = 0x0000 sub system ID = 0x5410 expansion ROM base address = 0x00000000 interrupt line = 0x09 interrupt pin = 0x01 min Grant = 0x00 max Latency = 0x00 You can see ther is one base address in memory space on base address 0 and two in IO space on base address 1 and base address 2. Ofcourse, there is not written which is the right in the manual. There I've tryed it and I found that the base address 2 is the right one - I'm sure for reading inputs and I hope for enable interrupts. When I trye Write somethink to IO space on base address 1 +0 the interrupt also don't work and the reading inputs stop working. There fore I thought I use the right base address. Thank for your answer Sebastien Libor - -- Posted from lag.ensieg.inpg.fr [195.220.24.163] via Mailgate.ORG Server - http://www.Mailgate.ORG --------------------------- Newsgroups: comp.os.vxworks Subject: How to use RPC's( pRPC+ ) in pSOS Date: Fri, 01 Dec 2000 14:40:40 +0530 From: suresh@cosystems.com Organization: Lawrence Berkeley National Laboratory Message-ID: <5.0.0.25.1.20001201143359.009fc1f0@192.9.200.5> - --=====================_19147483==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed HI embeded users, I am working on RPC's on pSOS operating system . * whether pSOS ver-2.2.6 provides full support for SUN RPC's. * In order to use the SUN RPC's , do we need to compile with a cross compiler for vxworks on solaris machine only? or we can use compiler for pSOS on NT machine. Now i am useing "rpcgen" on Solaris Machine to generate the client and server stub files. I wnat the procedure to compile and build the image for server and client.at the same time the equalent system header files of Solaris to pSOS MY main requirnments are. 1. target machine ( containing the protocol stack) should be on pSOS O.S . Server will run on this machine and server contains only the RPC procedures[nothing like main()] which call the standard systems calls like open(), close() etc., - - w.r. t above we need the information on compiler ( whether to use cross compiler on solaris for pSOS O.S or something else) and compilation procedures also. 2. host machine ( which runs daemons / applications) should be on solaris O.S. client will run on this machine and client calls the RPC procudures which are coded at the server side. - - w.r.t above we need the information about compiler. IF ANY ONE HELP ME IN THIS REGARD IT WILL BE VERY USEFUL TO ME , SO I AM WAITING FOR U REPLY With Regards Suresh K. - --=====================_19147483==_.ALT Content-Type: text/html; charset="us-ascii" HI  embeded users,

I am working on RPC's on pSOS operating system .

* whether pSOS ver-2.2.6 provides full support for SUN RPC's.

* In order to use the SUN RPC's , do we need to compile with a cross
compiler for vxworks on solaris machine  only? or we can use compiler for pSOS on NT machine.

Now i am useing "rpcgen" on Solaris Machine to generate the client and  server stub files.
I wnat the procedure to compile and build the image for server and  client.at
the same time the equalent system  header files of Solaris to pSOS

MY  main requirnments are.

1. target machine ( containing the protocol stack) should be on pSOS
O.S . Server will run on this machine and  server contains only the RPC procedures[nothing like main()] which
call the  standard systems calls like open(), close() etc.,
- - w.r. t above we need the information on compiler ( whether to use
cross  compiler on solaris for pSOS O.S or something else) and compilation  procedures also.
2. host machine ( which runs daemons / applications) should be on
solaris  O.S. client will run on this machine and  client calls the RPC procudures which are coded at the server side.
- - w.r.t above we need the information about compiler.


IF ANY ONE HELP ME IN THIS REGARD IT WILL BE VERY USEFUL TO ME , SO I AM WAITING FOR U REPLY


With Regards
Suresh K. - --=====================_19147483==_.ALT-- --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Fri Dec 1 12:51:58 2000 From: rajat.bandhu@conexant.com Date: Fri Dec 1 12:52:00 PST 2000 Subject: dynamically adding PCI space for vxworks dynamically adding PCI space for vxworks We are using a pentium based system using Vxworks where we need to dynamically add PCI space as we detect PCI cards. I am aware for static addition of PCI space we need to simplify modify the sysPhysMemDesc structure in sysLib.c. This table tells the MMU in the chip which pages are accessible.And then usrRoot which gets called in the context of kernel does the memory initisations(usrMmuInit et al). But how do we implement addition of PCI space on a dynamic basis i.e. from hotswap standpoint where the system has booted and vxworks kernel has been launched and the application code started and now we plug in a PCI card into the chasis/system and want to update the MMU with respect to this newly plugged in card. Any advice/pointers is appreciated. regards, raj From vxwexplo-errs@csg.lbl.gov Sat Dec 2 04:03:09 2000 From: Vxworks Exploder Date: Sat Dec 2 04:03:11 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Sat Dec 2 04:03:05 PST 2000 Subject: Re: PCI interrupt connection Subject: Touch Screen Calibration Subject: (tNetTask): arptnew failed on 9f6ba3e3 Subject: Re: Pb to Build Zinc 6 (beta 2) Subject: Re: SNMP mibcomp -man flag not working? Subject: Re: (tNetTask): arptnew failed on 9f6ba3e3 Subject: re: StrataFlash low level drivers Subject: Re: Q on WindView user events Subject: Re: list files using GNU toolkit for PPC Subject: urgent!: fast ethernet not working Subject: mcp750 Subject: dynamically adding PCI space for vxworks Subject: How Can I set the Time OF Day Subject: How Can I set the "Time OF Day" Subject: Re: list files using GNU toolkit for PPC Subject: help please Subject: Re: mcp750 Subject: Re: How Can I set the "Time OF Day" Subject: Re: PCI memory on MVME2604 Subject: Can the target write to the host's file system? Subject: Maximum number of semaphores in VxWorks Subject: Re: Can the target write to the host's file system? Subject: Port NAT Subject: Re: Q on WindView user events Subject: Re: help please Subject: Re: Port NAT ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Re: PCI interrupt connection Date: 1 Dec 2000 13:03:09 +0100 From: xwasznio@lab.felk.cvut.cz (Waszniowski) Organization: Mailgate.ORG Server - http://www.Mailgate.ORG Message-ID: <3A279344.F270E5F4@lab.felk.cvut.cz> References: <905qs5$6ej$1@overload.lbl.gov> > > Hi all, > > How I can connect my own routine to PCI interrupt handler in VxWorks. How I > know the vector address of PCI interrupts to connect my own routine. > > Thanks In Advance, Hi I have also problem with interrupt connection (see my question from 30november) but its look like I can give you some information. The vector address of PCI interrupts you find in configuration space of your PCI device. Then use pciIntConnect or intConnect to connect your ISR. You can do it like me. In your config.h must by #define INCLUDE_PCI. If you use PCI ethernet card, it will by OK, else you must to put it there. It is also useful to put there #define INCLUDE_SHOW_ROUTINES to posibility use pciConfigShow (see pciConfigShow.c). This will initialize your pciConfigLib (see pciConfigLib.c for more information) pciConfigLibInit (PCI_MECHANISM_1, PCI_CONFIG_ADDR, PCI_CONFIG_DATA, NULL) Than use this pciFindDevice (AX_VENDOR_ID, AX_DEVICE_ID, AX_INSTANCE_NO, &pciBus, &pciDevice, &pciFunc) to find your PCI device on PCI bus. Now you can read PCI Configuration space of this card, wher is written all information you need - the IRQ. pciHeaderShow (pciBus, pciDevice, pciFunc); /* print the info. in the screen */ pciConfigInByte (pciBus, pciDevice, pciFunc, PCI_CFG_DEV_INT_LINE, &irqNum); As result you can get irqNum = 9 for example. *************************************************************************** Now start my problems - It also don't working in my code !!!!!!! But I think that it is correct. You can connect your ISR now pciIntConnect (INUM_TO_IVEC ((irqNum + INT_NUM_IRQ0)), (VOIDFUNCPTR) axIntHandler, isrParametr); Or simple intConnect with the same parameter should be possible, if no other device use IRQ you found. Now you must enable IRQ. This you can use for x86 BSP sysIntEnablePIC (irqNum) I hope it will help you, bye Libor - -- Posted from lag.ensieg.inpg.fr [195.220.24.163] via Mailgate.ORG Server - http://www.Mailgate.ORG --------------------------- Newsgroups: comp.os.vxworks Subject: Touch Screen Calibration Date: Fri, 1 Dec 2000 14:56:13 +0200 From: "RM" Message-ID: <3a279fc1$0$226@helios.is.co.za> Hello, I am currently busy writing/modifying a touch-screen driver. The driver seems to work fine except that there is a offset between the touched position and the pixel position. If I for example have a button on a screen, I have to touch the screen not on the button to generate a event, but rather next to the button. I know that I have to perform some sort of calibration on the screen. According to the TS documentation, this involves placing two dots at known pixel position on screen and then touching the panel at the dot positions. The raw touch panel data then has to be saved and a pixel per data value is determined. My problem is, how do I al of this. I have created a window using Zinc with the two dot positions as described. How do I capture and save the touch position when the user touches the screen at the dot positions? Is there some way of getting this information from the UGL? Thanks in advance. Randall Michau Grintek Avitronics Rmichau@grintek.com --------------------------- Newsgroups: comp.os.vxworks Subject: (tNetTask): arptnew failed on 9f6ba3e3 Date: Fri, 01 Dec 2000 14:09:42 +0100 From: Thomas Scholz Organization: Ericsson Eurolab Germany Message-ID: <3A27A316.37545130@eed.ericsson.se> Hi, I'm getting the message "0x38ebad0 (tNetTask): arptnew failed on 9f6ba3e3". Can anyone explain this message, please. How do I avoid it. Is it documented somewhere in the vxWorks manuals ? Thanx, Th. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Pb to Build Zinc 6 (beta 2) Date: Fri, 01 Dec 2000 15:07:25 +0100 From: Nathalie BOCQUIER Organization: Service BEP Message-ID: <3A27B09D.19B6721D@sepro-robotique.com> References: <3A24B98D.3DC6A6B9@sepro-robotique.com> Let me reply myself to my question : One of the solution (but it's not really a solution), is to build Zinc without the debugger informations. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: SNMP mibcomp -man flag not working? Date: Fri, 01 Dec 2000 14:51:39 GMT From: daddyo44@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <908dtn$7v8$1@nnrp1.deja.com> References: <906fv4$d3t$1@overload.lbl.gov> Mike, I found the same problem in VxWorks 5.4 some time ago and submitted it to WRS. Here is an excerpt of an email sent to WRS (edited here for clarity) that pretty much nails down the symptom we had: - ----------------------------- The "new" mibcomp compiler used with VxWorks 5.4 chokes when we use the "-man.h" option. The "old" mibcomp compiler used with VxWorks 5.3 had no problem using the same option. Both the old and new MIB compilers were used on the same MIBs with the same set of parameters. Here is a screen capture of the problem: note that the call to mibcomp is incomplete (no file specified) to simply matters, but it still illustrates the problem. mibcomp -man.h Wind River Systems WindNet MIB compiler , version 1.0. Copyright (c) 1989-1996, Wind River Systems Inc. fatal error: no input files specified mibcomp -man.h Wind River Systems Emissary SNMP MIB Compiler, version 7.0. Copyright (c) 1989-1996, Wind River Systems Inc. couldn't open input file -man.h The first call is using mibcomp Version 1.0 (VxWorks 5.3). Note that it accepts the "-man.h" option and errors on the fact that no input file is specified. The second call is using mibcomp Version 7.0 (VxWorks 5.4). Note that it does not accept "-man.h" as an option parameter, but rather thinks it is a file name that it cannot find. This is the error we are speaking about, and it even occurs when a complete and correct command line input is specified. There is no need to compile an actual MIB to get this error, and thus it cannot be MIB related. ------------------------------ WRS assigned SPR 27625 to this problem on Nov . 11, 1999. Regards, Chuck Barkley Manager, DNS Systems Technology Motorola Broadband Communications Sector cbarkley@gi.com (215) 323-1417 In article <906fv4$d3t$1@overload.lbl.gov>, "Mike Anderson" wrote: > VxWorks Greetings! > > I am trying to use the Windnet SNMP mibcomp program to compile > a mib. When I try to use the "-man" or "-man.h" options, I get a > message stateing that the mibcomp program couldn't open the > input file "-man". > > I'm calling it as shown in the manual: > mibcomp -man -o man.out rfc1213.mib > The mibcomp is version 7.0. > > Anyone out there in netland able to provide a clue as to what's > going wrong and how to fix it? > > TIA, > > Mike Anderson > Chief Scientist > The PTR Group, Inc. > Embedded, Real-time Solutions and Services > mailto:mike@theptrgroup.com http://www.theptrgroup.com > V: 703.585.9384 F: 703.430.3748 > > Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: (tNetTask): arptnew failed on 9f6ba3e3 Date: Fri, 01 Dec 2000 17:05:46 +0100 From: Marc Waber Organization: STS Switching Test Solutions Message-ID: <3A27CC5A.F1BB8FAE@stest.ch> References: <3A27A316.37545130@eed.ericsson.se> Thomas Scholz wrote: > > Hi, > > I'm getting the message "0x38ebad0 (tNetTask): arptnew failed on 9f6ba3e3". > Can anyone explain this message, please. How do I avoid it. Is it documented > somewhere in the vxWorks manuals ? > > Thanx, Th. If you have access to WindSurf, search for "arptnew", and you should find what you are looking for. hope this helps, Marc --------------------------- Newsgroups: comp.os.vxworks Subject: re: StrataFlash low level drivers Date: Fri, 01 Dec 2000 16:37:40 GMT From: parreg@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <908k4j$dm5$1@nnrp1.deja.com> References: <906jfn$do6$1@overload.lbl.gov> In article <906jfn$do6$1@overload.lbl.gov>, "timallen" wrote: > >Has anyone out there written any low level driver software for the > >Intel StrataFlash for integration into the Wind River True File System? > >Thanks in advance. > > This shouldn't be necessary since the Intel StrataFlash uses the Common > Flash Interface(CFI) and Scaleable Command Set (SCS) standards which are > supported by TrueFFS. > > Tim. > -------------------- Understood now, Thanks. > Tim Allen Ltd > Real Time Embedded Software Consultancy > VxWorks > > Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Q on WindView user events Date: Fri, 01 Dec 2000 08:55:04 -0800 From: Lori Fraleigh Organization: Real-Time Innovations Message-ID: <3A27D7E8.FD39638@rti.com> References: Mark - The documentation for user events in the WindView 2.0.1 manual is wrong. After some experimentation, we've found that the following will work. First, the "function/procedure" that must appear in eventbase.tcl should look like this: proc userFormat00060 eventData { } Your example shows that your user event is a structure containing two integers. One way to format them is to do the following: proc userFormat00060 eventData { set data1 [string range $eventData 0 7] set data2 [string range $eventData 8 15] return [format "int1 is %s\r\n int2 is: %s" $data1 $data2] } Another way to do this is: proc userFormat00060 eventData { set data [userEventFormat $eventData {n4 n4}] set data1 [lindex $data 0] set data2 [lindex $data 1] return "int1 = $data1, int2 = $data" } If your host and target are of different endian types, you will also need to byte swap the data. You can poke around the tcl files in the Tornado tree for more ideas. Hope this helps. Regards, Lori - -- Lori Fraleigh Real-Time Innovations Senior Software Engineer ScopeTools Manager Phone: 408-734-4200 x121 Fax: 408-734-5009 http://www.rti.com Please send/cc all support related email to support@rti.com Mark Durham wrote: > > Hi, > I'm using Tornado2 and WindView 2.0.1 under WinNT4 targeting a PPC603. > I've been trying to customize the Show Event dialog box for user events > as per the WindView 2.0.1 users guide section F.3. > > I've created the eventbase.tcl file in the .wind directory (I have two > .wind dirs, one in C:\.wind and one in C:\Tornado\.wind) to display two > INTs stored in event 60. The contents of my eventbase.tcl file are: > > set wvUsrEventFormat(60) { > {"INT1" int} > {"INT2" int} > } > > I can only ever get the default display to work. I know the wvEvent() > call is working as the events are logged and I can see the two integers > as one long number in the default display of the ShowEvent box. > > Is there more to the eventbase.tcl file than what's shown in the > example? Or have I completely missed something fundamental? > > I've only found one reference to this problem whilst searching DejaNews > and WindSurf and that was to do with Tornado1 and WindView 2.0.1. > > Any help would be most appreciated. > -- > Mark Durham --------------------------- Newsgroups: comp.os.vxworks Subject: Re: list files using GNU toolkit for PPC Date: Fri, 01 Dec 2000 19:36:44 +0100 From: Sebastien Fauris Organization: Club-Internet (France) Message-ID: <3A27EFBC.1C2D358A@club-internet.fr> References: <9068o4$kul1@nntp.cig.mot.com> Hi Derek, I have the same problem. What you can do instead: - - compile in debug mode (-g option) - - use objdumpppc -S -r myFile.o > myFile.st Hope this helps, Sebastien. Derek Opitz wrote: > I am trying to get list files using asppc... this is the line I am using -> > > ccppc -g -Wa,-alh=myFile.lst,-L $(CFLAGS) $(INCLUDE_PATH) -o $@ $< > > I want mixed assembly and C, but although I am using the right flags (-alh) > all i get is assembly. > > Anybody else ran into this problem with asppc/ccppc???? > > Thanks, > > Derek --------------------------- Newsgroups: comp.os.vxworks Subject: urgent!: fast ethernet not working Date: Fri, 01 Dec 2000 19:02:05 GMT From: fatihozcan@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <908sj9$lcn$1@nnrp1.deja.com> we use motfec serial (7 wire) interface and get the following errors: As you could see from log, we get bad rbd and crc after a while. Although we had a successful download and ping (after wvWorks runs) from the target to the PC, when our PC sends UDP data to the target we got the errors. Thanks for any help. Press any key to stop auto-boot... @6 boot device : motfec unit number : 0 processor number : 0 host name : asli file name : vxWorks inet on ethernet (e) : 15.20.8.20:ffff0000 host inet (h) : 15.20.5.2 user (u) : via ftp password (pw) : via flags (f) : 0x80 Attached TCP/IP interface to motfec0. Attaching network interface lo0... done. Loading... 643704 Starting at 0x10000... 0xfffdf8 (tRootTask): Loading end... 0xfffdf8 (tRootTask): Loading end... 0xfffdf8 (tRootTask): motFecEndParse: unit=0 motCpmAddr=0xfa200000 ivec=0x7 bufBase=0xffffffff bufSize=0xffffffff 0xfffdf8 (tRootTask): motFecEndParse: fifoTxBase=0xffffffff fifoRxBase=0xfffffff f tbdNum=64 rbdNum=48 flags=0x205 0xfffdf8 (tRootTask): motFecEndParse: phyAddr=0x0 isoPhyAddr=0xff phyDefMode=0x0 0xfffdf8 (tRootTask): motFecInitMem... Done 0xfffdf8 (tRootTask): motFecEndLoad: enetAddr= 0x8 0x0 0x3e 0x28 0x4e 0x42 0xfffdf8 (tRootTask): motFecEndLoad... Done 0xfffdf8 (tRootTask): Ioctl unit=0x0 cmd=-2147194620 data=0x8022 0xfffdf8 (tRootTask): endFlags=0x8022 0xfffdf8 (tRootTask): EIOCSFLAGS: 0x8022: 0x7 0xfffdf8 (tRootTask): Starting end... Attached TCP/IP interface to motfec unit 0 Attaching interface lo0...done VxWorks Copyright 1984-1998 Wind River Systems, Inc. CPU: Motorola MBX - PowerPC 860T VxWorks: 5.4 BSP version: via860/0a Creation date: Dec 1 2000 WDB: Ready. 0xfffdf8 (tRootTask): motFecRxCtrlRegValGet: serial interface 0xfffdf8 (tRootTask): Starting end... Done 0xfffdf8 (tRootTask): Ioctl unit=0x0 cmd=1074030864 data=0xfffb48 0xfffdf8 (tRootTask): Ioctl unit=0x0 cmd=1074030855 data=0xac704 logTask: 2 log messages lost. 0xfffdf8 (tRootTask): Ioctl unit=0x0 cmd=1074030853 data=0xfffb00 0xfffdf8 (tRootTask): EIOCGFLAGS: 0x8063: 0x0 0xfffdf8 (tRootTask): Ioctl unit=0x0 cmd=1074030864 data=0xfff8d8 0xfffdf8 (tRootTask): Ioctl unit=0x0 cmd=1074030866 data=0xfffb04 0xfffdf8 (tRootTask): INVALID IO COMMAND!! 0xfffdf8 (tRootTask): Ioctl unit=0x0 cmd=1074030857 data=0xac728 0xfffdf8 (tRootTask): INVALID IO COMMAND!! 0xfffdf8 (tRootTask): Ioctl unit=0x0 cmd=1074030856 data=0xac724 logTask: 2 log messages lost. 0xfffdf8 (tRootTask): INVALID IO COMMAND!! 0xfffdf8 (tRootTask): Ioctl unit=0x0 cmd=-2147194620 data=0xffff8063 0xfffdf8 (tRootTask): endFlags=0x8063 0xfffdf8 (tRootTask): EIOCSFLAGS: 0x8063: 0x47 0xfffdf8 (tRootTask15.20.5.2): is alive Ioctl unit=0x0 cmd=-2147194620 data=0x8063 0xfffdf8 (): task deadendFlags=0x8063 0xfffdf8 (): task deadEIOCSFLAGS: 0x8063: 0x47 0xfffdf8 (): task deadmotFecSend... 0xfffdf8 (): task deadmotFecSend... 0xfffdf8 (): task deadmotFecSend last len=0x3c 0xfffdf8 (): task deadmotFecSend...Done interrupt: motFecInt: event 0xc000000, status 0x0 interrupt: motFecInt: tx/rx intr 0xfffdf8 (): task deadmotFecMCastAddrAdd addr = 0x1 0x2 0x3 0x4 0x5 0x6 0xfffdf8 (): task deadmotFecHashTblAdd addr = 0x1 0x2 0x3 0x4 0x5 0x6 0xfffdf8 (): task deadmotFecCrcGet addr = 0x1 0x2 0x3 0x4 0x5 0x6 0xfffdf8 (): task deadmotFecCrcGet crc = 0x7fa32d9b 0xfffdf8 (): task deadmotFecHashTblAdd hashReg=0x80000000 0xfffdf8 (): task deadStarted0xf7bc78 (): task deadmotFecSend... 0xf7bc78 (): task deadmotFecSend... 0xf7bc78 (): task deadmotFecSend last len=0x3c 0xf7bc78 (): task deadmotFecSend...Done 0xfa9ca8 (tNetTask): motFecRxTxHandle: 0xfa9ca8 (tNetTask): motFecHandleRecvInt: 0xfa9ca8 (tNetTask): motFecReceive rbdIndex=0 0xfa9ca8 (tNetTask): motFecRbdClean... Done, 0xfa9ca8 (tNetTask): motFecReceive... Done, 0xfa9ca8 (tNetTask): motFecHandleRecvInt... Done, 0xfa9ca8 (tNetTask): motFecTbdClean 0xfa9ca8 (tNetTask): motFecTbdClean...Done interrupt: motFecInt: event 0x2000000, status 0x0 interrupt: motFecInt: tx/rx intr 0xfa9ca8 (tNetTask): motFecRxTxHandle: 0xfa9ca8 (tNetTask): motFecHandleRecvInt: 0xfa9ca8 (tNetTask): motFecHandleRecvInt... Done, 0xfa9ca8 (tNetTask): motFecTbdClean 0xfa9ca8 (tNetTask): motFecTbdClean...Done 0xfa9ca8 (tNetTask): motFecSend... 0xfa9ca8 (tNetTask): motFecSend... 0xfa9ca8 (tNetTask): motFecSend last len=0x62 0xfa9ca8 (tNetTask): motFecSend...Done 0xfa9ca8 (tNetTask): motFecRxTxHandle: 0xfa9ca8 (tNetTask): motFecHandleRecvInt: 0xfa9ca8 (tNetTask): motFecReceive rbdIndex=1 0xfa9ca8 (tNetTask): motFecRbdClean... Done, 0xfa9ca8 (tNetTask): motFecReceive... Done, 0xfa9ca8 (tNetTask): motFecHandleRecvInt... Done, 0xfa9ca8 (tNetTask): motFecTbdClean 0xfa9ca8 (tNetTask): motFecTbdClean...Done 0xfa9ca8 (tNetTask): motFecRxTxHandle: 0xfa9ca8 (tNetTask): motFecHandleRecvInt: 0xfa9ca8 (tNetTask): motFecHandleRecvInt... Done, 0xfa9ca8 (tNetTask): motFecTbdClean 0xfa9ca8 (tNetTask): motFecTbdClean...Done interrupt: motFecInt: event 0x2000000, status 0x0 interrupt: motFecInt: tx/rx intr 0xfa9ca8 (tNetTask): motFecRxTxHandle: 0xfa9ca8 (tNetTask): motFecHandleRecvInt: 0xfa9ca8 (tNetTask): motFecReceive rbdIndex=2 0xfa9ca8 (tNetTask): motFecReceive: bad rbd 0xfa9ca8 (tNetTask): motFecReceive: CRC error 0xfa9ca8 (tNetTask): motFecRbdClean... Done, 0xfa9ca8 (tNetTask): motFecHandleRecvInt... Done, 0xfa9ca8 (tNetTask): motFecTbdClean 0xfa9ca8 (tNetTask): motFecTbdClean...Done interrupt: motFecInt: event 0x2000000, status 0x0 interrupt: motFecInt: tx/rx intr 0xfa9ca8 (tNetTask): motFecRxTxHandle: 0xfa9ca8 (tNetTask): motFecHandleRecvInt: 0xfa9ca8 (tNetTask): motFecReceive rbdIndex=3 0xfa9ca8 (tNetTask): motFecReceive: bad rbd 0xfa9ca8 (tNetTask): motFecReceive: CRC error 0xfa9ca8 (tNetTask): motFecRbdClean... Done, 0xfa9ca8 (tNetTask): motFecHandleRecvInt... Done, 0xfa9ca8 (tNetTask): motFecTbdClean 0xfa9ca8 (tNetTask): motFecTbdClean...Done interrupt: motFecInt: event 0x2000000, status 0x0 interrupt: motFecInt: tx/rx intr 0xfa9ca8 (tNetTask): motFecRxTxHandle: 0xfa9ca8 (tNetTask): motFecHandleRecvInt: 0xfa9ca8 (tNetTask): motFecReceive rbdIndex=4 0xfa9ca8 (tNetTask): motFecReceive: bad rbd 0xfa9ca8 (tNetTask): motFecReceive: CRC error 0xfa9ca8 (tNetTask): motFecRbdClean... Done, 0xfa9ca8 (tNetTask): motFecHandleRecvInt... Done, 0xfa9ca8 (tNetTask): motFecTbdClean 0xfa9ca8 (tNetTask): motFecTbdClean...Done interrupt: motFecInt: event 0x2000000, status 0x0 interrupt: motFecInt: tx/rx intr 0xfa9ca8 (tNetTask): motFecRxTxHandle: 0xfa9ca8 (tNetTask): motFecHandleRecvInt: 0xfa9ca8 (tNetTask): motFecReceive rbdIndex=5 0xfa9ca8 (tNetTask): motFecReceive: bad rbd 0xfa9ca8 (tNetTask): motFecReceive: CRC error 0xfa9ca8 (tNetTask): motFecRbdClean... Done, 0xfa9ca8 (tNetTask): motFecHandleRecvInt... Done, 0xfa9ca8 (tNetTask): motFecTbdClean 0xfa9ca8 (tNetTask): motFecTbdClean...Done Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: mcp750 Date: Fri, 01 Dec 2000 19:43:18 GMT From: jayantadas@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <908v0k$nj9$1@nnrp1.deja.com> Hi, I am trying to download 'boot.bin' via PPCBug NAB utility without any success. Client (target) and the server IP addresses are configured by NIOT and I checked the connectivity via ping and NPING. Any suggestion as to what is wrong would be helpful. Thanks. Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: dynamically adding PCI space for vxworks Date: Fri, 1 Dec 2000 14:51:57 -0600 From: rajat.bandhu@conexant.com Organization: Lawrence Berkeley National Laboratory Message-ID: <9094b5$ah3$1@overload.lbl.gov> dynamically adding PCI space for vxworks We are using a pentium based system using Vxworks where we need to dynamically add PCI space as we detect PCI cards. I am aware for static addition of PCI space we need to simplify modify the sysPhysMemDesc structure in sysLib.c. This table tells the MMU in the chip which pages are accessible.And then usrRoot which gets called in the context of kernel does the memory initisations(usrMmuInit et al). But how do we implement addition of PCI space on a dynamic basis i.e. from hotswap standpoint where the system has booted and vxworks kernel has been launched and the application code started and now we plug in a PCI card into the chasis/system and want to update the MMU with respect to this newly plugged in card. Any advice/pointers is appreciated. regards, raj --------------------------- Newsgroups: comp.os.vxworks Subject: How Can I set the Time OF Day Date: Fri, 01 Dec 2000 22:06:14 GMT From: marknoor@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <9097ci$v0d$1@nnrp1.deja.com> Can anyone please tell me how to set the time of day to a specific sec/min/hr/day/month/year, as I am trying to use clock_settime() function, but is seems that it does not have all the fields in it. In other word, how can I overwrite the Clock and Time of day with values that I specify. Thank you in advance for your help.. Regards.. Edward Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: How Can I set the "Time OF Day" Date: Fri, 01 Dec 2000 22:10:26 GMT From: eiad@usa.net Organization: Deja.com - Before you buy. Message-ID: <9097kd$vb7$1@nnrp1.deja.com> Can anyone please tell me how to set the time of day to a specific sec/min/hr/day/month/year, as I am trying to use clock_settime() function, but is seems that it does not have all the fields in it. In other word, how can I overwrite the Clock and Time of day with values that I specify. Thank you in advance for your help.. Regards.. Edward Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: list files using GNU toolkit for PPC Date: Fri, 1 Dec 2000 16:05:12 -0600 From: "Derek Opitz" Organization: Motorola CIG Message-ID: <909796$l8413@nntp.cig.mot.com> References: <9068o4$kul1@nntp.cig.mot.com> <3A27EFBC.1C2D358A@club-internet.fr> That does help. Not as nice as I would have liked, but much better than straight assembly. Thanks, Derek. Sebastien Fauris wrote in message news:3A27EFBC.1C2D358A@club-internet.fr... > Hi Derek, > > I have the same problem. > What you can do instead: > > - compile in debug mode (-g option) > - use objdumpppc -S -r myFile.o > myFile.st > > Hope this helps, > > Sebastien. > > Derek Opitz wrote: > > > I am trying to get list files using asppc... this is the line I am using -> > > > > ccppc -g -Wa,-alh=myFile.lst,-L $(CFLAGS) $(INCLUDE_PATH) -o $@ $< > > > > I want mixed assembly and C, but although I am using the right flags (-alh) > > all i get is assembly. > > > > Anybody else ran into this problem with asppc/ccppc???? > > > > Thanks, > > > > Derek > --------------------------- Newsgroups: comp.os.vxworks Subject: help please Date: Fri, 01 Dec 2000 15:47:16 -0700 From: Ben Message-ID: <3A282A74.28B3C2F5@hotmail.com> Reply-To: kanigeri@hotmail.com hi i am trying to install vxworks image on my target board(ppc), but i am getting the following error. can you please tell me where am i going wrong. i am also attaching the information which i am getting in ftp. i will be grateful to you for any assistance in this regard. thank you following is the information i am getting in terminal emulator [VxWorks Boot]: @ boot device : dc processor number : 0 host name : U.S.U..usu.edu file name : c:\tornado\target\config\mtx603\vxWorks inet on ethernet (e) : 129.123.4.127:ffffff00 host inet (h) : 129.123.4.237 user (u) : sl149 ftp password (pw) : goud flags (f) : 0x0 target name (tn) : tornado Attaching network interface dc0... done. Attaching network interface lo0... done. Loading... 670192 ......and it gets stuck here... the follwoing information in ftp is [L 0010] 11/30/00 15:46:51 Connection accepted from 129.123.4.127 [C 0010] 11/30/00 15:46:51 Command "USER sl149" received [C 0010] 11/30/00 15:46:51 PASSword accepted [L 0010] 11/30/00 15:46:51 User sl149 logged in. [C 0010] 11/30/00 15:46:51 Command "TYPE I" received [C 0010] 11/30/00 15:46:51 TYPE set to I N [C 0010] 11/30/00 15:46:51 Command "PORT 129,123,4,127,4,1" received [C 0010] 11/30/00 15:46:51 PORT set to 129.123.4.127 - 1025 (4,1) [C 0010] 11/30/00 15:46:51 Command "RETR c:\tornado\target\config\mtx603\vxworks" received [C 0010] 11/30/00 15:46:51 RETRieve started on file c:\tornado\target\config\mtx603\vxworks [C 0010] 11/30/00 15:46:58 Transfer aborted [G 0010] 11/30/00 15:46:58 Got file c:\tornado\target\config\mtx603\vxworks unsuccessfully [! 0010] 11/30/00 15:46:58 Timeout while sending data [C 0010] 11/30/00 15:46:58 QUIT or close - user sl149 logged ou --------------------------- Newsgroups: comp.os.vxworks Subject: Re: mcp750 Date: Sat, 02 Dec 2000 00:31:58 GMT From: "Andray Kaganovsky" Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: <2qXV5.36386$3u1.8823862@news3.rdc1.on.home.com> References: <908v0k$nj9$1@nnrp1.deja.com> In article <908v0k$nj9$1@nnrp1.deja.com>, jayantadas@my-deja.com wrote: > Hi, > > I am trying to download 'boot.bin' via PPCBug NAB utility without any > success. Client (target) and the server IP addresses are configured by > NIOT and I checked the connectivity via ping and NPING. > > Any suggestion as to what is wrong would be helpful. > > Thanks. > > > Sent via Deja.com http://www.deja.com/ > Before you buy. [AndrayK]. Are you running TFTP server on the host (TFTP is different from FTP)? If you happen to be NT-based, there is one in host/x86-win32/bin/tftpd32.exe. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: How Can I set the "Time OF Day" Date: Sat, 02 Dec 2000 00:40:12 GMT From: "wwa" Organization: Verio Message-ID: References: <9097kd$vb7$1@nnrp1.deja.com> clock_settime() takes the number of seconds since Jan 1, 1970 as and argument use mktime() to take the time broken down into various field and convert it to a time_t (unsigned long) mktime( ) NAME mktime( ) - convert broken-down time into calendar time (ANSI) SYNOPSIS time_t mktime ( struct tm * timeptr /* pointer to broken-down structure */ ) DESCRIPTION This routine converts the broken-down time, expressed as local time, in the structure pointed to by timeptr into a calendar time value with the same encoding as that of the values returned by the time( ) function. The original values of the tm_wday and tm_yday components of the tm structure are ignored, and the original values of the other components are not restricted to the ranges indicated in time.h. On successful completion, the values of tm_wday and tm_yday are set appropriately, and the other components are set to represent the specified calendar time, but with their values forced to the ranges indicated in time.h; the final value of tm_mday is not set until tm_mon and tm_year are determined. eiad@usa.net wrote in message <9097kd$vb7$1@nnrp1.deja.com>... >Can anyone please tell me how to set the time of day to a specific >sec/min/hr/day/month/year, as I am trying to use clock_settime() >function, but is seems that it does not have all the fields in it. In >other word, how can I overwrite the Clock and Time of day with values >that I specify. > >Thank you in advance for your help.. >Regards.. >Edward > > >Sent via Deja.com http://www.deja.com/ >Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: PCI memory on MVME2604 Date: Fri, 01 Dec 2000 17:02:08 -0800 From: Eric Berdahl Organization: Intelligent Paradigm Message-ID: References: <903to9$l53$1@nnrp1.deja.com> <3A258513.9C7B6AEC@west.raytheon.com> In article <3A258513.9C7B6AEC@west.raytheon.com>, Melvin Gardipee wrote: > In the PLX 9060SD and I assume for the PLX 9080, the vendor ID and > device ID are not programmable and remain the defaults for PLX > Technology. The vendor ID and device ID must be read from the subsystem > vendor ID and subsystem device ID registers. I don't know about the PLX PCI9060, but I am well versed in the PCI9080. That part checks for a serial EEPROM at powerup and reads it if found. Among the things a developer can do with the data in the EEPROM is to tell the PCI9080 which vendor and device ID to advertise through its config space. A local processor can also change the vendor ID and device ID during power on initialization. However, the vendor ID and device ID are not programmable from the host processor (duh). However, the subsystem vendor ID and subsystem device ID registers on the PCI9080 are hardwired to read as a PCI9080 and cannot be changed by any means I've found. Hope this helps, Eric --------------------------- Newsgroups: comp.os.vxworks Subject: Can the target write to the host's file system? Date: Fri, 1 Dec 2000 20:27:22 -0500 From: "Andrew Carlisle" Organization: HarvardNET Message-ID: <9093m2$c3t$1@murdoch.harvard.net> Hello, Is it possible to have the vxWorks target write to the host's file system? For instance, I have a target running vxWorks that has no hard drive. I would like to be able to open and close files on the NT host's file system. For instance, I would like to write to c:/sysdump/dump.txt from the target. Is this possible? Andy acarlisle@envoynetworks.com --------------------------- Newsgroups: comp.os.vxworks Subject: Maximum number of semaphores in VxWorks Date: Sat, 02 Dec 2000 01:48:05 GMT From: Venki Mohan Organization: C Cube Microsystems Message-ID: <3A285508.DDC57211@c-cube.com> HI guys, Is there any limit on the number of semaphores that I can use in VxWorks? I have an application in which i need to instantiate plenty of semaphores( > 500). I was wondering if I will have any performance hit. Thanks! - -Venki. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Can the target write to the host's file system? Date: Sat, 02 Dec 2000 04:13:28 GMT From: pkockritz@home.com (Pete Kockritz) Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: References: <9093m2$c3t$1@murdoch.harvard.net> In article <9093m2$c3t$1@murdoch.harvard.net>, "Andrew Carlisle" wrote: > Hello, > > Is it possible to have the vxWorks target write to the host's file system? > For instance, I have a target running vxWorks that has no hard drive. I > would like to be able to open and close files on the NT host's file system. > For instance, I would like to write to c:/sysdump/dump.txt from the target. > Is this possible? > > Andy > > acarlisle@envoynetworks.com Yes. There are several different ways. One way is to use a target server filesystem (tsfs). From Section 5 of the Tornado 2 User's Guide: Target Server File System The Target Server File System (TSFS) is a full-featured VxWorks file system that provides target access to files located on the host system. See the tgtsvr reference entry in D. Tornado Tools Reference and VxWorks Programmer¹s Guide: Local File Systems for more information. Regards, Pete - -- +-----------------------------------------------------------------+ | Pete Kockritz mailto:pkockritz@home.com | | This space for rent. | +-----------------------------------------------------------------+ --------------------------- Newsgroups: comp.os.vxworks Subject: Port NAT Date: Sat, 2 Dec 2000 16:31:53 +0900 From: "Choi" Organization: Korea Telecom Message-ID: <90a7vg$iuh$1@news2-2.kornet.net> Hi, I have to implement NAT on VxWorks. I need information about its available implementation on VxWorks. How much effort is needed to port linux implementation of this ? Is there any freeware available for BSD ? What is proper linux or BSD to port NAT ? Thanks, --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Q on WindView user events Date: Sat, 2 Dec 2000 09:06:04 +0000 From: Mark Durham Message-ID: References: <3A27D7E8.FD39638@rti.com> Lori, Thanks for the info. WRS also came up with something similar. Now I just have to get my head round TcL so I can modify your example for my events. Cheers, In article <3A27D7E8.FD39638@rti.com>, Lori Fraleigh writes > >Mark - > >The documentation for user events in the WindView 2.0.1 manual >is wrong. After some experimentation, we've found that the >following will work. First, the "function/procedure" that >must appear in eventbase.tcl should look like this: > >proc userFormat00060 eventData { >} > >Your example shows that your user event is a structure containing >two integers. One way to format them is to do the following: > >proc userFormat00060 eventData { > set data1 [string range $eventData 0 7] > set data2 [string range $eventData 8 15] > > return [format "int1 is %s\r\n int2 is: %s" $data1 $data2] >} > >Another way to do this is: > >proc userFormat00060 eventData { > set data [userEventFormat $eventData {n4 n4}] > set data1 [lindex $data 0] > set data2 [lindex $data 1] > return "int1 = $data1, int2 = $data" >} > >If your host and target are of different endian types, you >will also need to byte swap the data. You can poke around >the tcl files in the Tornado tree for more ideas. > >Hope this helps. > >Regards, >Lori > - -- Mark Durham --------------------------- Newsgroups: comp.os.vxworks Subject: Re: help please Date: Sat, 02 Dec 2000 09:33:52 GMT From: George Varndell Organization: Deja.com - Before you buy. Message-ID: <90afm1$t1n$1@nnrp1.deja.com> References: <3A282A74.28B3C2F5@hotmail.com> kanigeri@hotmail.com wrote: > i am trying to install vxworks image on my target board(ppc), > but i am getting the following error..... There can be many reasons for an aborted network download. The most common cause is a less-than-robust network driver. Next would be memory related problems.... download image is colliding with memory used by boot image. boot image doesn't properly configure RAM and/or MMU. If you have access to debug H/W -- ICE, VisionProbe -- use that. If you have network driver source, enable logging in the driver and rebuild your boot image. The messages might help. Make sure you have the latest version of the driver before you waste time finding old bugs. Best Regards, George Varndell - -- Embedded Systems Expertise http://www.varndellengineering.com Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Port NAT Date: Sat, 02 Dec 2000 11:08:05 GMT From: George Varndell Organization: Deja.com - Before you buy. Message-ID: <90al6l$99$1@nnrp1.deja.com> References: <90a7vg$iuh$1@news2-2.kornet.net> In article <90a7vg$iuh$1@news2-2.kornet.net>, "Choi" wrote: > I have to implement NAT on VxWorks. > I need information about its available implementation on VxWorks. Why don't you just use WindNet NAT? I doubt the cost of porting it from public domain will be cheaper than buying it. Best Regards, George Varndell - -- Embedded Systems Expertise http://www.varndellengineering.com Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Sun Dec 3 04:03:07 2000 From: Vxworks Exploder Date: Sun Dec 3 04:03:10 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Sun Dec 3 04:03:04 PST 2000 Subject: DosFS 2.0 and File Size jumps >4GB Subject: How to spawn two target server for two different boards in one machine? Subject: Re: DosFS 2.0 and File Size jumps >4GB Subject: Re: How to spawn two target server for two different boards in one Subject: Enabling interrupt using intSRSet on MIPS?? Subject: Re: Duplicate IP addresses? Subject: Re: dynamically adding PCI space for vxworks ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: DosFS 2.0 and File Size jumps >4GB Date: Sat, 02 Dec 2000 12:08:38 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A2956C6.55E9C0AE@flashcom.net> Reply-To: drdiags@flashcom.net Hello, I am trying to track down a problem I am experiencing with DosFS 2.0. Using a SanDisk 440MB ATA Flash Disk on a MPC750 based on a YellowKnife 750 BSP. The disk has several 1-4MB zip files. Using zLib 1.1.3 ported to VxWorks, I have a routine which will unzip the file to local RAM, read a location and close the file. During this time, I can also have up to 18 processors across a message queue on a shared memory backplane reading this file into their local RAM. During this time, I have found by doing fstat() on the file, that it will grow to >4GB. Here are some observations made: 1 - The corruption occurs during a lseek on the file. 2 - The 18 readers do not seem to cause this. 3 - Putting MUTEX around the routines used by DosFS 2.0 have no affect. 4 - Found the taskSpawn used by the DosFS 2.0 service routines do not have PRIORITY_INVERSION_SAFE set, doing this slightly changes the behavior (lseek now will fail as it detects attempts to seek past the EOF when a write is done to the file, but does help the scenario of read only corruption. This point may be side noise, due to throwing the kitchen sink at this problem and trying anything to isolate it. It just smells of timing dependency) 5 - Found that during debugging, if the unzip task is held at certain breakpoints, the corruption is clear by the other reader tasks doing lseek(). I guess my main question is has anyone seen something similar as far as the file size corruption, I have found that there are at least 2 cases which have not been resolved. Any ideas? Sorry about the long winded and maybe not properly documented question. --------------------------- Newsgroups: comp.os.vxworks Subject: How to spawn two target server for two different boards in one machine? Date: Sat, 2 Dec 2000 14:56:08 +0800 From: "TonyHuang" Organization: BST Communication Technology Ltd. Message-ID: <90a6f9$1kku$1@news.cz.js.cn> Hi vxworkers, I am trying to make a communication test through ethernet between two PPC860T boards. I assigned the two boards with different IP address, different MAC address, different user name, different target name, and booted them from the tornado host , the booting processes of both are OK. then I tried to spawn the target server for each board with different IP address that I assigned before. the first spawned target sever is OK, but when the second is spawned, the first is corrupted. I have paid attention to the two target board's ethernet LED indicators, they always blinks synchronously. I'm not sure the tornado tools takes them different target. Why can't I start two target servers at the same time? Tornado2 does not support this? or maybe my network configuration has problem? Please give me some suggestion. Thanks in advance. My testing environment: Tornado2 project facility; vxWorks5.4; MPC860T50B3; motFecEnd driver; Booting from ethernet using FTP protocol. Tony --------------------------- Newsgroups: comp.os.vxworks Subject: Re: DosFS 2.0 and File Size jumps >4GB Date: Sat, 02 Dec 2000 12:15:01 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A295845.41286F8C@flashcom.net> References: <3A2956C6.55E9C0AE@flashcom.net> Reply-To: drdiags@flashcom.net Forgot to mention. This behavior is intermittent. Problem occurs 20-30% of the time and I am attempting to strip the test case down to a minimum subset of factors. (Like - does this occur when using a Ram Drive, can this be reproduced on other H/W etc.) --------------------------- Newsgroups: comp.os.vxworks Subject: Re: How to spawn two target server for two different boards in one machine? Date: Sat, 02 Dec 2000 14:23:21 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A297659.6F795C24@flashcom.net> References: <90a6f9$1kku$1@news.cz.js.cn> Reply-To: drdiags@flashcom.net Tony, You should be able to create multiple target servers and then select the target you are interested in using the tools with by selecting it from the drop down list. If you want to have the ability to debug both at the same time, you should fire up another instance of the T2 IDE and connect to the second target. If you are trying to switch from one to the other in the same IDE with tools already attached, this may not work for you. Others may have a workaround, I am speaking only as a newbie, so take my input with a grain of salt. TonyHuang wrote: > Hi vxworkers, > > I am trying to make a communication test through ethernet between two > PPC860T boards. > > I assigned the two boards with different IP address, different MAC address, > different user name, different target name, > and booted them from the tornado host , the booting processes of both are > OK. > > then I tried to spawn the target server for each board with different IP > address that I assigned before. > the first spawned target sever is OK, but when the second is spawned, the > first is corrupted. > > I have paid attention to the two target board's ethernet LED indicators, > they always blinks synchronously. > I'm not sure the tornado tools takes them different target. > > Why can't I start two target servers at the same time? Tornado2 does not > support this? > or maybe my network configuration has problem? > Please give me some suggestion. > Thanks in advance. > > My testing environment: > > Tornado2 project facility; > vxWorks5.4; > MPC860T50B3; > motFecEnd driver; > Booting from ethernet using FTP protocol. > > Tony --------------------------- Newsgroups: comp.os.vxworks Subject: Enabling interrupt using intSRSet on MIPS?? Date: Sun, 03 Dec 2000 02:01:57 GMT From: ajay Organization: EarthLink Inc. -- http://www.EarthLink.net Message-ID: <3A29A982.35AEE24@wellknit.com> Reply-To: ajay@wellknit.com Hi All, Is there a special way to set SR register. When I set the SR register it gets updated only in the task's context. But is does not enable the interrupts that I want to enable. I am working on QED's MIPS R7000 and using vxworks 5.4 with bsp from windriver. The vxworks programmer's guide indicates that SR must be set before spawning task's. In my case I need to do this after all the task's have been spawned. Any help will be appreciated. Thanks, vanshi --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Duplicate IP addresses? Date: Sun, 03 Dec 2000 06:01:42 GMT From: pwhicker@home.com (Paul Whicker) Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: References: <3A23632B.A8B05843@nunya.com> I think it gives a log message, it certainly conplains. If this is going to happen then use DHCP. Paul In article <3A23632B.A8B05843@nunya.com>, nunya wrote: >Hello: > >Just wondering what the behaviour of the WRS SENS TCP/IP stack is if >another node >has the same IP address as it does. (Manually assigned IP addresses. ) >Is this a catastrophic error? >Can it be programmatically discovered and corrected somehow? >(Obviously, manually changing one of the node's address will correct >this. ) > > >Thanks! > > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: dynamically adding PCI space for vxworks Date: Sun, 03 Dec 2000 11:40:39 +0100 From: Sebastien Fauris Organization: Club-Internet (France) Message-ID: <3A2A2327.105A99A8@club-internet.fr> References: <9094b5$ah3$1@overload.lbl.gov> Hi Raj, try using STATUS sysMmuMapAdd(void *address, UINT len, UINT initialStateMask, UINT initialState); defined in sysLib.c. Let me know if it works for you. I meet some problems trying to use it (I still have page faults while accessing my PCI registers after I called sysMmuMapAdd). Regards, Sebastien. rajat.bandhu@conexant.com wrote: > dynamically adding PCI space for vxworks > > We are using a pentium based system using Vxworks where we need to > dynamically add PCI space as we detect PCI cards. I am aware for static > addition of PCI space we need to simplify modify the sysPhysMemDesc > structure in sysLib.c. This table tells the MMU in the chip which pages are > accessible.And then usrRoot which gets called in the context of kernel does > the memory initisations(usrMmuInit et al). > > But how do we implement addition of PCI space on a dynamic basis i.e. from > hotswap standpoint where the system has booted and vxworks kernel has been > launched and the application code started and now we plug in a PCI card > into the chasis/system and want to update the MMU with respect to this > newly plugged in card. > > Any advice/pointers is appreciated. > > regards, > raj --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Sun Dec 3 08:51:21 2000 From: "timallen" Date: Sun Dec 3 08:51:23 PST 2000 Subject: Re: Touch Screen Calibration >My problem is, how do I al of this. I have created a window using Zinc with >the two dot positions as >described. How do I capture and save the touch position when the user >touches the screen at the dot positions? Is there some way of getting this >information from the UGL? You may find the information you require in the UGL Developer's Kit manual. The Input Driver API section describes some of the detail about the absolute pointer event information. There's also discussion of calibration in the Writing A New Input Driver Section. I don't know if this event information is available at Zinc, I've done touch screen recalibration at the UGL level in the past. HTH. Tim. -------------------- Tim Allen Ltd Real Time Embedded Software Consultancy VxWorks From vxwexplo-errs@csg.lbl.gov Sun Dec 3 16:19:27 2000 From: "Girish V. Gulawani" Date: Sun Dec 3 16:19:29 PST 2000 Subject: Re: comp.os.vxworks newsdigest > Newsgroups: comp.os.vxworks > Subject: Enabling interrupt using intSRSet on MIPS?? > Date: Sun, 03 Dec 2000 02:01:57 GMT > From: ajay > Organization: EarthLink Inc. -- http://www.EarthLink.net > Message-ID: <3A29A982.35AEE24@wellknit.com> > Reply-To: ajay@wellknit.com > > Hi All, > Is there a special way to set SR register. When I set the SR register > it gets updated only in the task's context. But is does not enable the > interrupts that I want to enable. I am working on QED's MIPS R7000 and > using vxworks 5.4 with bsp from windriver. The vxworks programmer's > guide indicates that SR must be set before spawning task's. In my case I > need to do this after all the task's have been spawned. pls see there are two separate calls intSRSet & taskSRInit. hth. From vxwexplo-errs@csg.lbl.gov Sun Dec 3 17:25:15 2000 From: "Girish V. Gulawani" Date: Sun Dec 3 17:25:18 PST 2000 Subject: Re: comp.os.vxworks newsdigest reply is below - > Newsgroups: comp.os.vxworks > Subject: DosFS 2.0 and File Size jumps >4GB > Date: Sat, 02 Dec 2000 12:08:38 -0800 > From: DrDiags > Organization: Posted via Supernews, http://www.supernews.com > Message-ID: <3A2956C6.55E9C0AE@flashcom.net> > Reply-To: drdiags@flashcom.net > > Hello, > > I am trying to track down a problem I am experiencing with DosFS > 2.0. Using a SanDisk 440MB ATA Flash Disk on a MPC750 based on a > YellowKnife 750 BSP. The disk has several 1-4MB zip files. Using zLib > 1.1.3 ported to VxWorks, I have a routine which will unzip the file to > local RAM, read a location and close the file. During this time, I can > also have up to 18 processors across a message queue on a shared memory > backplane reading this file into their local RAM. During this time, I > have found by doing fstat() on the file, that it will grow to >4GB. Here > are some observations made: > > 1 - The corruption occurs during a lseek on the file. > 2 - The 18 readers do not seem to cause this. > 3 - Putting MUTEX around the routines used by DosFS 2.0 have no affect. > 4 - Found the taskSpawn used by the DosFS 2.0 service routines do not > have PRIORITY_INVERSION_SAFE set, doing this slightly changes the > behavior (lseek now will fail as it detects attempts to seek past the > EOF when a write is done to the file, but does help the scenario of read > only corruption. This point may be side noise, due to throwing the > kitchen sink at this problem and trying anything to isolate it. It just > smells of timing dependency) > 5 - Found that during debugging, if the unzip task is held at certain > breakpoints, the corruption is clear by the other reader tasks doing > lseek(). > > I guess my main question is has anyone seen something similar as far as > the file size corruption, I have found that there are at least 2 cases > which have not been resolved. Any ideas? Sorry about the long winded and > maybe not properly documented question. .1> if seek after end of file, new clusters get allocated. .2> i guess any read after such seek fails. .3> however if write is performed, file size increases with addition of newly allocated clusters. note step #1, those new cluster(s) come in middle. .4> note however that in this case there is no activity on hw but the file pointer. .5> new clusters allocated in step#1, shd be zeroed out, by file system. if it isnt happening, this exactly is the case you've come across. am i getting the question? please let me also know if its something else. hth. From vxwexplo-errs@csg.lbl.gov Mon Dec 4 04:03:08 2000 From: Vxworks Exploder Date: Mon Dec 4 04:03:11 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Mon Dec 4 04:03:04 PST 2000 Subject: Tornado 2 Prototyper on PPC Subject: System Clock Timer Resolution Limitation Subject: re: Touch Screen Calibration Subject: Re: System Clock Timer Resolution Limitation Subject: Re: Tornado 2 Prototyper on PPC Subject: VXworks specialists wanted Subject: Re: Enabling interrupt using intSRSet on MIPS?? Subject: [Question] Difference VxWorks Boot Sequence?? Subject: integrating network drivers Subject: debugging in the Windows simulator Subject: Re: Enabling interrupt using intSRSet on MIPS?? Subject: re: comp.os.vxworks newsdigest Subject: Re: [Question] Difference VxWorks Boot Sequence?? Subject: Re: integrating network drivers Subject: Re: Can the target write to the host's file system? Subject: Re: debugging in the Windows simulator Subject: re: comp.os.vxworks newsdigest Subject: [Question] What functions called in Vxworks ?? Subject: Re: [Question] What functions called in Vxworks ?? Subject: ataDrv and a DOS disk Subject: Re: Message queues in VxWorks Subject: Re: ataDrv and a DOS disk Subject: unsupported source code.. Subject: upnp Subject: [Question] usrAppInit() function in Vxworks Project Subject: Error during using JavaCodeCompact Subject: Error during using JavaCodeCompact Subject: Re: Can the target write to the host's file system? ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Tornado 2 Prototyper on PPC Date: Sun, 3 Dec 2000 14:18:44 +0200 From: "Ray" Organization: Internet Gold, ISRAEL Message-ID: <90ddmt$s64$1@news3.inter.net.il> I am using the Tornado 2 Prototyper (valid for 180 days which I downloaded for free from Windriver site) with the IBM Vesta Evaluation board which is based on an IBM PPC403 core. I have received from IBM, corresponding BSP and WSP packages for VxWorks which include a demo application with source code. I am unable to compile the application with this version of Tornado 2. I am getting messages like: "the build uses the toolchain PPC403gnu which is not part of your Tornado installation" "make.PPC403gnu is missing" Is the free Tornado 2 a real tool? If yes, what did I do wrong? Can anyone help? Ray --------------------------- Newsgroups: comp.os.vxworks Subject: System Clock Timer Resolution Limitation Date: Sun, 3 Dec 2000 09:56:28 -0500 From: "Andrew Carlisle" Organization: HarvardNET Message-ID: <90d7et$8qj$1@murdoch.harvard.net> Is there a way to get a timer that has better resolution than what the system clock is set at? For instance, my system clock is set at 60Hz, so the timer tick granularity is 17msec. Is there a way to get around this other than changing the system clock frequency? Andy acarlisle@envoynetworks.com --------------------------- Newsgroups: comp.os.vxworks Subject: re: Touch Screen Calibration Date: Sun, 3 Dec 2000 16:46:02 -0000 From: "timallen" Organization: Lawrence Berkeley National Laboratory Message-ID: <90dv15$tq$1@overload.lbl.gov> >My problem is, how do I al of this. I have created a window using Zinc with >the two dot positions as >described. How do I capture and save the touch position when the user >touches the screen at the dot positions? Is there some way of getting this >information from the UGL? You may find the information you require in the UGL Developer's Kit manual. The Input Driver API section describes some of the detail about the absolute pointer event information. There's also discussion of calibration in the Writing A New Input Driver Section. I don't know if this event information is available at Zinc, I've done touch screen recalibration at the UGL level in the past. HTH. Tim. - -------------------- Tim Allen Ltd Real Time Embedded Software Consultancy VxWorks --------------------------- Newsgroups: comp.os.vxworks Subject: Re: System Clock Timer Resolution Limitation Date: Sun, 03 Dec 2000 18:05:06 GMT From: "Patrick@Roadrunner" Organization: Road Runner Message-ID: References: <90d7et$8qj$1@murdoch.harvard.net> Try using the Aux clock, your BSP should support it as tools like Windview use it. Patrick "Andrew Carlisle" wrote in message news:90d7et$8qj$1@murdoch.harvard.net... > Is there a way to get a timer that has better resolution than what the > system clock is set at? For instance, my system clock is set at 60Hz, so > the timer tick granularity is 17msec. Is there a way to get around this > other than changing the system clock frequency? > > Andy > > acarlisle@envoynetworks.com > > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Tornado 2 Prototyper on PPC Date: 3 Dec 2000 18:24:54 GMT From: Johan Borkhuis Organization: Lucent Technologies, Nieuwegein NL Message-ID: <90e35m$p71$1@news1.xs4all.nl> References: <90ddmt$s64$1@news3.inter.net.il> Ray wrote: : I am unable to compile the application with this version of Tornado 2. I am : getting messages like: : "the build uses the toolchain PPC403gnu which is not part of your Tornado : installation" : "make.PPC403gnu is missing" : Is the free Tornado 2 a real tool? If yes, what did I do wrong? Yes, it is a real tool. But it is only the simulator part and not the part needed for compilation on a target. If you want to do that ask your local sales represantative and he can arrange a PPC evaluation licence for you. Groeten, Johan - -- o o o o o o o . . . ______________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@lucent.com | >(________|__|_[_________]_|___________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: VXworks specialists wanted Date: Sun, 03 Dec 2000 20:27:25 +0100 From: ganesh Organization: Mascot Systems Limited Message-ID: <3A2A9E9D.6E815673@us.mascotsystems.com> Reply-To: gkota@eu.mascotsystems.com - --------------7A0D567B6A45D8095A68C692 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mascot systems is a part of Igate capital (NASDAQ : IGTE)(formerly called Mastech Corp) is a a worldwide supplier of IT consulting services (http://www.mascotsystems.com). Services include the delivery of specialized IT skills in teams as required for specific projects by Mascot's clients. Projects are typically completed onsite However, Mascot also has extensive offshore software factories, which may be utilized for the delivery of certain aspects ofservices. Igate has over 5000 employees, and 1998 revenues over US$ 400 million. If you are looking to make a career move, and interested in a fast growing multi-national corporation with unlimited opportunities, then look no further. We are looking for Dynamic information technology professionals with good communication skills in written and spoken English for Mascot Netherlands operations . We have an interesting relocation plan for people immigrating from other coutries The Open vacancies are as follows * Embedded systems and Real-time Operating systems(RTOS) programmers with experience in the following areas C/C++ , Assembler , Motorola ,Siemens, VXWorks, CAN, program Control Switching, H323 protocol Filters , UMTS layer 2 (Medium Access Control) and layer 3 (Network and Architectures) techniques and protocols, Hatley and Phirbai , , Motorola MPC860, Intel SA110, Tundra Qspan2, Intel 21554,Trimedia, RF, OSE, ASIC design and so on Interested candidates can send their CV to gkota@eu.mascotsystems.com - --------------7A0D567B6A45D8095A68C692 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit  
Mascot systems is a part of Igate capital (NASDAQ : IGTE)(formerly called Mastech Corp)  is a  a worldwide supplier of IT consulting services (http://www.mascotsystems.com). Services include the delivery of specialized IT skills in teams as required for specific projects by Mascot's clients.  Projects are typically completed onsite  However, Mascot also has extensive offshore software factories, which may be utilized for the delivery of certain aspects ofservices. Igate has over 5000 employees, and 1998 revenues over US$ 400 million.  If you are looking to make a career move, and interested in a fast growing multi-national corporation with unlimited opportunities, then look no further.

We are looking for Dynamic information technology professionals with good communication skills in written and spoken English for Mascot Netherlands operations . We have an interesting relocation plan for people immigrating from other coutries
 

The Open vacancies are as  follows
 

  • Embedded systems and Real-time Operating     systems(RTOS) programmers with experience in the     following areas C/C++ , Assembler , Motorola ,Siemens, VXWorks,  CAN, program Control Switching, H323 protocol Filters , UMTS     layer 2 (Medium Access Control) and layer 3     (Network     and Architectures) techniques and protocols, Hatley and     Phirbai , , Motorola MPC860, Intel SA110, Tundra Qspan2, Intel 21554,Trimedia, RF, OSE, ASIC design and so on

 

Interested candidates can send their CV to gkota@eu.mascotsystems.com
 

  - --------------7A0D567B6A45D8095A68C692-- --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Enabling interrupt using intSRSet on MIPS?? Date: Sun, 03 Dec 2000 23:12:45 GMT From: "nazneen shaikh" Organization: Global Online Japan // Exodus Communications KK. Message-ID: References: <3A29A982.35AEE24@wellknit.com> call intSRSet() for MIPS. ajay wrote in message news:3A29A982.35AEE24@wellknit.com... > Hi All, > Is there a special way to set SR register. When I set the SR register > it gets updated only in the task's context. But is does not enable the > interrupts that I want to enable. I am working on QED's MIPS R7000 and > using vxworks 5.4 with bsp from windriver. The vxworks programmer's > guide indicates that SR must be set before spawning task's. In my case I > need to do this after all the task's have been spawned. > > Any help will be appreciated. > > Thanks, > vanshi > --------------------------- Newsgroups: comp.os.vxworks Subject: [Question] Difference VxWorks Boot Sequence?? Date: Mon, 04 Dec 2000 00:00:07 GMT From: kingseft@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90emq6$pp0$1@nnrp1.deja.com> Hi. Vxworks Developers... I'm a novice with VxWorks. I have a basic question about VxWorks Boot Sequence ... when I read some materials about boot sequence. I found the diferrences between building from the traditional command line method and Vxworks Project Facility methdo.. Could someone describe some differences about that?? Why some developers use command line and whey some developers use project facility method?? They said that there is some differences ... But I can't find that.. Please answer this basic questions..... Really thanks...... kingseft Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: integrating network drivers Date: 4 Dec 2000 00:13:18 GMT From: skenda@start.com.au Organization: NewsOne.Net - Free Usenet News via the Web - http://newsone.net/ Message-ID: <90eniu$cms$1@news.netmar.com> Followup-To: comp.os.vxworks I have been using vxWorks\Tornado 2 for a short time. My target processor board is a pentium I am trying to integrate the crystal CS8900 network driver Up to now the majority of my configuration changes have been done so through the project facility. On this occaision however it seems that this device is only supported through the device \target\src\drv\netif\if_cs ie it has not been integrated into the project facility\config.h I'm still using an external floppy to boot during this intial development phase so that changes can be incorporated rapidly. My question is that since there is no mention of this driver in either a) config.h b) project facility how do I make the required changes to: a) make a bootrom supporting this driver b) make a bootable kernal any tips are most welcome Sineon ----- Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web ----- http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups NewsOne.Net prohibits users from posting spam. If this or other posts made through NewsOne.Net violate posting guidelines, email abuse@newsone.net --------------------------- Newsgroups: comp.os.vxworks Subject: debugging in the Windows simulator Date: Mon, 04 Dec 2000 00:38:23 GMT From: wv12@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90ep1v$rdm$1@nnrp1.deja.com> Hi Sometimes vxworks.exe crashes before windsh gets a chance to start. Windsh then gets hopelessly confused. I am wondering if it's possible to set breakpoint(s) even before starting vxworks.exe. Also, what is the syntax to start the target server at a DOS prompt. Thank you Will Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Enabling interrupt using intSRSet on MIPS?? Date: Mon, 04 Dec 2000 00:55:12 GMT From: ajay Organization: EarthLink Inc. -- http://www.EarthLink.net Message-ID: <3A2AEB5D.659D7BF3@wellknit.com> References: <3A29A982.35AEE24@wellknit.com> Reply-To: ajay@wellknit.com Sorry, for not mentioning that I was using intSRSet for modifying the SR register. This API seems to modify SR in context of the task (confirmed using taskRegsShow) when I try to execute from shell. The interrupts are not disabled using this API. The assembly code seems to be fine. Does it mean that intSRSet cannot be called from shell? or may be I am confused here... Assembly code: mfc0 v0,sr nop jr ra mtc0 a0,sr nop - -vanshi nazneen shaikh wrote: > call intSRSet() for MIPS. > > ajay wrote in message > news:3A29A982.35AEE24@wellknit.com... > > Hi All, > > Is there a special way to set SR register. When I set the SR register > > it gets updated only in the task's context. But is does not enable the > > interrupts that I want to enable. I am working on QED's MIPS R7000 and > > using vxworks 5.4 with bsp from windriver. The vxworks programmer's > > guide indicates that SR must be set before spawning task's. In my case I > > need to do this after all the task's have been spawned. > > > > Any help will be appreciated. > > > > Thanks, > > vanshi > > --------------------------- Newsgroups: comp.os.vxworks Subject: re: comp.os.vxworks newsdigest Date: Mon, 04 Dec 2000 09:20:44 +0900 From: "Girish V. Gulawani" Organization: Lawrence Berkeley National Laboratory Message-ID: <90er54$a2l$1@overload.lbl.gov> > Newsgroups: comp.os.vxworks > Subject: Enabling interrupt using intSRSet on MIPS?? > Date: Sun, 03 Dec 2000 02:01:57 GMT > From: ajay > Organization: EarthLink Inc. -- http://www.EarthLink.net > Message-ID: <3A29A982.35AEE24@wellknit.com> > Reply-To: ajay@wellknit.com > > Hi All, > Is there a special way to set SR register. When I set the SR register > it gets updated only in the task's context. But is does not enable the > interrupts that I want to enable. I am working on QED's MIPS R7000 and > using vxworks 5.4 with bsp from windriver. The vxworks programmer's > guide indicates that SR must be set before spawning task's. In my case I > need to do this after all the task's have been spawned. pls see there are two separate calls intSRSet & taskSRInit. hth. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: [Question] Difference VxWorks Boot Sequence?? Date: Sun, 03 Dec 2000 17:25:53 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A2AF2A1.71AE88A3@flashcom.net> References: <90emq6$pp0$1@nnrp1.deja.com> Reply-To: drdiags@flashcom.net Kingseft, I will give you my best. Command line build allows you to make changes to the BSP and build the various images you may want. You could take a project directory and modify it to also build from the command line. When building from the IDE, you can base it off of a particular BSP, but any changes made to the BSP source after you have created the project will not be picked up unless you go to the command line in the project and do a make clean. The "Rebuild All" button does not remove the prjConfig.c file and others which were inherited from your BSP and modified by changes you make in the IDE. Also, the directory structure of the files used by the two techniques differ. Building and modifying the BSP uses the target/config/all files and your target/config/BSP header, source and dependency files. For the IDE, the target/config/BSP directory plus the target/config/comps/src. Of course the libraries are the same no matter which of the two you choose. You might try looking in your BSP's Makefile, config.h and depend.BSP file. Also review the target.nr file if you haven't already. From my experience, you have a little more flexiblity building from the command line, but the IDE is really helpful if you don't want to figure all the interdependencies of some of the Kernel features. I find it a good exercise to build a kernel and bootrom from the command line. But when I am not familiar with some new feature such as dosFS 2.0 or VxFusion, then the IDE can help me understand what the parameters are and how I might set them. I hope this helps. kingseft@my-deja.com wrote: > Hi. Vxworks Developers... > > I'm a novice with VxWorks. > I have a basic question about VxWorks Boot Sequence ... > > when I read some materials about boot sequence. > I found the diferrences between building from the traditional command > line method and Vxworks Project Facility methdo.. > > Could someone describe some differences about that?? > > Why some developers use command line and whey some developers use > project facility method?? > They said that there is some differences ... > But I can't find that.. > > Please answer this basic questions..... Really thanks...... > > kingseft > > Sent via Deja.com http://www.deja.com/ > Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: integrating network drivers Date: Sun, 03 Dec 2000 17:44:43 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A2AF70B.A74CA02@flashcom.net> References: <90eniu$cms$1@news.netmar.com> Reply-To: drdiags@flashcom.net Sineon, I don't know if you tried using the MACH_EXTRA line in your makefile. You could put the source locally in your BSP directory and create your own #define INCLUDE_MY_NETIF. You could then copy from the target/config/all the bootConfig.c file or the usrConfig.c file and modify the Makefile so that it will use your local files. Start reviewing the bootConfig (which is used for bootrom system startup) or usrConfig.c (which is the path the kernel starts up after being expanded into local RAM or begins running out of ROM if it is resident). If you can get your hands on a BSP developer manual, there are some really good flow diagrams that show where you need to do what (as suggested by WRS). Back to the MACH_EXTRA line, it could look like so in the BSP makefile: MACH_EXTRA = myNetIf.o skenda@start.com.au wrote: > I have been using vxWorks\Tornado 2 for a short time. > > My target processor board is a pentium > > I am trying to integrate the crystal CS8900 network driver > > Up to now the majority of my configuration changes have been done so through > the project facility. On this occaision however it seems that this device is > only supported through the device \target\src\drv\netif\if_cs > ie it has not been integrated into the project facility\config.h > > I'm still using an external floppy to boot during this intial development > phase so that changes can be incorporated rapidly. > > My question is that since there is no mention of this driver in either > a) config.h > b) project facility > > how do I make the required changes to: > a) make a bootrom supporting this driver > b) make a bootable kernal > > any tips are most welcome > Sineon > > ----- Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web ----- > http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups > NewsOne.Net prohibits users from posting spam. If this or other posts > made through NewsOne.Net violate posting guidelines, email abuse@newsone.net --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Can the target write to the host's file system? Date: Mon, 04 Dec 2000 01:40:05 GMT From: Mike McNaughton Organization: Sympatico Message-ID: <3A2B1222.94D6B002@sympatico.ca> References: <9093m2$c3t$1@murdoch.harvard.net> Andy I've had some succes using using the NFS file sytem on the targets adn the Omni nfs server on the PC. I'm using tornado 1.02. I had to futz around with it a bit but it works. Mike Andrew Carlisle wrote: > Hello, > > Is it possible to have the vxWorks target write to the host's file system? > For instance, I have a target running vxWorks that has no hard drive. I > would like to be able to open and close files on the NT host's file system. > For instance, I would like to write to c:/sysdump/dump.txt from the target. > Is this possible? > > Andy > > acarlisle@envoynetworks.com --------------------------- Newsgroups: comp.os.vxworks Subject: Re: debugging in the Windows simulator Date: Sun, 03 Dec 2000 17:50:20 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A2AF85C.7458D7E0@flashcom.net> References: <90ep1v$rdm$1@nnrp1.deja.com> Reply-To: drdiags@flashcom.net Will, Here is a dump of the tgtsvr.exe command with a -help switch. Probably more than you really wanted to know. As far as the debugging of vxworks.exe, I leave that to my more experienced colleagues. ========================================================== This command creates a NT/Win95 host based target server. Use the command tgtsvr [options] targetName -c corefileName Options available are: - -Bt[imeout] value WDB RPC Backend request timeout (default 1sec.). - -Br[esend] number WDB RPC Backend request re-send number(default 3). - -p[ort] number UDP port number to connect (default 0x4321). - -A[llsyms] Include global and local core symbols. - -B[ackend] bkendName Type of backend to use. (default wdbrpc). - -Bd[ebug] fileName Log backend debug trace to named file. - -Bm[ax] wdbLogMaxSize Size max for the WDB log file. - -b[ps] bit/s Host tty device speed. (default 9600). - -C[onsole] Start a console window. - -c[ore] fileName Filename of target core. - -d[evice] device Host tty device to use. (default com2). - -display hostName:0 Where to display console window. - -f[ormat] formatName Object module format (a.out, coff). - -h[elp] Print help. - -hfc Include hardware flow control. - -L[ock] Restrict access to targer server creator. - -m[emory] nbytes Size of target server memory cache. - -n[ame] server-name Name of target server. - -N[osyms] Include no core symbols. - -redirectIO Redirect the target global IO. - -redirectShell Start a target console with target shell IO redirected. - -R[oot] directory Enable Target Server file system with given root. - -RW Make Target Server file system read/write. - -s[ynchro] Synchronize target/host symbol tables. - -use_portmapper Use the local portmapper to register rpc services. - -u[sers] fileName Filename of list of authorized server users. - -V[erbose] Turn on verbose mode. - -v[ersion] Display Tornado version. - -Wd[ebug] fileName Log wtx debug trace to named file. - -Wf[ilter] request Remove request from log (default: WTX_EVENT_GET) - -Wm[ax] wtxLogMaxSize Size max for the WTX log file. Target Server will exit =========================================================== wv12@my-deja.com wrote: > Hi > Sometimes vxworks.exe crashes before windsh gets a chance to start. > Windsh then gets hopelessly confused. I am wondering if it's possible > to set breakpoint(s) even before starting vxworks.exe. Also, what is > the syntax to start the target server at a DOS prompt. > Thank you > Will > > Sent via Deja.com http://www.deja.com/ > Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: re: comp.os.vxworks newsdigest Date: Mon, 04 Dec 2000 10:26:48 +0900 From: "Girish V. Gulawani" Organization: Lawrence Berkeley National Laboratory Message-ID: <90eulk$alk$1@overload.lbl.gov> reply is below - > Newsgroups: comp.os.vxworks > Subject: DosFS 2.0 and File Size jumps >4GB > Date: Sat, 02 Dec 2000 12:08:38 -0800 > From: DrDiags > Organization: Posted via Supernews, http://www.supernews.com > Message-ID: <3A2956C6.55E9C0AE@flashcom.net> > Reply-To: drdiags@flashcom.net > > Hello, > > I am trying to track down a problem I am experiencing with DosFS > 2.0. Using a SanDisk 440MB ATA Flash Disk on a MPC750 based on a > YellowKnife 750 BSP. The disk has several 1-4MB zip files. Using zLib > 1.1.3 ported to VxWorks, I have a routine which will unzip the file to > local RAM, read a location and close the file. During this time, I can > also have up to 18 processors across a message queue on a shared memory > backplane reading this file into their local RAM. During this time, I > have found by doing fstat() on the file, that it will grow to >4GB. Here > are some observations made: > > 1 - The corruption occurs during a lseek on the file. > 2 - The 18 readers do not seem to cause this. > 3 - Putting MUTEX around the routines used by DosFS 2.0 have no affect. > 4 - Found the taskSpawn used by the DosFS 2.0 service routines do not > have PRIORITY_INVERSION_SAFE set, doing this slightly changes the > behavior (lseek now will fail as it detects attempts to seek past the > EOF when a write is done to the file, but does help the scenario of read > only corruption. This point may be side noise, due to throwing the > kitchen sink at this problem and trying anything to isolate it. It just > smells of timing dependency) > 5 - Found that during debugging, if the unzip task is held at certain > breakpoints, the corruption is clear by the other reader tasks doing > lseek(). > > I guess my main question is has anyone seen something similar as far as > the file size corruption, I have found that there are at least 2 cases > which have not been resolved. Any ideas? Sorry about the long winded and > maybe not properly documented question. .1> if seek after end of file, new clusters get allocated. .2> i guess any read after such seek fails. .3> however if write is performed, file size increases with addition of newly allocated clusters. note step #1, those new cluster(s) come in middle. .4> note however that in this case there is no activity on hw but the file pointer. .5> new clusters allocated in step#1, shd be zeroed out, by file system. if it isnt happening, this exactly is the case you've come across. am i getting the question? please let me also know if its something else. hth. --------------------------- Newsgroups: comp.os.vxworks Subject: [Question] What functions called in Vxworks ?? Date: Mon, 04 Dec 2000 02:21:26 GMT From: kingseft@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90ev33$vo8$1@nnrp1.deja.com> Hi. Vxworks Developers. Really thanks to my previous question.. I finally got some guideline from replying to my question. Here. I have another question on ROM-based VxWorks Startup sequence. I quoted from Tornado Training WorksShop Book. Chater 13. Reconfingurring Vxworks. In this chapters. they presented ROM-based VxWorks Start Up sequence. 1. romInit 2. romStart in romStart.c or bootInit.c 3. usrInit in prjConfig.c or bootConfig.c 4. usrRoot int prjConfig.c or bootConfig.c 5. boot program or user application Here. I really curious above procedures... in step 2. I knew romInit called romStart() function, but when I found romStart(), I founnd 2 version of romStart(). i.e. one is romStart.c and the other is bootInit.c I really want to know what romInit really called and whey romStart.c and bootInit.c have same romStart() routine.. and step 3, step 4 are the same question. I really eager to know... your comments will help us.. thanks for reading...... kingseft. Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: [Question] What functions called in Vxworks ?? Date: Sun, 03 Dec 2000 19:33:17 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A2B107C.629DE424@flashcom.net> References: <90ev33$vo8$1@nnrp1.deja.com> Reply-To: drdiags@flashcom.net Kingseft, What you are seeing here is the dual path of how a kernel startup flows. The file prjConfig.c (for IDE build) replaces the usrConfig.c file in the BSP are for the startup of the full-blown Kernel and the bootConfig.c and bootInit.c are for the bootstrap startup. So what happens on power-up can be followed through the boot*.c files. Now, depending on whether you are ROM resident, compressed, uncompressed determines how you kernel image is treated. The short story is that, lets say you are downloading your modified kernel across ethernet with all the components in the world enabled (too big to put in your ROM), your boot time kernel has initialized your H/W and started up minimal services which will allow you to download this kernel. After it has been successfully loaded and is ready to run, the bootstrap services hand off control of the Processor to this new Kernel, who doesn't trust anyone, so he is going to go through some type of sanity check and initialization to make sure interrupts and memory is in some stable condition. He begins to walk down a initialization path similar to what was taken by the boot time kernel, that is why a somewhat duplication of functions, but one only exists in the boot prom and the other only exists in the downloaded/uncompressed/rom resident kernel. There are some things not done in the full kernel image, which have to be done in the boot image. That is why if you need to use DHCP or serial or PPP for download, it has to exist in the bootprom, since what is in the bootprom is all the boot code can execute. I hope this helps. I try to keep things at a high level, because that is as far as I can go. kingseft@my-deja.com wrote: > Hi. Vxworks Developers. > > Really thanks to my previous question.. > I finally got some guideline from replying to my question. > > Here. I have another question on ROM-based VxWorks Startup sequence. > > I quoted from Tornado Training WorksShop Book. Chater 13. > Reconfingurring Vxworks. > > In this chapters. they presented ROM-based VxWorks Start Up sequence. > > 1. romInit > 2. romStart in romStart.c or bootInit.c > 3. usrInit in prjConfig.c or bootConfig.c > 4. usrRoot int prjConfig.c or bootConfig.c > 5. boot program or user application > > Here. I really curious above procedures... > in step 2. I knew romInit called romStart() function, but when I found > romStart(), I founnd 2 version of romStart(). i.e. > one is romStart.c and the other is bootInit.c > > I really want to know what romInit really called > and whey romStart.c and bootInit.c have same romStart() routine.. > and step 3, step 4 are the same question. > > I really eager to know... > your comments will help us.. thanks for reading...... > > kingseft. > > Sent via Deja.com http://www.deja.com/ > Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: ataDrv and a DOS disk Date: Sun, 3 Dec 2000 20:26:55 -0800 From: Organization: SBC Internet Services Message-ID: <7%EW5.1067$R95.203918@news.pacbell.net> Well, I am trying to get a DOS disk working on a StrongArm BSP originally based on the ebsa285. I can configure my IDE interface chip (an Intel 82371) and I can read/write the ATA drive registers, I can run ataInit successfully if I disable the interrupt in ataDrv.c by polling for the busy bit on the drive to be not busy and not wait forever for an interrupt to read the status register. Using that trick, I can complete ataInit and then ataDevCreate followed by dosFsMkfs. If I then do a 'cd' to the new device, I can copy files to it and even list those files to the console. But if I turn the target off and back on, I cannot see my files anymore. I tried copying a rather large file (several megabytes) and I can hear the drive make noise, and I can even list that file to the console. I am suspecting that there is another command other then ataDevCreate or dosFsMkfs for a drive that has allready been initialized, or I am fooling myself and the drive really is nto initialized at all. On a seperate but related question, it is not apparent to me how interrupts need to be enabled through the 82371/87309/StrongArm triage for this somewhat obscure IRQ14 (from legacy PC land), perhaps someone with more experience might enlighten me. And as a third question, I find that I can do a 'cd' to a device from a target shell but not from a host shell. Is there some slightly additional incantation necessary to do a 'cd' to a drive on a target from a host shell so I can use the Tornado debugger and not feel like I have to fall back on the terminal from the target's shell Thanks in advance. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Message queues in VxWorks Date: Sun, 3 Dec 2000 21:10:58 -0600 From: "Wilson Lin" Organization: SBC Internet Services Message-ID: References: <907fjm$qaj$1@overload.lbl.gov> "R R, Rajendra Prabhala (Rajendra)** CTR **" wrote in message news:907fjm$qaj$1@overload.lbl.gov... > Hi vxworkers, > > Could anybody please clarify the following two points. > > 1. Is there any routine available in vxworks to flush all the messages at > once in a message queue ? > i.e. to discard all the messages waiting in a queue to be read (Posix > or Wind queue) I don't think so. > > 2. Is there any method to pick up nth message from the queue selectively ? NO. The best way to do that is to implement your own queue with sempaphores. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: ataDrv and a DOS disk Date: Sun, 03 Dec 2000 21:54:33 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A2B3199.8DA1A8E9@flashcom.net> References: <7%EW5.1067$R95.203918@news.pacbell.net> Reply-To: drdiags@flashcom.net cfk@pacbell.net wrote: > I am suspecting that there is > another command other then ataDevCreate or dosFsMkfs for a drive that has > allready been initialized, or I am fooling myself and the drive really is > nto initialized at all. > dosFsDevInit( ) NAME dosFsDevInit( ) - associate a block device with dosFs file system functions SYNOPSIS DOS_VOL_DESC *dosFsDevInit ( char * devName, /* device name */ BLK_DEV * pBlkDev, /* pointer to block device struct */ DOS_VOL_CONFIG * pConfig /* pointer to volume config data */ ) DESCRIPTION <.......................SNIP............................> If the device being initialized already has a valid dosFs (MS-DOS) file system on it, the pConfig parameter may be NULL. In this case, the volume will be mounted and the configuration data will be read from the boot sector of the disk. (If pConfig is NULL, both change-no-warn and auto-sync options are initially disabled. These can be enabled using the dosFsVolOptionsSet( ) routine.) > > On a seperate but related question, it is not apparent to me how interrupts > need to be enabled through the 82371/87309/StrongArm triage for this > somewhat obscure IRQ14 (from legacy PC land), perhaps someone with more > experience might enlighten me. Don't know. > And as a third question, I find that I can do > a 'cd' to a device from a target shell but not from a host shell. Is there > some slightly additional incantation necessary to do a 'cd' to a drive on a > target from a host shell so I can use the Tornado debugger and not feel like > I have to fall back on the terminal from the target's shell Use the @ in front of your commands. This will route them to the target. Such as: - ->@cd "diag:D:" - ->@ls --------------------------- Newsgroups: comp.os.vxworks Subject: unsupported source code.. Date: Mon, 04 Dec 2000 07:54:56 GMT From: "Jyjung" Organization: Dacom Message-ID: Hi,, VxWorkers.. I seek the RIP version1/2 free source code ported to VxWorks OS. If you don't have these, please Tell me the site I can get the source code. thank you --------------------------- Newsgroups: comp.os.vxworks Subject: upnp Date: Mon, 04 Dec 2000 07:54:38 GMT From: gandalf107@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90fijt$dnb$1@nnrp1.deja.com> hi, is there any solution for including the upnp feature into vxworks? thanks Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: [Question] usrAppInit() function in Vxworks Project Date: Mon, 04 Dec 2000 08:05:05 GMT From: kingseft@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90fj7h$e4o$1@nnrp1.deja.com> Hi, VxWorks Developers. I have one question about usrAppInit() in VxWorks Project file. I added following lines to my BSP directory's config.h #define INCLUDE_USER_APPL #define USER_APPL_INIT taskSpawn ("sample_app", 20, 0, 2000, (FUNCPTR) sample_app, 0,0,0,0,0,0,0,0,0,0) of course, I defined sample_app function also.... and I create new bootable project based on my BSP directory. So, I got some project files and I found that usrAppInit() void usrAppInit (void) { #ifdef USER_APPL_INIT USER_APPL_INIT; /* for backwards compatibility */ #endif /* add application specific code here */ } When I made ROM based Vxworks (ie. Vxworks_rom.hex) and succeeded in booting. but usrAppInit() function never run.... so, I checked whether checked USER_APPL_INIT is defined. unfortunately, in my usrAppInit() fucntion . this function said that ...... void usrAppInit (void) { #ifdef USER_APPL_INIT USER_APPL_INIT; /* for backwards compatibility */ printf("defined......."); #else printf("undedined......."); #endif /* add application specific code here */ } the result is "undefined......." Is something that I forgot ?? I defined #define INCLUDE_USER_APPL #define USER_APPL_INIT in my config.h file in my BSP directory... I don't know what else should I change or add.... please post your comments...... Thank you.......... kingseft. Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Error during using JavaCodeCompact Date: Mon, 04 Dec 2000 09:41:43 GMT From: tobyhage@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90fosm$ip5$1@nnrp1.deja.com> We want to use JavaCode compact. When we configure the Java classes with "complete ROMmized configuration" and try to start java -version or a java application we receive the following error messages in the shell: - -> javaConfigShow() - ------------------------ Native libraries file zip net awt jpeg math - ------------------------ java.class.path /java/lib/classes.zip:/java/lib/wrs/jar java.home /java java.user.name target java.user.home /java java.user.dir /java path.separator : file.separator / - ------------------------ Native stack size 32768 bytes Max Java heap size 33554432 bytes Stack overflow checks FAST (minimal) Java thread semaphores priority inversion safe Native library loading DISABLED - ------------------------ Idle thread frequency 10 Hz Async GC period 1 seconds Async GC threshold 99 % - ------------------------ On VxWorks exception ABORT VM Java VM restart ENABLED JNI arg init hook NULL Instrumentation hook _javaInstrumentHook (DISABLED) - ------------------------ awt.toolkit windriver.awt.chameleon.ChameleonToolkit sun.graphicssystem sun.awt.gfU.GraphicsSystem sun.graphicssystem.width 800 sun.graphicssystem.height 600 sun.awt.gfU.pixelType color:8 value = 0 = 0x0 - -> java -version Exception number 16: Task: 0x3f85bb0 (t27) Data abort Program Counter: 0x17399c Status Register: 0xa0000013 d67bc _vxTaskEntry +28 : 325b60 () 325c04 _wdbFuncCallLibInit+128: _java () 173bbc _java +14 : _javaWait () 173b18 _javaWait +1c : 173950 () value = 0 = 0x0 - -> java -version Exception number 16: Task: 0x3f80a04 (t28) Data abort Program Counter: 0x17399c Status Register: 0xa0000013 d67bc _vxTaskEntry +28 : 325b60 () 325c04 _wdbFuncCallLibInit+128: _java () 173bbc _java +14 : _javaWait () 173b18 _javaWait +1c : 173950 () value = 0 = 0x0 - -> java("-verbose HelloWorld") value = 0 = 0x0 - -> Exception number 16: Task: 0x3ee7fd4 (tJmain) Data abort Program Counter: 0xf3ccc Status Register: 0x60000013 0 : ???? () 0 : _ROMPureMethods () 243044 _ROMPureMethods+310e4: .text2 () 302e94 .text2 +893c: _ExecuteJava () 101190 _ExecuteJava +37f0: _excEnterUndef () 352f14 _excEnterUndef +9c : _excExcContinue () 323214 _excExcContinue+94 : _excExcHandle () 322f94 _excExcHandle +174: 32faa8 () 32fad4 _sigPendDestroy+2a8: 32fa30 () 32fa88 _sigPendDestroy+25c: _sigPendKill () 32f7e4 _sigPendKill +10c: 32f380 () 32f6a0 _sigqueue +938: 32efc8 () 32f0f4 _sigqueue +38c: 177994 () 177a08 __jhpiThreadUnlock+3a8: _jhpiAbort () 1794c8 _jhpiAbort +9c : _javaDumpThreads () fd47c _javaDumpThreads+64 : _jhpiThreadEnumerateOver () 178c54 _jhpiThreadEnumerateOver+60 : _DumpThreadsHelper () fd34c _DumpThreadsHelper+20 : _threadDumpInfo () fd1d4 _threadDumpInfo+38 : _jio_fprintf () 120dfc _jio_fprintf +18 : _jio_vfprintf () 120e20 _jio_vfprintf +1c : _vfprintf () 33e580 _vfprintf +148: _fflush () 335c64 _fflush +70 : ___sflush () 335d34 ___sflush +c4 : ___swrite () 35b070 ___swrite +4c : _write () e9e74 _write +c : _iosWrite () 3307a4 _iosWrite +b0 : _tyWrite () 350d18 _tyWrite +a4 : 351670 () 3516b0 _tyIRd +668: 3260c8 () 3260d8 _wdbVioDrv +200: _wdbEventPost () 323ff0 _wdbEventPost +80 : _wdbNotifyHost () 31cc20 _wdbNotifyHost +34 : 322a60 () 322a80 _udpRcv +26c: 466c8 () and the following on the output screen: Usage: (null) [-options] class where options include: -help print out this message -version print out the build version -v -verbose turn on verbose mode -debug enable remote JAVA debugging -asyncgc allow asynchronous garbage collection -verbosegc print a message when garbage collection occurs -noclassgc disable class garbage collection -ss set the maximum native stack size for any thread -oss set the maximum Java stack size for any thread -ms set the initial Java heap size -mx set the maximum Java heap size -mr set the red heap reserve size -my set the yellow heap reserve size -D= set a system property -classpath list directories in which to look for classes -verify verify all classes when read in -verifyremote verify classes read in over the network [default] -noverify do not verify any class Data abort Exception address: 0x0017399c Current Processor Status Register: 0xa0000013 Task: 0x3f85bb0 "t27" Data abort Exception address: 0x0017399c Current Processor Status Register: 0xa0000013 Task: 0x3f80a04 "t28" SIGSEGV occured. Full thread dump: "main" (TID:0x1edffe0, sys_thread_t:0x3ef4288, taskId:0x3ee7fd4 state:runnable name:tJmain, stack_base:0x3ee7fd4, stack_high:0xee0 stack_size:32092) prio=5 *current thread* java.lang.System.initializeSystemClass() "Finalizer thread" (TID:0x1ee0010, sys_thread_t:0x3eeb898, taskId:0x3ef38f0 state:runnable name:Finalizer threa, stack_base:0x3ef38e8, stack_high:0x138 stack_size:32784) prio=1 Monitor Cache Dump: Registered Monitor Dump: Thread queue lock: 0x3ef42f0 0x0 n 00 m 0x3f7ad10 b 0x3f7acec #e 0 Name and type hash table lock: 0x3ef434c 0x0 n 00 m 0x3f7ad58 b 0x3f7ad34 #e 0 String intern lock: 0x3ef439c 0x0 n 00 m 0x3f7ada0 b 0x3f7ad7c #e 0 JNI pinning lock: 0x3ef4bd8 0x0 n 00 m 0x3f7ade8 b 0x3f7adc4 #e 0 JNI global reference lock: 0x3ef4c30 0x0 n 00 m 0x3f7ae30 b 0x3f7ae0c #e 0 BinClass lock: 0x3ef4c7c 0x0 n 00 m 0x3f7ae78 b 0x3f7ae54 #e 0 Class loading lock: 0x3ef4ccc 0x0 n 00 m 0x3f7aec0 b 0x3f7ae9c #e 0 Java stack lock: 0x3ef4d18 0x0 n 00 m 0x3f7af08 b 0x3f7aee4 #e 0 Code rewrite lock: 0x3ef4d68 0x0 n 00 m 0x3f7af50 b 0x3f7af2c #e 0 Heap lock: 0x3ef4db0 0x0 n 00 m 0x3f7af98 b 0x3f7af74 #e 0 Has finalization queue lock: 0x3ef4e08 0x0 n 00 m 0x3f7afe0 b 0x3f7afbc #e 0 Finalize me queue lock: 0x3ef4e5c 0x0 n 00 m 0x3f7b028 b 0x3f7b004 #e 0 Monitor registry: 0x3ef8100 0x3ee7fd4 n 01 m 0x3f7b998 b 0x3f7b974 #e 0 Data abort Exception address: 0x000f3ccc Current Processor Status Register: 0x60000013 Task: 0x3ee7fd4 "tJmain" what could this be?? with kind regards, Toby Hage Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Error during using JavaCodeCompact Date: Mon, 04 Dec 2000 09:41:55 GMT From: tobyhage@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90fot2$ip8$1@nnrp1.deja.com> We want to use JavaCode compact. When we configure the Java classes with "complete ROMmized configuration" and try to start java -version or a java application we receive the following error messages in the shell: - -> javaConfigShow() - ------------------------ Native libraries file zip net awt jpeg math - ------------------------ java.class.path /java/lib/classes.zip:/java/lib/wrs/jar java.home /java java.user.name target java.user.home /java java.user.dir /java path.separator : file.separator / - ------------------------ Native stack size 32768 bytes Max Java heap size 33554432 bytes Stack overflow checks FAST (minimal) Java thread semaphores priority inversion safe Native library loading DISABLED - ------------------------ Idle thread frequency 10 Hz Async GC period 1 seconds Async GC threshold 99 % - ------------------------ On VxWorks exception ABORT VM Java VM restart ENABLED JNI arg init hook NULL Instrumentation hook _javaInstrumentHook (DISABLED) - ------------------------ awt.toolkit windriver.awt.chameleon.ChameleonToolkit sun.graphicssystem sun.awt.gfU.GraphicsSystem sun.graphicssystem.width 800 sun.graphicssystem.height 600 sun.awt.gfU.pixelType color:8 value = 0 = 0x0 - -> java -version Exception number 16: Task: 0x3f85bb0 (t27) Data abort Program Counter: 0x17399c Status Register: 0xa0000013 d67bc _vxTaskEntry +28 : 325b60 () 325c04 _wdbFuncCallLibInit+128: _java () 173bbc _java +14 : _javaWait () 173b18 _javaWait +1c : 173950 () value = 0 = 0x0 - -> java -version Exception number 16: Task: 0x3f80a04 (t28) Data abort Program Counter: 0x17399c Status Register: 0xa0000013 d67bc _vxTaskEntry +28 : 325b60 () 325c04 _wdbFuncCallLibInit+128: _java () 173bbc _java +14 : _javaWait () 173b18 _javaWait +1c : 173950 () value = 0 = 0x0 - -> java("-verbose HelloWorld") value = 0 = 0x0 - -> Exception number 16: Task: 0x3ee7fd4 (tJmain) Data abort Program Counter: 0xf3ccc Status Register: 0x60000013 0 : ???? () 0 : _ROMPureMethods () 243044 _ROMPureMethods+310e4: .text2 () 302e94 .text2 +893c: _ExecuteJava () 101190 _ExecuteJava +37f0: _excEnterUndef () 352f14 _excEnterUndef +9c : _excExcContinue () 323214 _excExcContinue+94 : _excExcHandle () 322f94 _excExcHandle +174: 32faa8 () 32fad4 _sigPendDestroy+2a8: 32fa30 () 32fa88 _sigPendDestroy+25c: _sigPendKill () 32f7e4 _sigPendKill +10c: 32f380 () 32f6a0 _sigqueue +938: 32efc8 () 32f0f4 _sigqueue +38c: 177994 () 177a08 __jhpiThreadUnlock+3a8: _jhpiAbort () 1794c8 _jhpiAbort +9c : _javaDumpThreads () fd47c _javaDumpThreads+64 : _jhpiThreadEnumerateOver () 178c54 _jhpiThreadEnumerateOver+60 : _DumpThreadsHelper () fd34c _DumpThreadsHelper+20 : _threadDumpInfo () fd1d4 _threadDumpInfo+38 : _jio_fprintf () 120dfc _jio_fprintf +18 : _jio_vfprintf () 120e20 _jio_vfprintf +1c : _vfprintf () 33e580 _vfprintf +148: _fflush () 335c64 _fflush +70 : ___sflush () 335d34 ___sflush +c4 : ___swrite () 35b070 ___swrite +4c : _write () e9e74 _write +c : _iosWrite () 3307a4 _iosWrite +b0 : _tyWrite () 350d18 _tyWrite +a4 : 351670 () 3516b0 _tyIRd +668: 3260c8 () 3260d8 _wdbVioDrv +200: _wdbEventPost () 323ff0 _wdbEventPost +80 : _wdbNotifyHost () 31cc20 _wdbNotifyHost +34 : 322a60 () 322a80 _udpRcv +26c: 466c8 () and the following on the output screen: Usage: (null) [-options] class where options include: -help print out this message -version print out the build version -v -verbose turn on verbose mode -debug enable remote JAVA debugging -asyncgc allow asynchronous garbage collection -verbosegc print a message when garbage collection occurs -noclassgc disable class garbage collection -ss set the maximum native stack size for any thread -oss set the maximum Java stack size for any thread -ms set the initial Java heap size -mx set the maximum Java heap size -mr set the red heap reserve size -my set the yellow heap reserve size -D= set a system property -classpath list directories in which to look for classes -verify verify all classes when read in -verifyremote verify classes read in over the network [default] -noverify do not verify any class Data abort Exception address: 0x0017399c Current Processor Status Register: 0xa0000013 Task: 0x3f85bb0 "t27" Data abort Exception address: 0x0017399c Current Processor Status Register: 0xa0000013 Task: 0x3f80a04 "t28" SIGSEGV occured. Full thread dump: "main" (TID:0x1edffe0, sys_thread_t:0x3ef4288, taskId:0x3ee7fd4 state:runnable name:tJmain, stack_base:0x3ee7fd4, stack_high:0xee0 stack_size:32092) prio=5 *current thread* java.lang.System.initializeSystemClass() "Finalizer thread" (TID:0x1ee0010, sys_thread_t:0x3eeb898, taskId:0x3ef38f0 state:runnable name:Finalizer threa, stack_base:0x3ef38e8, stack_high:0x138 stack_size:32784) prio=1 Monitor Cache Dump: Registered Monitor Dump: Thread queue lock: 0x3ef42f0 0x0 n 00 m 0x3f7ad10 b 0x3f7acec #e 0 Name and type hash table lock: 0x3ef434c 0x0 n 00 m 0x3f7ad58 b 0x3f7ad34 #e 0 String intern lock: 0x3ef439c 0x0 n 00 m 0x3f7ada0 b 0x3f7ad7c #e 0 JNI pinning lock: 0x3ef4bd8 0x0 n 00 m 0x3f7ade8 b 0x3f7adc4 #e 0 JNI global reference lock: 0x3ef4c30 0x0 n 00 m 0x3f7ae30 b 0x3f7ae0c #e 0 BinClass lock: 0x3ef4c7c 0x0 n 00 m 0x3f7ae78 b 0x3f7ae54 #e 0 Class loading lock: 0x3ef4ccc 0x0 n 00 m 0x3f7aec0 b 0x3f7ae9c #e 0 Java stack lock: 0x3ef4d18 0x0 n 00 m 0x3f7af08 b 0x3f7aee4 #e 0 Code rewrite lock: 0x3ef4d68 0x0 n 00 m 0x3f7af50 b 0x3f7af2c #e 0 Heap lock: 0x3ef4db0 0x0 n 00 m 0x3f7af98 b 0x3f7af74 #e 0 Has finalization queue lock: 0x3ef4e08 0x0 n 00 m 0x3f7afe0 b 0x3f7afbc #e 0 Finalize me queue lock: 0x3ef4e5c 0x0 n 00 m 0x3f7b028 b 0x3f7b004 #e 0 Monitor registry: 0x3ef8100 0x3ee7fd4 n 01 m 0x3f7b998 b 0x3f7b974 #e 0 Data abort Exception address: 0x000f3ccc Current Processor Status Register: 0x60000013 Task: 0x3ee7fd4 "tJmain" what could this be?? with kind regards, Toby Hage Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Can the target write to the host's file system? Date: Mon, 04 Dec 2000 12:30:06 +0200 From: Amit Raam Organization: Verio Message-ID: <14sm2tsag2kpgv1ct6ft978tkn5vofmrfg@4ax.com> References: <9093m2$c3t$1@murdoch.harvard.net> Yes: just do an fopen; we use an FTP server on NT to accomplish this. vxWorks does a nice job of virtualizing a remote file system via ftp. To write to c:\sysdump, you'll need to define the FTP home at c:\ . Make sure to handle security on your NT host (is it a closed network?) FILE *f; if (f = fopen(perfDataCollFileName, "w") == NULL) handleError(); if (fprintf(f, "text") < 0) handleError(); if (fclose(f) == EOF) handleError(); "Andrew Carlisle" wrote: >Hello, > >Is it possible to have the vxWorks target write to the host's file system? >For instance, I have a target running vxWorks that has no hard drive. I >would like to be able to open and close files on the NT host's file system. >For instance, I would like to write to c:/sysdump/dump.txt from the target. >Is this possible? > >Andy > >acarlisle@envoynetworks.com > Amit Raam Email address: raama at indigo.co.il - -------------------------------------------------- ".sigless and proud of it" (R) (C) (tm) (look-and-feel) Std. disclaimer:I don't represent the opinions of anyone but myself. --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Mon Dec 4 06:09:00 2000 From: David Laight Date: Mon Dec 4 06:09:02 PST 2000 Subject: Re: Touch Screen Calibration You will need to do the calibration in the touch screen driver. It (typically) has to convert an A-D output to pixels. I recall the vxWorks UGL driver template using some horrid sequence of linear transformations for each of X and Y. I don't do it that way.... What I found with our 4-wire touch screen is that the calibrated X output has to depend on both raw input values. However the transformation is linear in each term - but does need a product term. X = a + b.x + c.y + d.x.y (b is dominant) Y = e + f.x + g.y + h.x.y (g is dominant) This requires test points in all four corners. (The x.y term is required because the resistance of the 'bus bars' of the touch panel isn't completely insignificant.) You really do need the raw data to work out these numbers - not the converted values using the existing values. Also you probably need to average a considerable number of readings. One day I even thought that the calibration was temperature sensitive! David > Subject: Re: Touch Screen Calibration > X-UIDL: (jC!!a5N"!]J > >My problem is, how do I al of this. I have created a window using Zinc with > >the two dot positions as > >described. How do I capture and save the touch position when the user > >touches the screen at the dot positions? Is there some way of getting this > >information from the UGL? > > You may find the information you require in the UGL Developer's Kit manual. > The Input Driver API section describes some of the detail about the absolute > pointer event information. There's also discussion of calibration in the > Writing A New Input Driver Section. > > I don't know if this event information is available at Zinc, I've done touch > screen recalibration at the UGL level in the past. > ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 From vxwexplo-errs@csg.lbl.gov Mon Dec 4 10:05:09 2000 From: "Komuraiah Poodari" Date: Mon Dec 4 10:05:12 PST 2000 Subject: RouteLookup function Hi, Is there any function in VxWorks SENS stack to perform routeLookup, i.e. to find out the interface corresponding to given destination address ? The function routeShow() displays the entire route table. thanks for the help. - Komuraiah From vxwexplo-errs@csg.lbl.gov Mon Dec 4 14:57:10 2000 From: s.eckardt@ixthos.com Date: Mon Dec 4 14:57:12 PST 2000 Subject: Re: usrAppInit() function in Vxworks Project I believe that in Tornado 2, the recommended way to spawn user tasks is to code them inline after the comment: /* add application specific code here */. If you prefer to spawn your tasks in the Tornado 1 style, by using the USER_APPL_INIT macro, you can #include config.h at the start of usrAppInit.c. Then your definition of USER_APPL_INIT will be available to the source file. Suzie Eckardt Chief Software Engineer Ixthos, Inc. s.eckardt@ixthos.com From vxwexplo-errs@csg.lbl.gov Mon Dec 4 21:22:17 2000 From: karunakaran nair Date: Mon Dec 4 21:22:20 PST 2000 Subject: comp.os.vxworks newsdigest --0-608413784-975993736=:25484 Content-Type: text/plain; charset=us-ascii hello, please somebody tell me how to make scripts at the shell and execute. for example instead of typing commands at the shell i want to capture them all in a file and execute them at the shell. thanks,KN --------------------------------- Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. --0-608413784-975993736=:25484 Content-Type: text/html; charset=us-ascii

hello,

please somebody tell me how to make scripts at the shell and execute. for example instead of typing commands at the shell i want to capture them all in a file and execute them at the shell. thanks,KN



Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products. --0-608413784-975993736=:25484-- From vxwexplo-errs@csg.lbl.gov Tue Dec 5 04:03:08 2000 From: Vxworks Exploder Date: Tue Dec 5 04:03:10 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Tue Dec 5 04:03:04 PST 2000 Subject: NaN - how can rid of it? Subject: re: Touch Screen Calibration Subject: Re: NaN - how can rid of it? Subject: Re: integrating network drivers Subject: Re: upnp Subject: mcp750ha Subject: Post-load module verification Subject: Re: NaN - how can rid of it? Subject: RouteLookup function Subject: Re: Maximum number of semaphores in VxWorks Subject: Re: How to calculate Task stack space? Subject: Re: Post-load module verification Subject: Re: [Question] Difference VxWorks Boot Sequence?? Subject: Sio vs. Serial Subject: wdb agent restart Subject: Assembler constants. Subject: tffs and ads8260 Subject: Shared memory network problems Subject: Re: integrating network drivers Subject: please help me Subject: re: usrAppInit() function in Vxworks Project Subject: re: usrAppInit() function in Vxworks Project Subject: Re: How to calculate Task stack space? Subject: VxWorks for Linux emulation Subject: Re: Tornado Compiler Subject: snmp...snmpdLib.c?? Subject: Re: Maximum number of semaphores in VxWorks Subject: RTC for PPC mcpn765 ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: NaN - how can rid of it? Date: Mon, 4 Dec 2000 16:59:12 +0200 From: "Elbit user" Organization: NetVision Israel Message-ID: <90dna1$7um$1@news.netvision.net.il> In my system (vxworks, tornado, pentium-target) I have several tasks. some of them make - floating point calc. in some of the cases I get NaN as a result of those calcs? I discovers that when I put taskLock() and taskUnlock() before and after the calulation the NaN frequancy is much lower (but still exists). do u have any idea how can I get rid of it? thanx - Yonatan --------------------------- Newsgroups: comp.os.vxworks Subject: re: Touch Screen Calibration Date: Mon, 4 Dec 2000 14:09:38 +0000 (GMT) From: David Laight Organization: Lawrence Berkeley National Laboratory Message-ID: <200012041409.OAA13714@dsl-2.tadpole.co.uk> You will need to do the calibration in the touch screen driver. It (typically) has to convert an A-D output to pixels. I recall the vxWorks UGL driver template using some horrid sequence of linear transformations for each of X and Y. I don't do it that way.... What I found with our 4-wire touch screen is that the calibrated X output has to depend on both raw input values. However the transformation is linear in each term - but does need a product term. X = a + b.x + c.y + d.x.y (b is dominant) Y = e + f.x + g.y + h.x.y (g is dominant) This requires test points in all four corners. (The x.y term is required because the resistance of the 'bus bars' of the touch panel isn't completely insignificant.) You really do need the raw data to work out these numbers - not the converted values using the existing values. Also you probably need to average a considerable number of readings. One day I even thought that the calibration was temperature sensitive! David > Subject: Re: Touch Screen Calibration > X-UIDL: (jC!!a5N"!]J > >My problem is, how do I al of this. I have created a window using Zinc with > >the two dot positions as > >described. How do I capture and save the touch position when the user > >touches the screen at the dot positions? Is there some way of getting this > >information from the UGL? > > You may find the information you require in the UGL Developer's Kit manual. > The Input Driver API section describes some of the detail about the absolute > pointer event information. There's also discussion of calibration in the > Writing A New Input Driver Section. > > I don't know if this event information is available at Zinc, I've done touch > screen recalibration at the UGL level in the past. > - ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 --------------------------- Newsgroups: comp.os.vxworks Subject: Re: NaN - how can rid of it? Date: Mon, 4 Dec 2000 13:46:32 GMT From: Lee DeRaud Organization: None to speak of Message-ID: References: <90dna1$7um$1@news.netvision.net.il> Sender: nntp@news.boeing.com (Boeing NNTP News Access) On Mon, 4 Dec 2000 16:59:12 +0200, "Elbit user" wrote: >In my system (vxworks, tornado, pentium-target) I have several tasks. >some of them make - floating point calc. >in some of the cases I get NaN as a result of those calcs? >I discovers that when I put taskLock() and taskUnlock() before and after the >calulation the NaN frequancy is much lower (but still exists). > >do u have any idea how can I get rid of it? Two things necessary for floating-point: 1. Make sure you're setting the VX_FP_TASK flag in the 'options' parameter to taskSpawn for *all* tasks that use floating-point. That forces the kernel to save/restore the FPP context during task switches. 2. Use 'fppSave' and 'fppRestore' to do the same thing in any ISRs that perform floating-point computations. (See the man pages for fppLib and fppArchLib.) Since the taskLock/taskUnlock helped but didn't completely solve your problem, I'd suspect #2 is your problem. Lee --------------------------- Newsgroups: comp.os.vxworks Subject: Re: integrating network drivers Date: Mon, 04 Dec 2000 14:25:58 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <90eniu$cms$1@news.netmar.com> <3A2AF70B.A74CA02@flashcom.net> Sender: bpringlemeir@DeadDuck >>>>> "DrDiags" == DrDiags writes: DrDiags> Sineon, I don't know if you tried using the MACH_EXTRA line DrDiags> in your makefile. You could put the source locally in your [snip] If you are using an `END' system, then you have to also add an entry to the `End Table'. See configNet.h for more. This is the alternative for the #INCLUDE_CS8900 etc macros that where used in older versions of vxWorks. hth, Bill - -- Ft. Bragg Khaddafi NSA CIA Ortega North Korea security South Africa Saddam Hussein Legion of Doom World Trade Center Cocaine Nazi Honduras arrangements --------------------------- Newsgroups: comp.os.vxworks Subject: Re: upnp Date: Mon, 04 Dec 2000 14:34:57 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <90fijt$dnb$1@nnrp1.deja.com> Sender: bpringlemeir@DeadDuck >>>>> "gandalf107" == gandalf107 writes: gandalf107> hi, is there any solution for including the upnp feature gandalf107> into vxworks? thanks This question has been /debated/ on the uPnP mailing list. I think it is hosted by SourceForge. You may be able to get mail archives there. The basic suggestion is that the Linux uPnP source should be a fairly easy port to vxWorks. I don't know of any other solutions. hth, Bill - -- Have you ever tried to talk with someone you saw at a party while being operated on for club foot? Or thought it was quite worthwhile to have four Ann Arbor Ambassador terminals to defend against the bobbie? You will. And the company that will bring it to you: AT&T. --------------------------- Newsgroups: comp.os.vxworks Subject: mcp750ha Date: Mon, 04 Dec 2000 16:00:29 GMT From: jayantadas@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90gf2n$3hc$1@nnrp1.deja.com> Hi, I am using mcp750ha board. The BSP we have with the vxWorks is for mcp750. Does anyone know if Windriver has the BSP for MCP750HA? Or we have to get it from the hardware vendor? Any help will be appreciated. Thanks. Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Post-load module verification Date: Mon, 04 Dec 2000 16:51:11 GMT From: jgiurleo@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90gi1r$69c$1@nnrp1.deja.com> Hello, I need a way to verify that my module has loaded correctly, perhaps by using a checksum. How do I determine the starting address and length for the executable portion of the module? I don't want to add any local or global symbols to the calculated checksum so that I can continue to re-verify the integrity of the executable even after the module has been spawned. Any help at all is greatly appreciated. Thanks! Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: NaN - how can rid of it? Date: Mon, 04 Dec 2000 10:00:24 -0800 From: Lori Fraleigh Organization: Real-Time Innovations Message-ID: <3A2BDBB8.7F420D9@rti.com> References: <90dna1$7um$1@news.netvision.net.il> If you're printing floating point numbers, you need to make sure you have INCLUDE_FLOATING_POINT defined. Regards, Lori Elbit user wrote: > > In my system (vxworks, tornado, pentium-target) I have several tasks. > some of them make - floating point calc. > in some of the cases I get NaN as a result of those calcs? > I discovers that when I put taskLock() and taskUnlock() before and after the > calulation the NaN frequancy is much lower (but still exists). > > do u have any idea how can I get rid of it? > > thanx - Yonatan - -- Lori Fraleigh Real-Time Innovations Senior Software Engineer ScopeTools Manager Phone: 408-734-4200 x121 Fax: 408-734-5009 http://www.rti.com Please send/cc all support related email to support@rti.com --------------------------- Newsgroups: comp.os.vxworks Subject: RouteLookup function Date: Mon, 4 Dec 2000 09:49:21 -0800 From: "Komuraiah Poodari" Organization: Lawrence Berkeley National Laboratory Message-ID: <90gmtj$p26$1@overload.lbl.gov> Hi, Is there any function in VxWorks SENS stack to perform routeLookup, i.e. to find out the interface corresponding to given destination address ? The function routeShow() displays the entire route table. thanks for the help. - - Komuraiah --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Maximum number of semaphores in VxWorks Date: Mon, 04 Dec 2000 13:48:38 -0600 From: Andrew Johnson Organization: APS, Argonne National Laboratory Message-ID: <3A2BF516.FD99356D@aps.anl.gov> References: <3A285508.DDC57211@c-cube.com> Venki Mohan wrote: > > Is there any limit on the number of semaphores that I can > use in VxWorks? > > I have an application in which i need to instantiate plenty > of semaphores( > 500). I was wondering if I will have any performance hit. No, semaphores take up a certain amount of memory but that's usually all. I'm sure we have systems here that have more than 500 semaphores. - - Andrew - -- Every great idea appears crazy to start with. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: How to calculate Task stack space? Date: Mon, 4 Dec 2000 20:09:24 -0000 From: "David Laight" Organization: BT Internet Message-ID: <90gtk7$nfm$1@neptunium.btinternet.com> References: <200011301401.GAA03645@mail22.bigmailbox.com> > 1.How to calculate accurately the Task stack space?. > 2.Do we have any "formula"? or technique to calculate? The 'usual' technique seems to be 'give it some and if it odd things happen try giving it some more'. As you say this isn't ideal! Years ago I wrote a program that parsed the object file listing (from a PASCAL compiler) which tracked the stack depth in each routine at which it called other routines. This let me calculate a maximum stack usage for the high level routines. Maximum stack use was often in obscure error paths...... Doing the same for vxWorks would be a lot harder due to the number of procedure variables and call tables. Parsing a running system - with a little manual help for some of the call tables would be enlightening! (and probably possible.) The last big one that exploded on me was open() - the number of on-stack buffers into which the filename is put has to be seen to believed (and not a size check amongst them). The deep part was netdrv using DNS to find the IP address of the host. Certainly it would be useful for windriver to give a hint - even though it would be very architecture (and compiler) specific. David --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Post-load module verification Date: Mon, 04 Dec 2000 14:12:34 -0600 From: Andrew Johnson Organization: APS, Argonne National Laboratory Message-ID: <3A2BFAB2.35D1E102@aps.anl.gov> References: <90gi1r$69c$1@nnrp1.deja.com> jgiurleo@my-deja.com wrote: > > I need a way to verify that my module has loaded correctly, perhaps by > using a checksum. How do I determine the starting address and length for the > executable portion of the module? I don't want to add any local or global > symbols to the calculated checksum so that I can continue to re-verify the > integrity of the executable even after the module has been spawned. Look up moduleLib in the vxWorks reference manual. moduleCheck() may be of some use to you for example. - - Andrew - -- Every great idea appears crazy to start with. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: [Question] Difference VxWorks Boot Sequence?? Date: 4 Dec 2000 20:26:50 GMT From: Johan Borkhuis Organization: Lucent Technologies, Nieuwegein NL Message-ID: <90guma$746$1@news1.xs4all.nl> References: <90emq6$pp0$1@nnrp1.deja.com> kingseft@my-deja.com wrote: : Hi. Vxworks Developers... : I'm a novice with VxWorks. : I have a basic question about VxWorks Boot Sequence ... : when I read some materials about boot sequence. : I found the diferrences between building from the traditional command : line method and Vxworks Project Facility methdo.. : Could someone describe some differences about that?? : Why some developers use command line and whey some developers use : project facility method?? : They said that there is some differences ... : But I can't find that.. The main difference is that you can only build a bootrom from the commandline. The bootrom is based on the items as specified in the file config.h in your BSP directory. If you want to build a VxWorks image you can use the commandline or the GUI. In my opinion the best way to build a VxWorks image is using the GUI. It is the easiest way to configure your image and selecting the right components. When you want to do this by hand it is also possible, but you have to build something like the prjConfig.c and the other files. Groeten, Johan - -- o o o o o o o . . . ______________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@lucent.com | >(________|__|_[_________]_|___________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: Sio vs. Serial Date: Mon, 4 Dec 2000 13:53:51 -0700 From: Stephan Esterhuizen Organization: University of Colorado, Boulder Message-ID: Can anybody tell me what the difference is between the src/drv/sio and src/drv/serial directories are? I am having trouble figuring out which one to use. It seems as if the /sio dir has more up to date drivers... is that the only difference? Stephan Esterhuizen Boulder,CO,USA Icq : 2785232 Homepage : http://www.pythion.com An optimist sees a glass that is half full. A pessimist sees a glass that is half empty. An engineer sees a glass that is twice as big as it needs to be. --------------------------- Newsgroups: comp.os.vxworks Subject: wdb agent restart Date: Mon, 04 Dec 2000 16:22:55 -0500 From: Geoffrey Brown Message-ID: <3A2C0B2F.C424FF04@ibnets.com> I've got a 2M binary on an ppc 860T which runs just fine until I try to attach the tornado tools at which point the wdb agent restarts. I had no problems when my binary was smaller. The problem occurs even if usrAppInit simply calls a task which goes to sleep (and hence doesn't execute the added code). Are there resource limits in wdb agent that are likely to be exposed as binaries grow ? Geoffrey --------------------------- Newsgroups: comp.os.vxworks Subject: Assembler constants. Date: Mon, 04 Dec 2000 21:29:27 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: Sender: bpringlemeir@DeadDuck I am trying to compose a major mode in Emacs for editing VxWorks assembler. Does anyone know if one exists already? I have the comments and pseudo-ops, and pre-processor directives highlighting with font-lock. As well, strings are quite fine. I can not find any reference as to what the `#' and `=' characters do. I think this is consistent between assembler languages on different architectures. For example, ldr r0,=0x55555555 str r0,[sp,#-4]! What is the meaning of "=0x55555555" and "#-4". Actually, the # is a value; I just wonder if the `=' has an identical meaning. Is this built into gas? I would like to set these in font-lock-constant-face, but I am not sure if that is correct for an equals `='. Thanks, Bill - -- How can you say that if you've seen one source license, you've seen them all? The oceans are full of dirty fish, right? --------------------------- Newsgroups: comp.os.vxworks Subject: tffs and ads8260 Date: Mon, 04 Dec 2000 21:33:44 GMT From: "Jim" Organization: Magma Communications Ltd. Message-ID: Hello all, has anyone got the tffs file system to work on the ads8260 ? If anyone has the file system running on this board it would be very reassuring to know it is possible ... It looks like I am writting/formatting the file system to flash correctly ... this can be seen by the below memory dump from the tornado shell ... however I am still encountering errors. Cheers and Thanks, Jim -> sysTffsFormat .... .... WRITING TO BLOCK: 0xff800140 < CardAddress = 0x140, length = 4 > value = -1 = 0xffffffff = udbinfo + 0xfff0abd7 <~~~~~~~~~~~~~~~~~~~~~NOTE THE ERROR -> tffsShow 0: socket=SIMM: type=0x89aa, unitSize=0x40000, mediaSize=0x400000 value = 50 = 0x32 = '2' -> d 0xff800000 ff800000: 1303 4349 5346 ff00 4654 4c31 3030 0001 *..CISF..FTL100..* ff800010: 0100 0000 0000 0912 0000 1000 0058 3a00 *.............X:.* ff800020: 0000 0400 3b00 00ff 0000 0000 0000 0000 *....;...........* ff800030: 4400 0000 ffff ffff ffff ffff ffff ffff *D...............* ff800040: ffff ffff 3000 0000 3000 0000 3000 0000 *....0...0...0...* ff800050: 3000 0000 3000 0000 408a ffff 408c ffff *0...0...@...@...* ff800060: 408e ffff 4090 ffff 4092 ffff 4094 ffff *@...@...@...@...* ff800070: 4096 ffff 4098 ffff 409a ffff 409c ffff *@...@...@...@...* ff800080: 409e ffff 40a0 ffff 40a2 ffff 40a4 ffff *@...@...@...@...* ff800090: 40a6 ffff 40a8 ffff 40aa ffff 40ac ffff *@...@...@...@...* ff8000a0: 40ae ffff 40b0 ffff 40b2 ffff 40b4 ffff *@...@...@...@...* ff8000b0: 40b6 ffff 40b8 ffff 40ba ffff 40bc ffff *@...@...@...@...* ff8000c0: 40be ffff 40c0 ffff 40c2 ffff 40c4 ffff *@...@...@...@...* ff8000d0: 40c6 ffff 40c8 ffff 40ca ffff 40cc ffff *@...@...@...@...* ff8000e0: 40ce ffff 40d0 ffff 40d2 ffff 40d4 ffff *@...@...@...@...* ff8000f0: 40d6 ffff 40d8 ffff 40da ffff 40dc ffff *@...@...@...@...* value = 21 = 0x15 -> --------------------------- Newsgroups: comp.os.vxworks Subject: Shared memory network problems Date: Mon, 04 Dec 2000 21:33:51 GMT From: mark@SPAMYENOTthelambs.freeserve.co.uk.SPAMYENOT (Mark Lamb) Organization: www.ic24.net Message-ID: <3a2c0d56.3444883@news.ic24.net> Hi, I'm currently having problems using TCP sockets over the shared memory network. I get panics from (usually) tNetTask and eventually mbufShow shows corruption of its mbuf statistics (the totals don't agree). This is often accompanied by a fail light coming on on my slot 0 controller, a National Instruments VXIcpu-030 (68030-based). I'm currently running vxWorks 5.1.1 (can't change at the moment). I have a couple of questions: 1. Has anyone else had problems using the shared memory network? 2. Has anyone developed or know of an alternative implementation of TCP sockets which doesn't use the shared memory? Thanks, Mark Lamb --------------------------- Newsgroups: comp.os.vxworks Subject: Re: integrating network drivers Date: Mon, 4 Dec 2000 22:57:13 +0100 From: "JJS" Organization: LT Message-ID: <90h3q3$1o07$1@news5.isdnet.net> References: <90eniu$cms$1@news.netmar.com> skenda@start.com.au a écrit dans le message <90eniu$cms$1@news.netmar.com>... > >I have been using vxWorks\Tornado 2 for a short time. > >My target processor board is a pentium > >I am trying to integrate the crystal CS8900 network driver > >Up to now the majority of my configuration changes have been done so through >the project facility. On this occaision however it seems that this device is >only supported through the device \target\src\drv\netif\if_cs >ie it has not been integrated into the project facility\config.h > >I'm still using an external floppy to boot during this intial development >phase so that changes can be incorporated rapidly. > >My question is that since there is no mention of this driver in either >a) config.h >b) project facility > >how do I make the required changes to: >b) make a bootable kernal With the project facilities : Build Tab -> expand VxWorks build -> properties -> Select macros -> EXTRA_MODULES -> add the .o driver file Jack > --------------------------- Newsgroups: comp.os.vxworks Subject: please help me Date: Mon, 04 Dec 2000 15:21:15 -0700 From: Ben Message-ID: <3A2C18DB.A32EAA47@hotmail.com> Reply-To: kanigeri@hotmail.com hi i am trying to install vxworks image on my target board(ppc), but i am getting the following error. can you please tell me where am i going wrong. i am also attaching the information which i am getting in ftp. i will be grateful to you for any assistance in this regard. thank you following is the information i am getting in terminal emulator [VxWorks Boot]: @ boot device : dc processor number : 0 host name : U.S.U..usu.edu file name : c:\tornado\target\config\mtx603\vxWorks inet on ethernet (e) : 129.123.4.127:ffffff00 host inet (h) : 129.123.4.237 user (u) : sl149 ftp password (pw) : goud flags (f) : 0x0 target name (tn) : tornado Attaching network interface dc0... done. Attaching network interface lo0... done. Loading... 670192 ......and it gets stuck here... the follwoing information in ftp is [L 0010] 11/30/00 15:46:51 Connection accepted from 129.123.4.127 [C 0010] 11/30/00 15:46:51 Command "USER sl149" received [C 0010] 11/30/00 15:46:51 PASSword accepted [L 0010] 11/30/00 15:46:51 User sl149 logged in. [C 0010] 11/30/00 15:46:51 Command "TYPE I" received [C 0010] 11/30/00 15:46:51 TYPE set to I N [C 0010] 11/30/00 15:46:51 Command "PORT 129,123,4,127,4,1" received [C 0010] 11/30/00 15:46:51 PORT set to 129.123.4.127 - 1025 (4,1) [C 0010] 11/30/00 15:46:51 Command "RETR c:\tornado\target\config\mtx603\vxworks" received [C 0010] 11/30/00 15:46:51 RETRieve started on file c:\tornado\target\config\mtx603\vxworks [C 0010] 11/30/00 15:46:58 Transfer aborted [G 0010] 11/30/00 15:46:58 Got file c:\tornado\target\config\mtx603\vxworks unsuccessfully [! 0010] 11/30/00 15:46:58 Timeout while sending data [C 0010] 11/30/00 15:46:58 QUIT or close - user sl149 logged ou --------------------------- Newsgroups: comp.os.vxworks Subject: re: usrAppInit() function in Vxworks Project Date: Mon, 4 Dec 2000 17:43:35 -0500 From: s.eckardt@ixthos.com Organization: Lawrence Berkeley National Laboratory Message-ID: <90h8g4$4q9$1@overload.lbl.gov> I believe that in Tornado 2, the recommended way to spawn user tasks is to code them inline after the comment: /* add application specific code here */. If you prefer to spawn your tasks in the Tornado 1 style, by using the USER_APPL_INIT macro, you can #include config.h at the start of usrAppInit.c. Then your definition of USER_APPL_INIT will be available to the source file. Suzie Eckardt Chief Software Engineer Ixthos, Inc. s.eckardt@ixthos.com --------------------------- Newsgroups: comp.os.vxworks Subject: re: usrAppInit() function in Vxworks Project Date: Tue, 05 Dec 2000 01:00:32 GMT From: kingseft@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90hend$vls$1@nnrp1.deja.com> References: <90h8g4$4q9$1@overload.lbl.gov> Really Thank you for your help.. kingseft. In article <90h8g4$4q9$1@overload.lbl.gov>, s.eckardt@ixthos.com wrote: > I believe that in Tornado 2, the recommended way to spawn user tasks is to > code them inline after the comment: /* add application specific code here > */. > > If you prefer to spawn your tasks in the Tornado 1 style, by using the > USER_APPL_INIT macro, you can #include config.h at the start of > usrAppInit.c. Then your definition of USER_APPL_INIT will be available to > the source file. > > Suzie Eckardt > Chief Software Engineer > Ixthos, Inc. > s.eckardt@ixthos.com > > Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: How to calculate Task stack space? Date: Tue, 05 Dec 2000 01:47:02 GMT From: snaphook@southwesternbell.net (Bruce) Organization: SBC Internet Services Message-ID: <3a2c48d7.6857835@news.swbell.net> References: <200011301401.GAA03645@mail22.bigmailbox.com> <90gtk7$nfm$1@neptunium.btinternet.com> In comp.os.vxworks "David Laight" wrote: >> 1.How to calculate accurately the Task stack space?. >> 2.Do we have any "formula"? or technique to calculate? > >The 'usual' technique seems to be 'give it some and if it odd things happen >try giving it some more'. As you say this isn't ideal! > >Years ago I wrote a program that parsed the object file listing (from a >PASCAL compiler) which tracked the stack depth in each routine at which it >called other routines. This let me calculate a maximum stack usage for the >high level routines. Maximum stack use was often in obscure error >paths...... > >Doing the same for vxWorks would be a lot harder due to the number of >procedure variables and call tables. Parsing a running system - with a >little manual help for some of the call tables would be enlightening! (and >probably possible.) VxWorks is actually easier. Not only does the browser show task usage, you can call checkStack() or is it stackCheck() from the command line and see the usage and high water marks. Bruce --------------------------- Newsgroups: comp.os.vxworks Subject: VxWorks for Linux emulation Date: Tue, 05 Dec 2000 05:52:52 GMT From: bsjung8472@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90hvri$cs6$1@nnrp1.deja.com> I'm new to Vxworks... but familar to the embedded system such as embedded linux... I've designed the embedded linux for SA-1110... Anyway, I found the pSOS2Linux project for pSOS emulation in Linux environment... and I've known the FreeDOS and ReactOS (NT clone)... Do anybody know similar project for VxWorks? If it does not exist, I would like to start new project for hobby... I hope this is regal and help anybody who wants to know VxWorks internals. From Seoul... Byungsoo Jung Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Tornado Compiler Date: Mon, 4 Dec 2000 22:09:11 -0800 From: "Jianfei XU" Organization: SBC Internet Services Message-ID: <6D%W5.251$4T1.189523@news.pacbell.net> References: <8vv0t6$f7h$1@overload.lbl.gov> with gcc, you can use -x to specify the language. "Thach Vu" wrote in message news:8vv0t6$f7h$1@overload.lbl.gov... > This message is in MIME format. Since your mail reader does not understand > this format, some or all of this message may not be legible. > > ------_=_NextPart_001_01C058C5.050C2EE0 > Content-Type: text/plain; > charset="iso-8859-1" > > Hi, > > I have a question regarding to Tornado 2.0 Compiler. > I tried to compile a header file that contains C++ comment (//) but it > didn't accept this comment style. > I had to change it to C comment style (/* */) in order to make the compiler > work. > I found it strange that if the file is cpp files then it will accept the C++ > comment style. > Is there any way that the compiler will read the C++ comment style inside my > header file. > The reason I ask is that the header file contains an awful lot of C++ > comments and I don't want to convert them into C comment. > Thank you for any of your help. > > Thach Vu > > > ------_=_NextPart_001_01C058C5.050C2EE0 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > > > > charset=3Diso-8859-1"> > 5.5.2652.35"> > Tornado Compiler > > > >

Hi, >

> >

I have a question regarding to Tornado = > 2.0 Compiler. >
I tried to compile a header file that = > contains C++ comment (//) but it didn't accept this comment = > style. >
I had to change it to C comment style = > (/* */) in order to make the compiler work. >
I found it strange that if the file = > is cpp files then it will accept the C++ comment style. >
Is there any way that the compiler = > will read the C++ comment style inside my header file. >
The reason I ask is that the header = > file contains an awful lot of C++ comments and I don't want to convert = > them into C comment.

> >

Thank you for any of your help. >

> >

Thach Vu >

> > > > ------_=_NextPart_001_01C058C5.050C2EE0-- > --------------------------- Newsgroups: comp.os.vxworks Subject: snmp...snmpdLib.c?? Date: Tue, 5 Dec 2000 15:25:19 +0800 From: "Bibo" Organization: SEEDNet News Service Message-ID: <90i52e$4mq$1@news.seed.net.tw> hi all: I had try to use WindNet SNMPv1/v2c porting to my target(8240). But I has some question.... 1.When I make my object code integrated to the library, it show the error message " out of envirnment"....what does it mean?? 2.I find that \target\src\snmpv1\agent\snmpdLib.c is not exist. When the SNMP agent initialize(from snmpdInit() to spawn the task "tSnmpd"),it always went to snmpdLib.o find the function.How can I modify this"snmpdLib.o"??Is the snmpIoLib.c has no effect?? thanks! Best Regards! Roy --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Maximum number of semaphores in VxWorks Date: Tue, 05 Dec 2000 07:34:16 GMT From: pwhicker@home.com (Paul Whicker) Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: References: <3A285508.DDC57211@c-cube.com> <3A2BF516.FD99356D@aps.anl.gov> A semaphore is just a malloced data structure with a bunch of suitable access routines to control its use, which is why you can get invalid object errors by trying to do semaphore things to a random pointer. So there is no computational overhead, if you don't use them they don't consumer anything except a little memory. Paul In article <3A2BF516.FD99356D@aps.anl.gov>, Andrew Johnson wrote: >Venki Mohan wrote: >> >> Is there any limit on the number of semaphores that I can >> use in VxWorks? >> >> I have an application in which i need to instantiate plenty >> of semaphores( > 500). I was wondering if I will have any performance hit. > >No, semaphores take up a certain amount of memory but that's usually all. >I'm sure we have systems here that have more than 500 semaphores. > >- Andrew --------------------------- Newsgroups: comp.os.vxworks Subject: RTC for PPC mcpn765 Date: Tue, 05 Dec 2000 10:46:47 +0100 From: Luca Garbo Organization: Swisscom IP+ (post doesn't reflect views of Swisscom) Message-ID: <3A2CB987.6FCEF3E9@stest.ch> - --------------BF31490FA2C9B3931E487429 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi guys , does anybody know anything about real time clock functions on mcpn765 board as well as RTC struct on cpv5350? Thanks in advance - -- Luca Garbo Phone: +41 763 55 6795, http://www.stest.com Wavetek Wandel & Goltermann, Foerrlibuckstrasse 62, CH-8037 Zurich - --------------BF31490FA2C9B3931E487429 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi guys , does anybody know anything about real time clock functions on mcpn765 board  as well as  RTC struct on cpv5350?
Thanks in  advance
--
Luca Garbo
Phone: +41 763 55 6795, http://www.stest.com
Wavetek Wandel & Goltermann, Foerrlibuckstrasse 62, CH-8037 Zurich
  - --------------BF31490FA2C9B3931E487429-- --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Tue Dec 5 07:07:40 2000 From: David Laight Date: Tue Dec 5 07:07:43 PST 2000 Subject: Re: How to calculate Task stack space? > > Years ago I wrote a program that parsed the object file listing (from a > > PASCAL compiler) which tracked the stack depth in each routine at which it > > called other routines. This let me calculate a maximum stack usage for the > > high level routines. Maximum stack use was often in obscure error > > paths...... > > > > Doing the same for vxWorks would be a lot harder due to the number of > > procedure variables and call tables. Parsing a running system - with a > > little manual help for some of the call tables would be enlightening! (and > > probably possible.) > VxWorks is actually easier. Not only does the browser show task usage, you > can call checkStack() or is it stackCheck() from the command line and see > the usage and high water marks. This is the answer to the wrong question! The browser and stackCheck() only show the amount of stack the task HAS USED. What you need to determine is the amount a task MIGHT USE. Unless you can guarantee your task has executed ALL its code paths (and all those in the vxWorks kernel it MIGHT go through) then the numbers returned by stackCheck() are almost useless. IF you have memory to throw at stacks you can give every process several kb spare and hope that is enough. If you are tight on memory - or trying to run a lot of tasks - you will typically leave tasks that CAN blow their allocated stack space. David ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 From vxwexplo-errs@csg.lbl.gov Tue Dec 5 07:21:43 2000 From: David Laight Date: Tue Dec 5 07:21:45 PST 2000 Subject: Re: Assembler constants. > I think this is consistent between assembler languages on different > architectures. For example, > ldr r0,=0x55555555 > str r0,[sp,#-4]! > What is the meaning of "=0x55555555" and "#-4". This is obviously ARM assembler! As you guessed, # just identifies the value following as a constant. The '=' is an ARM special. The ARM processor can only load 8 bit constants (rotated by an even number of bits). Generating a 32 bit constant that way would require 4 instructions - and be a real pain for a linker. The '=' is a short form for a PC relative load of a memory location (typically not far below the instruction) into which the compiler will place the constant. ie ldr r0,=0x55555555 is equivalent to: ldr r0,[pc,#lbl-.-8] ... lbl: .long 0x55555555 David PS: isn't EMACS for those who don't understand TECO? - maybe I shouldn't start editor flame wars in the vxWorks newsgroup. ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 From vxwexplo-errs@csg.lbl.gov Tue Dec 5 13:33:30 2000 From: "timallen" Date: Tue Dec 5 13:33:33 PST 2000 Subject: Re:stephan@pythion.com >Can anybody tell me what the difference is between the src/drv/sio and >src/drv/serial directories are? The sio drivers include polled mode functions which allow system mode debugging if the target server is connected via the serial ports. They effectively replaced the older serial drivers, which seem to be kept for backwards compatibility. Regards, Tim. -------------------- Tim Allen Ltd Real Time Embedded Software Consultancy VxWorks From vxwexplo-errs@csg.lbl.gov Tue Dec 5 18:14:41 2000 From: "rtos E" Date: Tue Dec 5 18:14:43 PST 2000 Subject: Re: mcp750ha Hi jayantadas! We do the thing similar to yours. Windriver has the BSP for MCP750HA for sure. We've got it from wrs' local distributer this September. We use it well. Of course some note from the hardware vendor may be necessary also. HTH. Regards wwen ------------------------------------------------------------------------------------------------------------------------ Date: Mon, 04 Dec 2000 16:00:29 GMT jayantadas wrote >Hi, > >I am using mcp750ha board. The BSP we have with the vxWorks is for >mcp750. Does anyone know if Windriver has the BSP for MCP750HA? Or we >have to get it from the hardware vendor? > >Any help will be appreciated. > >Thanks. _____________________________________________________________________________________ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com From vxwexplo-errs@csg.lbl.gov Tue Dec 5 21:33:31 2000 From: "Girish V. Gulawani" Date: Tue Dec 5 21:33:33 PST 2000 Subject: Re: How to calculate Task stack space? reply is below - > Newsgroups: comp.os.vxworks > Subject: How to calculate Task stack space? > Date: Thu, 30 Nov 2000 06:01:40 -0800 > From: "Deja User" > Organization: Lawrence Berkeley National Laboratory > Message-ID: <200011301401.GAA03645@mail22.bigmailbox.com> > > Tornado Vxworks > > Hi All, > > Can any one suggest, > > 1.How to calculate accurately the Task stack space?. > > 2.Do we have any "formula"? or technique to calculate? > > 3.What is the typical value normally used? Green Hills toolchain has an utility gstack. i've tried with small code (c & assembly mix), not entire vxworks image. hth. From vxwexplo-errs@csg.lbl.gov Tue Dec 5 21:54:05 2000 From: "Ramesh Subramanian" Date: Tue Dec 5 21:54:07 PST 2000 Subject: Including Driver in VxWorks Hi VxWorkers, I have a basic doubt about adding a driver in VxWorks. I am using tornado2.0. Whether ata driver automatically gets initialized and installed if I include the ATA component from project facility. Or is there any procedure to add ata driver. Thanks in advance Ramesh _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com Participate in crazy auctions at http://auctions.rediff.com/auctions/ From vxwexplo-errs@csg.lbl.gov Wed Dec 6 00:21:11 2000 From: "Marco Penso" Date: Wed Dec 6 00:21:14 PST 2000 Subject: R: Including Driver in VxWorks > Hi VxWorkers, Hi, > I have a basic doubt about adding a driver in VxWorks. I am using tornado2.0. Whether ata driver automatically gets initialized and installed if I include the ATA component from project facility. > Or is there any procedure to add ata driver. > After you include the ATA component from project facility, you must add the following line to your code (I added it in the usrAppInit.c ): usrAtaConfig (0,0,"/ata0/"); Where the contents of the "" ( /ata0/ in the case above) is the name you want to assign to the ATA device > Thanks in advance > Ramesh > Hoping this will help you. Bye Marco. From vxwexplo-errs@csg.lbl.gov Wed Dec 6 02:07:01 2000 From: David Laight Date: Wed Dec 6 02:07:03 PST 2000 Subject: Re: sio v serial > >Can anybody tell me what the difference is between the src/drv/sio and > >src/drv/serial directories are? > > The sio drivers include polled mode functions which allow system mode > debugging if the target server is connected via the serial ports. They > effectively replaced the older serial drivers, which seem to be kept for > backwards compatibility. > The console has to be an SIO driver. Console output is supported before the io system is initialised. However you may want to use a 'serial' driver for other devices. The SIO semantics mean that your driver code is not told about open and close! On the other hand you have to write less code for an SIO driver - but that means using more vxWorks code ;-) David ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 From vxwexplo-errs@csg.lbl.gov Wed Dec 6 04:03:10 2000 From: Vxworks Exploder Date: Wed Dec 6 04:03:12 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Wed Dec 6 04:03:05 PST 2000 Subject: Fastest MCP750 = ? Subject: Re: wdb agent restart -- Operator error Subject: Re: Increase FTP Sessions Subject: What happens when using zero for tftpdInit() Subject: Real Time Software Architecture Subject: Problem with absolute include path Tornado project environment Subject: Re: StrataFlash low level drivers Subject: re: How to calculate Task stack space? Subject: re: Assembler constants. Subject: Re: Real Time Software Architecture Subject: Re: Problem with absolute include path Tornado project environment Subject: PCI interrupt - dosFsDevInit failed Subject: Re: Real Time Software Architecture Subject: Re: PCI interrupt - dosFsDevInit failed Subject: Re: Input and Output in Tornado Shell Subject: Help on programming my own target shell!! Subject: Re: Problem with absolute include path Tornado project environment Subject: Re: Q: where to find information about the UGL of Wind River Subject: Re: tffs and ads8260 Subject: Re: Increase FTP Sessions Subject: Re: Sio vs. Serial Subject: Re: Problem with absolute include path Tornado project environment Subject: MCP750HA Subject: building with TrueFFS Subject: re:stephan@pythion.com Subject: Re: dynamically adding PCI space for vxworks Subject: Re: building with TrueFFS Subject: Re: dynamically adding PCI space for vxworks Subject: Re: VxWorks for Linux emulation Subject: Evaluating Embedded App Development on vxWorks versus LYNX Subject: re: mcp750ha Subject: VxWorks AE Subject: Re: How to calculate Task stack space? Subject: Re: building with TrueFFS Subject: [elfHex] option Subject: Need MVME1600-001 Subject: re: How to calculate Task stack space? Subject: Including Driver in VxWorks Subject: StrongARM optimization problem Subject: Re: MCP750HA Subject: R: Including Driver in VxWorks Subject: re: sio v serial ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Fastest MCP750 = ? Date: Tue, 05 Dec 2000 11:21:18 GMT From: vtail@hotmail.com Organization: MV Communications, Inc. Message-ID: <3a2ccf0f.416091@news.netis.com> Good morning, all ... We're using the Motorola MCP-750 Compact-PCI Power PC board, I believe the clock speed is 366 MHz (might be 333; I don't have the literature in front of me). It has proven to be a little under-powered for our application. Do any of you know of a faster drop-in replacement? What is the fastest PowerPC currently available with VxWorks support and compactPCI? Thanks... --------------------------- Newsgroups: comp.os.vxworks Subject: Re: wdb agent restart -- Operator error Date: Tue, 05 Dec 2000 07:22:42 -0500 From: Geoffrey Brown Message-ID: <3A2CDE12.6B1A1409@ibnets.com> References: <3A2C0B2F.C424FF04@ibnets.com> Sorry to waste the bandwidth on this. Be careful to check that the target server is pointing to the same binary as is being executed ! Geoffrey --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Increase FTP Sessions Date: Tue, 5 Dec 2000 12:57:05 -0000 From: "Stephen Hill" Message-ID: <3a2ce69d_1@nnrp1.news.uk.psi.net> References: <8vurhd$p8p$1@newshost.mot.com> <8FFA6422Bborkhuislucentcom@135.7.153.101> But what is the size of ftpsMaxClients? There is no header (very naughty). Is it an int? "Johan Borkhuis" wrote in message news:8FFA6422Bborkhuislucentcom@135.7.153.101... > sc787c@email.mot.com (C.K. Lay) wrote in <8vurhd$p8p$1@newshost.mot.com>: > > >Hi, > > > >I have included the FTP server in my VxWorks 5.4 BSP by using Tornado > >2.0. The default setup only allows 4 simulatanous FTP sessions from a > >host. Is there a way to increase the FTP sessions using Tornado? Or, can > >I just modify header or source files to make it work? What is the > >maximum sessions in VxWorks 5.4? > > Take a look at the manpage for ftpdInit. There is a global variable called > ftpsMaxClients that has the default value of 4. > > Groeten, > Johan > > -- > o o o o o o o . . . ___________________________________ > o _____ || Johan Borkhuis | > .][__n_n_|DD[ ====_____ | johan@borksoft.xs4all.nl | > >(________|__|_[_________]_|________________________________| > _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` > === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === > --------------------------- Newsgroups: comp.os.vxworks Subject: What happens when using zero for tftpdInit() Date: Tue, 5 Dec 2000 13:00:22 -0000 From: "Stephen Hill" Message-ID: <3a2ce730_2@nnrp1.news.uk.psi.net> When making the function call tftpdInit (0, 0, 0, FALSE, 0), is the maximum number of TFTP clients unlimited or 4 (like the FTP server)? --------------------------- Newsgroups: comp.os.vxworks Subject: Real Time Software Architecture Date: Tue, 05 Dec 2000 13:12:41 GMT From: dipalee@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90ipk5$va8$1@nnrp1.deja.com> Hi, For real time software architectures, I read something about the RMA (Rate monolithic Architecture) but looks like this applies only to periodic tasks. Then there are event-driven, and client-server architectures. Does anyone have pointers for more information on softwrae architectures for real time systems? Thanks in advance Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Problem with absolute include path Tornado project environment Date: Tue, 05 Dec 2000 13:35:53 GMT From: tobyhage@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90iqvq$id$1@nnrp1.deja.com> We want to use relative inlude paths in the Tornado Project environment. But it isn't possible to use relative include paths in the Tornado project environment, eg: -I..\..\h\x.h Does somebody knows a workaround for this or are there more people with the same problem? Thanx in advance. with kind regards, Toby Hage Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: StrataFlash low level drivers Date: Tue, 05 Dec 2000 15:10:33 GMT From: "Jie Ma" Organization: Magma Communications Ltd. Message-ID: References: <906jfn$do6$1@overload.lbl.gov> <908k4j$dm5$1@nnrp1.deja.com> Hi Parreg and Tim: This is very interesting issue because I am going to do the exactly same things. In page 58 of the TFFS document, TrueFFS for Tornado Programmer's Guide 1.0 Edition2, it states that the MTD supports CFI. But it doesn't mention anything about TFFS socket layer. I called wind river. They tald me that I need to write our own TFFS socket layer for CFI flash. The document also mentioned that the jont CFI specification is addopted by Intel. However, I only see the general CFI driver package. The question is: how to fit the Intel general CFI driver into TFFS socket layer? Is there a easy way or different version of CFI to make TFFS socket layer? I havn't contact Intel yet, and I am going to. Would you mind share your more detailed information? Thank you very much. Jie wrote in message news:908k4j$dm5$1@nnrp1.deja.com... > In article <906jfn$do6$1@overload.lbl.gov>, > "timallen" wrote: > > >Has anyone out there written any low level driver software for the > > >Intel StrataFlash for integration into the Wind River True File > System? > > >Thanks in advance. > > > > This shouldn't be necessary since the Intel StrataFlash uses the > Common > > Flash Interface(CFI) and Scaleable Command Set (SCS) standards which > are > > supported by TrueFFS. > > > > Tim. > > -------------------- > Understood now, Thanks. > > Tim Allen Ltd > > Real Time Embedded Software Consultancy > > VxWorks > > > > > > > Sent via Deja.com http://www.deja.com/ > Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: re: How to calculate Task stack space? Date: Tue, 5 Dec 2000 15:08:18 +0000 (GMT) From: David Laight Organization: Lawrence Berkeley National Laboratory Message-ID: <200012051508.PAA15796@dsl-2.tadpole.co.uk> > > Years ago I wrote a program that parsed the object file listing (from a > > PASCAL compiler) which tracked the stack depth in each routine at which it > > called other routines. This let me calculate a maximum stack usage for the > > high level routines. Maximum stack use was often in obscure error > > paths...... > > > > Doing the same for vxWorks would be a lot harder due to the number of > > procedure variables and call tables. Parsing a running system - with a > > little manual help for some of the call tables would be enlightening! (and > > probably possible.) > VxWorks is actually easier. Not only does the browser show task usage, you > can call checkStack() or is it stackCheck() from the command line and see > the usage and high water marks. This is the answer to the wrong question! The browser and stackCheck() only show the amount of stack the task HAS USED. What you need to determine is the amount a task MIGHT USE. Unless you can guarantee your task has executed ALL its code paths (and all those in the vxWorks kernel it MIGHT go through) then the numbers returned by stackCheck() are almost useless. IF you have memory to throw at stacks you can give every process several kb spare and hope that is enough. If you are tight on memory - or trying to run a lot of tasks - you will typically leave tasks that CAN blow their allocated stack space. David - ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 --------------------------- Newsgroups: comp.os.vxworks Subject: re: Assembler constants. Date: Tue, 5 Dec 2000 15:22:21 +0000 (GMT) From: David Laight Organization: Lawrence Berkeley National Laboratory Message-ID: <200012051522.PAA15816@dsl-2.tadpole.co.uk> > I think this is consistent between assembler languages on different > architectures. For example, > ldr r0,=0x55555555 > str r0,[sp,#-4]! > What is the meaning of "=0x55555555" and "#-4". This is obviously ARM assembler! As you guessed, # just identifies the value following as a constant. The '=' is an ARM special. The ARM processor can only load 8 bit constants (rotated by an even number of bits). Generating a 32 bit constant that way would require 4 instructions - and be a real pain for a linker. The '=' is a short form for a PC relative load of a memory location (typically not far below the instruction) into which the compiler will place the constant. ie ldr r0,=0x55555555 is equivalent to: ldr r0,[pc,#lbl-.-8] ... lbl: .long 0x55555555 David PS: isn't EMACS for those who don't understand TECO? - maybe I shouldn't start editor flame wars in the vxWorks newsgroup. - ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Real Time Software Architecture Date: Tue, 05 Dec 2000 09:00:58 -0800 From: Robert Blumberg Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A2D1F4A.75A76D9@fake.com> References: <90ipk5$va8$1@nnrp1.deja.com> You can use the techniques of RMA to event driven and client/server architectures. dipalee@my-deja.com wrote: > > Hi, > For real time software architectures, I read something about the RMA > (Rate monolithic Architecture) but looks like this applies only to > periodic tasks. Then there are event-driven, and client-server > architectures. > Does anyone have pointers for more information on softwrae > architectures for real time systems? > > Thanks in advance > > Sent via Deja.com http://www.deja.com/ > Before you buy. - -- Robert Blumberg Pintle & Gudgeon Robert dot Blumberg at PictureIQ dot Com Embedded System Software Development --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Problem with absolute include path Tornado project environment Date: Tue, 05 Dec 2000 16:45:43 GMT From: phil_pls@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90j63l$a5n$1@nnrp1.deja.com> References: <90iqvq$id$1@nnrp1.deja.com> I think there are 2 different problems for compiling operation : you can use such -I ../../h/x.h but you have to declare thoses pathes in the VPATH marcro and run the dependancies tool. for editing operation : I have no workaround to be sure to open the "good" h file. it comes from a fuc... global variable however you can get it by open->browse ... In article <90iqvq$id$1@nnrp1.deja.com>, tobyhage@my-deja.com wrote: > We want to use relative inlude paths in the Tornado Project > environment. But it isn't possible to use relative include paths in the > Tornado project environment, eg: -I..\..\h\x.h > > Does somebody knows a workaround for this or are there more people with > the same problem? > > Thanx in advance. > > with kind regards, > > Toby Hage > > Sent via Deja.com http://www.deja.com/ > Before you buy. > Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: PCI interrupt - dosFsDevInit failed Date: 5 Dec 2000 18:02:15 +0100 From: xwasznio@lab.felk.cvut.cz (Waszniowski) Organization: Mailgate.ORG Server - http://www.Mailgate.ORG Message-ID: <3A2D1F94.7FF8165B@lab.felk.cvut.cz> Hi, can somebody help me with this problem? I use pcPentium and PCI input card. I use pciIntConnect or intConnect to connect this ISR to PCI interrupt. void axIntHandler (int ioBaseAddrIn) { /* Read Input register as a Interrupt Acknowledge */ /* Interrupt pin is active till first read input reg. */ inputReg= sysInWord (ioBaseAddrIn); logMsg ("Interrupt\n",0,0,0,0,0,0); semGive(axSemBInt); } But when interrupt is generated, the system is blocked and the message "dosFsDevInit failed" occure. Thanks Libor Waszniowski - -- Posted from lag.ensieg.inpg.fr [195.220.24.163] via Mailgate.ORG Server - http://www.Mailgate.ORG --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Real Time Software Architecture Date: Tue, 05 Dec 2000 09:12:02 -0800 From: Robert Blumberg Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A2D21E2.8E2C01E9@fake.com> References: <90ipk5$va8$1@nnrp1.deja.com> You can use the techniques of RMA to event driven and client/server architectures. dipalee@my-deja.com wrote: > > Hi, > For real time software architectures, I read something about the RMA > (Rate monolithic Architecture) but looks like this applies only to > periodic tasks. Then there are event-driven, and client-server > architectures. > Does anyone have pointers for more information on softwrae > architectures for real time systems? > > Thanks in advance > > Sent via Deja.com http://www.deja.com/ > Before you buy. - -- Robert Blumberg Pintle & Gudgeon Robert dot Blumberg at PictureIQ dot Com Embedded System Software Development --------------------------- Newsgroups: comp.os.vxworks Subject: Re: PCI interrupt - dosFsDevInit failed Date: Tue, 05 Dec 2000 19:02:31 +0100 From: Sebastien Fauris Organization: Club-Internet (France) Message-ID: <3A2D2DB7.DAAF3A8D@club-internet.fr> References: <3A2D1F94.7FF8165B@lab.felk.cvut.cz> Hi Libor, This sounds like a shared PCI interrupt problem. Check if your PCI card is the only one connected to the IRQ you are using... You should also use pciIntConnect instead of intConnect because pciIntConnect supports shared PCI IRQs on x86 targets. But the other driver plugged to the same IRQ must use it too (not always the case, even from Wind River drivers). Hope this helps, Sebastien. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Input and Output in Tornado Shell Date: Tue, 05 Dec 2000 11:15:40 -0800 From: Hugo Charbonneau Organization: Cisco Systems Inc. Message-ID: <3A2D3EDC.A1550248@cisco.com> References: <8t4veq$s8a$1@nnrp1.deja.com> Try: ioctl(STD_IN, FIOSETOPTIONS, ioctl(STDIN, FIOGETOPTIONS, 0) | OPT_ECHO); bryan wrote: > I am writing an application program and run inside Tornado Shell, > I used cin/cout function to input and output characters inside the > shell. For cout, all the characters is appeared in the shell. But > for the cin, I cannot see what I typed. When I pushed Enter, the > correct character is going to the program. Is it related with the > task proity or something else? > Please tell me how can I see the characters that I typed!!!! > > Sent via Deja.com http://www.deja.com/ > Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Help on programming my own target shell!! Date: Tue, 05 Dec 2000 11:38:28 -0800 From: Hugo Charbonneau Organization: Cisco Systems Inc. Message-ID: <3A2D4434.ECB24DA7@cisco.com> I need to create a new custom shell. I want both default target shell and my new shell to be accessible. My custom shell will handle connections by telnet on a separate port (ex. 2000). Does anybody have some references on writing a shell? Some ideas? Thanks, Hugo --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Problem with absolute include path Tornado project environment Date: Tue, 5 Dec 2000 20:22:23 -0000 From: "Graham Baxter" Organization: Graham Baxter (Software) Limited Message-ID: <90jj6f$ehc$1@neptunium.btinternet.com> References: <90iqvq$id$1@nnrp1.deja.com> Toby, Make the back slashes '\' forward slashes '/'. Backward slash has a special meaning (like in C) in makefiles. From your project window select the C/C++ options and add as many -I as you want but with forward slashes. I hope this helps. - -- Regards, Graham Baxter Freelance Software Engineer vxWorks and pSOS BSPs EMAIL: gbaxter@NOSPAMbcs.org.uk wrote in message news:90iqvq$id$1@nnrp1.deja.com... > We want to use relative inlude paths in the Tornado Project > environment. But it isn't possible to use relative include paths in the > Tornado project environment, eg: -I..\..\h\x.h > > Does somebody knows a workaround for this or are there more people with > the same problem? > > Thanx in advance. > > with kind regards, > > Toby Hage > > > Sent via Deja.com http://www.deja.com/ > Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Q: where to find information about the UGL of Wind River Date: Tue, 05 Dec 2000 20:31:28 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <8vvs3u$b5b$1@nnrp1.deja.com> Sender: bpringlemeir@DeadDuck >>>>> "zirzlaff" == zirzlaff writes: zirzlaff> Hi. I seek information about the UGL from Wind River. In zirzlaff> particular about th e API and related subjects. I have zirzlaff> Tornado 2.0 and would like to know where I could get this zirzlaff> information and which additional tool I had to buy for the zirzlaff> use of UGL. Try the following URL, "http://www.wrs.com/csdocs/product/ugl/" You must have a `WindSurf' membership to access this area. The specific PDF is located here, "http://www.wrs.com/csdocs/product/ugl/uglkit.pdf" hth, Bill - -- ANNOYED BY IRC SERVER. WEB PAGES. LEAVE BOAT. U-258. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: tffs and ads8260 Date: Tue, 5 Dec 2000 20:37:36 -0000 From: "Graham Baxter" Organization: Graham Baxter (Software) Limited Message-ID: <90jjs8$fih$1@neptunium.btinternet.com> References: It works OK for me on 8-bit wide AMD devices. It looks like one of your flash devices may be timing out. I don't know what data you wrote or how wide your flash devices are (8-bit, 16-bit), but it looks like a lot of the data, or one of the flash devices is still in the erased state. Check that you are not executing ANY code from flash itself. During a flash programming operation, the flash will just read, at any address, as status bits until the write is complete. A poll is done until the status bit returns the correct value. After the poll your flash is readable again. Also make sure that you are not writing too fast. I hope this helps. - -- Regards, Graham Baxter Freelance Software Engineer vxWorks and pSOS BSPs EMAIL: gbaxter@NOSPAMbcs.org.uk "Jim" wrote in message news:Y4UW5.15947$rr3.772427@news... > Hello all, > has anyone got the tffs file system to work on the ads8260 ? If anyone has > the file system running on this board it would be very reassuring to know it > is possible ... > > It looks like I am writting/formatting the file system to flash correctly > ... this can be seen by the below memory dump from the tornado shell ... > however I am still encountering errors. > > Cheers and Thanks, > Jim > > -> sysTffsFormat > .... > .... > WRITING TO BLOCK: 0xff800140 < CardAddress = 0x140, length = 4 > > value = -1 = 0xffffffff = udbinfo + 0xfff0abd7 > <~~~~~~~~~~~~~~~~~~~~~NOTE THE ERROR > > -> tffsShow > 0: socket=SIMM: type=0x89aa, unitSize=0x40000, mediaSize=0x400000 > value = 50 = 0x32 = '2' > > -> d 0xff800000 > ff800000: 1303 4349 5346 ff00 4654 4c31 3030 0001 *..CISF..FTL100..* > ff800010: 0100 0000 0000 0912 0000 1000 0058 3a00 *.............X:.* > ff800020: 0000 0400 3b00 00ff 0000 0000 0000 0000 *....;...........* > ff800030: 4400 0000 ffff ffff ffff ffff ffff ffff *D...............* > ff800040: ffff ffff 3000 0000 3000 0000 3000 0000 *....0...0...0...* > ff800050: 3000 0000 3000 0000 408a ffff 408c ffff *0...0...@...@...* > ff800060: 408e ffff 4090 ffff 4092 ffff 4094 ffff *@...@...@...@...* > ff800070: 4096 ffff 4098 ffff 409a ffff 409c ffff *@...@...@...@...* > ff800080: 409e ffff 40a0 ffff 40a2 ffff 40a4 ffff *@...@...@...@...* > ff800090: 40a6 ffff 40a8 ffff 40aa ffff 40ac ffff *@...@...@...@...* > ff8000a0: 40ae ffff 40b0 ffff 40b2 ffff 40b4 ffff *@...@...@...@...* > ff8000b0: 40b6 ffff 40b8 ffff 40ba ffff 40bc ffff *@...@...@...@...* > ff8000c0: 40be ffff 40c0 ffff 40c2 ffff 40c4 ffff *@...@...@...@...* > ff8000d0: 40c6 ffff 40c8 ffff 40ca ffff 40cc ffff *@...@...@...@...* > ff8000e0: 40ce ffff 40d0 ffff 40d2 ffff 40d4 ffff *@...@...@...@...* > ff8000f0: 40d6 ffff 40d8 ffff 40da ffff 40dc ffff *@...@...@...@...* > value = 21 = 0x15 > -> > > > > > > > > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Increase FTP Sessions Date: 5 Dec 2000 20:59:26 GMT From: Johan Borkhuis Organization: Lucent Technologies, Nieuwegein NL Message-ID: <90jkve$i1s$1@news1.xs4all.nl> References: <8vurhd$p8p$1@newshost.mot.com> <8FFA6422Bborkhuislucentcom@135.7.153.101> <3a2ce69d_1@nnrp1.news.uk.psi.net> Stephen Hill wrote: : But what is the size of ftpsMaxClients? There is no header (very naughty). : Is it an int? Check the linker list, it will probably show te size of it in there. I asume that the size will be an int, but you can examine the current value. It should be 4, and if I remember it right it was in four bytes. Groeten, Johan - -- o o o o o o o . . . ______________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@lucent.com | >(________|__|_[_________]_|___________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Sio vs. Serial Date: 5 Dec 2000 21:03:25 GMT From: Johan Borkhuis Organization: Lucent Technologies, Nieuwegein NL Message-ID: <90jl6t$i1s$2@news1.xs4all.nl> References: Stephan Esterhuizen wrote: : Can anybody tell me what the difference is between the src/drv/sio and : src/drv/serial directories are? : I am having trouble figuring out which one to use. : It seems as if the /sio dir has more up to date drivers... is that the : only difference? Windriver changed the stucture of the driver. They moved to the sio driver structure, and the "serial" drivers are not supported anymore. Check out the BSP develoeprs manual for more information (and probably the VxWorks users manual). Groeten, Johan - -- o o o o o o o . . . ______________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@lucent.com | >(________|__|_[_________]_|___________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Problem with absolute include path Tornado project environment Date: 5 Dec 2000 21:12:55 GMT From: Johan Borkhuis Organization: Lucent Technologies, Nieuwegein NL Message-ID: <90jlon$i1s$3@news1.xs4all.nl> References: <90iqvq$id$1@nnrp1.deja.com> tobyhage@my-deja.com wrote: : We want to use relative inlude paths in the Tornado Project : environment. But it isn't possible to use relative include paths in the : Tornado project environment, eg: -I..\..\h\x.h : Does somebody knows a workaround for this or are there more people with : the same problem? Take a look at the FAQ, in ch. 1.6 there is some information about make and include paths and also relative paths. Groeten, Johan - -- o o o o o o o . . . ______________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@lucent.com | >(________|__|_[_________]_|___________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: MCP750HA Date: Tue, 05 Dec 2000 21:19:51 GMT From: jayantadas@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90jm5e$p7f$1@nnrp1.deja.com> Hi, Does Windriver support BSP for Motorola MCP750HA? Thanks. Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: building with TrueFFS Date: Tue, 05 Dec 2000 21:28:01 GMT From: wgrigg@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90jmkq$pmm$1@nnrp1.deja.com> I have a 486 type PC104 with an M-Systems DiskOnChip. When I configure in ...peripherals/TrueFFS Flash File System and redo dependencies and rebuild I get the following errors: partialImage.o (.data+0x123c):E:\BF\Software\BlueFin\VxWorksSN\default\C:\Tornado\targe t\co nfig\pc486\sysLib.c: undefined reference to `mountFTL' partialImage.o (.data+0x1240):E:\BF\Software\BlueFin\VxWorksSN\default\C:\Tornado\targe t\co nfig\pc486\sysLib.c: undefined reference to `formatFTL' make: *** [vxWorks] Error 0x1 The BSP reference says the following: "This BSP supports the optional product TrueFFS for Tornado. To use TrueFFS install the product, add sysTffs.o to MACH_EXTRA in the Makefile and define INCLUDE_TFFS or INCLUDE_PCMCIA in config.h. " I have indeed editied the config.h to define INCLUDE_TFFS and added sysTffs.o to the build specification properties dialog box under the macros tab EXTRA_MODULES. Another way I tried was to NOT include sysTffs.o as described above, but to add it my project's source files. I got the same result. The two functions that are coming up unreferenced above are located in stdcomp.h. stdcomp.h is "included" in ttfsConfig.c. ttfsConfig.c appears in my project as an external dependency. The two functions are only compiled if INCLUDE_TL_FTL id defined in sysTffs.c. So...... I undefined INCLUDE_TL_FTL, and got an error free build. At this point I do not have a clue if this was the correct thing to do, or if the VxWorks image I have built has a snowball's chance of running. Is there anyone out there that has any experience with VxWorks/486/DiskOnChip that can offer me some friendly advice? TIA Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: re:stephan@pythion.com Date: Tue, 5 Dec 2000 21:31:56 -0000 From: "timallen" Organization: Lawrence Berkeley National Laboratory Message-ID: <90jpbk$6as$1@overload.lbl.gov> >Can anybody tell me what the difference is between the src/drv/sio and >src/drv/serial directories are? The sio drivers include polled mode functions which allow system mode debugging if the target server is connected via the serial ports. They effectively replaced the older serial drivers, which seem to be kept for backwards compatibility. Regards, Tim. - -------------------- Tim Allen Ltd Real Time Embedded Software Consultancy VxWorks --------------------------- Newsgroups: comp.os.vxworks Subject: Re: dynamically adding PCI space for vxworks Date: Tue, 05 Dec 2000 22:45:01 GMT From: "News libero" Organization: [Infostrada] Message-ID: References: <9094b5$ah3$1@overload.lbl.gov> Vxworks does not support hot swap ; also you need some other hw support than simple electrical HS. You need even to reallocate your full addressing space in order to map the just inserted board ( specially if you have some pci2pci transparent bridge ). ha scritto nel messaggio news:9094b5$ah3$1@overload.lbl.gov... > dynamically adding PCI space for vxworks > > > We are using a pentium based system using Vxworks where we need to > dynamically add PCI space as we detect PCI cards. I am aware for static > addition of PCI space we need to simplify modify the sysPhysMemDesc > structure in sysLib.c. This table tells the MMU in the chip which pages are > accessible.And then usrRoot which gets called in the context of kernel does > the memory initisations(usrMmuInit et al). > > But how do we implement addition of PCI space on a dynamic basis i.e. from > hotswap standpoint where the system has booted and vxworks kernel has been > launched and the application code started and now we plug in a PCI card > into the chasis/system and want to update the MMU with respect to this > newly plugged in card. > > > Any advice/pointers is appreciated. > > > regards, > raj > > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: building with TrueFFS Date: Tue, 05 Dec 2000 22:49:06 GMT From: "Andray Kaganovsky" Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: References: <90jmkq$pmm$1@nnrp1.deja.com> In article <90jmkq$pmm$1@nnrp1.deja.com>, wgrigg@my-deja.com wrote: > I have a 486 type PC104 with an M-Systems DiskOnChip. When I configure > in ...peripherals/TrueFFS Flash File System and redo dependencies and > rebuild I get the following errors: > > partialImage.o > (.data+0x123c):E:\BF\Software\BlueFin\VxWorksSN\default\C:\Tornado\targe > t\co > nfig\pc486\sysLib.c: undefined reference to `mountFTL' > partialImage.o > (.data+0x1240):E:\BF\Software\BlueFin\VxWorksSN\default\C:\Tornado\targe > t\co > nfig\pc486\sysLib.c: undefined reference to `formatFTL' > make: *** [vxWorks] Error 0x1 > > The BSP reference says the following: > > "This BSP supports the optional product TrueFFS for Tornado. To use > TrueFFS install the product, add sysTffs.o to MACH_EXTRA in the > Makefile and define INCLUDE_TFFS or INCLUDE_PCMCIA in config.h. " > > I have indeed editied the config.h to define INCLUDE_TFFS and added > sysTffs.o to the build specification properties dialog box under the > macros tab EXTRA_MODULES. > > Another way I tried was to NOT include sysTffs.o as described above, > but to add it my project's source files. I got the same result. The two > functions that are coming up unreferenced above are located in > stdcomp.h. stdcomp.h is "included" in ttfsConfig.c. ttfsConfig.c > appears in my project as an external dependency. The two functions are > only compiled if INCLUDE_TL_FTL id defined in sysTffs.c. > > So...... I undefined INCLUDE_TL_FTL, and got an error free build. At > this point I do not have a clue if this was the correct thing to do, or > if the VxWorks image I have built has a snowball's chance of running. > > Is there anyone out there that has any experience with > VxWorks/486/DiskOnChip that can offer me some friendly advice? > > TIA > > > Sent via Deja.com http://www.deja.com/ > Before you buy. [AndrayK]. Make sure your /sysTffs.c #defines INCLUDE_MTD_DOC2, INCLUDE_TL_NFTL and INCLUDE_SOCKET_DOC. This will include respectively DiskOnChip MTD, NFTL flash translation layer and DiskOnChip socket driver. Make sure that INCLUDE_TL_FTL is #undefined (i.e. FTL flash translation Layer is NOT included). If there is a file target/src/drv/tffs/sockets/doc2k-sysTffs.c in your installation, you may want to use this one as your /sysTffs.c You should also set #defines DOC2_SCAN_ADRS_0 and DOC2_SCAN_ADRS_1 to the DiskOnChip's memory address. By default these #defines are set to zero, which causes TrueFFS to scan the host address range 0xc8000-0xf0000 for DiskOnChip. This might corrupt register setup of some older memory-mapped cards, so you better set the #defines above to the exact address of the DiskOnChip. For instance, if DiskOnChip is installed at d000:0000, you do the following: #define DOC2_SCAN_ADRS_0 0xd0000 #define DOC2_SCAN_ADRS_1 DOC2_SCAN_ADRS_0 regards, Andray --------------------------- Newsgroups: comp.os.vxworks Subject: Re: dynamically adding PCI space for vxworks Date: Tue, 05 Dec 2000 22:50:26 GMT From: "Merlin" Organization: [Infostrada] Message-ID: References: <9094b5$ah3$1@overload.lbl.gov> <3A2A2327.105A99A8@club-internet.fr> Of course you have some page faults. "Sebastien Fauris" ha scritto nel messaggio news:3A2A2327.105A99A8@club-internet.fr... > Hi Raj, > > try using > > STATUS sysMmuMapAdd(void *address, UINT len, UINT initialStateMask, > UINT initialState); > > defined in sysLib.c. Let me know if it works for you. > I meet some problems trying to use it (I still have page faults while > accessing my PCI registers after I called sysMmuMapAdd). > > Regards, > > Sebastien. > > rajat.bandhu@conexant.com wrote: > > > dynamically adding PCI space for vxworks > > > > We are using a pentium based system using Vxworks where we need to > > dynamically add PCI space as we detect PCI cards. I am aware for static > > addition of PCI space we need to simplify modify the sysPhysMemDesc > > structure in sysLib.c. This table tells the MMU in the chip which pages are > > accessible.And then usrRoot which gets called in the context of kernel does > > the memory initisations(usrMmuInit et al). > > > > But how do we implement addition of PCI space on a dynamic basis i.e. from > > hotswap standpoint where the system has booted and vxworks kernel has been > > launched and the application code started and now we plug in a PCI card > > into the chasis/system and want to update the MMU with respect to this > > newly plugged in card. > > > > Any advice/pointers is appreciated. > > > > regards, > > raj > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks for Linux emulation Date: Tue, 5 Dec 2000 16:04:47 -0800 From: "Louis Meadows" Organization: SBC Internet Services Message-ID: References: <90hvri$cs6$1@nnrp1.deja.com> Byungsoo, Lineo has a package called GoldenGate that I would be happy to sell you. ;-) Louis Meadows ( rat125@email.sps.mot.com ) Metrowerks, A Motorola Company Western Region Major Account Sales 10121 Miller Ave, Suite 202 Cupertino, CA 95014 (831) 459 7673 direct (831) 459 9316 fax We develop, market and support CodeWarrior development solutions for desktop, embedded platforms and game consoles. Specifically, we ship tools for PlayStation2, Dolphin, Dreamcast, Palm, Macintosh, Windows, and a variety of embedded microprocessors. In September of 1999 Metrowerks, founded in 1985, became an independently operating subsidiary of Motorola's Semiconductor Products Sector in 1999. As the world's #1 producer of embedded processors, Motorola's Semiconductor Products Sector offers multiple DigitalDNA(tm) technologies which enable its customers to create "smart" products and new business opportunities in the networking and computing, wireless communications, transportation, and imaging and entertainment markets. CodeWarrior's cross-platform tools support assembly, C, C++, and Java programming languages. CodeWarrior is used by more than 200,000 developers in 80 countries to create platforms and applications for both desktop and embedded systems from a single, unique Integrated Development Environment. Visit www.metrowerks.com/embedded for more information on CodeWarrior for embedded! ============================================================================ ========== Inside Sales - Lee Exum : lexum@metrowerks.com (512) 997-4793 FAE - Jeff Barth : Jbarth@metrowerks.com (408) 343-3744 x202 "Speed is fine but accuracy is final" - Wyatt Earp wrote in message news:90hvri$cs6$1@nnrp1.deja.com... > I'm new to Vxworks... but familar to the embedded > system such as embedded linux... > I've designed the embedded linux for SA-1110... > > Anyway, I found the pSOS2Linux project > for pSOS emulation in Linux environment... > and I've known the FreeDOS and ReactOS (NT > clone)... > > Do anybody know similar project for VxWorks? > If it does not exist, I would like to start > new project for hobby... > > I hope this is regal and help anybody who wants > to know VxWorks internals. > > From Seoul... > > Byungsoo Jung > > > Sent via Deja.com http://www.deja.com/ > Before you buy. > --------------------------- Newsgroups: comp.os.vxworks,comp.os.lynx Subject: Evaluating Embedded App Development on vxWorks versus LYNX Date: Wed, 6 Dec 2000 01:15:15 GMT From: "William H. McCloskey" Organization: The Boeing Company Message-ID: <3A2D9323.BEDB4613@roses.bna.boeing.com> Sender: nntp@news.boeing.com (Boeing NNTP News Access) Hello ! I'm a very experienced vxWorks embedded system programmer. Don't have a clue about LYNX. We're about to do a big project and we need to present the pro's and con's about choosing either OS for our embedded, 1553 bus, VME backplane, etc. embedded project. I need to know as much as possible about LYNX-OS. If you can give me some URL's or tips concerning "whole" development picture of a time-critical embedded application under LYNX - especially contrasted against the same facilities in vxWorks -, it would be greatly appreciated. The things I like about vxWorks are: Open architecture extensions to target via WDB agent with TCL interface; very easy to debug app's via network; dynamic link editing when loading .o's; almost seemless integration into our UNIX development environment; all the GNU tools (emacs,rcs,gcc,nm,...) are what they are in vxWorks development environment. Probably missed some - Oh well. THX in advance. William H. McCloskey --------------------------- Newsgroups: comp.os.vxworks Subject: re: mcp750ha Date: Wed, 06 Dec 2000 10:14:08 +0800 From: "rtos E" Organization: Lawrence Berkeley National Laboratory Message-ID: <90k7dj$bkn$1@overload.lbl.gov> Hi jayantadas! We do the thing similar to yours. Windriver has the BSP for MCP750HA for sure. We've got it from wrs' local distributer this September. We use it well. Of course some note from the hardware vendor may be necessary also. HTH. Regards wwen - ------------------------------------------------------------------------------------------------------------------------ Date: Mon, 04 Dec 2000 16:00:29 GMT jayantadas wrote >Hi, > >I am using mcp750ha board. The BSP we have with the vxWorks is for >mcp750. Does anyone know if Windriver has the BSP for MCP750HA? Or we >have to get it from the hardware vendor? > >Any help will be appreciated. > >Thanks. _____________________________________________________________________________________ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com --------------------------- Newsgroups: comp.os.vxworks Subject: VxWorks AE Date: Wed, 06 Dec 2000 03:12:25 GMT From: dejauser000@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90kaqm$ahr$1@nnrp1.deja.com> Has anyone used vxWorks AE? How many new problems has Wind created with this version? Any comments on Tornado 3 would be welcome too. Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: How to calculate Task stack space? Date: Wed, 06 Dec 2000 03:42:40 GMT From: snaphook@southwesternbell.net (Bruce) Organization: SBC Internet Services Message-ID: <3a2db503.9383269@news.pacbell.net> References: <200012051508.PAA15796@dsl-2.tadpole.co.uk> In comp.os.vxworks David Laight wrote: >The browser and stackCheck() only show the amount of stack the task HAS USED. >What you need to determine is the amount a task MIGHT USE. > >Unless you can guarantee your task has executed ALL its code paths (and all >those in the vxWorks kernel it MIGHT go through) then the numbers returned by >stackCheck() are almost useless. I agree in theory but to say they are almost worthless is not fair. Anything that is going to require a tremendous jump in stack space that is not seen under "normal" use is certainly something that should be known to the programmer. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: building with TrueFFS Date: Tue, 05 Dec 2000 20:28:00 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A2DC050.1030004@flashcom.net> References: <90jmkq$pmm$1@nnrp1.deja.com> Reply-To: drdiags@flashcom.net The file tfllite.o which should have been part of your lib80486(TOOL)(ENV) , contains these two functions. You could look on your system for it. The fact that it is missing could mean that you have the -00 TDK release of your architecture. Ask your account manager for the -01 release of the Intel x86 CD. Here is a nm of the file in my 40486 obj directory: 00000fa0 t _initFTL 00001050 t _initTables 00000020 t _logical2Physical U _malloc 00000060 t _mapLogical 00001120 t _mapSector 000000b0 t _mapUnitHeader 00000ab0 t _markAllocMap U _memcmp U _memcpy U _memset 00001710 T _mountFTL wgrigg@my-deja.com wrote: > I have a 486 type PC104 with an M-Systems DiskOnChip. When I configure > in ...peripherals/TrueFFS Flash File System and redo dependencies and > rebuild I get the following errors: > > partialImage.o > (.data+0x123c):E:\BF\Software\BlueFin\VxWorksSN\default\C:\Tornado\targe > t\co > nfig\pc486\sysLib.c: undefined reference to `mountFTL' > partialImage.o > (.data+0x1240):E:\BF\Software\BlueFin\VxWorksSN\default\C:\Tornado\targe > t\co > nfig\pc486\sysLib.c: undefined reference to `formatFTL' > make: *** [vxWorks] Error 0x1 > --------------------------- Newsgroups: comp.os.vxworks Subject: [elfHex] option Date: Wed, 06 Dec 2000 04:35:39 GMT From: "sukyum" Organization: LGIC Message-ID: Reply-To: "sukyum" Hi vxWorkers... Could you tell me about "elfHex" options please? uasge : elfHex [-a ] [-l] [-v] [-p ] [-s ] file --------------------------- Newsgroups: comp.os.vxworks Subject: Need MVME1600-001 Date: Tue, 5 Dec 2000 23:14:45 -0800 From: "David" Organization: MindSpring Enterprises Message-ID: <90klh2$8m6$1@nntp9.atl.mindspring.net> I need a couple of MVME1600-001 (aka MVME1604-003 or MVME1604-004). These would be 100Mhz 32MB or 64MB PPC board. I don't require the vxworks. Please reply if you have any. Marty tradesource@usa.net --------------------------- Newsgroups: comp.os.vxworks Subject: re: How to calculate Task stack space? Date: Wed, 06 Dec 2000 14:34:52 +0900 From: "Girish V. Gulawani" Organization: Lawrence Berkeley National Laboratory Message-ID: <90klfj$emj$1@overload.lbl.gov> reply is below - > Newsgroups: comp.os.vxworks > Subject: How to calculate Task stack space? > Date: Thu, 30 Nov 2000 06:01:40 -0800 > From: "Deja User" > Organization: Lawrence Berkeley National Laboratory > Message-ID: <200011301401.GAA03645@mail22.bigmailbox.com> > > Tornado Vxworks > > Hi All, > > Can any one suggest, > > 1.How to calculate accurately the Task stack space?. > > 2.Do we have any "formula"? or technique to calculate? > > 3.What is the typical value normally used? Green Hills toolchain has an utility gstack. i've tried with small code (c & assembly mix), not entire vxworks image. hth. --------------------------- Newsgroups: comp.os.vxworks Subject: Including Driver in VxWorks Date: 6 Dec 2000 05:45:59 -0000 From: "Ramesh Subramanian" Organization: Lawrence Berkeley National Laboratory Message-ID: <90klfk$emk$1@overload.lbl.gov> Hi VxWorkers, I have a basic doubt about adding a driver in VxWorks. I am using tornado2.0. Whether ata driver automatically gets initialized and installed if I include the ATA component from project facility. Or is there any procedure to add ata driver. Thanks in advance Ramesh _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com Participate in crazy auctions at http://auctions.rediff.com/auctions/ --------------------------- Newsgroups: comp.os.vxworks Subject: StrongARM optimization problem Date: Wed, 06 Dec 2000 06:10:25 GMT From: shankar_swaminathan@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90kl8f$i8j$1@nnrp1.deja.com> Hi, I am working on a tornado 2.0 (vxworks 5.4) development environment, developing an embedded software for the StrongARM processor. When I enable compiler optimization (-03), surprisingly the system slows down in throughput and also behaves anomalously. However, everything works fine if I use no optimization (-O0). I am not able to understand this strange behavior. I would greatly appreciate if you could throw some light on this problem. Note: both the flags -fvolatile and -mapcs-32 are defined. Thanks. - - Shankar Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: MCP750HA Date: Wed, 06 Dec 2000 07:17:01 GMT From: ellin_lin@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90kp5c$klq$1@nnrp1.deja.com> References: <90jm5e$p7f$1@nnrp1.deja.com> In article <90jm5e$p7f$1@nnrp1.deja.com>, jayantadas@my-deja.com wrote: > Hi, > > Does Windriver support BSP for Motorola MCP750HA? > > Thanks. > > Sent via Deja.com http://www.deja.com/ > Before you buy. > Yes, WindRiver has a BSP for MCP750HA and you can get it from the distributor, but it is not and will not be a release version because VxWorks AE will be released soon. However, it works well. ellin_lin Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: R: Including Driver in VxWorks Date: Wed, 6 Dec 2000 09:21:03 +0100 From: "Marco Penso" Organization: Lawrence Berkeley National Laboratory Message-ID: <90l016$hjp$1@overload.lbl.gov> > Hi VxWorkers, Hi, > I have a basic doubt about adding a driver in VxWorks. I am using tornado2.0. Whether ata driver automatically gets initialized and installed if I include the ATA component from project facility. > Or is there any procedure to add ata driver. > After you include the ATA component from project facility, you must add the following line to your code (I added it in the usrAppInit.c ): usrAtaConfig (0,0,"/ata0/"); Where the contents of the "" ( /ata0/ in the case above) is the name you want to assign to the ATA device > Thanks in advance > Ramesh > Hoping this will help you. Bye Marco. --------------------------- Newsgroups: comp.os.vxworks Subject: re: sio v serial Date: Wed, 6 Dec 2000 10:07:35 +0000 (GMT) From: David Laight Organization: Lawrence Berkeley National Laboratory Message-ID: <200012061007.KAA16950@dsl-2.tadpole.co.uk> > >Can anybody tell me what the difference is between the src/drv/sio and > >src/drv/serial directories are? > > The sio drivers include polled mode functions which allow system mode > debugging if the target server is connected via the serial ports. They > effectively replaced the older serial drivers, which seem to be kept for > backwards compatibility. > The console has to be an SIO driver. Console output is supported before the io system is initialised. However you may want to use a 'serial' driver for other devices. The SIO semantics mean that your driver code is not told about open and close! On the other hand you have to write less code for an SIO driver - but that means using more vxWorks code ;-) David - ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Wed Dec 6 07:03:14 2000 From: "Deja User" Date: Wed Dec 6 07:03:17 PST 2000 Subject: Reinstall problem in TII VxWorks Tornado Hi All, Target = VxSim Host = WinNT Any body have come across the following problem. 1.I had T-II for Power PC licensed version on my PC (which has "VxSim" Lite - without N/W support). 2.I have uninstalled it and installed "T-II" prototyper(VxSim Full) with Network support, which is downloaded from WRS site. 3.After sucessfully installed, While launching "Target server", it gives "ckserve.exe" is not found. Can any one throw light on this. Thanks in advance. Regards, Emblov ------------------------------------------------------------ --== Sent via Deja.com http://www.deja.com/ ==-- Before you buy. From vxwexplo-errs@csg.lbl.gov Wed Dec 6 07:37:13 2000 From: John Moore Date: Wed Dec 6 07:37:15 PST 2000 Subject: Re: sio v serial > Submitted-by: David Laight > > > >Can anybody tell me what the difference is between the src/drv/sio and > > >src/drv/serial directories are? > > > > The sio drivers include polled mode functions which allow system mode > > debugging if the target server is connected via the serial ports. They > > effectively replaced the older serial drivers, which seem to be kept for > > backwards compatibility. > > > > The console has to be an SIO driver. Console output is supported before the io > system is initialised. > > However you may want to use a 'serial' driver for other devices. The SIO > semantics mean that your driver code is not told about open and close! > > On the other hand you have to write less code for an SIO driver - but that means > using more vxWorks code ;-) > > David In vxWorks does the console only have to be an SIO driver if you are going to be using system mode ? Both drivers (tyCo or tty) get installed in the same place after iosInit, and then io is directed to the fd that came back from the open call. How do you use the console output prior to this ? Thanks, jmoore From vxwexplo-errs@csg.lbl.gov Wed Dec 6 09:07:04 2000 From: "Deja User" Date: Wed Dec 6 09:07:06 PST 2000 Subject: Free SNMP port to VxSim VxWorks Tornado Hi All, Any one knows, where to get free SNMP port to VxSim full. If any one has idea, how to port it, can you share your idea / exp. Thanks a lot in advance. Regards, Emblov. ------------------------------------------------------------ --== Sent via Deja.com http://www.deja.com/ ==-- Before you buy. From vxwexplo-errs@csg.lbl.gov Wed Dec 6 11:23:41 2000 From: "Sinn, Larry" Date: Wed Dec 6 11:23:44 PST 2000 Subject: Re: Fastest MCP750 = ? > vtail@hotmail.com Wrote: > > Good morning, all ... > > We're using the Motorola MCP-750 Compact-PCI Power PC board, I believe > the clock speed is 366 MHz (might be 333; I don't have the literature > in front of me). > It has proven to be a little under-powered for our application. > Do any of you know of a faster drop-in replacement? What is the > fastest PowerPC currently available with VxWorks support and > compactPCI? > Thanks... Try Force (www.forcecomputers.com), they have a 450MHz 750. Larry. Larry Sinn KLA-Tencor MS I-1009 408 875 0247 voice 160 Rio Robles 408 875 6179 fax San Jose, Ca 95134-1809 larry.sinn@kla-tencor.com From vxwexplo-errs@csg.lbl.gov Wed Dec 6 12:29:33 2000 From: "David Laight" Date: Wed Dec 6 12:29:35 PST 2000 Subject: Fw: StrongARM optimization problem My guess is that -O3 enables some 'agressive' optimisations (you need to read the gcc documentation to see exactly which). -O2 is normally safe. The 'best' optimisations come from turning OFF -g. David > I am working on a tornado 2.0 (vxworks 5.4) development environment, > developing an embedded software for the StrongARM processor. > > When I enable compiler optimization (-03), surprisingly the system slows > down in throughput and also behaves anomalously. However, everything works > fine if I use no optimization (-O0). I am not able to understand this strange > behavior. I would greatly appreciate if you could throw some light on this > problem. > > Note: both the flags -fvolatile and -mapcs-32 are defined. From vxwexplo-errs@csg.lbl.gov Wed Dec 6 20:26:25 2000 From: "Ramesh Subramanian" Date: Wed Dec 6 20:26:27 PST 2000 Subject: ATA support for PMPPC BSP hi, I am using artesyn pm/ppc BSP. I am trying to add ATA support to my BSP. My BSP code (config.h) does not have either #undef INCLUDE_ATA or #define INCLUDE_ATA. I tried adding the component through the Tornado2 project facility and given a build. But it is giving some linker errors. The following is the error message... ---------------------------------------------------------- dataSegPad.o partialImage.o ctdt.o -o vxWorks partialImage.o: In function `usrAtaInit': /dump/ccsp/tornado2.0/target/config/comps/src/usrAta.c:211: undefined reference to `ataResources' /dump/ccsp/tornado2.0/target/config/comps/src/usrAta.c:211: undefined reference to `ataResources' partialImage.o: In function `usrSerialInit': /dump/ccsp/tornado2.0/target/config/comps/src/usrSerial.c:70: undefined reference to `sysSerialChanGet' partialImage.o: In function `ataDrv': partialImage.o(.text+0x279ac): undefined reference to `ataResources' partialImage.o(.text+0x279b0): undefined reference to `ataResources' partialImage.o(.text+0x27c3c): undefined reference to `sysIntEnablePIC' partialImage.o(.text+0x27cf8): undefined reference to `ataTypes' partialImage.o(.text+0x27cfc): undefined reference to `ataTypes' partialImage.o: In function `ataDevCreate': partialImage.o(.text+0x286ac): undefined reference to `ataTypes' partialImage.o(.text+0x286b0): undefined reference to `ataTypes' partialImage.o: In function `ataRawio': partialImage.o(.text+0x28920): undefined reference to `ataTypes' partialImage.o(.text+0x28924): more undefined references to `ataTypes' follow partialImage.o: In function `ataIntr': partialImage.o(.text+0x29310): undefined reference to `sysInByte' partialImage.o: In function `ataWait': partialImage.o(.text+0x2944c): undefined reference to `sysInByte' partialImage.o(.text+0x294a0): undefined reference to `sysInByte' partialImage.o(.text+0x29538): undefined reference to `sysInByte' partialImage.o(.text+0x29578): undefined reference to `sysInByte' partialImage.o(.text+0x295b8): more undefined references to `sysInByte' follow partialImage.o: In function `ataInit': partialImage.o(.text+0x29634): undefined reference to `sysOutByte' partialImage.o(.text+0x29658): undefined reference to `sysDelay' partialImage.o(.text+0x29684): undefined reference to `sysOutByte' partialImage.o(.text+0x296a8): undefined reference to `sysDelay' partialImage.o(.text+0x29714): undefined reference to `sysInByte' partialImage.o(.text+0x29768): undefined reference to `sysOutByte' partialImage.o(.text+0x2978c): undefined reference to `sysDelay' partialImage.o(.text+0x297b8): undefined reference to `sysInByte' partialImage.o: In function `ataCmd': partialImage.o(.text+0x298e4): undefined reference to `ataTypes' partialImage.o(.text+0x298e8): undefined reference to `ataTypes' partialImage.o(.text+0x299c4): undefined reference to `sysOutByte' partialImage.o(.text+0x299e8): undefined reference to `sysOutByte' partialImage.o(.text+0x29a0c): undefined reference to `sysOutByte' partialImage.o(.text+0x29a28): undefined reference to `sysOutByte' partialImage.o(.text+0x29a70): undefined reference to `sysOutByte' partialImage.o(.text+0x29a9c): more undefined references to `sysOutByte' follow partialImage.o: In function `ataPread': partialImage.o(.text+0x29e3c): undefined reference to `sysInWordStringRev' partialImage.o: In function `ataRW': partialImage.o(.text+0x29ef0): undefined reference to `ataTypes' partialImage.o(.text+0x29ef4): undefined reference to `ataTypes' partialImage.o(.text+0x29f44): undefined reference to `sysOutByte' partialImage.o(.text+0x29f5c): undefined reference to `sysOutByte' partialImage.o(.text+0x29f74): undefined reference to `sysOutByte' partialImage.o(.text+0x29f8c): undefined reference to `sysOutByte' partialImage.o(.text+0x29fac): undefined reference to `sysOutByte' partialImage.o(.text+0x2a004): more undefined references to `sysOutByte' follow partialImage.o: In function `ataRW': partialImage.o(.text+0x2a1b4): undefined reference to `sysOutWordString' partialImage.o(.text+0x2a1d8): undefined reference to `sysOutLongString' partialImage.o(.text+0x2a2ac): undefined reference to `sysOutByte' partialImage.o(.text+0x2a2c8): undefined reference to `sysOutByte' partialImage.o(.text+0x2a3e8): undefined reference to `sysInWordString' partialImage.o(.text+0x2a40c): undefined reference to `sysInLongString' collect2: ld returned 1 exit status make: *** [vxWorks] Error 1 --------------------------------------------------------- In this case, how can I add ATA component. My purpose of adding ATA component is to access compact flash in my board. Kindly help me in this regard With Regards Ramesh _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com Participate in crazy auctions at http://auctions.rediff.com/auctions/ From vxwexplo-errs@csg.lbl.gov Wed Dec 6 22:56:44 2000 From: "Rama Lingeswar Reddy" Date: Wed Dec 6 22:56:46 PST 2000 Subject: what are differences between pSOS and VxWorks?? From vxwexplo-errs@csg.lbl.gov Thu Dec 7 04:03:10 2000 From: Vxworks Exploder Date: Thu Dec 7 04:03:13 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Thu Dec 7 04:03:06 PST 2000 Subject: Re: How to calculate Task stack space? Subject: Date & Time Subject: Reinstall problem in TII Subject: Re: tffs and ads8260 Subject: re: sio v serial Subject: Re: VxWorks AE Subject: Re: Date & Time Subject: Free SNMP port to VxSim Subject: Script Files From Boot Rom Subject: Re: [elfHex] option Subject: Problem with ipattach() function Subject: Re: building with TrueFFS Subject: re: Fastest MCP750 = ? Subject: Re: sio v serial Subject: Re: Evaluating Embedded App Development on vxWorks versus LYNX Subject: Do anybody works or heard about OSE rtos Subject: Fw: StrongARM optimization problem Subject: Tornado for Managed Switch Users Subject: Telecom Software 'Start-up' Equity Opportunities / RTOS Subject: Re: Do anybody works or heard about OSE rtos Subject: help on S_iosLib_INVALID_FILE_DESCRIPTOR Subject: Problems redirecting console input. Subject: HOT JOBS VxWorks S/W Developers Needed - Ottawa Subject: Re: Fw: StrongARM optimization problem Subject: Re: Problems redirecting console input. Subject: Re: Driver for Ethernet on SCC Subject: ATA support for PMPPC BSP Subject: DHCP lease renewal at run time Subject: dhcp lease value Subject: Re: Touch Screen Calibration Subject: Re: dhcp lease value Subject: GNU Compiler Update for Pentium Subject: ping to 10.10.10.1 Subject: How can I get a Gateway IP? Subject: multicast app over multiple interfaces. ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Re: How to calculate Task stack space? Date: Wed, 6 Dec 2000 13:24:04 -0000 From: "Dave Korn" Organization: Lumber Cartel (tinlc) Members #2234-2237 (owing to browser refresh) Message-ID: <83rX5.611$4o3.510590@newsr1.u-net.net> References: <200011301401.GAA03645@mail22.bigmailbox.com> <90gtk7$nfm$1@neptunium.btinternet.com> David Laight wrote in message <90gtk7$nfm$1@neptunium.btinternet.com>... >Years ago I wrote a program that parsed the object file listing (from a >PASCAL compiler) which tracked the stack depth in each routine at which it >called other routines. This let me calculate a maximum stack usage for the >high level routines. Maximum stack use was often in obscure error >paths...... Hey, could you do me a favour, and run it over a PASCAL conversion of this code please? int do_test(int, int); int main(void) { int x, n; n = scanf(" %d", x); if (n) printf("The answer is %d\n", do_test(x, 0)); return EXIT_SUCCESS; } int do_test(int n, int d) { if (n == 1) return d; n = (n & 1) ? 3 * n + 1 : n / 2; return do_test(n, d + 1); } ;-) DaveK - -- They laughed at Galileo. They laughed at Copernicus. They laughed at Columbus. But remember, they also laughed at Bozo the Clown. --------------------------- Newsgroups: comp.os.vxworks Subject: Date & Time Date: Wed, 06 Dec 2000 14:52:59 GMT From: eyalgrossman2@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90ljs8$932$1@nnrp1.deja.com> Hi How do I get the date & time from the VxWorks OS? All I found is tickSet() & tickGet(). I don't want to build the routines myself. Isn't there a system routine that returns to me the Date & Time, after first being initialized? The OS runs on an embedded MPC850 Thank you Eyal Grossman RT SW Engineer Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Reinstall problem in TII Date: Wed, 6 Dec 2000 07:02:41 -0800 From: "Deja User" Organization: Lawrence Berkeley National Laboratory Message-ID: <200012061502.HAA08264@mail18.bigmailbox.com> VxWorks Tornado Hi All, Target = VxSim Host = WinNT Any body have come across the following problem. 1.I had T-II for Power PC licensed version on my PC (which has "VxSim" Lite - without N/W support). 2.I have uninstalled it and installed "T-II" prototyper(VxSim Full) with Network support, which is downloaded from WRS site. 3.After sucessfully installed, While launching "Target server", it gives "ckserve.exe" is not found. Can any one throw light on this. Thanks in advance. Regards, Emblov - ------------------------------------------------------------ - --== Sent via Deja.com http://www.deja.com/ ==-- Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: tffs and ads8260 Date: Wed, 06 Dec 2000 16:05:47 GMT From: "Jim" Organization: Magma Communications Ltd. Message-ID: References: <90jjs8$fih$1@neptunium.btinternet.com> Got it to work yesterday in the evening ;-) SIMM on my board is based on sharp parts ( 2048 x 8 )... only problem I am having is that writes seem to be taking a real long time to occur Thanks for your advice anyways ... Cheers, Jim "Graham Baxter" wrote in message news:90jjs8$fih$1@neptunium.btinternet.com... > It works OK for me on 8-bit wide AMD devices. > > It looks like one of your flash devices may be timing out. I don't know what > data you wrote or how wide your flash devices are (8-bit, 16-bit), but it > looks like a lot of the data, or one of the flash devices is still in the > erased state. > > Check that you are not executing ANY code from flash itself. During a flash > programming operation, the flash will just read, at any address, as status > bits until the write is complete. A poll is done until the status bit > returns the correct value. After the poll your flash is readable again. > > Also make sure that you are not writing too fast. > > > I hope this helps. > > -- > > Regards, > > Graham Baxter > Freelance Software Engineer > vxWorks and pSOS BSPs > EMAIL: gbaxter@NOSPAMbcs.org.uk > > > "Jim" wrote in message > news:Y4UW5.15947$rr3.772427@news... > > Hello all, > > has anyone got the tffs file system to work on the ads8260 ? If anyone has > > the file system running on this board it would be very reassuring to know > it > > is possible ... > > > > It looks like I am writting/formatting the file system to flash correctly > > ... this can be seen by the below memory dump from the tornado shell ... > > however I am still encountering errors. > > > > Cheers and Thanks, > > Jim > > > > -> sysTffsFormat > > .... > > .... > > WRITING TO BLOCK: 0xff800140 < CardAddress = 0x140, length = 4 > > > value = -1 = 0xffffffff = udbinfo + 0xfff0abd7 > > <~~~~~~~~~~~~~~~~~~~~~NOTE THE ERROR > > > > -> tffsShow > > 0: socket=SIMM: type=0x89aa, unitSize=0x40000, mediaSize=0x400000 > > value = 50 = 0x32 = '2' > > > > -> d 0xff800000 > > ff800000: 1303 4349 5346 ff00 4654 4c31 3030 0001 > *..CISF..FTL100..* > > ff800010: 0100 0000 0000 0912 0000 1000 0058 3a00 > *.............X:.* > > ff800020: 0000 0400 3b00 00ff 0000 0000 0000 0000 > *....;...........* > > ff800030: 4400 0000 ffff ffff ffff ffff ffff ffff > *D...............* > > ff800040: ffff ffff 3000 0000 3000 0000 3000 0000 > *....0...0...0...* > > ff800050: 3000 0000 3000 0000 408a ffff 408c ffff > *0...0...@...@...* > > ff800060: 408e ffff 4090 ffff 4092 ffff 4094 ffff > *@...@...@...@...* > > ff800070: 4096 ffff 4098 ffff 409a ffff 409c ffff > *@...@...@...@...* > > ff800080: 409e ffff 40a0 ffff 40a2 ffff 40a4 ffff > *@...@...@...@...* > > ff800090: 40a6 ffff 40a8 ffff 40aa ffff 40ac ffff > *@...@...@...@...* > > ff8000a0: 40ae ffff 40b0 ffff 40b2 ffff 40b4 ffff > *@...@...@...@...* > > ff8000b0: 40b6 ffff 40b8 ffff 40ba ffff 40bc ffff > *@...@...@...@...* > > ff8000c0: 40be ffff 40c0 ffff 40c2 ffff 40c4 ffff > *@...@...@...@...* > > ff8000d0: 40c6 ffff 40c8 ffff 40ca ffff 40cc ffff > *@...@...@...@...* > > ff8000e0: 40ce ffff 40d0 ffff 40d2 ffff 40d4 ffff > *@...@...@...@...* > > ff8000f0: 40d6 ffff 40d8 ffff 40da ffff 40dc ffff > *@...@...@...@...* > > value = 21 = 0x15 > > -> > > > > > > > > > > > > > > > > > > --------------------------- Newsgroups: comp.os.vxworks Subject: re: sio v serial Date: Wed, 06 Dec 2000 10:41:29 -0500 From: John Moore Organization: Lawrence Berkeley National Laboratory Message-ID: <90lokj$qqq$1@overload.lbl.gov> > Submitted-by: David Laight > > > >Can anybody tell me what the difference is between the src/drv/sio and > > >src/drv/serial directories are? > > > > The sio drivers include polled mode functions which allow system mode > > debugging if the target server is connected via the serial ports. They > > effectively replaced the older serial drivers, which seem to be kept for > > backwards compatibility. > > > > The console has to be an SIO driver. Console output is supported before the io > system is initialised. > > However you may want to use a 'serial' driver for other devices. The SIO > semantics mean that your driver code is not told about open and close! > > On the other hand you have to write less code for an SIO driver - but that means > using more vxWorks code ;-) > > David In vxWorks does the console only have to be an SIO driver if you are going to be using system mode ? Both drivers (tyCo or tty) get installed in the same place after iosInit, and then io is directed to the fd that came back from the open call. How do you use the console output prior to this ? Thanks, jmoore --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks AE Date: Wed, 06 Dec 2000 10:28:48 -0600 From: Luc Message-ID: <3A2E6940.767DAD23@qwest.net> References: <90kaqm$ahr$1@nnrp1.deja.com> Why would you buy vxWorks AE when you can get a far
superior OS (linux) for free with many more tools and
a shell (off your choise) that you can actually use.
The support off the linux community is far superior to the
pittifull support you get from $winfRiver$.
 

dejauser000@my-deja.com wrote:

Has anyone used vxWorks AE? How many new problems
has Wind created with this version? Any comments
on Tornado 3 would be welcome too.

Sent via Deja.com http://www.deja.com/
Before you buy.

--------------------------- Newsgroups: comp.os.vxworks Subject: Re: Date & Time Date: Wed, 06 Dec 2000 08:51:41 -0800 From: Robert Blumberg Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A2E6E9D.9077AC96@fake.com> References: <90ljs8$932$1@nnrp1.deja.com> Check out the ansiTime library (time.h). eyalgrossman2@my-deja.com wrote: > > Hi > How do I get the date & time from the VxWorks OS? > All I found is tickSet() & tickGet(). > I don't want to build the routines myself. > > Isn't there a system routine that returns to me the Date & Time, after > first being initialized? > > The OS runs on an embedded MPC850 > > Thank you > > Eyal Grossman > RT SW Engineer > > Sent via Deja.com http://www.deja.com/ > Before you buy. - -- Robert Blumberg Pintle & Gudgeon Robert dot Blumberg at PictureIQ dot Com Embedded System Software Development --------------------------- Newsgroups: comp.os.vxworks Subject: Free SNMP port to VxSim Date: Wed, 6 Dec 2000 09:06:30 -0800 From: "Deja User" Organization: Lawrence Berkeley National Laboratory Message-ID: <200012061706.JAA21046@mail16.bigmailbox.com> VxWorks Tornado Hi All, Any one knows, where to get free SNMP port to VxSim full. If any one has idea, how to port it, can you share your idea / exp. Thanks a lot in advance. Regards, Emblov. - ------------------------------------------------------------ - --== Sent via Deja.com http://www.deja.com/ ==-- Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Script Files From Boot Rom Date: Wed, 6 Dec 2000 17:46:53 -0000 From: "james kinsella" Organization: ntlworld News Service Message-ID: Hi I have developed my system using tornado 2 and using a target server I have debugged the program on the target PPC board. What I am trying to do now is to get the boot rom to execute the script file I had been using in the tornado shell during developement. I have modified the boot rom and it processes my script file and downloads, via the network the three object files and runs them. Each of the object files needs to output to the system terminal but the output is not being redirected to it. Do I need to modify the batch file in light of it now running in a target shell ? how do I get my three object files to run and out put to the terminal ? Thanks For Any Help James Kinsella --------------------------- Newsgroups: comp.os.vxworks Subject: Re: [elfHex] option Date: 6 Dec 2000 12:58:27 -0500 From: vanbaren@falcon.si.com (vanbaren_gerald) Organization: Smiths Industries Message-ID: <3a2e7e43$1@news.si.com> References: "sukyum" writes: >Hi vxWorkers... >Could you tell me about "elfHex" options please? >uasge : elfHex [-a ] [-l] [-v] [-p ] [-s ] file Use the Help/Manuals Index and look in the index under elfHex. Is this sufficent info or do you have questions on a specific parameter? gvb elfHex NAME elfHex - convert a ELF format object file into Motorola hex records SYNOPSIS elfHex [-a adrs] [-l] [-v] [-p PC] [-s SP] file DESCRIPTION This program generates a Motorola hex format (S-record) file from a ELF format object module. Normally, the entry address in the object module is used as the starting address of the output module. However, if the - -a flag is used, then adrs is used as the starting address. Normally S1 records are generated for addresses less than 64K; S2 records are generated for addresses greater than 64K and less the 16M; and S3 records are generated for addresses greater than 16M. OPTIONS - -l generate only S2 records. - -a adrs use adrs as the entry address, rather than the address in the object module. - -v output vector information at address 0. - -p PC use PC as the PC in the vector (meaningless without -v). - -s SP use SP as the SP in the vector (meaningless without -v). - -- +---------------------------------------------------------------------------+ | Jerry Van Baren / vanbaren_gerald@si.com / Grand Rapids Mi / 616-241-7973 | | My employer is a company. Companies are artifacts of a legal system. | |________________Artifacts are incapable of having opinions.________________| --------------------------- Newsgroups: comp.os.vxworks Subject: Problem with ipattach() function Date: Wed, 6 Dec 2000 19:10:27 +0100 From: "Joseph FAURE" Organization: Guest of France Telecom Oleane's newsreading service Message-ID: <90lvej$69t$1@s1.read.news.oleane.net> I'm trying to port VxWorks with its TCPIP stack on a new board wih : - IBM Power PC 405 GP - two Ethernet controllers AMD 79C973 I use the standard END driver for this Ethernet controller form AMD. I declare the two Ethernet ports in the initialisaton phase ("en0" and "en1") When I call the ipattach(0, "en"), the function return ERROR. Can somebody help me about this error ? Thank you in advance. Jo. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: building with TrueFFS Date: Wed, 06 Dec 2000 19:03:36 GMT From: wgrigg@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90m2i3$mjm$1@nnrp1.deja.com> References: <90jmkq$pmm$1@nnrp1.deja.com> Thank you both very much. It does turn out that I needed to copy "target/src/drv/tffs/sockets/doc2k-sysTffs.c" to my BSP directory and include it in my project, instead of the sysTffs.c which was already there. It does, in fact, say this in the documentation in "TrueFFS for Tornado Programmer's Guide - Getting Started". I just did not understand what I was reading at the time. In article , "Andray Kaganovsky" wrote: > In article <90jmkq$pmm$1@nnrp1.deja.com>, wgrigg@my-deja.com wrote: > > I have a 486 type PC104 with an M-Systems DiskOnChip. When I configure > > in ...peripherals/TrueFFS Flash File System and redo dependencies and > > rebuild I get the following errors: > > > > partialImage.o > > (.data+0x123c):E:\BF\Software\BlueFin\VxWorksSN\default\C:\Tornado\targe > > t\co > > nfig\pc486\sysLib.c: undefined reference to `mountFTL' > > partialImage.o > > (.data+0x1240):E:\BF\Software\BlueFin\VxWorksSN\default\C:\Tornado\targe > > t\co > > nfig\pc486\sysLib.c: undefined reference to `formatFTL' > > make: *** [vxWorks] Error 0x1 > > > > The BSP reference says the following: > > > > "This BSP supports the optional product TrueFFS for Tornado. To use > > TrueFFS install the product, add sysTffs.o to MACH_EXTRA in the > > Makefile and define INCLUDE_TFFS or INCLUDE_PCMCIA in config.h. " > > > > I have indeed editied the config.h to define INCLUDE_TFFS and added > > sysTffs.o to the build specification properties dialog box under the > > macros tab EXTRA_MODULES. > > > > Another way I tried was to NOT include sysTffs.o as described above, > > but to add it my project's source files. I got the same result. The two > > functions that are coming up unreferenced above are located in > > stdcomp.h. stdcomp.h is "included" in ttfsConfig.c. ttfsConfig.c > > appears in my project as an external dependency. The two functions are > > only compiled if INCLUDE_TL_FTL id defined in sysTffs.c. > > > > So...... I undefined INCLUDE_TL_FTL, and got an error free build. At > > this point I do not have a clue if this was the correct thing to do, or > > if the VxWorks image I have built has a snowball's chance of running. > > > > Is there anyone out there that has any experience with > > VxWorks/486/DiskOnChip that can offer me some friendly advice? > > > > TIA > > > > > > Sent via Deja.com http://www.deja.com/ > > Before you buy. > > [AndrayK]. Make sure your /sysTffs.c #defines INCLUDE_MTD_DOC2, > INCLUDE_TL_NFTL and INCLUDE_SOCKET_DOC. This will include respectively > DiskOnChip MTD, NFTL flash translation layer and DiskOnChip socket driver. > > Make sure that INCLUDE_TL_FTL is #undefined (i.e. FTL flash translation > Layer is NOT included). > > If there is a file target/src/drv/tffs/sockets/doc2k-sysTffs.c in > your installation, you may want to use this one as your /sysTffs.c > > You should also set #defines DOC2_SCAN_ADRS_0 and DOC2_SCAN_ADRS_1 to > the DiskOnChip's memory address. By default these #defines are set to zero, > which causes TrueFFS to scan the host address range 0xc8000-0xf0000 for > DiskOnChip. This might corrupt register setup of some older memory- mapped > cards, so you better set the #defines above to the exact address of the > DiskOnChip. For instance, if DiskOnChip is installed at d000:0000, you > do the following: > > #define DOC2_SCAN_ADRS_0 0xd0000 > #define DOC2_SCAN_ADRS_1 DOC2_SCAN_ADRS_0 > > regards, Andray > > Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: re: Fastest MCP750 = ? Date: Wed, 6 Dec 2000 11:23:33 -0800 From: "Sinn, Larry" Organization: Lawrence Berkeley National Laboratory Message-ID: <90m6mj$26m$1@overload.lbl.gov> > vtail@hotmail.com Wrote: > > Good morning, all ... > > We're using the Motorola MCP-750 Compact-PCI Power PC board, I believe > the clock speed is 366 MHz (might be 333; I don't have the literature > in front of me). > It has proven to be a little under-powered for our application. > Do any of you know of a faster drop-in replacement? What is the > fastest PowerPC currently available with VxWorks support and > compactPCI? > Thanks... Try Force (www.forcecomputers.com), they have a 450MHz 750. Larry. Larry Sinn KLA-Tencor MS I-1009 408 875 0247 voice 160 Rio Robles 408 875 6179 fax San Jose, Ca 95134-1809 larry.sinn@kla-tencor.com --------------------------- Newsgroups: comp.os.vxworks Subject: Re: sio v serial Date: Wed, 6 Dec 2000 20:26:11 -0000 From: "David Laight" Organization: BT Internet Message-ID: <90m7fm$vj$1@neptunium.btinternet.com> References: <90lokj$qqq$1@overload.lbl.gov> > Both drivers (tyCo or tty) get installed in the same place after iosInit, and then io > is directed to the fd that came back from the open call. > How do you use the console output prior to this ? Just one of my 'gut feelings' - these are often based on facts! Maybe I found something (other than the serial wdb) which outputs messages to the console bypassing 'write' - I trully can't actually remember! My console driver (a virtual console that mainly writes into a cyclic buffer, and can be given key input from a variety of sources) is definitely SIO. The drivers for the other serial ports (use for modems etc) are based on the 'serial' model - although they support additional ioctls for controlling modem signals, hardware flow control etc (vxworks is missing this functionality!) David --------------------------- Newsgroups: comp.os.vxworks,comp.os.lynx Subject: Re: Evaluating Embedded App Development on vxWorks versus LYNX Date: Wed, 06 Dec 2000 20:54:29 +0000 From: Alan Johnson Message-ID: <3A2EA785.A0DCDF14@pyrrhic.co.uk> References: <3A2D9323.BEDB4613@roses.bna.boeing.com> "William H. McCloskey" wrote: > Hello ! > > I'm a very experienced vxWorks embedded system programmer. Don't have a > clue about LYNX. > > We're about to do a big project and we need to present the pro's and > con's about choosing either OS for our embedded, 1553 bus, VME > backplane, etc. embedded project. > > I need to know as much as possible about LYNX-OS. > > If you can give me some URL's or tips concerning "whole" development > picture of a time-critical embedded application under LYNX - especially > contrasted against the same facilities in vxWorks -, it would be greatly > appreciated. > > The things I like about vxWorks are: Open architecture extensions to > target via WDB agent with TCL interface; very easy to debug app's via > network; dynamic link editing when loading .o's; almost seemless > integration into our UNIX development environment; all the GNU tools > (emacs,rcs,gcc,nm,...) are what they are in vxWorks development > environment. Probably missed some - Oh well. > > THX in advance. > > William H. McCloskey We evaluated VxWorks and LynxOS many years ago and chose Lynx. The main reason is that LynxOS is that unix is a unix with very standard interfaces. The unix process model with seperate address spaces for seperate processes was critical for us. In a large system seperate address spaces makes a very significant difference to debugging, development and reliability. It does depend how big your application is. AJ --------------------------- Newsgroups: comp.os.vxworks Subject: Do anybody works or heard about OSE rtos Date: Wed, 6 Dec 2000 16:00:58 +0200 From: "Vladimir Kopilevitch" Organization: NetVision Israel Message-ID: <90lgqf$1eb$1@news.netvision.net.il> Hello, We just begun new project (portable phone) and try to choose OS for it. Does anybody works with or just has any opinion about OSE rtos. The best - to get any comparison with vxWorks. (I have worked with vxWorks in the past) Any advice is greatly appreciated. Thanks in advance. Vladimir Kopilevitch --------------------------- Newsgroups: comp.os.vxworks Subject: Fw: StrongARM optimization problem Date: Wed, 6 Dec 2000 20:31:05 -0000 From: "David Laight" Organization: Lawrence Berkeley National Laboratory Message-ID: <90ma73$6e2$1@overload.lbl.gov> My guess is that -O3 enables some 'agressive' optimisations (you need to read the gcc documentation to see exactly which). -O2 is normally safe. The 'best' optimisations come from turning OFF -g. David > I am working on a tornado 2.0 (vxworks 5.4) development environment, > developing an embedded software for the StrongARM processor. > > When I enable compiler optimization (-03), surprisingly the system slows > down in throughput and also behaves anomalously. However, everything works > fine if I use no optimization (-O0). I am not able to understand this strange > behavior. I would greatly appreciate if you could throw some light on this > problem. > > Note: both the flags -fvolatile and -mapcs-32 are defined. --------------------------- Newsgroups: comp.os.vxworks Subject: Tornado for Managed Switch Users Date: Wed, 06 Dec 2000 16:13:16 -0500 From: "Timothy P. Walker" Organization: Lucent Technologies , Merrimack Valley Message-ID: <3A2EABEC.740D4AF6@lucent.com> Hi, I'm thinking of using Tornado for Managed Switch (TMS v2.0) I would like to hear from people that have used this. I would like to know what level of support you received from Wind River. Thanks, Tim --------------------------- Newsgroups: comp.os.vxworks Subject: Telecom Software 'Start-up' Equity Opportunities / RTOS Date: Wed, 06 Dec 2000 22:02:05 GMT From: careers@trisearch.com Organization: FlashNet Communications, http://www.flash.net Message-ID: <3a2eb82c.29542378@news.flash.net> This message is to advise users of VxWorks, pSOS or other RTOS that we are currently looking for Software engineers with 3+ years experience in Real time embedded software design and development for Telecom or Datacom applications. Our clients are fully venture capital funded Telecom start-up companies as well as established Telecom companies. Top salaries to $120K (DOE) plus incentive bonuses with generous stock options and full benefits and relocation packages are offered for this experience. These opportunities are truly exceptional 'career enhancing' positions. TRI has played a key part in staffing some of the most successful start-up and established telecom companies in the country. If you have an interest in surveying these opportunities: Please respond in strictest confidence to: TRI 972/424-6076(fax) careers@trisearch.com www.trisearch.com --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Do anybody works or heard about OSE rtos Date: Wed, 06 Dec 2000 22:02:23 GMT From: Deja User Organization: Deja.com - Before you buy. Message-ID: <90md1a$ak$1@nnrp1.deja.com> References: <90lgqf$1eb$1@news.netvision.net.il> OSE appears to be quite a popular OS in Europe - seems like most of the big telecom dogs (Ericy and nokia) use it extensively. If you ask Enea, they will give you propaganda material containing a comparison of VxWorks and OSE. But even a cursory look at OSE shows that at least in the telecom type of application, they are way ahead of VxWorks. The closest competition from Wind is their new vxWorks AE, and being new, one would expect it to be riddled with bugs. Standard vxWorks however has been ported to a lot more boards than has OSE. In article <90lgqf$1eb$1@news.netvision.net.il>, "Vladimir Kopilevitch" wrote: > Hello, > > We just begun new project (portable phone) and try to choose OS for it. > Does anybody works with or just has any opinion about OSE rtos. > The best - to get any comparison with vxWorks. > (I have worked with vxWorks in the past) > > Any advice is greatly appreciated. > Thanks in advance. > Vladimir Kopilevitch > > Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: help on S_iosLib_INVALID_FILE_DESCRIPTOR Date: Wed, 06 Dec 2000 16:28:55 -0600 From: Jean Paul Organization: mrdc Message-ID: <3A2EBDA7.D3A7DB3F@network.com> Hi, I tried to do fopen() and get the following error messages from perror() under VxWorks. S_iosLib_INVALID_FILE_DESCRIPTOR and S_ioLib_NO_FILENAME I would appreciate any help. Thansk in advance, Jean --------------------------- Newsgroups: comp.os.vxworks Subject: Problems redirecting console input. Date: Wed, 06 Dec 2000 14:50:58 -0800 From: Hugo Charbonneau Organization: Cisco Systems Inc. Message-ID: <3A2EC2D2.2D0B5E8B@cisco.com> Hi all, I have some problems redirecting the console input to another task than the tShell. I need to keep the tShell but temporarly redirects the console input to my task. I use shellOrigStdSet(STD_IN, nullFd), where nullFd is "/null" and after I call ioTaskStdSet(taskNameToId("myTask"), 0, consoleFd), where consoleFd is "/tyCo/0". If my task is at the same priority as the tShell (priority 1) then it works! But if my task has a lower priority, it doesn't!!! I don't want to put my task to priority #1 because all my other (e.g. watchDog) lower priority tasks won't run (gets(char *) dosen't seems to give time to lower priority tasks to execute!). Any ideas?? Thanks, Hugo --------------------------- Newsgroups: comp.os.vxworks,comp.realtime Subject: HOT JOBS VxWorks S/W Developers Needed - Ottawa Date: Wed, 6 Dec 2000 18:29:56 -0500 From: "PROCOM" Organization: IGS - Information Gateway Services Message-ID: <90mhsg$gfl$1@news.igs.net> Title: C++ / OOD VxWorks Software Developers Description: Our client, one of the world's largest telecommunications companies, currently requires 10 Junior to Senior Software Specialists to design, develop, implement and support Wireless products and applications. Minimum Requirements: All candidates should possess a minimum of 1 year experience developing real-time C/C++, OOD S/W on a VxWorks platform. Desired skills would include any previous Wireless development experience. Location: Ottawa, Ontario, Canada Type: Full-Time Placement Compensation: Open PROCOM: Established in 1978, Professional Computer Consultants Group Ltd. (Procom) is a national leader in the provision of Computer personnel on a contract and full-time basis. Our clients are comprised of the largest national and international corporations that utilize technical resources extensively across a wide range of disciplines. In the Financial Post (March 1999) Procom was ranked as the 6th largest professional Services Company in Canada. In November of 1999, Procom was named a Regional finalist in Canada' s 50 Best Managed Private companies. Our track record is proven with more than 180 consultants servicing Ottawa's high tech community and more than 1600 Procom consultants currently on assignment throughout. North America. For further information on this and other opportunities please visit our web site at www.procom.ca. Interested candidates are invited to forward their resumes or questions in confidence to: Derek Weber Technical Recruiter 300 March Road Kanata, Ontario K2K 2E2 phone: (613) 270-9339 ext 231 e-mail: derekw@procom.ca --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Fw: StrongARM optimization problem Date: Wed, 06 Dec 2000 23:43:36 +0000 From: molochai Message-ID: References: <90ma73$6e2$1@overload.lbl.gov> In message <90ma73$6e2$1@overload.lbl.gov> "David Laight" wrote: > My guess is that -O3 enables some 'agressive' optimisations (you need to > read the gcc documentation to see exactly which). -O2 is normally safe. > > The 'best' optimisations come from turning OFF -g. > > David > Interesting. The GCC user documentation I have here would seem to suggest that -g does not disable optimization, just that with optimization, code is not always debuggable. Must check whether it really does make a difference or not... > > I am working on a tornado 2.0 (vxworks 5.4) development environment, > > developing an embedded software for the StrongARM processor. > > > > When I enable compiler optimization (-03), surprisingly the system > > slows down in throughput and also behaves anomalously. However, > > everything works fine if I use no optimization (-O0). I am not able to > > understand this strange behavior. I would greatly appreciate if you could > > throw some light on this problem. > > > > Note: both the flags -fvolatile and -mapcs-32 are defined. - -fvolatile forces the compiler to treat all memory accesses as volatile - this dramatically reduces the scope of optimization. There are suggestions that this is included in the default Tornado compiler options on some processors (certainly on PPC, and, so it would appear, at least ARM v4) to fix up some optimizer bugs. I have routinely removed this option (on PPC targets) without encountering any ill effects, but YMMV. - -mapcs-32 selects the ARM Procedure Call Standard (APCS) in use. This is probbly correct. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Problems redirecting console input. Date: Wed, 6 Dec 2000 19:48:07 -0500 From: "Jeff Creem" Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <3A2EC2D2.2D0B5E8B@cisco.com> "Hugo Charbonneau" wrote in message news:3A2EC2D2.2D0B5E8B@cisco.com... > > Hi all, > > I have some problems redirecting the console input to another task than > the tShell. I need to keep the tShell but temporarly redirects the > console input to my task. I use shellOrigStdSet(STD_IN, nullFd), where > nullFd is "/null" and after I call ioTaskStdSet(taskNameToId("myTask"), > 0, consoleFd), where consoleFd is "/tyCo/0". If my task is at the same > priority as the tShell (priority 1) then it works! But if my task has a > lower priority, it doesn't!!! I don't want to put my task to priority #1 > because all my other (e.g. watchDog) lower priority tasks won't run > (gets(char *) dosen't seems to give time to lower priority tasks to > execute!). > Just a guess but when you redirect the shell task to the FD for the null file I suspect that it starts going nuts doing reads that return right away. As I recall (at least under vx 5.2) the reads and writes from/to the null device return error codes. I believe to get around it I create a new device driver that reads from would block forever and writes to would drop with no error. You could try suspending the tShell while you run. That can always be a little bit scary but probably might work. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Driver for Ethernet on SCC Date: Thu, 07 Dec 2000 04:54:58 GMT From: "Martin Usher" Organization: EarthLink Inc. -- http://www.EarthLink.net Message-ID: References: <8v2q8m$1h5$1@nnrp1.deja.com> <906081$9js$1@nnrp1.deja.com> Reply-To: "Martin Usher" > > >8260....(snip)..... vxWorks via a FCC. I'm interested to load vxWokrs via a SCC. I've > > > received from WRS a "non-offical" driver for ethernet on SCC. The > > > problem is that is just an object file and it doesn't work. Has > someone CPM peripherals have to be connected to external pins and provided with clocks. Neither of these are strictly driver functions so its quite possible that the driver you were provided with was expecting these to be set up elsewhere. External pins are handled by the parallel port setup. There's a table at the back of the manual (Ch 31) plus additional information which tells all. Its also pretty much guaranteed to confuse you so work slowly and methodically. The clocks are also part of this multiplexing but these are not routed directly to the SCC but go through a CPM clock multiplexing register. They'll be labelled something like 'CLK5' on the parallel port setup tables and you have to correllate that clock with the correct clock source for the CPM. (Hours 'o fun.....) --------------------------- Newsgroups: comp.os.vxworks Subject: ATA support for PMPPC BSP Date: 7 Dec 2000 04:19:36 -0000 From: "Ramesh Subramanian" Organization: Lawrence Berkeley National Laboratory Message-ID: <90n6b4$jtq$1@overload.lbl.gov> hi, I am using artesyn pm/ppc BSP. I am trying to add ATA support to my BSP. My BSP code (config.h) does not have either #undef INCLUDE_ATA or #define INCLUDE_ATA. I tried adding the component through the Tornado2 project facility and given a build. But it is giving some linker errors. The following is the error message... - ---------------------------------------------------------- dataSegPad.o partialImage.o ctdt.o -o vxWorks partialImage.o: In function `usrAtaInit': /dump/ccsp/tornado2.0/target/config/comps/src/usrAta.c:211: undefined reference to `ataResources' /dump/ccsp/tornado2.0/target/config/comps/src/usrAta.c:211: undefined reference to `ataResources' partialImage.o: In function `usrSerialInit': /dump/ccsp/tornado2.0/target/config/comps/src/usrSerial.c:70: undefined reference to `sysSerialChanGet' partialImage.o: In function `ataDrv': partialImage.o(.text+0x279ac): undefined reference to `ataResources' partialImage.o(.text+0x279b0): undefined reference to `ataResources' partialImage.o(.text+0x27c3c): undefined reference to `sysIntEnablePIC' partialImage.o(.text+0x27cf8): undefined reference to `ataTypes' partialImage.o(.text+0x27cfc): undefined reference to `ataTypes' partialImage.o: In function `ataDevCreate': partialImage.o(.text+0x286ac): undefined reference to `ataTypes' partialImage.o(.text+0x286b0): undefined reference to `ataTypes' partialImage.o: In function `ataRawio': partialImage.o(.text+0x28920): undefined reference to `ataTypes' partialImage.o(.text+0x28924): more undefined references to `ataTypes' follow partialImage.o: In function `ataIntr': partialImage.o(.text+0x29310): undefined reference to `sysInByte' partialImage.o: In function `ataWait': partialImage.o(.text+0x2944c): undefined reference to `sysInByte' partialImage.o(.text+0x294a0): undefined reference to `sysInByte' partialImage.o(.text+0x29538): undefined reference to `sysInByte' partialImage.o(.text+0x29578): undefined reference to `sysInByte' partialImage.o(.text+0x295b8): more undefined references to `sysInByte' follow partialImage.o: In function `ataInit': partialImage.o(.text+0x29634): undefined reference to `sysOutByte' partialImage.o(.text+0x29658): undefined reference to `sysDelay' partialImage.o(.text+0x29684): undefined reference to `sysOutByte' partialImage.o(.text+0x296a8): undefined reference to `sysDelay' partialImage.o(.text+0x29714): undefined reference to `sysInByte' partialImage.o(.text+0x29768): undefined reference to `sysOutByte' partialImage.o(.text+0x2978c): undefined reference to `sysDelay' partialImage.o(.text+0x297b8): undefined reference to `sysInByte' partialImage.o: In function `ataCmd': partialImage.o(.text+0x298e4): undefined reference to `ataTypes' partialImage.o(.text+0x298e8): undefined reference to `ataTypes' partialImage.o(.text+0x299c4): undefined reference to `sysOutByte' partialImage.o(.text+0x299e8): undefined reference to `sysOutByte' partialImage.o(.text+0x29a0c): undefined reference to `sysOutByte' partialImage.o(.text+0x29a28): undefined reference to `sysOutByte' partialImage.o(.text+0x29a70): undefined reference to `sysOutByte' partialImage.o(.text+0x29a9c): more undefined references to `sysOutByte' follow partialImage.o: In function `ataPread': partialImage.o(.text+0x29e3c): undefined reference to `sysInWordStringRev' partialImage.o: In function `ataRW': partialImage.o(.text+0x29ef0): undefined reference to `ataTypes' partialImage.o(.text+0x29ef4): undefined reference to `ataTypes' partialImage.o(.text+0x29f44): undefined reference to `sysOutByte' partialImage.o(.text+0x29f5c): undefined reference to `sysOutByte' partialImage.o(.text+0x29f74): undefined reference to `sysOutByte' partialImage.o(.text+0x29f8c): undefined reference to `sysOutByte' partialImage.o(.text+0x29fac): undefined reference to `sysOutByte' partialImage.o(.text+0x2a004): more undefined references to `sysOutByte' follow partialImage.o: In function `ataRW': partialImage.o(.text+0x2a1b4): undefined reference to `sysOutWordString' partialImage.o(.text+0x2a1d8): undefined reference to `sysOutLongString' partialImage.o(.text+0x2a2ac): undefined reference to `sysOutByte' partialImage.o(.text+0x2a2c8): undefined reference to `sysOutByte' partialImage.o(.text+0x2a3e8): undefined reference to `sysInWordString' partialImage.o(.text+0x2a40c): undefined reference to `sysInLongString' collect2: ld returned 1 exit status make: *** [vxWorks] Error 1 - --------------------------------------------------------- In this case, how can I add ATA component. My purpose of adding ATA component is to access compact flash in my board. Kindly help me in this regard With Regards Ramesh _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com Participate in crazy auctions at http://auctions.rediff.com/auctions/ --------------------------- Newsgroups: comp.os.vxworks Subject: DHCP lease renewal at run time Date: Thu, 07 Dec 2000 05:43:57 GMT From: surajv@future.futsoft.com Organization: Deja.com Message-ID: <90n82t$m8k$1@nnrp1.deja.com> Reply-To: surajv@future.futsoft.com Hi, I have some problems with DHCP client IP lease renewal at run time. DHCPV4 run time client is included from the GUI. Then "dhcpcOptionSet (pLeaseCookie, _DHCP_LEASE_TIME_TAG, 60, 0, NULL);" is used to explicitly specify a lease period of 60 seconds. Since the MAX_LEASES is 4, by default, I expect that an IP address would be obtained on lease for 4 minutes. The lease period of 1 minute is only for testing. It will be changed to a longer period later. Autoconfiguration is FALSE and BIND is synchronous. An IP address is obtained from a MS NT server. The lease gets renewed by "dhcpcBind()" for more than 4 minutes. Actually it is several minutes before the lease expires. Also, the total lease period is not a constant value. It varies every time "dhcpBind()" is invoked even if the lease duration I requested is 1 minute and the MAX_LEASES is 4 every time. I assumed that "dhcpcBind()" will get a lease for 1 minute and then renew it 3 more times to give me a total lease period of 4 mts. Is my assumption wrong? How exactly does "dhcpcBind()" work? What does MAX_LEASES mean? So, I though I'd use "dhcpcVerify()" to explicitly renew the lease by checking the current values of renew timer and the rebind timer. Surprisingly, the values of timers returned "dhcpcTimersGet()" were the same(the rebind time only). However, if I used "dhcpcTimersShow()" the timer values are displayed correctly. Has anybody seen this problem? Even if can call dhcpcVerify() before the lease expires to explicitly renew the lease all the time, there has to be a fixed time interval before which I can call it. How can I determine that without knowing the renew and rebind timer values? If I have my target board running continuously for several days, I'd have to renew the lease frequenly(and never lose the lease), so that I can use the same IP address. Is there any other way to do it apart from "dhcpcVerify()"? Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: dhcp lease value Date: Thu, 07 Dec 2000 12:26:19 +0530 From: Pavan Kumar TV Organization: Lucent Technologies, Columbus, Ohio Message-ID: <3A2F3493.64112684@lycos.com> hi all, what value should be given for DHCPC_DEFAULT_LEASE macro in the client configuration to get a permanent lease. TIA. pavan --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Touch Screen Calibration Date: Thu, 7 Dec 2000 08:58:49 +0200 From: "RM" Message-ID: <3a2f34f0$0$231@helios.is.co.za> References: <200012041409.OAA13714@dsl-2.tadpole.co.uk> Hi, I have done some rough approximations on the Touch-Screen calibration using raw Touch data and pixel estimates and had some good results doing this. I am therefore pretty confident that the equations used in the linear transformation of touch position to pixel position is sufficiently accurate for my purposes. I have however hardcoded these approximations in the driver. Problem of course is that the driver is now calibrated to only one screen. Using it on a screen other than the one I am using for development would not produce a desirable effect. How can I change the values used in the calibration without making estimations and recompiling the UGL for different screens. Also I would ideally not want to recalibrate the screen every time that the system is switched on. Also how do I correlate a touch position to a pixel position. If for example I were to touch the centre of the screen, how would I know what the pixel position at that point were? I am trying to do the calibration as described in the Touch-screen developers guide by placing two points (dots) at known pixel positions. The user then has to touch the screen on each of the dots. The raw X,Y values from the screen then maps to pixel Xp,Yp values. How firstly do I place the dots on the screen at known pixel positions? How can I save the raw touch data obtained so that I dont need to recalibrate each time the system is switched on? Could I for example write these values to a file? Any help or suggestions would be very welcome. Thanks for the response so far. Randall Michau Grintek Avitronics Rmichau@grintek.com "David Laight" wrote in message news:200012041409.OAA13714@dsl-2.tadpole.co.uk... > You will need to do the calibration in the touch screen driver. It (typically) > has to convert an A-D output to pixels. > > I recall the vxWorks UGL driver template using some horrid sequence of linear > transformations for each of X and Y. I don't do it that way.... > > What I found with our 4-wire touch screen is that the calibrated X output has to > depend on both raw input values. However the transformation is linear in each > term - but does need a product term. > > X = a + b.x + c.y + d.x.y (b is dominant) > Y = e + f.x + g.y + h.x.y (g is dominant) > > This requires test points in all four corners. > > (The x.y term is required because the resistance of the 'bus bars' of the touch > panel isn't completely insignificant.) > > You really do need the raw data to work out these numbers - not the converted > values using the existing values. Also you probably need to average a > considerable number of readings. > > One day I even thought that the calibration was temperature sensitive! > > David > > > Subject: Re: Touch Screen Calibration > > X-UIDL: (jC!!a5N"!]J > > > >My problem is, how do I al of this. I have created a window using Zinc with > > >the two dot positions as > > >described. How do I capture and save the touch position when the user > > >touches the screen at the dot positions? Is there some way of getting this > > >information from the UGL? > > > > You may find the information you require in the UGL Developer's Kit manual. > > The Input Driver API section describes some of the detail about the absolute > > pointer event information. There's also discussion of calibration in the > > Writing A New Input Driver Section. > > > > I don't know if this event information is available at Zinc, I've done touch > > screen recalibration at the UGL level in the past. > > > > ---------------------------------------------------------------- > David Laight email: dsl@tadpole.co.uk > Tadpole Technology plc phone: +44 1223 428 232 > Cambridge, UK fax: +44 1223 428 201 > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: dhcp lease value Date: Thu, 07 Dec 2000 12:43:14 +0530 From: Pavan Kumar TV Organization: Lucent Technologies, Columbus, Ohio Message-ID: <3A2F388A.ADB1DFE2@lycos.com> References: <3A2F3493.64112684@lycos.com> hi all, i got the value from the RFC2131 that oxffffffff is infinity , taken as permanent lease.i dodn't know whether this is true for vxworks pavan Pavan Kumar TV wrote: > > hi all, > > what value should be given for DHCPC_DEFAULT_LEASE macro in the > client configuration to get a permanent lease. > > TIA. > > pavan --------------------------- Newsgroups: comp.os.vxworks Subject: GNU Compiler Update for Pentium Date: Thu, 07 Dec 2000 08:04:11 GMT From: lourens@mecalc.co.za (Lourens Geldenhuys) Organization: Mecalc (Pty) Ltd Message-ID: <3a2f4358.4767475@modem.mecalc> Reply-To: lourens@mecalc.co.za Hi, Has anybody experienced any problems with the GNU Compiler Update for Pentium (Optimized Tornado 2.0 for Pentium)? Specifically with the compiler not being able to find standard header files (stddef.h, stdarg.h) anymore? Regards, Lourens Geldenhuys ================================================================ Lourens Geldenhuys Tel: +27 (0)12 665 1480 Project Engineer Fax: +27 (0)12 665 1495 Mecalc (Pty) Ltd e-mail: lourens@mecalc.co.za 86 Oak Avenue, Highveld Technopark, Centurion, South Africa ================================================================ --------------------------- Newsgroups: comp.os.vxworks Subject: ping to 10.10.10.1 Date: Thu, 07 Dec 2000 11:24:35 +0200 From: Ofer Goren Organization: Bay Networks, Inc. Message-ID: <3A2F5753.5D5E3C09@nortelnetworks.com> Hi. Solaris, T1.0.1, PPC740. When I'm pinging to an unknown, unavailable host, the shell returns to the vx prompt after the failure. This is true to all IPs (at least the ones I checked), with the exception of "10.10.10.1". When I'm pinging to this IP, the shell "get stuck", and I never get my prompt again. I have to reboot my target (or press ^C). Anyone knows why? here is a printout: > ping "11.11.11.1", 2 PING 11.11.11.1: 56 data bytes no answer from 11.11.11.1 value = -1 = 0xffffffff = + > ping "10.10.10.1",2 ping 10.10.10.1 That's it. I have to reboot my target. - -- Embedded SW Team Leader Email : ogoren@nortelnetworks.com Phone number: +9723-6456023 Fax number : +9723-6479579 ESN : 826-6023 http://www.nortelnetworks.com - ---------------------------------------------------- If you lend someone $20, and never see that person again, it was probably worth the investment. --------------------------- Newsgroups: comp.os.vxworks Subject: How can I get a Gateway IP? Date: Thu, 07 Dec 2000 10:33:38 GMT From: ssekim@chollian.net Organization: Deja.com - Before you buy. Message-ID: <90np22$2q2$1@nnrp1.deja.com> Hi all! I want to get IP addresses of ethernet and gateway. I found a IP address of ethernet using ifAddrGet(). But How can I get a IP address of gateway? In the ifLib(network interface library), I can't found a proper function for a gateway. Thanks in advance. Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: multicast app over multiple interfaces. Date: Thu, 07 Dec 2000 11:33:53 GMT From: taltaltal@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90nsj1$58f$1@nnrp1.deja.com> i am running an app over VxWorks using an Intel platform. i have a problem that the driver seem to change the ethernet card mode (by mistake) into "multicast promiscuous mode". i know it is a bug becouse it does not happen to the on board ethernet which is the same type of card (acording to the ifShow command). is there any known bug in the ethernet driver for Intel network interface? Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Thu Dec 7 06:21:10 2000 From: Morris John M DLVA Date: Thu Dec 7 06:21:12 PST 2000 Subject: ADA TEXT I/O I apologize if this is a stupid question, but... I'm using VxWorks 5.1 and an MV167. I write an ADA procedure which just "put"s one line to standard output. I can call the procedure from the shell and it runs correctly (presumably) once. If I call it again, however, the procedure blows up claiming a "MODE ERROR." Does that sound familiar to anyone? I'm guessing that it is something to do with standard out, but I have no idea what. (And I'm brand-spanking new to ADA.) Thanks in advance, John From vxwexplo-errs@csg.lbl.gov Thu Dec 7 09:42:26 2000 From: David Laight Date: Thu Dec 7 09:42:28 PST 2000 Subject: Re: Problems redirecting console input. > I need to keep the tShell but temporarly redirects the > console input to my task. I use shellOrigStdSet(STD_IN, nullFd), where > nullFd is "/null" and after I call ioTaskStdSet(taskNameToId("myTask"), > 0, consoleFd), where consoleFd is "/tyCo/0". /null is documented to error reads - so you would need a different device. However shellOrigStdSet() only affects the fd's the shell is started with. You need to restart the shell for this to have any effect. I'm not sure of the 'official' vxworks method. rlogind seems to call excJobAdd( shellRestart, 1, 0... ). Suspending the shell doesn't work - it suspends locked in the console read() code. You task works a p=1 probably because it alternates with ethe shell for rx data. David ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 From vxwexplo-errs@csg.lbl.gov Thu Dec 7 09:48:21 2000 From: rcw@DynRes.com Date: Thu Dec 7 09:48:23 PST 2000 Subject: SCSI disk init Hello all you VxWorks 'rs, _ I'm having a problem getting a SCSI disk drive into my system. I've done this before and maybe I'm forgetting something, but I'm pretty sure I have a problem from the get-go. _ If I do a scsiShow, the info displayed is: _ _ ID LUN VendorID___ ProductID____ Rev. Type_ Blocks_ BlkSize pScsiPhysDev -- --- -------- ---------------- ---- ---- -------- ------- ------------ _0_ 0_ S@A@A@E_ S@3 2 6@________ 0 0___ 0_ 16828449___ 512___ 0x03bf7720 Notice the odd stuff every other byte in the vendor and product ID. _ Does anyone have an idea as to the cause of this? _ I have the termination jumper on the 761 I/O module and the termination jumper on the disk drive, and termination power (on the disk drive) is jumpered for "from SCSI bus". Only 1 SCSI device (other than the controller). _ This is for a Seagate 9G disk on a MVME2604, Tornado 1. --------------------------------------------- Ronald Wagner Principal Engineer Manager, DRI Driving Simulator Dynamic Research, Inc.___ +1 310 212 5211 (v) 355 Van Ness Avenue______ +1 310 212 5046 (f) Torrance, CA_ USA 90501__ rwagner@dynres.com _ From vxwexplo-errs@csg.lbl.gov Thu Dec 7 13:46:55 2000 From: s.eckardt@ixthos.com Date: Thu Dec 7 13:46:58 PST 2000 Subject: elfHex S9 Address Record Problem We're using the Sun/Solaris version of elfHex to convert PowerPC VxWorks bootrom code to an S-record file. The calling syntax is: elfHex -a 100 bootrom > bootrom.hex. The data records seem fine, but the S9 address record has an incorrect format. The generated address record is S904000000FB; I expected S9030000XX. Any ideas? Suzie Eckardt Chief Software Engineer Ixthos, Inc. s.eckardt@ixthos.com From vxwexplo-errs@csg.lbl.gov Thu Dec 7 14:07:19 2000 From: s.eckardt@ixthos.com Date: Thu Dec 7 14:07:21 PST 2000 Subject: Network Booting Problem We had a problem recently in booting a VxWorks image using FTP across an ethernet network. We used the UNIX "snoop" command and discovered that the initial TCP handshake was not successful; the host machine was not accepting the target's TCP SYN request. The TCP RFC indicated that this might occur if there was already a connection on that socket. Sure enough, we checked the host and found an existing connection. Presumably, it was a remnant of an aborted/crashed FTP session. We manually removed the obsolete connection and were then able to boot the target. Manual intervention should not be necessary, though. The TCP RFC indicated that it is the target's responsibility to generate a "reset connection" request to the host to correct this condition. Why didn't the bootrom code generate the TCP reset?? Also, we noticed that the initial TCP sequence number (ISN) is the same for each boot attempt and for all boards executing the same version of bootrom code. Is this a problem? Configuration: Tornado 2 on custom PowerPC 603e boards Suzie Eckardt Chief Software Engineer Ixthos, Inc. s.eckardt@ixthos.com 703-779-2534 x305 From vxwexplo-errs@csg.lbl.gov Thu Dec 7 15:05:23 2000 From: Jim Way Date: Thu Dec 7 15:05:25 PST 2000 Subject: prjComps.h file is missing VxWorks 5.4 Tornado II Fellow VxWorkers, I recently modified an existing, working project by adding three new source files and three "external dependencies". When I went to rebuild the project, I received a make error: "make: *** No rule to make target `prjComps.h', needed by `sysALib.o'. Stop." I've learned the following. prjComps.h is created by compiling prjConfig.c. I can confirm that this is happening. But when I rebuild my project, Tornado deletes this file. I've tried copying the file from another similar project; same result. I've tried compiling prjConfig.c, then making prjComps.h read-only; Tornado still deletes it. I should note that I've added files to this project before and experienced no problems. I've also tried creating a new project and populating it with the files from the old project - no improvement. I've also exitted the Tornado environment and come back in - no change. Wind River tech support is working on the problem (TSR 222095), but after a day and a half they've not found a solution. WindSurf also has turned up nothing. Since Phone-A-Friend and 50-50 didn't help, I'd like to use my last lifeline and Ask-The-Audience. Any suggestions? Jim ----------------------------------------- Jim Way, Software Engineer Datum Austin (Austron Inc.) voice: 512.721.4170 fax : 512.990.9712 email: jwayATdatumDOTcom (no spam please) ----------------------------------------- From vxwexplo-errs@csg.lbl.gov Fri Dec 8 04:03:09 2000 From: Vxworks Exploder Date: Fri Dec 8 04:03:12 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Fri Dec 8 04:03:05 PST 2000 Subject: MUX: stackRestartRtn() and MUX_PROTO_SNARF or MUX_PROTO_OUTPUT? Subject: ADA TEXT I/O Subject: dowloading java class with memdrvbuild Subject: SM Objects Subject: vxWorks boot from slow host Subject: Re: Tornado for Managed Switch Users Subject: Can LILO boot a VxWorks image? Subject: ACE, VxWorks & Message Queues. Subject: Re: How can I get a Gateway IP? Subject: Re: Can LILO boot a VxWorks image? Subject: re: Problems redirecting console input. Subject: SCSI disk init Subject: Simultaneously Access using semaphore Subject: How do I link together multiple archive (.out) files Subject: Motorola Boards Subject: VxWorks DDNS Client Implementation Subject: Re: ADA TEXT I/O Subject: IRQ enabled ? pcPentium Subject: elfHex S9 Address Record Problem Subject: Network Booting Problem Subject: Printer Port on an MVME2700 Subject: Re: Printer Port on an MVME2700 Subject: prjComps.h file is missing Subject: Tornado on windows 2000 Subject: PCI Burst Transfer Subject: Re: ADA TEXT I/O Subject: standard template libraries -- STL Subject: Re: Printer Port on an MVME2700 Subject: Re: Can the target write to the host's file system? Subject: Re: Tornado on windows 2000 Subject: vxWorks assigned MAC addresses? Subject: Re: How do I link together multiple archive (.out) files Subject: Re: How can I get a Gateway IP? Subject: Re: vxWorks assigned MAC addresses? Subject: Re: vxWorks assigned MAC addresses? Subject: BSP EDP7211 Subject: Re: BSP EDP7211 Subject: Re: prjComps.h file is missing Subject: about boot image and NVRAM~~ Subject: wireless ethernet on cisco aironet 340 ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: MUX: stackRestartRtn() and MUX_PROTO_SNARF or MUX_PROTO_OUTPUT? Date: Thu, 07 Dec 2000 11:57:58 GMT From: Henrik Bergström Organization: Deja.com - Before you buy. Message-ID: <90nu04$677$1@nnrp1.deja.com> Dear VxWorkers, I am having indirect problems with the MUX flow control mechanism, or more specifically the stackRestartRtn() callback. My situation is the following. Target is x86. I have muxBind()ed both the MUX_PROTO_SNARF and MUX_PROTO_OUTPUT "protocols" to an END Ethernet device (elPci). My stackRestartRtn() callback gets called alot as soon as the traffic intensity to the elPci device increases and I am not sure what to do in my stackRestartRtn(). Should I return OK and hope that the stackRestartRtn() callbacks of the "real protocol", e.g. IP, also gets called? What other options are there? Should I "dig out" the stackRestartRtn() callbacks of the "real protocol" and call those functions explicitly from my stackRestartRtn()? This sounds a bit too hackish for me, but if it helps I am willing to do it. Has anyone any experiences to share regarding MUX_PROTO_SNARF and _OUTPUT and "error conditions" such as flow-control, etc? Best regards, Henrik Bergström Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: ADA TEXT I/O Date: Thu, 7 Dec 2000 09:20:56 -0500 From: Morris John M DLVA Organization: Lawrence Berkeley National Laboratory Message-ID: <90o9g4$49n$1@overload.lbl.gov> I apologize if this is a stupid question, but... I'm using VxWorks 5.1 and an MV167. I write an ADA procedure which just "put"s one line to standard output. I can call the procedure from the shell and it runs correctly (presumably) once. If I call it again, however, the procedure blows up claiming a "MODE ERROR." Does that sound familiar to anyone? I'm guessing that it is something to do with standard out, but I have no idea what. (And I'm brand-spanking new to ADA.) Thanks in advance, John --------------------------- Newsgroups: comp.os.vxworks Subject: dowloading java class with memdrvbuild Date: Thu, 07 Dec 2000 15:21:44 GMT From: ddinker@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90o9u0$g42$1@nnrp1.deja.com> Hi, Environment: Tornado II/vxWorks 5.4/Personal JWorks Primary Aim: To run a Java class on vxWorks Current Method: I used memdrvbuild utility. It converts a .class into .c and .h files so they can me made into .o files and downloaded. The memDrvAddFiles* function is used to create a directory and a .class file in that directory. So we have sort of file system in RAM. But on doing - -> java("-classpath /mountPoint Hello") i get this message - -> Unable to initialize threads: cannot find class java/lang/Thread What does this mean? How can I run my class. The core build of java includes the java.lang.thread (as seen in host/java/config/components.mk). Alternatives: Is there any other way to run a java class? we need to run a java class on our board. Any sort help will be welcome. Regards, Dinker Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: SM Objects Date: Thu, 07 Dec 2000 16:34:50 +0100 From: Marc Waber Organization: STS Switching Test Solutions Message-ID: <3A2FAE1A.D9F05C82@stest.ch> Dear all! I am trying to use shared memory objects in a configuration with a CPV5350 as master and a MCPN765 as slave. Prior to using shared memory objects, I had the system running with a shared memory network. After I included shared memory objects and made the required changes in the bootrom of the master board, I get the following error message when booting the slave: Backplane anchor at 0x4401100... Attaching network interface sm0... done. Error setting inet address of sm0 to 10.1.1.2, errno = 0x480002 (10.1.1.2 is the backplane address of the slave) printErrno 0x480002 gives back the following: S_smLib_INVALID_CPU_NUMBER Any ideas what this mean? Thanks, Marc - -- Marc Waber E-mail: marc.waber@stest.ch STS Switching Test Solutions AG Phone: +41-76-355-6713 Foerrlibuckstr. 62 / Postfach 74 Fax: +41-1-355-6605 CH-8037 Zurich Homepage: www.stest.com --------------------------- Newsgroups: comp.os.vxworks Subject: vxWorks boot from slow host Date: Thu, 07 Dec 2000 09:48:34 -0600 From: Michael Carter Organization: Southwest Research Institute Message-ID: <3A2FB152.B3CA3D32@swri.edu> Host: National Instruments Controller, VXIpc 870 running Windows NT 4 Board: (3) MVME2432 PPC vxWorks: 5.4 BSP: mv2400 1.2/0 Tornado: II The system uses two VXI chassis: one PPC in the main chassis with the controller and the other two PPCs in the second chassis. The vxWorks and the applications are set to be downloaded from the host (using FTP). There is also other VXI hardware in the chassis for the applications to control. My main question is the bootup process. When the chassis are turned on the PPCs boot immediately and, within a few seconds, begin looking for the host and the FTP server. In the meantime, the VXIpc system is still running its memory test. Eventually the PPCs time out and just sit there. After a few minutes, the Windows NT system does eventually boot up to the login screen. I assume something similar happens for other systems. What is the best approach in this bootup process? It needs to be automated (no press the reset button on the PPCs when Windows is finally up, type of thing). - - DHCP (does this not also have a timeout) - - reset the boards (force SYSRESET for chassis to reset without resetting controller) - - change the autoboot timeout from 7 to a much higher number(?) to put a little more pause before the boot process starts - - since i have the bootrom source code, modify the bootLoad code to continuously retry the netLoad transfer until it succeeds. In reality, system cannot do anything until it actually does download. Any other suggestions would be greatly appreciated. - -- ************************************************************************* * Michael Carter (mcarter@swri.edu) | Southwest Research Institute * * Principal Analyst | 6220 Culebra Road * * TEL/FAX: (210) 522-3933 / 522-2709 | San Antonio, Texas 78238-5166 * ************************************************************************* --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Tornado for Managed Switch Users Date: Thu, 07 Dec 2000 08:27:12 -0800 From: Robert Blumberg Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A2FBA60.912838F3@fake.com> References: <3A2EABEC.740D4AF6@lucent.com> >I would like to know what level of support you received from Wind River. Generally weak. However this newsgroup is great and probably makes up for it. - -- Robert Blumberg Pintle & Gudgeon Robert dot Blumberg at PictureIQ dot Com Embedded System Software Development --------------------------- Newsgroups: comp.os.vxworks Subject: Can LILO boot a VxWorks image? Date: Thu, 07 Dec 2000 16:19:23 GMT From: hamandeggs@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90oda1$j5c$1@nnrp1.deja.com> Does anyone know if LILO can be used/modified to include a VxWorks image as one of its booting possibilities? Would this be violating LILO license or use issues? Thanks. - - Tony H. Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks,comp.soft-sys.ace Subject: ACE, VxWorks & Message Queues. Date: Thu, 7 Dec 2000 12:02:06 -0500 From: "Edwin McKay" Message-ID: I'm trying to run the Message Queue program from the tutorial and it won't compile. I've compiled and ran the Basic_Types program so I think I have ACE configured/installed properly. When I compile the program using the VxSim settings it compiles cleanly. Below are the error messages that are produced: cc386 -g -mpentium -ansi -nostdinc -DRW_MULTI_THREAD -D_REENTRANT -fvolatile -nostdlib -fn o-builtin -fno-defer-pop -I. -ID:\WRS\Tornado\target\h -DCPU=PENTIUM -Id:\vx works_i486_ace \ -c D:\projects\ace_test\MsgQtest.cpp In file included from d:\vxworks_i486_ace\ace\Malloc.h:500, from d:\vxworks_i486_ace\ace\Message_Block.h:26, from d:\vxworks_i486_ace\ace\message_queue.h:20, from D:\projects\ace_test\MsgQtest.h:4, from D:\projects\ace_test\MsgQtest.cpp:1: d:\vxworks_i486_ace\ace\Malloc_T.h:267: syntax error before `;' d:\vxworks_i486_ace\ace\Malloc_T.h:268: syntax error before `;' d:\vxworks_i486_ace\ace\Malloc_T.h:440: syntax error before `;' d:\vxworks_i486_ace\ace\Malloc_T.h:441: syntax error before `;' d:\vxworks_i486_ace\ace\Malloc_T.h:480: syntax error before `*' d:\vxworks_i486_ace\ace\Malloc_T.h:499: syntax error before `;' d:\vxworks_i486_ace\ace\Malloc_T.h:500: syntax error before `;' d:\vxworks_i486_ace\ace\Malloc_T.h:543: syntax error before `*' d:\vxworks_i486_ace\ace\Malloc_T.cpp: In method `int ACE_Malloc_T<_ACE_MEM_POOL,_ACE_MEM_P OOL_OPTIONS,ACE_LOCK,ACE_CB>::open()': In file included from d:\vxworks_i486_ace\ace\Malloc_T.h:609, from d:\vxworks_i486_ace\ace\Malloc.h:500, from d:\vxworks_i486_ace\ace\Message_Block.h:26, from d:\vxworks_i486_ace\ace\message_queue.h:20, from D:\projects\ace_test\MsgQtest.h:4, from D:\projects\ace_test\MsgQtest.cpp:1: d:\vxworks_i486_ace\ace\Malloc_T.cpp:168: syntax error before `::' d:\vxworks_i486_ace\ace\Malloc_T.cpp:187: syntax error before `)' d:\vxworks_i486_ace\ace\Malloc_T.cpp:189: syntax error before `::' d:\vxworks_i486_ace\ace\Malloc_T.cpp: In method `void * ACE_Malloc_T<_ACE_MEM_POOL,_ACE_ME M_POOL_OPTIONS,ACE_LOCK,ACE_CB>::shared_malloc(unsigned int)': d:\vxworks_i486_ace\ace\Malloc_T.cpp:347: syntax error before `::' d:\vxworks_i486_ace\ace\Malloc_T.cpp:365: syntax error before `)' d:\vxworks_i486_ace\ace\Malloc_T.cpp:374: syntax error before `::' d:\vxworks_i486_ace\ace\Malloc_T.cpp: In method `void ACE_Malloc_T<_ACE_MEM_POOL,_ACE_MEM_ POOL_OPTIONS,ACE_LOCK,ACE_CB>::shared_free(void *)': d:\vxworks_i486_ace\ace\Malloc_T.cpp:442: syntax error before `)' d:\vxworks_i486_ace\ace\Malloc_T.cpp:452: syntax error before `)' d:\vxworks_i486_ace\ace\Malloc_T.cpp:455: syntax error before `)' d:\vxworks_i486_ace\ace\Malloc_T.cpp:488: confused by earlier errors, bailing out cc386: Internal compiler error: program cc1plus got fatal signal 34 make: *** [MsgQtest.o] Error 0x1 Done. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: How can I get a Gateway IP? Date: Thu, 07 Dec 2000 17:29:23 GMT From: Tom Wang Organization: Deja.com - Before you buy. Message-ID: <90ohda$mtl$1@nnrp1.deja.com> References: <90np22$2q2$1@nnrp1.deja.com> Hi, You should set your gateway IP in most cases. search "BOOT_PARAMS" in Tornado/target directory, it has a member: char gad [BOOT_ADDR_LEN]; /* gateway internet addr */ see also: \Tornado\docs\vxworks\ref\routeLib.html Tom Wang In article <90np22$2q2$1@nnrp1.deja.com>, ssekim@chollian.net wrote: > Hi all! > > I want to get IP addresses of ethernet and gateway. > > I found a IP address of ethernet using ifAddrGet(). > > But How can I get a IP address of gateway? > > In the ifLib(network interface library), I can't found a proper > function for a gateway. > > Thanks in advance. > > Sent via Deja.com http://www.deja.com/ > Before you buy. > - -- Learn Linux from "Linux Documentation Project" http://www.linuxdoc.org Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Can LILO boot a VxWorks image? Date: Thu, 07 Dec 2000 17:57:37 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <90oda1$j5c$1@nnrp1.deja.com> Sender: bpringlemeir@DeadDuck >>>>> "Tony" == hamandeggs writes: Tony> Does anyone know if LILO can be used/modified to include a Tony> VxWorks image as one of its booting possibilities? I should certainly be possible. However, you would have to modify your vxWorks image to boot like a BIOS loaded it. Or you would have to modify LiLo to put vxWorks where your BSP expects it to be. Tony> Would this be violating LILO license or use issues? No, it is not or booting Windows/DOS/OS2 etc would also be a violation. You would have to provide the source to the LILO that you are using. cheers, Bill - -- Being allowed is allowed. --------------------------- Newsgroups: comp.os.vxworks Subject: re: Problems redirecting console input. Date: Thu, 7 Dec 2000 17:43:03 +0000 (GMT) From: David Laight Organization: Lawrence Berkeley National Laboratory Message-ID: <200012071743.RAA18580@dsl-2.tadpole.co.uk> > I need to keep the tShell but temporarly redirects the > console input to my task. I use shellOrigStdSet(STD_IN, nullFd), where > nullFd is "/null" and after I call ioTaskStdSet(taskNameToId("myTask"), > 0, consoleFd), where consoleFd is "/tyCo/0". /null is documented to error reads - so you would need a different device. However shellOrigStdSet() only affects the fd's the shell is started with. You need to restart the shell for this to have any effect. I'm not sure of the 'official' vxworks method. rlogind seems to call excJobAdd( shellRestart, 1, 0... ). Suspending the shell doesn't work - it suspends locked in the console read() code. You task works a p=1 probably because it alternates with ethe shell for rx data. David - ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 --------------------------- Newsgroups: comp.os.vxworks Subject: SCSI disk init Date: Thu, 7 Dec 2000 9:49:29 -0800 From: rcw@DynRes.com Organization: Lawrence Berkeley National Laboratory Message-ID: Hello all you VxWorks 'rs, _ I'm having a problem getting a SCSI disk drive into my system. I've done this before and maybe I'm forgetting something, but I'm pretty sure I have a problem from the get-go. _ If I do a scsiShow, the info displayed is: _ _ ID LUN VendorID___ ProductID____ Rev. Type_ Blocks_ BlkSize pScsiPhysDev - -- --- -------- ---------------- ---- ---- -------- ------- ------------ _0_ 0_ S@A@A@E_ S@3 2 6@________ 0 0___ 0_ 16828449___ 512___ 0x03bf7720 Notice the odd stuff every other byte in the vendor and product ID. _ Does anyone have an idea as to the cause of this? _ I have the termination jumper on the 761 I/O module and the termination jumper on the disk drive, and termination power (on the disk drive) is jumpered for "from SCSI bus". Only 1 SCSI device (other than the controller). _ This is for a Seagate 9G disk on a MVME2604, Tornado 1. - --------------------------------------------- Ronald Wagner Principal Engineer Manager, DRI Driving Simulator Dynamic Research, Inc.___ +1 310 212 5211 (v) 355 Van Ness Avenue______ +1 310 212 5046 (f) Torrance, CA_ USA 90501__ rwagner@dynres.com _ --------------------------- Newsgroups: comp.os.vxworks Subject: Simultaneously Access using semaphore Date: Thu, 07 Dec 2000 11:21:13 -0800 From: Narender Jain Organization: HNS Message-ID: <3A2FE328.43DACCB3@hns.com> hi All! I have a structure which two tasks want to share. It looks somewhat like this: typedef sharedstruct _type_s { int flag; char arr[100]; } struct_s; typedef struct _type_a { int readindex; int writeindex; struct_s s[200]; } type_a; type_a a; The tasks one to read/write into a.s[index].arr The read/write are controlled by the indices, and the flag. The reader reads from the readindex, and the writer writes into the writeindex. The reader reads from readindex of s only if a.s[readindex].flag is 1. The writer writes into the writeindex of s only if a.s[writeindex].flag is 0. The reader is as follows: task_reader() { if (a.s[a.readindex].flag == 1) { //process the arr (we dont modify anything, just read it) semTake(semA); a.s[a.readindex].flag = 0; a.readindex = (a.readindex+1)%200; semGive(semA); } } The write is: task_writer() { if (a.s[a.writeindex].flag == 0) { semTake(semA); a.s[a.writeindex].flag = 0; a.writeindex = (a.writeindex+1)%200; semGive(semA); } } As can be seen, the arr, the flag and the indices are "only read" when the other task is holding the semaphore but modified only when semaphore is held. I am not sure if this would any problems... Please let me know what u think of this Thanks and Regards Narender --------------------------- Newsgroups: comp.os.vxworks Subject: How do I link together multiple archive (.out) files Date: Thu, 07 Dec 2000 15:19:48 -0500 From: Girish Pahlya Organization: Lucent Technologies Message-ID: <3A2FF0E4.6D83BE13@lucent.com> Given that there are bunch of modules each having a Makefile (which creates a .out file), then how do I combine all these archives together into one 'super archive', so that I can download only one archive file? thanks, girish --------------------------- Newsgroups: comp.os.vxworks Subject: Motorola Boards Date: Thu, 7 Dec 2000 15:42:08 -0500 From: "Harman Bassan" Organization: The University of Western Ontario, London, Ont. Canada Message-ID: <90orvg$llm$1@panther.uwo.ca> Hi Everyone, We have some of the old VME based Motorola Boards sitting here. These Boards were manufactured by IRONICS and the Model numbers are IV-3230 (68030) and IV-3207 (68040). I think the company is out of business and I am wandering where can i find some BSP for them, so that i can use them to run VxWorks? Any help will be greatly appriciated. Thanks, Harman. --------------------------- Newsgroups: comp.os.vxworks Subject: VxWorks DDNS Client Implementation Date: Thu, 07 Dec 2000 20:42:12 GMT From: dgiorgis@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90osn3$1b2$1@nnrp1.deja.com> Does anyone know of a Dynamic DNS implementation for VxWorks? I'm just looking for the client portion that can format and send DNS UPDATE messages to the server as necessary. Dan Giorgis Tridium dang at tridium dot com Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: ADA TEXT I/O Date: Thu, 07 Dec 2000 21:19:44 GMT From: Ted Dennison Organization: Deja.com - Before you buy. Message-ID: <90out7$36n$1@nnrp1.deja.com> References: <90o9g4$49n$1@overload.lbl.gov> In article <90o9g4$49n$1@overload.lbl.gov>, Morris John M DLVA wrote: > an MV167. I write an ADA procedure which just "put"s one line to > standard output. I can call the procedure from the shell and it runs > correctly (presumably) once. If I call it again, however, the > procedure blows up claiming a "MODE ERROR." Does that sound familiar > to anyone? I'm guessing that it is something to do with standard out, > but I have no idea what. (And I'm brand-spanking new to ADA.) Could you post the *exact* Ada code you are using, and the *exact* error you are seeing? That looks like the exception one gets when one tries to perform an operation on a file that is inconsistent with its current state. For instance, trying to write to a read-only file, trying to open an already opened file, etc. The exact rules are in the LRM (available online at http://www.ada-auth.org/~acats/arm-html/RM-TOC.html ). - -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: IRQ enabled ? pcPentium Date: 7 Dec 2000 19:58:58 +0100 From: xwasznio@lab.felk.cvut.cz (Waszniowski) Organization: Mailgate.ORG Server - http://www.Mailgate.ORG Message-ID: <3A2FDDDA.BFA158BD@lab.felk.cvut.cz> Hi, could any body write me, how can I find out, if IRQ on Pentium is enable. I can use sysIntEnablePIC to enable IRQ, but I would like to know, if somebody else did it before me. thank Libor - -- Posted from lag.ensieg.inpg.fr [195.220.24.163] via Mailgate.ORG Server - http://www.Mailgate.ORG --------------------------- Newsgroups: comp.os.vxworks Subject: elfHex S9 Address Record Problem Date: Thu, 7 Dec 2000 16:33:17 -0500 From: s.eckardt@ixthos.com Organization: Lawrence Berkeley National Laboratory Message-ID: <90p23j$aqp$1@overload.lbl.gov> We're using the Sun/Solaris version of elfHex to convert PowerPC VxWorks bootrom code to an S-record file. The calling syntax is: elfHex -a 100 bootrom > bootrom.hex. The data records seem fine, but the S9 address record has an incorrect format. The generated address record is S904000000FB; I expected S9030000XX. Any ideas? Suzie Eckardt Chief Software Engineer Ixthos, Inc. s.eckardt@ixthos.com --------------------------- Newsgroups: comp.os.vxworks Subject: Network Booting Problem Date: Thu, 7 Dec 2000 16:53:39 -0500 From: s.eckardt@ixthos.com Organization: Lawrence Berkeley National Laboratory Message-ID: <90p23j$aqq$1@overload.lbl.gov> We had a problem recently in booting a VxWorks image using FTP across an ethernet network. We used the UNIX "snoop" command and discovered that the initial TCP handshake was not successful; the host machine was not accepting the target's TCP SYN request. The TCP RFC indicated that this might occur if there was already a connection on that socket. Sure enough, we checked the host and found an existing connection. Presumably, it was a remnant of an aborted/crashed FTP session. We manually removed the obsolete connection and were then able to boot the target. Manual intervention should not be necessary, though. The TCP RFC indicated that it is the target's responsibility to generate a "reset connection" request to the host to correct this condition. Why didn't the bootrom code generate the TCP reset?? Also, we noticed that the initial TCP sequence number (ISN) is the same for each boot attempt and for all boards executing the same version of bootrom code. Is this a problem? Configuration: Tornado 2 on custom PowerPC 603e boards Suzie Eckardt Chief Software Engineer Ixthos, Inc. s.eckardt@ixthos.com 703-779-2534 x305 --------------------------- Newsgroups: comp.os.vxworks Subject: Printer Port on an MVME2700 Date: 7 Dec 2000 22:14:51 GMT From: claveman@cod.nosc.mil (Charles H. Sampson) Organization: Computer Sciences Corporation Message-ID: <90p24r$pk4$1@newpoisson.nosc.mil> I'm trying to find out how to access the printer port on an MVME2700. I've spent a lot of time looking for a "programming manual" at the Motorola and National Semiconductor web sites, without any luck. I found a post from Dave Bradford last July on this subject. A re- sponse came from Bill Dennon at Motorola who said he had a "data sheet" that has the requisite information. Neither is reachable at the email addresses they were using at that time. Is either of you out there? Will you send me a copy of the data sheet if you are? If not, can anybody else help? Charlie - -- ****** For an email response, my user name is "sampson" and my host is "spawar.navy.mil". --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Printer Port on an MVME2700 Date: Fri, 08 Dec 2000 00:11:29 +0100 From: Sebastien Fauris Organization: Club-Internet (France) Message-ID: <3A301921.A4F981BB@club-internet.fr> References: <90p24r$pk4$1@newpoisson.nosc.mil> Hi Charles, is it a CL-CD1283 parallel port controller on your board ? Sebastien. "Charles H. Sampson" wrote: > I'm trying to find out how to access the printer port on an > MVME2700. I've spent a lot of time looking for a "programming manual" > at the Motorola and National Semiconductor web sites, without any luck. > > I found a post from Dave Bradford last July on this subject. A re- > sponse came from Bill Dennon at Motorola who said he had a "data sheet" > that has the requisite information. Neither is reachable at the email > addresses they were using at that time. > > Is either of you out there? Will you send me a copy of the data > sheet if you are? If not, can anybody else help? > > Charlie > > -- > ****** > > For an email response, my user name is "sampson" and my host > is "spawar.navy.mil". --------------------------- Newsgroups: comp.os.vxworks Subject: prjComps.h file is missing Date: Thu, 7 Dec 2000 14:59:49 -0800 From: Jim Way Organization: Lawrence Berkeley National Laboratory Message-ID: <90p5k4$bev$1@overload.lbl.gov> VxWorks 5.4 Tornado II Fellow VxWorkers, I recently modified an existing, working project by adding three new source files and three "external dependencies". When I went to rebuild the project, I received a make error: "make: *** No rule to make target `prjComps.h', needed by `sysALib.o'. Stop." I've learned the following. prjComps.h is created by compiling prjConfig.c. I can confirm that this is happening. But when I rebuild my project, Tornado deletes this file. I've tried copying the file from another similar project; same result. I've tried compiling prjConfig.c, then making prjComps.h read-only; Tornado still deletes it. I should note that I've added files to this project before and experienced no problems. I've also tried creating a new project and populating it with the files from the old project - no improvement. I've also exitted the Tornado environment and come back in - no change. Wind River tech support is working on the problem (TSR 222095), but after a day and a half they've not found a solution. WindSurf also has turned up nothing. Since Phone-A-Friend and 50-50 didn't help, I'd like to use my last lifeline and Ask-The-Audience. Any suggestions? Jim - ----------------------------------------- Jim Way, Software Engineer Datum Austin (Austron Inc.) voice: 512.721.4170 fax : 512.990.9712 email: jwayATdatumDOTcom (no spam please) - ----------------------------------------- --------------------------- Newsgroups: comp.os.vxworks Subject: Tornado on windows 2000 Date: Thu, 07 Dec 2000 23:25:23 GMT From: wv12@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90p68t$9m8$1@nnrp1.deja.com> Does Tornado2 run on windows 2000? If it does, what's the procedure for adding the virtual device ulip.sys. I found the procedure for adding ulip on NT, in the html documents, but not for win 2000. Thanks Will Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: PCI Burst Transfer Date: Fri, 08 Dec 2000 00:13:03 GMT From: bill2000k@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90p92a$bur$1@nnrp1.deja.com> We are using Motorola MCP750 system controller boards with VxWorks 5.4. When performing a block memory move across the PCI bus (backplane) using memcpy(), it appears as though the transfer occurs as a series of PCI memory write transactions. Is there any way to perform a block memory move over the PCI bus such that it is transferred using PCI burst transactions? I'm looking for ways to minimize the PCI bus utilization as we are doing several such memory moves. Thanks in advance, Bill Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: ADA TEXT I/O Date: Thu, 7 Dec 2000 19:27:43 -0500 From: "Jeff Creem" Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <90o9g4$49n$1@overload.lbl.gov> If this is VADS based, one possible cause might be that you are not allowed to re-run a VADS program that has terminated. This is somewhat of a pain but sort of makes sense since when you first ld the program the data segment has a particular state that upon re-runining the program the state is changed. In practice this is not too big of a deal for the production system but can be a pain during development (having to unld and ld for multiple runs). Once you have an actual program that stays up and runs for a long time, you can usually interact with the shell an call procedures over and over while the main program is running (assuming you spawn the main program rather than running it from the context of the shell task). To make your procedure available from the shell just add a pragma External_Name(Some_Procedure,."_Some_Procedure"); where the item is quotes is the name you want to call it from the shell. I also had some problems with certain versions where calling these externals from a non-Ada task would some times cause problems so I just killed and recalled the shell entry point from an Ada task. I assume this is some existing legacy system and you are prevented from upgrading to newer vxWorks versions? "Morris John M DLVA" wrote in message news:90o9g4$49n$1@overload.lbl.gov... > I apologize if this is a stupid question, but... I'm using VxWorks 5.1 and > an MV167. I write an ADA procedure which just "put"s one line to standard > output. I can call the procedure from the shell and it runs correctly > (presumably) once. If I call it again, however, the procedure blows up > claiming a "MODE ERROR." Does that sound familiar to anyone? I'm guessing > that it is something to do with standard out, but I have no idea what. (And > I'm brand-spanking new to ADA.) > > Thanks in advance, > John --------------------------- Newsgroups: comp.os.vxworks Subject: standard template libraries -- STL Date: Thu, 7 Dec 2000 18:41:09 -0600 From: "herqlez" Organization: Motorola CIG Message-ID: <90pan7$5oj3@nntp.cig.mot.com> Hi. I was wondering if anyone has gotton STL to work on VxWorks? Is there any tricks that need to be done to make it work, i.e. certain items included in your kernel, or compiling with certain flags? I'm trying to use the linked-list/iterator parts of the STL. The object file loads fine, but fails to execute properly. This is the error I get: data access Exception current instruction address: 0x0771fed8 Machine Status Register: 0x0000b030 Data Access Register: 0x0a0ea804 Condition Register: 0x42400082 Data storage interrupt Register: 0x42000000 The code is below. It runs fine on NT/UNIX. All the code does is read from the file and store the words in a list. The code works until the "addItem" method, then it bombs. I think there is a problem with the iterator. Any help would be appreciated. /* listmain.c */ /* C++ Word Frequency Count Program using Linked List */ /* Using Standard Template Library, WP--12/99 */ #include #include #include #include #include #include using namespace std; extern "C" { int maine(); } class Item { string word; /* a word */ int count; /* # occurrances of this word */ public: Item(char *w){word = w; count = 1;}; //constructor string getWord() {return word;}; int getCount() {return count;}; void incCount() {count++;}; }; typedef list ITEMLIST; ITEMLIST wl; int dcount, tcount; void addItem(Item x, ITEMLIST &wl); void countWords(ITEMLIST l); int maine(int argc, char *argv[]) { string s; char line[200], *word, filename[20]; int n; FILE* input; if(argc==2) strcpy(filename, argv[1]); else { printf("Enter File Name: "); scanf("%s", &filename); } printf("FIle: %s\n", filename); input = fopen(filename, "r"); if(!input) { printf("Cannot open file %s.\n", filename); return 1; } while( fgets(line, 199, input) ) { for(word = strtok(line," ,.:;!?\t\n"); word!=NULL; word = strtok(NULL," ,.:;!?\t\n")) { if(isalpha(word[0])) // don't insert numbers { Item item(word); addItem(item, wl); //will convert word to an item //because parameter is declared item } } } //display the list, five words per line n = 0; for (ITEMLIST::iterator i = wl.begin(); i != wl.end(); ++i) { cout << i->getWord() << " " << i->getCount() << " "; if((++n)%5==0) cout << endl; //5 words per line } cout << endl; countWords(wl); cout << filename << " has " << tcount << " total words, " << dcount << " distinct words\n"; return 0; } //Adds one item to the list, in alphabetic order void addItem(Item item, ITEMLIST &wl) { ITEMLIST::iterator i; i = wl.begin(); printf("5***"); for(i = wl.begin(); i != wl.end() ; i++) { if ( i->getWord() < item.getWord()) { printf("OH OH"); } else { break; } } printf("6"); if((i != wl.end())) if ( (i->getWord())==(item.getWord()) ) i->incCount(); else wl.insert(i, item); // insert item before i } void countWords(ITEMLIST l) { ITEMLIST::iterator i; for(i = l.begin(); i != l.end(); i++) { dcount++; tcount += i->getCount(); } } --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Printer Port on an MVME2700 Date: Fri, 08 Dec 2000 01:37:49 GMT From: William Dennen Organization: Motorola Computer Group Message-ID: <3A303B89.BE4469E8@motorola.com> References: <90p24r$pk4$1@newpoisson.nosc.mil> "Charles H. Sampson" wrote: > > I'm trying to find out how to access the printer port on an > MVME2700. I've spent a lot of time looking for a "programming manual" > at the Motorola and National Semiconductor web sites, without any luck. > > I found a post from Dave Bradford last July on this subject. A re- > sponse came from Bill Dennon at Motorola who said he had a "data sheet" > that has the requisite information. Neither is reachable at the email > addresses they were using at that time. > > Is either of you out there? Will you send me a copy of the data > sheet if you are? If not, can anybody else help? > > Charlie > > -- > ****** > > For an email response, my user name is "sampson" and my host > is "spawar.navy.mil". Charlie Hopefully by separate Email you'll get the PC87308VUL manual that you'll need. If not, beat me about the head & shoulders at the address below ... - -- >@< William Dennen | We have met the enemy Motorola Computer Group, TOPAZ | and they is us ... william.dennen@motorola.com | -- Pogo --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Can the target write to the host's file system? Date: Thu, 07 Dec 2000 16:41:19 GMT From: wolfb@trellisautomation.com (Wolfgang Boessenecker) Organization: Ameritech.Net www.ameritech.net Complaints: abuse@ameritech.net Message-ID: <3a2fbb3b.8768999@news.det.ameritech.net> References: <9093m2$c3t$1@murdoch.harvard.net> <14sm2tsag2kpgv1ct6ft978tkn5vofmrfg@4ax.com> Hi Amit, you said, that vxWorks does a nice job of virtualizing a remote file system via ftp. I just have got a problem on that and maybe you can help me: If I try to open an existing and readable file via fopen for reading, it sometimes fails and returns just a NULL pointer. If I try it multiple times within a loop, it will probably return the desired filepointer after some fopen calls. Does anybody know how to get rid of that behaviour? Thanks in advance, Wolfgang On Mon, 04 Dec 2000 12:30:06 +0200, Amit Raam wrote: >Yes: just do an fopen; we use an FTP server on NT to accomplish this. vxWorks >does a nice job of virtualizing a remote file system via ftp. >To write to c:\sysdump, you'll need to define the FTP home at c:\ . >Make sure to handle security on your NT host (is it a closed network?) > > FILE *f; > if (f = fopen(perfDataCollFileName, "w") == NULL) > handleError(); > if (fprintf(f, "text") < 0) > handleError(); > if (fclose(f) == EOF) > handleError(); > > > >"Andrew Carlisle" wrote: > >>Hello, >> >>Is it possible to have the vxWorks target write to the host's file system? >>For instance, I have a target running vxWorks that has no hard drive. I >>would like to be able to open and close files on the NT host's file system. >>For instance, I would like to write to c:/sysdump/dump.txt from the target. >>Is this possible? >> >>Andy >> >>acarlisle@envoynetworks.com >> > > >Amit Raam >Email address: raama at indigo.co.il >-------------------------------------------------- >".sigless and proud of it" (R) (C) (tm) (look-and-feel) >Std. disclaimer:I don't represent the opinions of anyone but myself. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Tornado on windows 2000 Date: Fri, 08 Dec 2000 02:17:43 GMT From: "Dina Brown" Organization: Road Runner - NC Message-ID: References: <90p68t$9m8$1@nnrp1.deja.com> There is a Win2K patch on http://www.wrs.com/corporate/html/tsmain.html under the windsurf link. wrote in message news:90p68t$9m8$1@nnrp1.deja.com... > > > Does Tornado2 run on windows 2000? If it does, what's the procedure for > adding the virtual device ulip.sys. I found the procedure for adding > ulip on NT, in the html documents, but not for win 2000. > Thanks > Will > > > Sent via Deja.com http://www.deja.com/ > Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: vxWorks assigned MAC addresses? Date: Thu, 07 Dec 2000 18:56:58 -0800 From: Baris Dundar Organization: University of California at Berkeley Message-ID: <3A304DFA.686F0BDF@eecs.berkeley.edu> Hi, We have two pentium vxWorks machines connected to different subnets, ifShow displays the same wrong MAC address (00:b4:c0:91:02:98) on both computers, the ethernet packets meant for both computers contain this wrong MAC address as the destination MAC address in their ethernet headers and these computers accept those packets. It seems that vxWorks somehow assigns the same MAC address to both computers (rather than using their real MAC addresses!). Isn't that weird? Has somebody seen that before? Baris ps: we are using Tornado 2 (with cumulative patch 3 installed) and the fei network driver. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: How do I link together multiple archive (.out) files Date: Fri, 08 Dec 2000 03:22:35 GMT From: "Patrick@Roadrunner" Organization: Road Runner Message-ID: <%tYX5.3791$c32.229023@typhoon.san.rr.com> References: <3A2FF0E4.6D83BE13@lucent.com> The direct answer is "you can't". .out files cannot be used for linking, they are used for downloading. If you are using T2 environment and create new build spec for each project that has archive output (.a) rather than .out. You can then link all these libraries together at the final vxworks build time. Patrick "Girish Pahlya" wrote in message news:3A2FF0E4.6D83BE13@lucent.com... > Given that there are bunch of modules each having a Makefile (which creates a > .out file), then how do I combine all these archives together into one 'super > archive', so that I can download only one archive file? > > thanks, > girish --------------------------- Newsgroups: comp.os.vxworks Subject: Re: How can I get a Gateway IP? Date: Fri, 08 Dec 2000 05:43:56 GMT From: ellin_lin@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90pses$qd8$1@nnrp1.deja.com> References: <90np22$2q2$1@nnrp1.deja.com> In article <90np22$2q2$1@nnrp1.deja.com>, ssekim@chollian.net wrote: > Hi all! > > I want to get IP addresses of ethernet and gateway. > > I found a IP address of ethernet using ifAddrGet(). > > But How can I get a IP address of gateway? > > In the ifLib(network interface library), I can't found a proper > function for a gateway. > > Thanks in advance. > I think you can get the gateway from NVRAM as a boot parameter. ellin > Sent via Deja.com http://www.deja.com/ > Before you buy. > Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: vxWorks assigned MAC addresses? Date: Fri, 08 Dec 2000 05:47:41 GMT From: ellin_lin@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90pslt$qg4$1@nnrp1.deja.com> References: <3A304DFA.686F0BDF@eecs.berkeley.edu> In article <3A304DFA.686F0BDF@eecs.berkeley.edu>, Baris Dundar wrote: > Hi, > > We have two pentium vxWorks machines connected to different subnets, > ifShow displays the same wrong MAC address (00:b4:c0:91:02:98) on both > computers, the ethernet packets meant for both computers contain this > wrong MAC address as the destination MAC address in their ethernet > headers and these computers accept those packets. It seems that vxWorks > somehow assigns the same MAC address to both computers (rather than > using their real MAC addresses!). Isn't that weird? > > Has somebody seen that before? > > Baris > > ps: we are using Tornado 2 (with cumulative patch 3 installed) and the > fei network driver. > I use vxworks with Motorola MCP7xx, and I met the same puzzle as you. I found VxWorks got the MAC Addr. from it's NVRAM. I had to change it manually. Wish these helpful to you. ellin Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: vxWorks assigned MAC addresses? Date: Fri, 08 Dec 2000 07:12:04 GMT From: klaus1745@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90q1k3$tqn$1@nnrp1.deja.com> References: <3A304DFA.686F0BDF@eecs.berkeley.edu> <90pslt$qg4$1@nnrp1.deja.com> In article <90pslt$qg4$1@nnrp1.deja.com>, ellin_lin@my-deja.com wrote: > In article <3A304DFA.686F0BDF@eecs.berkeley.edu>, > Baris Dundar wrote: > > Hi, > > > > We have two pentium vxWorks machines connected to different subnets, > > ifShow displays the same wrong MAC address (00:b4:c0:91:02:98) on both > > computers, the ethernet packets meant for both computers contain this > > wrong MAC address as the destination MAC address in their ethernet > > headers and these computers accept those packets. It seems that > vxWorks > > somehow assigns the same MAC address to both computers (rather than > > using their real MAC addresses!). Isn't that weird? > > > > Has somebody seen that before? > > > > Baris > > > > ps: we are using Tornado 2 (with cumulative patch 3 installed) and the > > fei network driver. > > > > I use vxworks with Motorola MCP7xx, and I met the same puzzle as you. > I found VxWorks got the MAC Addr. from it's NVRAM. I had to change it > manually. > Wish these helpful to you. > > ellin The reason is your BSP: when the network driver gets initialized in xxattach() ( or xxendLoad() if you use SENS/END ) he ask for the MAC address. Now it seems that the address is hard coded in SW instead of reading the network card's PROM. KLAUS Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: BSP EDP7211 Date: Fri, 08 Dec 2000 09:57:24 +0100 From: Olaf Ulrich Organization: Siemens AG, Nbg-M, Deutschland Message-ID: <3A30A274.B86C62FD@nbgm.siemens.de> Reply-To: olaf.ulrich@nbgm.siemens.de Hi all, does anyone know if there is a BSP for the EDP7211 from Cirrus Logic. Or does anyone has some expierience with this board? Thanks. Andi --------------------------- Newsgroups: comp.os.vxworks Subject: Re: BSP EDP7211 Date: Fri, 08 Dec 2000 10:01:17 +0100 From: Andreas Danner Organization: Siemens AG, Nbg-M, Deutschland Message-ID: <3A30A35D.BF155051@nbgm.siemens.de> References: <3A30A274.B86C62FD@nbgm.siemens.de> Sorry about the name Olaf Ulrich, my news programm was configured wrong. this is the right address now :-) Andi --------------------------- Newsgroups: comp.os.vxworks Subject: Re: prjComps.h file is missing Date: Fri, 08 Dec 2000 09:12:37 GMT From: Thomas Rahn Organization: Deja.com - Before you buy. Message-ID: <90q8m3$3gm$1@nnrp1.deja.com> References: <90p5k4$bev$1@overload.lbl.gov> Reply-To: trahn@macrosystem.de Hi Jim, I experienced a similar problem when I ported a T1 bootrom project to the T2 project facility. There seem to be a missing dependency... or at least the correct path. Workaround: add a dummy dependency Select your build in the Workspace, open the properties dialog, change to the rules tab. Then add a rule (New/Edit). Fill in the fields: Target=prjComps.h Dependencies={${PRJ_DIR}/prjComps.h} Commands=-@echo prjComps.h Deselect "invoke this rule before build" Press OK, Press Apply Add "prjComps.h" as explicit dependency to any custom rules. You must change each build in your project. I tryed to avoid this by patching the tcl scripts, but the project generation procedures are slightly cryptic. Bye Thomas Rahn Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: about boot image and NVRAM~~ Date: Fri, 8 Dec 2000 17:22:26 +0800 From: Organization: SEEDNet News Service Message-ID: <90q98h$fph$1@news.seed.net.tw> hi~~every developer: I need help. First, I use tornado to build a project and execute tornad->build->est specific builds. Choice the "bootrom_uncom.bin",and build a boot image . I burn the file to flash , and use this project rebuild a vxworks image.(tornado->build->build all) I don't change any configurations in files during the process. When I reboot the demoboard, the image file(vxworks) is downloaded ,but the system boot is down, the terminal stop in " Starting at 0X100000... " but i use the same project to build a new image . (tornad0->build->est specific builds->estwdbnetappshell.vxworks) This image file can be executed by boot image. What wrong I do ? or what key i ignore? or what I should do first now ? IN tornado user guide 2.5.5 file:///C:/Tornado/docs/tornado/winguide/c-start5.html#85011 If the line "Starting at" is printed and there is no further indication of activity from VxWorks, this generally indicates there is a problem with the boot image. the boot image has problem or vxworks image?? some body can tell me ,what?where?how?or others? 2nd, anybody know the NVRAM's function is writen in which file? In my demoboard , there are one EEPROM which is used as NVRAM~~ When I burn the boot image into the flash, then reboot the demoboard the system is booted I key in "@" , the boot image will ftp to host download vxworks image ,but I don't want to use NVRAM,I can find boot_line descript in flash, so I want to boot image according to flash memory's data to ftp my host, doesn't according to nvram(EEPRON}'s data( default_boot_line ). Somebody can tell me where is the setup of the boot image ,or what i can find the related data in tornado's book(which one ,which page ?). hope everybody can understand what i mean. --------------------------- Newsgroups: comp.os.vxworks Subject: wireless ethernet on cisco aironet 340 Date: Fri, 08 Dec 2000 09:51:01 GMT From: phil_pls@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90qau4$502$1@nnrp1.deja.com> Hi vxWorkers Did somebody implement a WLAN using the cisco aironet 340 system thrue a PCMCIA Card ? Which driver has been used ? thanks ! philippe.le.sauze@sydel.fr Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Fri Dec 8 04:23:43 2000 From: Christopher Slominski Date: Fri Dec 8 04:23:45 PST 2000 Subject: Mutual Exclusion VxWorks users, Do mutual exclusion techniques need to be used when concurrent processes (tasks, threads, ...) share a single memory item, of the processer's native data bus size? In other words, can read or write bus cycles to a 32-bit data item on a 32-bit data bus get interrupted? It does not seem possible to me, but can a modern pipeline processors with multiple caches actually have this happen? Does it matter if the architecture is multi or single processor? My current work is on a single processor VxWorks (mv167) architecture and I would like to limit OS locking if I can. I have one writer that infrequently updates a database of simple integers, and a reader that that may be getting numbers at many times per second. Thanks, Chris From vxwexplo-errs@csg.lbl.gov Fri Dec 8 11:02:43 2000 From: Chris Elliott Date: Fri Dec 8 11:02:45 PST 2000 Subject: Re: Mutual Exclusion AFAIK, accessing a single memory item that is the size of a data register and aligned properly should be atomic. I have not used every CPU in existance though. On the mv167 I have used this technique via pointer swapping. I checked to make sure the compiler accessed the pointer in a single CPU instruction and I marked the data item volatile. You did say that you had a database of integers. Of course accessing multiple integers will not be atomic as a whole, so you must be tolerant of that. But if a single integer is aligned to a 4 byte boundary, it will be read atomically. In the single CPU case, the cache does not matter. In a multiple CPU case with shared memory, things get tricky. First you must have bus snooping or use flushes and invalidates. In your non-locking scheme, you would also have to make sure only one CPU writes to data anywhere in a cache line. Therefore a struct with a data item updated by one CPU next to a data item updated by another CPU would not work. Of course you can mark the memory region as non-cacheable, but you still need to be aware of how the shared buses (VME, PCI, CPU bus, etc.) work. --- the vxWorks Users Group Exploder wrote: > Submitted-by vxwexplo-errs@csg.lbl.gov Fri Dec 8 > 04:23:43 2000 > Submitted-by: Christopher Slominski > > VxWorks users, > Do mutual exclusion techniques need to be used > when concurrent > processes (tasks, threads, ...) share a single > memory item, of the > processer's native data bus size? In other words, > can read or write bus > cycles to a 32-bit data item on a 32-bit data bus > get interrupted? It > does not seem possible to me, but can a modern > pipeline processors with > multiple caches actually have this happen? Does it > matter if the > architecture is multi or single processor? My > current work is on a > single processor VxWorks (mv167) architecture and I > would like to limit > OS locking if I can. I have one writer that > infrequently updates a > database of simple integers, and a reader that that > may be getting > numbers at many times per second. > > Thanks, > Chris __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ From vxwexplo-errs@csg.lbl.gov Sat Dec 9 04:03:09 2000 From: Vxworks Exploder Date: Sat Dec 9 04:03:11 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Sat Dec 9 04:03:05 PST 2000 Subject: Mutual Exclusion Subject: RE: SCSI disk init Subject: Access ROM BIOS on a PC/104 From VxWorks? Subject: prjConfig ad usrConfig Subject: Re: Endianness on a PowerPC Subject: No output from printf Subject: Re: PCI Problems - Subject: Re: Tornado on windows 2000 Subject: Re: PCI Subject: Re: PCI Burst Transfer Subject: Re: Printer Port on an MVME2700 Subject: Re: standard template libraries -- STL Subject: re: Mutual Exclusion Subject: Re: Mutual Exclusion Subject: Re: Motorola Boards Subject: Re: elfHex S9 Address Record Problem Subject: Re: TrueFFS Subject: Re: No output from printf Subject: Re: ACE, VxWorks & Message Queues. Subject: debugging END driver with full simulator Subject: Problem Using vxworks Simulator on laptop. Subject: Debugger loads slowly in Tornado 2 Subject: WRS Vx Works driver workshop (books)?? Subject: Please help - Undefined Symbol ! Subject: Re: Printer Port on an MVME2700 Subject: Re: dowloading java class with memdrvbuild Subject: vx works Debugger ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Mutual Exclusion Date: Fri, 08 Dec 2000 07:23:10 -0500 From: Christopher Slominski Organization: Lawrence Berkeley National Laboratory Message-ID: <90qmr3$lm$1@overload.lbl.gov> VxWorks users, Do mutual exclusion techniques need to be used when concurrent processes (tasks, threads, ...) share a single memory item, of the processer's native data bus size? In other words, can read or write bus cycles to a 32-bit data item on a 32-bit data bus get interrupted? It does not seem possible to me, but can a modern pipeline processors with multiple caches actually have this happen? Does it matter if the architecture is multi or single processor? My current work is on a single processor VxWorks (mv167) architecture and I would like to limit OS locking if I can. I have one writer that infrequently updates a database of simple integers, and a reader that that may be getting numbers at many times per second. Thanks, Chris --------------------------- Newsgroups: comp.os.vxworks Subject: RE: SCSI disk init Date: 08 Dec 2000 09:36:33 -0400 From: skinner@drea.dnd.ca (Bruce S. Skinner) Organization: DREnet News Server Message-ID: Hello Ron & VxWorks folks. I wonder if there is a mixup over wide and narrow scsi that might cause your problem. Is your system wide SCSI capable all the way through? You need both a 5 row (VME-64) backplane and the MVME-761-011 for wide scsi. I wonder if having just a MVME-761-001 or a standard VME-32 backplane in the path wouldn't produce the corrupt scsiShow? I've gota similar setup here, so if you are still having trouble I should be able to give you a hand. I am using Tornado2.0 (the only diff. that should make is the method used to set the scsi related macros). I am also using A MVME-2604 with the 761-011 and 761EXT in a VME-64 crate and a Seagate (ST39236LW---wide SCSI) 9GB drive. I am using the default jumper settings on the drive and all I had to do was move the 761 jumper to enable termination on the 761 end. regards :-) BruceS >I'm having a problem getting a SCSI disk drive into my system. I've >done this before and maybe I'm forgetting something, but I'm pretty >sure I have a problem from the get-go. >_ >If I do a scsiShow, the info displayed is: >_ >_ >ID LUN VendorID___ ProductID____ Rev. Type_ Blocks_ BlkSize pScsiPhysDev >-- --- -------- ---------------- ---- ---- -------- ------- ------------ >_0_ 0_ S@A@A@E_ S@3 2 6@________ 0 0___ 0_ 16828449___ 512___ 0x03bf7720 > >Notice the odd stuff every other byte in the vendor and product ID. >_ >Does anyone have an idea as to the cause of this? >_ >I have the termination jumper on the 761 I/O module and the >termination jumper on the disk drive, and termination power (on the >disk drive) is jumpered for "from SCSI bus". Only 1 SCSI device >(other than >the controller). >_ >This is for a Seagate 9G disk on a MVME2604, Tornado 1. > - -- Bruce S. Skinner , (902)426-3100 x205 DRDC/RDDC, DREA , P.O. Box 1012 Dartmouth, Nova Scotia, Canada, B2Y 3Z7 --------------------------- Newsgroups: comp.os.vxworks Subject: Access ROM BIOS on a PC/104 From VxWorks? Date: Fri, 8 Dec 2000 08:38:51 -0500 From: "Ken Collins" Organization: Harris Government Communication Systems Message-ID: <90qo9b$hmc$1@jerry.ess.harris.com> Does anyone know if it is possible, when running VxWorks on a PC/104 target, to access any of the ROM BIOS functions? I am running some test code on an Ampro LB3-P5x and need to enable/disable/set the hardware watchdog timer (not a VxWorks watchdog timer). On this target it is done as follows: enable: mov ah,c3h ; select function mov al,1 ; enable watchdog timer mov bx, 5 ; set 5 second timeout int 15 ; call BIOS function disable: mov ah, c3h mov al,0 ; disable watchdog timer int 15 I know that VxWorks remaps a lot of the default X86/PC interrupt vectors (adds 32 to them), but I don't think this one is available at all. I've tried this code using in-line assembly in a test driver with interrupts 15h and (15 + 20)h. Neither works. Does anyone out there have any experience here? Thanks, Ken --------------------------- Newsgroups: comp.os.vxworks Subject: prjConfig ad usrConfig Date: Fri, 08 Dec 2000 14:17:40 GMT From: bmurr@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90qqhu$g3s$1@nnrp1.deja.com> Is it the case that the file prjConfig.c performs the same functionality as usrConfig, but that it is generated by the Project facility in Tornado 2.0? This is not explicitly stated in the documentation. It can be confusing when they talk about particular files when in fact it could be either of the files mentioned above. In particular the section vxWorks Initialization Timeline (8.3 vxWorks 5.4 Programmers Guide) there is a description of usrConfig.c. However on my system this files never gets used - so I take it that prjConfig.c is the equivalent? Could anyone clarify this? Brian Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Endianness on a PowerPC Date: Fri, 08 Dec 2000 14:41:55 +0000 From: James Marshall Organization: Agilent Technologies UK Ltd Message-ID: <3A30F333.4AE6047@agilent.com> References: <8FEE5B6FDborkhuislucentcom@135.7.153.101> > If you want to avoid extra code, see if you can modify the HW in such a way > that it performs the byteswaps for you. Otherwise you have to do it in your > SW. Remember that on modern processors, software byteswaps will happen in parallel with the external access to the device so for bulk transfers they are essentially free. James. --------------------------- Newsgroups: comp.os.vxworks Subject: No output from printf Date: Fri, 08 Dec 2000 16:08:28 GMT From: bmurr@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <90r11l$m0a$1@nnrp1.deja.com> I am not getting any output from printf statements from within my source code. I am using the Tornado 2.0 project facility. My configuration is a single serial connection using Target Server File System (TSFS) to connect to the target. All the Console and Redirection properties are selected i.e. Redirect Target IO, Create Console Window, Redirect Target The target server line is:- tgtsvr.exe 158.140.224.42 -n SerialServerName -A -s -V -B wdbserial - -Bt 15 -b 38400 -d COM1 -R E:\proj\MyProject\default -redirectIO -C - -redirectShell -c E:\proj\MyProject\default\vxWorks As suggested in the Tornado 2.0 User Guide 4.7 Configuring and Building a VxWorks Boot Program, (TSFS Boot Configuration):- #undef CONSOLE_TTY #define CONSOLE_TTY NONE #undef WDB_TTY_CHANNEL #define WDB_TTY_CHANNEL 0 #undef WDB_COMM_TYPE #define WDB_COMM_TYPE WDB_COMM_SERIAL #define INCLUDE_TSFS_BOOT #undef INCLUDE_TSFS_BOOT_VIO_CONSOLE #define INCLUDE_TSFS_BOOT_VIO_CONSOLE I can use printf from my shell and it is displayed in both my shell and the Virtual Console. Any suggestions? Brian Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: PCI Problems - Date: Fri, 08 Dec 2000 16:11:42 +0000 From: James Marshall Organization: Agilent Technologies UK Ltd Message-ID: <3A31083E.17F3B533@agilent.com> References: <8vlm2n$lr9$1@overload.lbl.gov> Have you configured the PCI-PCI bridge's I/O Base & Limit, Memory Base & Limit, and Prefetchable Memory Base & Limit registers? Whatever region(s) your PMC device uses (i/o, mem, prefetchable mem) must also be configured on the bridge. This way the bridge claims the transaction initiated on PCI bus 0 (eg. from the processor) and passes it to the secondary bus where it is claimed by your configured PMC device. Without the appropriate base & limit registers configured, the bridge doesn't know what address ranges to claim. I don't think sysPciDevConfig() handles this - is there a sysPciBridgeConfig()? I use a PC-based target which has the luxury of a PCI BIOS to do the PCI configuration. Remember that the size of address ranges you can program bridges for is much coarser than a device, for example a device can claim as little as 4kB memory space but a bridge has a minimum of 1MB. This means that a bridge might claim a memory read transaction on its primary bus that has no associated device on the secondary bus, leading to a master abort on the secondary bus and a target abort being returned to the initiator on the primary bus with data value all F's. sysPciShow() only shows you the PCI Config space, but I think it also shows you the base & limit registers for a bridge. James. Atkinson Andrew wrote: > Hi All > > We have a Radstone PPC4 running VxWorks 5.3.1 and an NT Host. > > We require assistance with some PCI issues. > > We have a PMC device which resides on a PMC carrier card which itself is > routed onto the PCI bus via a PCI-PCI bridge. We can see the bridge and > the PMC device when we do a 'sysPciShow'. However, when we attempt to > access the device in memory we are running into problems. Below is code > extract of what we have attempted so far: > > STATUS digitalPIOInit (void) > { > uint32_t busNumber; > uint32_t slotNumber; > PMCIPIO1_T * pmcPIO1; > > /* Try and locate the device on the PCI bus */ > if ((sysPciDevProbe (PCI_ID (PCI_VEN_ID_RADSTONE, > PCI_DEV_ID_PMCPIO1), 0, &busNumber, &slotNumber)) != ERROR) > { > printf("digitalPIOInit:found PIO device on bus %d, slot > %d\n", busNumber, slotNumber); > } > else > { > printf("digitalPIOInit:could not locate the device on > the PCI bus\n"); > return; > } > > /* Configure the devices command register */ > if ((sysPciDevConfig (busNumber, slotNumber, > PCI_ENABLE_BUS_MASTER | PCI_ENABLE_MEMORY_SPACE, NULL, 0, 0)) == OK) > { > printf("digitalPIOInit:device configured\n"); > } > else > { > printf("digitalPIOInit:device not configured\n"); > return; > } > > /* Get a handle on the memory mapped device */ > pmcPIO1 = (PMCPIO1_T *) (CPU_PCI_ISA_MEM_ADRS + > (int8_t *) sysPciConfigReadLong > (busNumber, slotNumber, 0, PCI_CONFIG_BAR_0)); > > /* Check the test registers */ > printf("Test Register 1 = %X\n", pmcPIO1->testRegister1); > printf("Test Register 2 = %X\n", pmcPIO1->testRegister2); > } > > After executing this code, we cannot see the device at the expected > address. > > So what we would like to know is: > > 1. What are the necessary steps to map a device into PCI memory > space? > 2. How does this differ from mapping to PCI IO space (apart from > addresses) if at all? > 3. Typically, how much configuration is performed by the system PCI > configuration routine? > > Any help appreciated - as well as any other PCI 'gems'! > > From : > Originator Mr. Andy Atkinson - AMASS Software Engineer > Room number 1 > Bldg number 31A > Site DERA Bincleaves > Ext Number BCL (806) 4660 > Fax Number BCL (806) 4661 or (01305) 764661 > Email ICE : aatkinson1@mail.dera.gov.uk > > Unc : Amass@dera.gov.uk > > -- > The Information contained in this E-Mail and any subsequent correspondence > is private and is intended solely for the intended recipient(s). > For those other than the recipient any disclosure, copying, distribution, > or any action taken or omitted to be taken in reliance on such information is > prohibited and may be unlawful. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Tornado on windows 2000 Date: Fri, 8 Dec 2000 08:24:22 -0800 From: "SternMaster" Organization: Intelligence Network Online, Inc. Message-ID: <608Y5.2$lU2.963@news.intnet.net> References: <90p68t$9m8$1@nnrp1.deja.com> To the extent that it installs, sure Tornado2 runs under NT2000, as demonstrated by the installation on my laptop. Of course, I am using Tornado for Managed Switches but, I doubt there is any difference. I have been able to compile, review on-line documentation, and install new tools via the CUSTOMIZE option of the TOOLS menu item; the IDBGEN product, for instance. My suggestion is to simply follow the NT4 procedure, as NT2000 is not much different. "Dina Brown" wrote in message news:bxXX5.1831$4K4.371383@typhoon.southeast.rr.com... > There is a Win2K patch on http://www.wrs.com/corporate/html/tsmain.html > under the windsurf link. > > wrote in message news:90p68t$9m8$1@nnrp1.deja.com... > > > > > > Does Tornado2 run on windows 2000? If it does, what's the procedure for > > adding the virtual device ulip.sys. I found the procedure for adding > > ulip on NT, in the html documents, but not for win 2000. > > Thanks > > Will > > > > > > Sent via Deja.com http://www.deja.com/ > > Before you buy. > > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: PCI Date: Fri, 08 Dec 2000 16:30:35 +0000 From: James Marshall Organization: Agilent Technologies UK Ltd Message-ID: <3A310CAB.833BD70@agilent.com> References: <3a238402$0$3431$4dbef881@businessnews.de.uu.net> You need to enable PCI support in your BSP, probably through adding INCLUDE_PCI (I think) to config.h. This adds all the remaining address space into the MMU and should stop the page fault you get when accessing memory addresses of PCI devices. James. Bertram Tenner wrote: > Hi, > I'm quite new to vxWorks and I'm trying to access a PCI-card on a x86 board. > Is there any command in the vxWorks C-language for x86 to access directly a > memory address for memory mapped I/O or have I to write it in assembler code > ? > Thanks > Bertram --------------------------- Newsgroups: comp.os.vxworks Subject: Re: PCI Burst Transfer Date: Fri, 08 Dec 2000 16:54:46 +0000 From: James Marshall Organization: Agilent Technologies UK Ltd Message-ID: <3A311256.DE60A7AA@agilent.com> References: <90p92a$bur$1@nnrp1.deja.com> Bill, I think control of burst transfer is purely part of the PCI bus protocol between the initiator and target. If the target says it can take more data then the initatiator can just keep sending it up to the value in the Cache Line Size register. James. bill2000k@my-deja.com wrote: > We are using Motorola MCP750 system controller boards with VxWorks 5.4. > When performing a block memory move across the PCI bus (backplane) > using memcpy(), it appears as though the transfer occurs as a series of > PCI memory write transactions. Is there any way to perform a block > memory move over the PCI bus such that it is transferred using PCI > burst transactions? I'm looking for ways to minimize the PCI bus > utilization as we are doing several such memory moves. > > Thanks in advance, > > Bill > > Sent via Deja.com http://www.deja.com/ > Before you buy. bill2000k@my-deja.com wrote: > We are using Motorola MCP750 system controller boards with VxWorks 5.4. > When performing a block memory move across the PCI bus (backplane) > using memcpy(), it appears as though the transfer occurs as a series of > PCI memory write transactions. Is there any way to perform a block > memory move over the PCI bus such that it is transferred using PCI > burst transactions? I'm looking for ways to minimize the PCI bus > utilization as we are doing several such memory moves. > > Thanks in advance, > > Bill > > Sent via Deja.com http://www.deja.com/ > Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Printer Port on an MVME2700 Date: 8 Dec 2000 17:17:00 GMT From: claveman@cod.nosc.mil (Charles H. Sampson) Organization: Computer Sciences Corporation Message-ID: <90r52c$bpn$1@newpoisson.nosc.mil> References: <90p24r$pk4$1@newpoisson.nosc.mil> <3A301921.A4F981BB@club-internet.fr> Sebastien: No, the parallel port is on a National Semiconductor PC87308VUL chip. This chip also controls a couple of serial ports, a floppy disk, a mouse, and probably some other things that I've forgotten. Charlie In article <3A301921.A4F981BB@club-internet.fr>, Sebastien Fauris wrote: >Hi Charles, > >is it a CL-CD1283 parallel port controller on your board ? > >Sebastien. > >"Charles H. Sampson" wrote: > >> I'm trying to find out how to access the printer port on an >> MVME2700. I've spent a lot of time looking for a "programming manual" >> at the Motorola and National Semiconductor web sites, without any luck. >> >> I found a post from Dave Bradford last July on this subject. A re- >> sponse came from Bill Dennon at Motorola who said he had a "data sheet" >> that has the requisite information. Neither is reachable at the email >> addresses they were using at that time. >> >> Is either of you out there? Will you send me a copy of the data >> sheet if you are? If not, can anybody else help? >> >> Charlie >> >> -- >> ****** >> >> For an email response, my user name is "sampson" and my host >> is "spawar.navy.mil". > - -- ****** For an email response, my user name is "sampson" and my host is "spawar.navy.mil". --------------------------- Newsgroups: comp.os.vxworks Subject: Re: standard template libraries -- STL Date: Fri, 08 Dec 2000 17:54:42 GMT From: "Martin Boulay" Organization: Magma Communications Ltd. Message-ID: References: <90pan7$5oj3@nntp.cig.mot.com> Hi! If you using the project facility of Tornado2 you will have to go inside the vxWorks tab under c++ components. Inside the c++ component you go inside the standard library and then include de "c++ standard template library". After recompile your vxWorks and run again. That's it! Bye Martin. herqlez wrote in message <90pan7$5oj3@nntp.cig.mot.com>... > >Hi. I was wondering if anyone has gotton STL to work on VxWorks? Is there >any tricks that need to be done to make it work, i.e. certain items included >in your kernel, or compiling with certain flags? I'm trying to use the >linked-list/iterator parts of the STL. The object file loads fine, but >fails to execute properly. This is the error I get: > >data access >Exception current instruction address: 0x0771fed8 >Machine Status Register: 0x0000b030 >Data Access Register: 0x0a0ea804 >Condition Register: 0x42400082 >Data storage interrupt Register: 0x42000000 > > >The code is below. It runs fine on NT/UNIX. All the code does is read from >the file and store the words in a list. The code works until the "addItem" >method, then it bombs. >I think there is a problem with the iterator. > >Any help would be appreciated. > >/* listmain.c */ >/* C++ Word Frequency Count Program using Linked List */ >/* Using Standard Template Library, WP--12/99 */ >#include >#include >#include >#include >#include >#include > >using namespace std; > >extern "C" >{ > int maine(); >} > >class Item { > string word; /* a word */ > int count; /* # occurrances of this word */ >public: > Item(char *w){word = w; count = 1;}; file://constructor > string getWord() {return word;}; > int getCount() {return count;}; > void incCount() {count++;}; >}; > >typedef list ITEMLIST; >ITEMLIST wl; >int dcount, tcount; >void addItem(Item x, ITEMLIST &wl); >void countWords(ITEMLIST l); > >int maine(int argc, char *argv[]) >{ > string s; > char line[200], *word, filename[20]; > int n; > FILE* input; > > if(argc==2) strcpy(filename, argv[1]); > else { > printf("Enter File Name: "); > scanf("%s", &filename); > } > printf("FIle: %s\n", filename); > input = fopen(filename, "r"); > > if(!input) { > printf("Cannot open file %s.\n", filename); > return 1; > } > while( fgets(line, 199, input) ) > { > > for(word = strtok(line," ,.:;!?\t\n"); > word!=NULL; > word = strtok(NULL," ,.:;!?\t\n")) > { > if(isalpha(word[0])) // don't insert numbers > { > > Item item(word); > addItem(item, wl); file://will convert word to an item > file://because parameter is >declared item > } > } > } > file://display the list, five words per line > n = 0; > for (ITEMLIST::iterator i = wl.begin(); i != wl.end(); ++i) > { > cout << i->getWord() << " " << i->getCount() << " "; > > if((++n)%5==0) > cout << endl; file://5 words per line > } > cout << endl; > countWords(wl); > cout << filename << " has " << tcount << " total words, " << dcount << >" distinct words\n"; > return 0; >} > >//Adds one item to the list, in alphabetic order >void addItem(Item item, ITEMLIST &wl) >{ > ITEMLIST::iterator i; > i = wl.begin(); > printf("5***"); > >for(i = wl.begin(); i != wl.end() ; i++) > { > > if ( i->getWord() < item.getWord()) > { > printf("OH OH"); > } > else > { > break; > } > } > printf("6"); > > if((i != wl.end())) > if ( (i->getWord())==(item.getWord()) ) > i->incCount(); > else > wl.insert(i, item); // insert item before i > > >} > >void countWords(ITEMLIST l) >{ > ITEMLIST::iterator i; > for(i = l.begin(); i != l.end(); i++) > { > dcount++; > tcount += i->getCount(); > } >} > > > > --------------------------- Newsgroups: comp.os.vxworks Subject: re: Mutual Exclusion Date: Fri, 8 Dec 2000 11:02:41 -0800 (PST) From: Chris Elliott Organization: Lawrence Berkeley National Laboratory Message-ID: <90rbu3$78q$1@overload.lbl.gov> AFAIK, accessing a single memory item that is the size of a data register and aligned properly should be atomic. I have not used every CPU in existance though. On the mv167 I have used this technique via pointer swapping. I checked to make sure the compiler accessed the pointer in a single CPU instruction and I marked the data item volatile. You did say that you had a database of integers. Of course accessing multiple integers will not be atomic as a whole, so you must be tolerant of that. But if a single integer is aligned to a 4 byte boundary, it will be read atomically. In the single CPU case, the cache does not matter. In a multiple CPU case with shared memory, things get tricky. First you must have bus snooping or use flushes and invalidates. In your non-locking scheme, you would also have to make sure only one CPU writes to data anywhere in a cache line. Therefore a struct with a data item updated by one CPU next to a data item updated by another CPU would not work. Of course you can mark the memory region as non-cacheable, but you still need to be aware of how the shared buses (VME, PCI, CPU bus, etc.) work. - --- the vxWorks Users Group Exploder wrote: > Submitted-by vxwexplo-errs@csg.lbl.gov Fri Dec 8 > 04:23:43 2000 > Submitted-by: Christopher Slominski > > VxWorks users, > Do mutual exclusion techniques need to be used > when concurrent > processes (tasks, threads, ...) share a single > memory item, of the > processer's native data bus size? In other words, > can read or write bus > cycles to a 32-bit data item on a 32-bit data bus > get interrupted? It > does not seem possible to me, but can a modern > pipeline processors with > multiple caches actually have this happen? Does it > matter if the > architecture is multi or single processor? My > current work is on a > single processor VxWorks (mv167) architecture and I > would like to limit > OS locking if I can. I have one writer that > infrequently updates a > database of simple integers, and a reader that that > may be getting > numbers at many times per second. > > Thanks, > Chris __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Mutual Exclusion Date: Fri, 08 Dec 2000 19:35:21 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <90rbu3$78q$1@overload.lbl.gov> Sender: bpringlemeir@DeadDuck sig_atomic_t ============ "http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_21.html" "http://www.delorie.com/gnu/docs/glibc/libc_365.html" This type should be gaurenteed to be atomic. I thought that ANSI had defined a type like this as well, (ie, ptrdiff_t, size_t etc). I don't think that this type will work with multi-processor types, unless the processors support bus snooping and the like to maintain cache-coherency and other good stuff. hth, Bill >>>>> "Chris" == Chris Elliott writes: Chris> AFAIK, accessing a single memory item that is the size of a Chris> data register and aligned properly should be atomic. I have Chris> not used every CPU in existance though. On the mv167 I have Chris> used this technique via pointer swapping. I checked to make Chris> sure the compiler accessed the pointer in a single CPU Chris> instruction and I marked the data item volatile. >> VxWorks users, Do mutual exclusion techniques need to be used when >> concurrent processes (tasks, threads, ...) share a single memory [snip] >> have this happen? Does it matter if the architecture is multi or >> single processor? My current work is on a single processor - -- It is reasoning and faith that bind truth . - Rod Ryker... --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Motorola Boards Date: Fri, 08 Dec 2000 13:54:00 -0600 From: Andrew Johnson Organization: APS, Argonne National Laboratory Message-ID: <3A313C58.1F41599A@aps.anl.gov> References: <90orvg$llm$1@panther.uwo.ca> Harman Bassan wrote: > > We have some of the old VME based Motorola Boards sitting here. These > Boards were manufactured by IRONICS and the Model numbers are IV-3230 > (68030) and IV-3207 (68040). I think the company is out of business and I am > wandering where can i find some BSP for them, so that i can use them to run > VxWorks? You may have to write your own, but I would start by looking at the iv3206 and iv3220 BSPs that can be found in your /target/unsupported/config directory - the differences may be minor. - - Andrew - -- Every great idea appears crazy to start with. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: elfHex S9 Address Record Problem Date: Fri, 08 Dec 2000 21:20:21 +0100 From: Patrick Deiber Organization: PatDB Message-ID: <3A314285.38367B65@wanadoo.fr> References: <90p23j$aqp$1@overload.lbl.gov> Reply-To: patrick.deiber@wanadoo.fr If you don't need S9 records, try : elfHex -a 100 bootrom | sed "/S9/d" > bootrom.hex s.eckardt@ixthos.com wrote: > We're using the Sun/Solaris version of elfHex to convert PowerPC VxWorks > bootrom code to an S-record file. The calling syntax is: elfHex -a 100 > bootrom > bootrom.hex. The data records seem fine, but the S9 address > record has an incorrect format. The generated address record is > S904000000FB; I expected S9030000XX. Any ideas? > > Suzie Eckardt > Chief Software Engineer > Ixthos, Inc. > s.eckardt@ixthos.com - -- - ------------------------------------------------------------------ Mail : patrick.deiber@wanadoo.fr patrick@deiber.org Web : http://www.deiber.org - ------------------------------------------------------------------ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: TrueFFS Date: Fri, 08 Dec 2000 20:41:57 GMT From: "Andray Kaganovsky" Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: References: <1I7Y5.18249$rr3.893360@news> In article <1I7Y5.18249$rr3.893360@news>, "Jim" wrote: > Hello all, > > I am working with a 2048 x 8 part, which are arranged on a 4 chip = > interleaved SIMM ... I have written an MTD which has a small problem ... = > in my Indentify routine I set up the Socket,etc as follows ... > > flSetWindowBusWidth(vol.socket,8);=20 > flSetWindowSpeed(vol.socket,120); =20 > flSetWindowSize(vol.socket, 2);=20 > vol.noOfChips =3D 4; > vol.interleaving =3D 4; > vol.chipSize =3D 0x00100000L ; /*not entir chip for now*/ > vol.erasableBlockSize =3D 0x40000L; /*256 k block size with = > interleaving*/ > > So far I can run tffsRawio commands successfully ... however when I do a = > sysTffsFormat ... a problem is occuring ... namely this problem is that = > that the there are attempts made to overwrite bytes in flash which are = > not initially empty.=20 > > Has anyone seen this before ... > > Cheers and thanks again for any help ... > > Jim > > ps I "fixed" my write routine to "back up the blocks old contents and = > then erase it then restore it with the string which is requested to be = > written ... if i do this I can write files , read files, etc without = > problems ... but its very slow because I don't think the "back up" = > should have to be done at the MTD layer... [AndrayK]. As far as I know, the FTL Flash Translation Layer routinely writes over existing data. However, every such write operation never attempts to write '1' over '0' (which is physically impossible with flash), only '0' over '1'. Check if your flash parts allow write operations of this kind (i.e. write over existing data, turning some of the '1' into '0'). If your flash part doesn't support this kind of writes, then you probably won't be able to use it with FTL. Andray --------------------------- Newsgroups: comp.os.vxworks Subject: Re: No output from printf Date: Fri, 08 Dec 2000 12:44:05 -0800 From: Rajesh Tripathi Organization: Globix Corp. Message-ID: <3A314814.D31C8094@com21.com> References: <90r11l$m0a$1@nnrp1.deja.com> bmurr@my-deja.com wrote: > I am not getting any output from printf statements from within my > source code. > > I am using the Tornado 2.0 project facility. My configuration is a > single serial connection using Target Server File System (TSFS) to > connect to the target. All the Console and Redirection properties are > selected > i.e. Redirect Target IO, Create Console Window, Redirect Target > > The target server line is:- > > tgtsvr.exe 158.140.224.42 -n SerialServerName -A -s -V -B wdbserial > -Bt 15 -b 38400 -d COM1 -R E:\proj\MyProject\default -redirectIO -C > -redirectShell -c E:\proj\MyProject\default\vxWorks > > As suggested in the Tornado 2.0 User Guide 4.7 Configuring and > Building a VxWorks Boot Program, (TSFS Boot Configuration):- > > #undef CONSOLE_TTY > #define CONSOLE_TTY NONE > #undef WDB_TTY_CHANNEL > #define WDB_TTY_CHANNEL 0 > #undef WDB_COMM_TYPE > #define WDB_COMM_TYPE WDB_COMM_SERIAL > #define INCLUDE_TSFS_BOOT > #undef INCLUDE_TSFS_BOOT_VIO_CONSOLE > #define INCLUDE_TSFS_BOOT_VIO_CONSOLE > > I can use printf from my shell and it is displayed in both my shell > and the Virtual Console. > > Any suggestions? > > Brian > > Sent via Deja.com http://www.deja.com/ > Before you buy. I had similar problem. Try redirecting stdout to Virtual console by ioGlobalStdSet(1,3) where 3 is fd for virtual console(verify with devs command) Rajesh --------------------------- Newsgroups: comp.os.vxworks,comp.soft-sys.ace Subject: Re: ACE, VxWorks & Message Queues. Date: Fri, 8 Dec 2000 16:07:56 -0500 From: "Edwin McKay" Message-ID: References: I forgot the -DACE_VXWorks=0x540 define in the compiler line, so now it compiles. Linking is not working yet. Edwin McKay wrote in message ... >I'm trying to run the Message Queue program from the tutorial and it won't >compile. I've compiled and ran the Basic_Types program so I think I have >ACE configured/installed properly. When I compile the program using the >VxSim settings it compiles cleanly. > > >Below are the error messages that are produced: > >cc386 -g -mpentium -ansi -nostdinc -DRW_MULTI_THREAD -D_REENTRANT -fvolatil e > -nostdlib -fno-builtin -fno-defer-pop -I. -ID:\WRS\Tornado\target\h -DCPU= PENTIUM -Id:\vx >works_i486_ace -c D:\projects\ace_test\MsgQtest.cpp > --------------------------- Newsgroups: comp.os.vxworks Subject: debugging END driver with full simulator Date: Fri, 08 Dec 2000 16:46:49 -0500 From: Karen West Organization: Motorola Internet and Networking Groop Message-ID: <3A3156C9.43CAA421@motorola.com> Does anyone know if it is possible to debug an END/NPT driver using the full simulator? Thanks, Karen --------------------------- Newsgroups: comp.os.vxworks Subject: Problem Using vxworks Simulator on laptop. Date: Fri, 08 Dec 2000 22:17:10 GMT From: "Badis" Organization: Bell Solutions Message-ID: Hi, I tried to install TORNADO 2.0 on a HP laptop (OMNIBOOK XE2) the Tornado is installed correctly but when I launch the vxworks simulator (VxSim) I had this Error (target server failed to initialize before timeout). Tanks. Badis. --------------------------- Newsgroups: comp.os.vxworks Subject: Debugger loads slowly in Tornado 2 Date: Sat, 09 Dec 2000 00:20:44 GMT From: bintzimf@hotmail.com Organization: Deja.com - Before you buy. Message-ID: <90rtso$esr$1@nnrp1.deja.com> We are running VxWorks on an ARM target. We run both agent or agent- less target servers over ICE or Ethernet. Regardless of the connection method, when we attempt to run the debugger in Tornado (clicking on the ant or the aardvark or whatever it is), on Windows 98 it takes about 40 seconds for Tornado to come back to life. Sometimes Tornado crashes. Sometimes it times out and retry will make it come up later... In contrast, on NT, the debugger loads instantly. Has anyone else experienced this problem? Can someone tell me why 98 takes so long to load and NT is so quick (other than the obvious '98 sucks excuse')? This problem is seriously reducing our productivity and moral when developing with Tornado! :( Thanks in advance for any help! Miles Bintz Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: WRS Vx Works driver workshop (books)?? Date: Fri, 08 Dec 2000 16:59:08 -0800 From: Edi Zaid Organization: Apple Computer, Inc. Message-ID: has anyone taken the vxworks driver workshop from windriver and willing to lend/sell their workshop books? I would be willing to take the course but it is rarely offered and looking at their website is not even planned for the foreseeable future. it would be greatly appreciate. ediaz72@hotmail.com ps. What I am trying to do is learn how to write a pcmcia chip driver for the motorola mpc860 style controller...any pointers/starting point? --------------------------- Newsgroups: comp.os.vxworks Subject: Please help - Undefined Symbol ! Date: Fri, 8 Dec 2000 21:34:36 -0500 From: "Huynh, Hong [CAR:9N23:EXCH]" Organization: Nortel Networks Message-ID: <90s5jv$ia3$1@bcarh8ab.ca.nortel.com> Tornado 2.0 VxWorks 5.4 BSP: PcPentium (466 MHz Celeron) Hi All: I have problem loading the application on to the target hard drive. It is OK when I do this remotely through a Tornado Shell (everything runs fine including spawning the function!). But, when do this on the target itself (target has vxworks image and the application), below is what I got. Can anyone tell me what is wrong? I understand that the symbol is somehow missing/undefined but how to get this problem fixed? Any help or pointers would be greatly appreciated? - -> ld kernelTimeSlice(1) value = 0 = 0x0 - -> sp ace_main undefined symbol: ace_main - -> lkup "ace_main" ace_main(unsigned int) 0x07cbd934 text (router) global constructors keyed to ace_main(unsigned int) 0x07cc0c80 text (router) global destructors keyed to ace_main(unsigned int) 0x07cc0c48 text (router) value = 0 = 0x0 Thanks Hong --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Printer Port on an MVME2700 Date: Sat, 09 Dec 2000 03:20:26 GMT From: rjdejoie@kmrmail.kmr.ll.mit.edu (Bob DeJoie) Message-ID: <3a31a45c.75906557@news> References: <90p24r$pk4$1@newpoisson.nosc.mil> I am using the printer port on an MVME2700 for external I/O bits, I found a PDF datasheet somewhere for the super I/O device. I'll mail it to you if you are still in need. On 7 Dec 2000 22:14:51 GMT, claveman@cod.nosc.mil (Charles H. Sampson) wrote: > I'm trying to find out how to access the printer port on an >MVME2700. I've spent a lot of time looking for a "programming manual" >at the Motorola and National Semiconductor web sites, without any luck. ================================================ Bob DeJoie Kwajalein Missile Range Republic of the Marshall Islands email: rjdejoie@kmrmail.kmr.ll.mit.edu     phone: 805-355-5855 fax: 805-355-3833 Time Zone: GMT +12 hours                      ================================================ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: dowloading java class with memdrvbuild Date: Sat, 09 Dec 2000 09:14:22 GMT From: Engineer Organization: EarthLink Inc. -- http://www.EarthLink.net Message-ID: <3A31F7DA.2F1033A7@hotbot.com> References: <90o9u0$g42$1@nnrp1.deja.com> Make sure you have set the JAVA_HOME macro properly. You also need the classes.zip (PJWorks 3.0.2) or pj.jar (PJWorks 3.0) to run any Java application under VxWorks. I would suggest that you try the tutorial first. $WIND_BASE/target/unsupported/java/tutorial CE ddinker@my-deja.com wrote: > > Hi, > > Environment: Tornado II/vxWorks 5.4/Personal JWorks > > Primary Aim: To run a Java class on vxWorks > > Current Method: > > I used memdrvbuild utility. It converts a .class into .c and .h files > so they can me made into .o files and downloaded. The memDrvAddFiles* > function is used to create a directory and a .class file in that > directory. So we have sort of file system in RAM. > > But on doing > > -> java("-classpath /mountPoint Hello") > > i get this message > > -> Unable to initialize threads: cannot find class java/lang/Thread > > What does this mean? How can I run my class. The core build of java > includes the java.lang.thread (as seen in > host/java/config/components.mk). > > Alternatives: > > Is there any other way to run a java class? we need to run a java class > on our board. Any sort help will be welcome. > > Regards, > Dinker > > Sent via Deja.com http://www.deja.com/ > Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: vx works Debugger Date: Sat, 09 Dec 2000 09:36:05 GMT From: Balajee Premraj Organization: Deja.com - Before you buy. Message-ID: <90sue5$6e9$1@nnrp1.deja.com> Hi all, I have created a root function which creates all the neccessary tasks,semaphores and watch dog timers.On execution of the root task on the shell,the tasks are executed in accordance to their priortity. My question is that ,when i run the debugger it asks for the function to be executed,when i give the root function..after it's execution(i.e after creating all the tasks etc) it stops...Now how do i go about debugging all the tasks that are running.? Is there any otherway by which all the tasks can be analysed ? Thanks in advance waiting for your reply - -- Balajee Premraj - -- Balajee Premraj - -- Balajee Premraj Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Sun Dec 10 04:03:08 2000 From: Vxworks Exploder Date: Sun Dec 10 04:03:10 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Sun Dec 10 04:03:04 PST 2000 Subject: Re: vx works Debugger Subject: Re: PCI Burst Transfer Subject: Re: StrataFlash low level drivers Subject: is dosFs 2.0 a product? Subject: Re: Please help - Undefined Symbol ! ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Re: vx works Debugger Date: Sat, 09 Dec 2000 14:10:39 +0000 From: molochai Message-ID: <2b63392a4a%molochai@vapour-trail.demon.co.uk> References: <90sue5$6e9$1@nnrp1.deja.com> In message <90sue5$6e9$1@nnrp1.deja.com> Balajee Premraj wrote: > > > Hi all, > I have created a root function which creates all the neccessary > tasks,semaphores and watch dog timers.On execution of the root task on > the shell,the tasks are executed in accordance to their priortity. > > My question is that ,when i run the debugger it asks for the function > to be executed,when i give the root function..after it's execution(i.e > after creating all the tasks etc) it stops... You may not appreciate that unless in system debugging mode, the debugger is attached to one task only at any given time: The 'run' option under the debugger spawns a task with the entry point given and attaches the debugger to it. This task is automatically deleted by the kernel when the function which is the entry point returns. It should also be noted that the default priority for a debugger task is usually higher than that of the shell, so when creating lots of tasks with different priorities you might get some surprises unless you guard against your tasks running before you have created all of program objects that might be shared amongst the tasks.... Watchdogs are probably only debuggable in system debug mode as they have a good chance of being run from the timer interrupt. IMHO the only things you should ever be doing with a watchdog is interracting with a kernel object (eg. a semaphore). > Now how do i go about debugging all the tasks that are running.? Is there > any otherway by which all the tasks can be analysed ? You can attach the debugger to a running task. If what you want to do is debug one of the tasks you spawn from its entry point onwards the best bet is to put a taskSuspend() immediately after the entry point, and then attach the debugger to it. As for analysing tasks as they run in real-time, there are lots of things you can do depending on the analysis data you want. If you want to know about interactions between tasks and kernel objects, Windview is the tool to use. Otherwise, you could try using logLib, and/or building tracing code into your program. Hope this helps. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: PCI Burst Transfer Date: Sat, 09 Dec 2000 18:08:58 GMT From: dixon@crd.ge.com Organization: Deja.com - Before you buy. Message-ID: <90tsfn$q89$1@nnrp1.deja.com> References: <90p92a$bur$1@nnrp1.deja.com> <3A311256.DE60A7AA@agilent.com> In article <3A311256.DE60A7AA@agilent.com>, James Marshall wrote: > Bill, > > I think control of burst transfer is purely part of the PCI bus protocol between > the initiator and target. If the target says it can take more data then the > initatiator can just keep sending it up to the value in the Cache Line Size > register. > > James. > > bill2000k@my-deja.com wrote: > > > We are using Motorola MCP750 system controller boards with VxWorks 5.4. > > When performing a block memory move across the PCI bus (backplane) > > using memcpy(), it appears as though the transfer occurs as a series of > > PCI memory write transactions. Is there any way to perform a block > > memory move over the PCI bus such that it is transferred using PCI > > burst transactions? I'm looking for ways to minimize the PCI bus > > utilization as we are doing several such memory moves. > > > > Thanks in advance, > > > > Bill > > > > Sent via Deja.com http://www.deja.com/ > > Before you buy. > > bill2000k@my-deja.com wrote: > > > We are using Motorola MCP750 system controller boards with VxWorks 5.4. > > When performing a block memory move across the PCI bus (backplane) > > using memcpy(), it appears as though the transfer occurs as a series of > > PCI memory write transactions. Is there any way to perform a block > > memory move over the PCI bus such that it is transferred using PCI > > burst transactions? I'm looking for ways to minimize the PCI bus > > utilization as we are doing several such memory moves. > > > > Thanks in advance, > > > > Bill > > > > Sent via Deja.com http://www.deja.com/ > > Before you buy. > > You are seeing the memory writes because memcpy is generating memory read and write bus cycles. If your device can act as a PCI bus master, you can initiate a DMA transfer. The PCI spec sets a 512 word (32 bit) limit as a maximum burst size. If your DMA does not produce maximum size bursts, you need to look at the PCI configuration. standard disclaimers apply Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: StrataFlash low level drivers Date: Sat, 9 Dec 2000 22:53:42 +0100 From: "Jørgen Jakobsen" Organization: CyberCity Internet Message-ID: <90u9n5$23qm$1@news.cybercity.dk> References: <906jfn$do6$1@overload.lbl.gov> <908k4j$dm5$1@nnrp1.deja.com> Hi Jie I'm using TFFS on top of Intel StrataFlash, and it worked almost out of the box. You definitely doesn't need to write a socket layer. What you do is that you use the pid7t-sysTffs.c in tornado\target\src\drv\tffs\sockets, and copy it to your own sysTffs.c and include it in your project. All you then need is to make sure it includes the folliwing : /* defines */ #undef INCLUDE_MTD_I28F016 /* Intel: 28f016 */ #undef INCLUDE_MTD_I28F008 /* Intel: 28f008 */ #undef INCLUDE_MTD_AMD /* AMD, Fujitsu: 29f0{40,80,16} 8bit */ #undef INCLUDE_MTD_CDSN /* Toshiba, Samsung: NAND, CDSN */ #undef INCLUDE_MTD_DOC2 /* Toshiba, Samsung: NAND, DOC */ #define INCLUDE_MTD_CFISCS /* CFI/SCS */ #undef INCLUDE_MTD_WAMD /* AMD, Fujitsu: 29f0{40,80,16} 16bit */ #undef INCLUDE_TL_NFTL /* NFTL translation layer */ #define INCLUDE_TL_FTL /* FTL translation layer */ #undef INCLUDE_TL_SSFDC /* SSFDC translation layer */ #define INCLUDE_TFFS_BOOT_IMAGE /* include tffsBootImagePut() */ #define FLASH_BASE_ADRS VIRT_PRIMARY_FLASH_BASE It actually works fine :) /Jørgen "Jie Ma" wrote in message news:Jz7X5.17627$rr3.793113@news... > Hi Parreg and Tim: > > This is very interesting issue because I am going to do the exactly same > things. > > In page 58 of the TFFS document, TrueFFS for Tornado Programmer's Guide 1.0 > Edition2, it states that the MTD supports CFI. But it doesn't mention > anything about TFFS socket layer. I called wind river. They tald me that I > need to write our own TFFS socket layer for CFI flash. > > The document also mentioned that the jont CFI specification is addopted by > Intel. However, I only see the general CFI driver package. The question is: > how to fit the Intel general CFI driver into TFFS socket layer? Is there a > easy way or different version of CFI to make TFFS socket layer? > > I havn't contact Intel yet, and I am going to. > > Would you mind share your more detailed information? > > Thank you very much. > > Jie > > wrote in message news:908k4j$dm5$1@nnrp1.deja.com... > > In article <906jfn$do6$1@overload.lbl.gov>, > > "timallen" wrote: > > > >Has anyone out there written any low level driver software for the > > > >Intel StrataFlash for integration into the Wind River True File > > System? > > > >Thanks in advance. > > > > > > This shouldn't be necessary since the Intel StrataFlash uses the > > Common > > > Flash Interface(CFI) and Scaleable Command Set (SCS) standards which > > are > > > supported by TrueFFS. > > > > > > Tim. > > > -------------------- > > Understood now, Thanks. > > > Tim Allen Ltd > > > Real Time Embedded Software Consultancy > > > VxWorks > > > > > > > > > > > > Sent via Deja.com http://www.deja.com/ > > Before you buy. > > --------------------------- Newsgroups: comp.os.vxworks Subject: is dosFs 2.0 a product? Date: Fri, 08 Dec 2000 19:51:43 -0800 From: davep Organization: Foothill.Net Message-ID: <3A31AC4F.F3606A25@foothill.net> Hi list, I was told in a previous thread that "dosFs 2.0" would solve my problem of wanting to see long-case-sensitive path and filenames on a FAT32 ATA disk. I could find no info on WindRiver's site. Is dosFs 2.0 a seperate product? Can I ask what the list price is? Before I buy it I should clarify my purpose...I was hoping I could use my already-came-formated Win98 systems with a local harddisk loaded copy of vxWorks that would let me switch between vxWorks (with path names appearing like they do on a unix boot server) and Win98 without having to clobber the disk and use vxWorks format utilities. Is this possible? (It *certainly* would be handy to multi-boot PC's to vxWorks or Windows or whatever) Thanks, DaveP --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Please help - Undefined Symbol ! Date: Sat, 09 Dec 2000 15:26:00 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A32BF88.A87D9876@flashcom.net> References: <90s5jv$ia3$1@bcarh8ab.ca.nortel.com> Reply-To: drdiags@flashcom.net Hong, You should enable synchronizing the Host and Target Symbol Tables option in your Kernel. And make sure that symbol table syncrhonization is enable in the Target Server configuration. Why you should have to do this is better explained by more learned VxWorks users than myself. A lot of this was to alleviate resource demands on the target, but try these suggestions. The flip side of this problem is that if you load your symbols through the target shell (not WindSh), crosswind will not be able to locate/debug the newly added symbols since I believe it uses the symbol table on the Host. HTH "Huynh, Hong [CAR:9N23:EXCH]" wrote: > Tornado 2.0 > VxWorks 5.4 > BSP: PcPentium (466 MHz Celeron) > > Hi All: I have problem loading the application on to the target hard drive. > It is OK when I do this remotely through a Tornado Shell (everything runs > fine including spawning the function!). But, when do this on the target > itself (target has vxworks image and the application), below is what I got. > Can anyone tell me what is wrong? I understand that the symbol is somehow > missing/undefined but how to get this problem fixed? Any help or pointers > would be greatly appreciated? > > -> ld value = 134204756 = 0x7ffcd54 = bgpNode + 0x310 > -> kernelTimeSlice(1) > value = 0 = 0x0 > -> sp ace_main > undefined symbol: ace_main > -> lkup "ace_main" > ace_main(unsigned int) 0x07cbd934 text (router) > global constructors keyed to ace_main(unsigned int) 0x07cc0c80 text (router) > global destructors keyed to ace_main(unsigned int) 0x07cc0c48 text (router) > value = 0 = 0x0 > > Thanks > > Hong --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Mon Dec 11 02:18:58 2000 From: David Laight Date: Mon Dec 11 02:19:01 PST 2000 Subject: Re: Mutual Exclusion You only need to use locks/mutex in order to synchronise more than one item. So the reading of a single aligned 32 bit item on a 32 bit bus is guaranteed to give you a value that was written to that location. This means that code like: lock(); if (state != 0) { unlock(); return -1; } unlock(); Is pointless - if 'state' can change, it could change after the final unlock(). (I found one lock - in the vxWorks DHCP client I recall - that was only ever used in the above construct.......) On mutli-processor systems even with cache coherency you have to allow for writes being delayed in the cpu 'store buffer'. This means you have to be much more careful about locking. The write that clears the lock is queued behind all writes done while the lock is held, so the lock cannot be acquired by a different cpu until all the data written while it was held has reached the cache (and is snoopable). ppc instruction reordering must make this worse! I wrote some code a while ago that cached the last tree look up. The cache could be written without locks because the value read was always a valid reference to a tree entry. Only the delete code had to worry about invalidating the cache. Most stats display routines don't need to lock the stats area - even if the increment code does. If the value is changing it doesn't matter whether the old or new value is used. David ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 From vxwexplo-errs@csg.lbl.gov Mon Dec 11 04:03:07 2000 From: Vxworks Exploder Date: Mon Dec 11 04:03:09 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Mon Dec 11 04:03:04 PST 2000 Subject: Re: PCI Burst Transfer Subject: Re: Can the target write to the host's file system? Subject: R: WRS Vx Works driver workshop (books)?? Subject: Re: is dosFs 2.0 a product? Subject: Re: vxWorks boot from slow host Subject: Re: Network Booting Problem Subject: Tornado 2 problems on Windows ME Subject: DHCP client : Release the DHCP lease IP Subject: DHCP client: BOOT FILE NAME problem. Subject: pthreads Subject: Building a cross-compiler for VxWorks on PPC Subject: Re: Reinstall problem in TII Subject: re: Mutual Exclusion ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Re: PCI Burst Transfer Date: Sun, 10 Dec 2000 12:25:37 GMT From: George Varndell Organization: Deja.com - Before you buy. Message-ID: <90vso1$7b1$1@nnrp1.deja.com> References: <90p92a$bur$1@nnrp1.deja.com> In article <90p92a$bur$1@nnrp1.deja.com>, bill2000k@my-deja.com wrote: > We are using Motorola MCP750 system controller boards with VxWorks 5.4. > When performing a block memory move across the PCI bus (backplane) > using memcpy(), it appears as though the transfer occurs as a series of > PCI memory write transactions. Is there any way to perform a block > memory move over the PCI bus such that it is transferred using PCI > burst transactions? I'm looking for ways to minimize the PCI bus > utilization as we are doing several such memory moves. I assume the PCI memory you're accessing is MMU mapped as a non-cacheable space. In absence of a DMA device to perform the bursting you want, I think your best shot is to create an 'alias' region -- an additional cache-enabled window into the PCI memory space. This window could utilize any unused logical address space, but would allow data movement to accumulate in the data cache before being bursted out to the PCI memory. Of course, this approach burdens your software with cache coherency management issues and may still fail if the PCI target cannot accept burst transfers. Please follow up if you resolve this. Best Regards, George Varndell - -- Embedded Systems Expertise http://www.varndellengineering.com Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Can the target write to the host's file system? Date: Sun, 10 Dec 2000 14:48:25 +0200 From: Amit Raam Organization: Verio Message-ID: References: <9093m2$c3t$1@murdoch.harvard.net> <14sm2tsag2kpgv1ct6ft978tkn5vofmrfg@4ax.com> <3a2fbb3b.8768999@news.det.ameritech.net> It works intermittently, this is what you are saying? This is strange indeed. Does networking work OK otherwise? what does your code look like? what are the settings of your FTP server? wolfb@trellisautomation.com (Wolfgang Boessenecker) wrote: >Hi Amit, > >you said, that vxWorks does a nice job of virtualizing a remote file >system via ftp. I just have got a problem on that and maybe you can >help me: > >If I try to open an existing and readable file via fopen for reading, >it sometimes fails and returns just a NULL pointer. If I try it >multiple times within a loop, it will probably return the desired >filepointer after some fopen calls. > >Does anybody know how to get rid of that behaviour? > >Thanks in advance, >Wolfgang Amit Raam Email address: raama at indigo.co.il - -------------------------------------------------- ".sigless and proud of it" (R) (C) (tm) (look-and-feel) Std. disclaimer:I don't represent the opinions of anyone but myself. --------------------------- Newsgroups: comp.os.vxworks Subject: R: WRS Vx Works driver workshop (books)?? Date: Sun, 10 Dec 2000 16:54:30 GMT From: "Merlin" Organization: [Infostrada] Message-ID: References: i am also interested for the same reasons k6@lycosmail.com Edi Zaid wrote in message B656C3DC.8072%ediaz72@hotmail.com... > has anyone taken the vxworks driver workshop from windriver and willing to > lend/sell their workshop books? I would be willing to take the course but > it is rarely offered and looking at their website is not even planned for > the foreseeable future. > > it would be greatly appreciate. > > > ediaz72@hotmail.com > > ps. What I am trying to do is learn how to write a pcmcia chip driver for > the motorola mpc860 style controller...any pointers/starting point? > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: is dosFs 2.0 a product? Date: 10 Dec 2000 17:55:39 GMT From: Johan Borkhuis Organization: Lucent Technologies, Nieuwegein NL Message-ID: <910g2r$5vh$1@news1.xs4all.nl> References: <3A31AC4F.F3606A25@foothill.net> davep wrote: : Hi list, : I was told in a previous thread that "dosFs 2.0" would solve : my problem of wanting to see long-case-sensitive path and : filenames on a FAT32 ATA disk. I could find no info on : WindRiver's site. : Is dosFs 2.0 a seperate product? : Can I ask what the list price is? It is an update to Tornado2. You can ask your FAE or sales represantative for it, and he will send it to you. Groeten, Johan - -- o o o o o o o . . . ______________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@lucent.com | >(________|__|_[_________]_|___________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: Re: vxWorks boot from slow host Date: 10 Dec 2000 20:38:45 GMT From: Johan Borkhuis Organization: Lucent Technologies, Nieuwegein NL Message-ID: <910pkl$ssq$1@news1.xs4all.nl> References: <3A2FB152.B3CA3D32@swri.edu> Michael Carter wrote: : My main question is the bootup process. When the chassis are turned on : the PPCs boot immediately and, within a few seconds, begin looking for : the host and the FTP server. In the meantime, the VXIpc system is still : running its memory test. Eventually the PPCs time out and just sit : there. After a few minutes, the Windows NT system does eventually boot : up to the login screen. : - DHCP (does this not also have a timeout) : - reset the boards (force SYSRESET for chassis to reset without : resetting controller) : - change the autoboot timeout from 7 to a much higher number(?) : to put a little more pause before the boot process starts : - since i have the bootrom source code, modify the bootLoad code to : continuously retry the netLoad transfer until it succeeds. In : reality, system cannot do anything until it actually does download. I would go for the last option. Just modify the bootcode, so it does what you need in this situation. The second option looks to me like a HW change, and the third one is probably unreliable (as the startup-time of the system can change) and certainly slow (as you have to set the timeout to the maximum bootup time). Just have the bootcode repeat the transfer until it succeeds. Groeten, Johan - -- o o o o o o o . . . ______________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@lucent.com | >(________|__|_[_________]_|___________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Network Booting Problem Date: 10 Dec 2000 20:50:44 GMT From: Johan Borkhuis Organization: Lucent Technologies, Nieuwegein NL Message-ID: <910qb4$ssq$2@news1.xs4all.nl> References: <90p23j$aqq$1@overload.lbl.gov> s.eckardt@ixthos.com wrote: : We had a problem recently in booting a VxWorks image using FTP across an : ethernet network. We used the UNIX "snoop" command and discovered that the : initial TCP handshake was not successful; the host machine was not : accepting the target's TCP SYN request. The TCP RFC indicated that this : might occur if there was already a connection on that socket. Sure enough, : we checked the host and found an existing connection. Presumably, it was a : remnant of an aborted/crashed FTP session. We manually removed the : obsolete connection and were then able to boot the target. : .... : Also, we noticed that the initial TCP sequence number (ISN) is the same for : each boot attempt and for all boards executing the same version of bootrom : code. Is this a problem? That is right: the startup sequence is identical each time you startup. It would have been better if a random generator was inserted, but it is not. Take a look at http://www.xs4all.nl/~borkhuis/vxworks/vxw_pt2.html#2.3-G, there is some more info about this subject. Groeten, Johan - -- o o o o o o o . . . ______________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@lucent.com | >(________|__|_[_________]_|___________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: Tornado 2 problems on Windows ME Date: Mon, 11 Dec 2000 08:03:49 +0900 From: "Young-Jae Kang" Organization: KREONet news service Message-ID: <91123b$eq4$1@usenet.kreonet.re.kr> Hi, there, Is there anybody who installed successfully Tornado 2 on Windows ME? I got the following error message when I try to execute target server. "There was an unknown problem retrieving the licensing information." Is there any solution or patch to solve the problem? Thanks in advance for your time. - -- Young-Jae Kang yj_kang@samsung.com --------------------------- Newsgroups: comp.os.vxworks Subject: DHCP client : Release the DHCP lease IP Date: Sun, 10 Dec 2000 16:32:04 +0200 From: "Eli N" Organization: NetVision Israel Message-ID: <91041c$sru$1@news.netvision.net.il> Hi, I am using the DHCP client component. I try to release the DHCP lease IP by invoke the routine dhcpcRelease() and I received error code: S_dhcpcLib_BAD_COOKIE but I sure that the pDhcpCookie is correct. Why it’s not working? Then I try to invoke dhcpcShutdown() and return NO_ERROR. But the nothing sent to DHCP server and the IP is still leaser. How can I release the lease IP that I received from the DHCP server? TIA! Eli Nidam SanCastle Technologies LTD. --------------------------- Newsgroups: comp.os.vxworks Subject: DHCP client: BOOT FILE NAME problem. Date: Sun, 10 Dec 2000 16:20:41 +0200 From: "Eli N" Organization: NetVision Israel Message-ID: <9103c1$sbq$1@news.netvision.net.il> Hi, I added to my project the DHCP client module, The DHCP client send a DISCOVER frame, and the DHCP server return an OFFER frame. Inside the OFFER frame I can see the BOOT FILE NAME parameter. Then the DHCP client sends a REQUEST frame and the DHCP server reply with ACK frame and inside this frame the BOOT FILE NAME parameter is empty, And when I invoke the routine dhcpcParamsGet() or dhcpcParamsShow() the boot file field is empty. How can I receive from the DHCP client the BOOT FILE NAME parameter? TIA! Eli Nidam SanCastle Technologies LTD. --------------------------- Newsgroups: comp.os.vxworks Subject: pthreads Date: Mon, 11 Dec 2000 08:14:38 GMT From: gandalf107@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <9122dd$pfh$1@nnrp1.deja.com> !!! HELP !!! has anybody ported the pthreads.h from linux to vxworks. greetings lars Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks,gnu.gcc.help Subject: Building a cross-compiler for VxWorks on PPC Date: 11 Dec 2000 03:33:57 -0500 From: "Paul D. Smith" Organization: Bay Networks, Inc. / Billerica, MA Message-ID: Reply-To: psmith@baynetworks.com I'm trying to build a GCC 2.95.2 cross-compiler where the host system is a Debian GNU/Linux system and the target is VxWorks on a PPC (PPC603) chip. I have read the cross-compiling FAQ, searched the archives of the mailing list, used Google and Deja, and poked around the WindRiver site (that last was a total waste of time :-/). So far no joy. I've built and installed binutils 2.10.1 with target powerpc-wrs-vxworks. That worked fine. Now I'm trying to build gcc 2.95.2, again for target powerpc-wrs-vxworks. The first time, it failed to build because it couldn't find basic headers like stddef.h, etc. So, I created a $prefix/powerpc-wrs-vxworks/include directory and copied all the headers from my VxWorks target/h directory there. This may well be where I screwed up, but I don't know what else to do. It then continued on for a long while, until it tried to build powerpc-wrs-vxworks/libiberty (the second or third pass? Probably second). Then it again failed with similar about missing headers when trying to compile libiberty/choose-temp.c; this time I noticed that the sample header directory I had provided was not on the compile line. So, I invoked make overriding the CFLAGS variable to add that directory with - -I. Again, this doesn't seem like it should be necessary, but I don't have better ideas. It still failed on that file, trying to load sys/file.h. There is no sys/file.h in the VxWorks headers I have. However, powerpc-wrs-vxworks/libiberty/config.h says I _do_ have that file (HAVE_SYS_FILE_H is set). I edited the config.h file to unset that value. Obviously this shouldn't be necessary either. Finally that allowed that file to compile and a few more, then it failed again on libiberty/concat.c with: ../../../gcc-2.95.2/libiberty/concat.c: In function `concat': ../../../gcc-2.95.2/libiberty/concat.c:107: incompatible types in assignment ../../../gcc-2.95.2/libiberty/concat.c:133: incompatible types in assignment make[1]: *** [concat.o] Error 1 I'm pretty much at a loss at this point. Are there some different headers I'm supposed to be using? Or something else? Any help or pointers would be appreciated, thanks! - -- - ------------------------------------------------------------------------------- Paul D. Smith HASMAT--HA Software Methods & Tools "Please remain calm...I may be mad, but I am a professional." --Mad Scientist - ------------------------------------------------------------------------------- These are my opinions---Nortel Networks takes no responsibility for them. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Reinstall problem in TII Date: 11 Dec 2000 10:38:51 GMT From: borkhuis@lucent.com (Johan Borkhuis) Organization: Lucent Technologies Message-ID: <900779CB9borkhuislucentcom@135.7.153.101> References: <200012061502.HAA08264@mail18.bigmailbox.com> embedded123@my-deja.com (Deja User) wrote: >Any body have come across the following problem. > > 1.I had T-II for Power PC licensed version on my PC (which has "VxSim" > Lite - without N/W support). > 2.I have uninstalled it and installed "T-II" prototyper(VxSim Full) > with Network support, which is downloaded from WRS site. > 3.After sucessfully installed, While launching "Target server", it > gives "ckserve.exe" is not found. I got the following answer from WRS about this: When Tornado Prototyper was installed on NT, a program called SETUPEX.EXE should have been executed. It is possible that this wasn't executed (though I don't know why) which could be the reason why you get the ckserve error. You should be able to find SETUPEX.EXE in $WIND_BASE/host/x86-win32/bin. $WIND_BASE is the directory in which you installed Tornado Prototyper (C:\Tornado, by default). Try to execute SETUPEX.EXE to see if it takes care of the problem. Groeten, Johan - -- o o o o o o o . . . ___________________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | johan@borksoft.xs4all.nl | >(________|__|_[_________]_|________________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: re: Mutual Exclusion Date: Mon, 11 Dec 2000 10:19:37 +0000 (GMT) From: David Laight Organization: Lawrence Berkeley National Laboratory Message-ID: <200012111019.KAA23753@dsl-2.tadpole.co.uk> You only need to use locks/mutex in order to synchronise more than one item. So the reading of a single aligned 32 bit item on a 32 bit bus is guaranteed to give you a value that was written to that location. This means that code like: lock(); if (state != 0) { unlock(); return -1; } unlock(); Is pointless - if 'state' can change, it could change after the final unlock(). (I found one lock - in the vxWorks DHCP client I recall - that was only ever used in the above construct.......) On mutli-processor systems even with cache coherency you have to allow for writes being delayed in the cpu 'store buffer'. This means you have to be much more careful about locking. The write that clears the lock is queued behind all writes done while the lock is held, so the lock cannot be acquired by a different cpu until all the data written while it was held has reached the cache (and is snoopable). ppc instruction reordering must make this worse! I wrote some code a while ago that cached the last tree look up. The cache could be written without locks because the value read was always a valid reference to a tree entry. Only the delete code had to worry about invalidating the cache. Most stats display routines don't need to lock the stats area - even if the increment code does. If the value is changing it doesn't matter whether the old or new value is used. David - ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Mon Dec 11 08:28:05 2000 From: David Laight Date: Mon Dec 11 08:28:08 PST 2000 Subject: re: DHCP client : Release the DHCP lease IP > I try to release the DHCP lease IP by invoke the routine dhcpcRelease() and > I received error code: S_dhcpcLib_BAD_COOKIE but I sure that the pDhcpCookie > is correct. > Why it’s not working? Basically because the vxworks DHCP code is a pile of #$%&. After a dozen or so TSRs I got the 5.4 source from support. A fews days hacking got it largely into shape. dhcpcRelease (my notes say delete!) just doesn't work in 5.3.1! can NEVER have been tested at all! David ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 From vxwexplo-errs@csg.lbl.gov Tue Dec 12 04:03:09 2000 From: Vxworks Exploder Date: Tue Dec 12 04:03:12 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Tue Dec 12 04:03:05 PST 2000 Subject: Re: Please help - Undefined Symbol ! Subject: (no subject) Subject: Re: Real Time Software Architecture Subject: Re: StrataFlash low level drivers Subject: DHCP and loading Symbol table Subject: DHCP server lease Subject: TCP/IP on PPP Initialization ? Subject: 2700: vme berr handled by normal int (not mce)? Subject: mips & crosswond crashes Subject: Re: mips & crosswond crashes Subject: re: DHCP client : Release the DHCP lease IP Subject: Re: Please help - Undefined Symbol ! Subject: Re: Problems redirecting console input. Subject: Re: VxWorks AE Subject: [VXWORKS BUG+FIX] Nasty bug in VxWorks PPC Cache library/ Compilers and optimization. Subject: Re: Printer Port on an MVME2700 Subject: tcl + build output Subject: Exception at interrupt level Subject: Re: problem installing vxworks image on target Subject: Re: Exception at interrupt level Subject: Expect ported to VxWorks Subject: Connecting host - target Subject: Re: Touch Screen Calibration Subject: IP aliasing and TCP socket Subject: IP aliasing and TCP socket connection Subject: Re: Touch Screen Calibration Subject: VXWorks driver Developer Required Subject: @@ Jobs @ VxWorks S/W Developers Needed - Ottawa Subject: Multi 3c509B card on x86 BSP Subject: Re: Multi 3c509B card on x86 BSP Subject: Multi 3c509B card on x86 BSP Subject: TrueFFS Subject: Internals Of VxWorks Subject: Detecting Telnet Window Resize Subject: Re: Connecting host - target Subject: Re: Internals Of VxWorks ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Re: Please help - Undefined Symbol ! Date: Mon, 11 Dec 2000 12:26:14 GMT From: ddewar@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <912h52$43a$1@nnrp1.deja.com> References: <90s5jv$ia3$1@bcarh8ab.ca.nortel.com> A possibility is that you ace_main is a munged C++ symbol. If it is compiled in a .cpp file and is now given C linkage (extern "C") that could be the case. Then it is possible that the shell doesn't know how to decode C++ munged names. Try preceeding the definition of ace_main with extern "C" if this sounds like it could be the problem: extern "C" int ace_main(unsigned int) { ... code here... } Then recompile, relink and see if you can spawn a task using ace_main. Hope this helps. - -- Don In article <90s5jv$ia3$1@bcarh8ab.ca.nortel.com>, "Huynh, Hong [CAR:9N23:EXCH]" wrote: > Tornado 2.0 > VxWorks 5.4 > BSP: PcPentium (466 MHz Celeron) > > Hi All: I have problem loading the application on to the target hard drive. > It is OK when I do this remotely through a Tornado Shell (everything runs > fine including spawning the function!). But, when do this on the target > itself (target has vxworks image and the application), below is what I got. > Can anyone tell me what is wrong? I understand that the symbol is somehow > missing/undefined but how to get this problem fixed? Any help or pointers > would be greatly appreciated? > > -> ld value = 134204756 = 0x7ffcd54 = bgpNode + 0x310 > -> kernelTimeSlice(1) > value = 0 = 0x0 > -> sp ace_main > undefined symbol: ace_main > -> lkup "ace_main" > ace_main(unsigned int) 0x07cbd934 text (router) > global constructors keyed to ace_main(unsigned int) 0x07cc0c80 text (router) > global destructors keyed to ace_main(unsigned int) 0x07cc0c48 text (router) > value = 0 = 0x0 > > Thanks > > Hong > > Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: (no subject) Date: Mon, 11 Dec 2000 18:48:52 +0530 From: "Nagendra.Singh" Organization: Philips Semiconductors, Bangalore Message-ID: <3A34D43B.DBFA63B5@blr.sc.philips.com> --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Real Time Software Architecture Date: Mon, 11 Dec 2000 08:36:14 -0500 From: jbrindis Organization: GenDynDefSys Message-ID: <3A34D84E.786437E2@gdds.com> References: <90ipk5$va8$1@nnrp1.deja.com> dipalee@my-deja.com wrote: > > Hi, > For real time software architectures, I read something about the RMA > (Rate monolithic Architecture) ... > Does anyone have pointers for more information on softwrae > architectures for real time systems? You might be interested in Rate Monotonic Analysis. You can start by looking at the SEI's website: http://www.sei.cmu.edu/products/videos/intro.rma.html _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ Joe Brindisi (jbrindis@gdds.com) _/ _/ Pittsfield, MA 01201 _/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: StrataFlash low level drivers Date: Mon, 11 Dec 2000 14:09:18 GMT From: parreg@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <912n6a$8l1$1@nnrp1.deja.com> References: <906jfn$do6$1@overload.lbl.gov> <908k4j$dm5$1@nnrp1.deja.com> <90u9n5$23qm$1@news.cybercity.dk> In article <90u9n5$23qm$1@news.cybercity.dk>, "Jørgen Jakobsen" wrote: > Hi Jie > > I'm using TFFS on top of Intel StrataFlash, and it worked almost out of the > box. You definitely doesn't need to write a socket layer. What you do is > that you use the pid7t-sysTffs.c in tornado\target\src\drv\tffs\sockets, and > copy it to your own sysTffs.c and include it in your project. > > All you then need is to make sure it includes the folliwing : > > /* defines */ > > #undef INCLUDE_MTD_I28F016 /* Intel: 28f016 */ > #undef INCLUDE_MTD_I28F008 /* Intel: 28f008 */ > #undef INCLUDE_MTD_AMD /* AMD, Fujitsu: 29f0{40,80,16} 8bit */ > #undef INCLUDE_MTD_CDSN /* Toshiba, Samsung: NAND, CDSN */ > #undef INCLUDE_MTD_DOC2 /* Toshiba, Samsung: NAND, DOC */ > #define INCLUDE_MTD_CFISCS /* CFI/SCS */ > #undef INCLUDE_MTD_WAMD /* AMD, Fujitsu: 29f0{40,80,16} 16bit */ > #undef INCLUDE_TL_NFTL /* NFTL translation layer */ > #define INCLUDE_TL_FTL /* FTL translation layer */ > #undef INCLUDE_TL_SSFDC /* SSFDC translation layer */ > #define INCLUDE_TFFS_BOOT_IMAGE /* include tffsBootImagePut() */ > > #define FLASH_BASE_ADRS VIRT_PRIMARY_FLASH_BASE > > It actually works fine :) > > /Jørgen > > "Jie Ma" wrote in message > news:Jz7X5.17627$rr3.793113@news... > > Hi Parreg and Tim: > > > > This is very interesting issue because I am going to do the exactly same > > things. > > > > In page 58 of the TFFS document, TrueFFS for Tornado Programmer's Guide > 1.0 > > Edition2, it states that the MTD supports CFI. But it doesn't mention > > anything about TFFS socket layer. I called wind river. They tald me that I > > need to write our own TFFS socket layer for CFI flash. > > > > The document also mentioned that the jont CFI specification is addopted by > > Intel. However, I only see the general CFI driver package. The question > is: > > how to fit the Intel general CFI driver into TFFS socket layer? Is there a > > easy way or different version of CFI to make TFFS socket layer? > > > > I havn't contact Intel yet, and I am going to. > > > > Would you mind share your more detailed information? > > > > Thank you very much. > > > > Jie > > > > wrote in message news:908k4j$dm5 $1@nnrp1.deja.com... > > > In article <906jfn$do6$1@overload.lbl.gov>, > > > "timallen" wrote: > > > > >Has anyone out there written any low level driver software for the > > > > >Intel StrataFlash for integration into the Wind River True File > > > System? > > > > >Thanks in advance. > > > > > > > > This shouldn't be necessary since the Intel StrataFlash uses the > > > Common > > > > Flash Interface(CFI) and Scaleable Command Set (SCS) standards which > > > are > > > > supported by TrueFFS. > > > > > > > > Tim. > > > > -------------------- > > > Understood now, Thanks. > > > > Tim Allen Ltd > > > > Real Time Embedded Software Consultancy > > > > VxWorks > > > > > > > > > > > > > > > > > Sent via Deja.com http://www.deja.com/ > > > Before you buy. > > > > > Hi Jorgen, >We're about to begin to implement TFFS, are you using the Intel 28f128J3A? Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: DHCP and loading Symbol table Date: Mon, 11 Dec 2000 14:23:02 GMT From: albert.wijnja@meco.nl Organization: Deja.com - Before you buy. Message-ID: <912o00$9fu$1@nnrp1.deja.com> Hello, I have set-up a target that should retrieve its IP address from a (Windows NT) DHCP server. After that, it must load his boot image from another host using FTP. Everything works fine until the symbol table is loaded. It prints "Loading symbol table from C178:.sym" and hangs. Between the colon and the dot the bootfile-name seems to have disappeared (it shoud say: C178:vxWorks.sym). In the file usrLoadSym.c I have found that the bootfilename is extracted from the global struct sysBootParams.hostName. In the bootparameters I specified the bootfile to be vxWorks. It seems that it is able to load the bootfile vxWorks. But after having initialized the network, this bootparameter is somehow cleared. Does anyone have a clue? Albert Wijnja Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: DHCP server lease Date: Mon, 11 Dec 2000 15:00:47 GMT From: lucas_le_mignon@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <912q6q$b94$1@nnrp1.deja.com> Hi fellow, I have a big concern about the DHCP Server. I configured the WRS DHCP server with the parameter below #define DHCPS_DEFAULT_LEASE 60 #define DHCPS_MAX_LEASE 60 When my PC retrives an IP address from the DHCP server running in my target, it obtains an IP address for 60 seconds. That is correct But After the timeout, It receives 3600 seconds for the next lease, instead of 60 seconds. Is something missing in configuration ? Thank s in advance Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: TCP/IP on PPP Initialization ? Date: Mon, 11 Dec 2000 15:21:58 GMT From: acardoza@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <912red$cia$1@nnrp1.deja.com> I am able to successfully start a PPP connection between two devices. The one device contains VxWorks 5.4 for MC68E302 boards. On investigating the link status using pppInfoGet I find that ipcp_fsm_state == OPENED. When this condition is met I try to start a FTP Deamon on the VxWorks device without any success. No TCP/IP functions seem to work. I have even tried PING (Pinging myself, the loopback interface and the other PPP device) without any success. The IP statistics do not change at all. Is there anything specific that I must execute or set once the PPP connection is up and going ? Do I have to explecitly re-initialize the TCP/IP stack ? Any suggestions are welcome. Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: 2700: vme berr handled by normal int (not mce)? Date: Mon, 11 Dec 2000 11:05:33 -0500 From: Al Johnston Organization: MindSpring Enterprises Message-ID: <3A34FB4D.1486F81F@mindspring.com> The raven seems to be able to detect VME BERR's arising from (non posted) vme accesses and then to either cause a machine check exception or a normal interrupt. I have the first method working, and am not trying to switch over to the second method. Has anyone out there got this working? First I re arranged the INT_EXT_SRCn defines in config.h such that PRIORITY_LEVEL15 was not being used and verified that the os would boot and function correctly. I then added the following to the bsp ravenMpic.c's sysMpicInit() routine: sysPciWrite32( MPIC_ADDR(MPIC_ERR_VEC_PRI_REG), INIT_INT_SRC); sysPciWrite32( MPIC_ADDR(MPIC_ERR_DEST_REG, DESTINATION_CPU0); where I have defined RAV_ERR_INT_LVL = 0x28 INIT_INT_SRC = INT_MASK_BIT | HIGH_POLARITY | LEVEL_SINSE | PRIORITY_LEVEL15 Note that I am initially NOT enabling this interrupt, but only doing the setup for it. The plan was then to use the shell to enable it for testing purposes. When I booted with the above set of changes, it looks like the vxworks shell is not starting or is getting hung during its start up (no shell banner is displayed, but i do get the "WDB Ready" line).. I cant really tell because I can not use the shell to see..... I do not understand why the above two lines should have any effect at this point, because I have not enabled the interrupt at this point. Anyone have any ideas? thanks, - -al --------------------------- Newsgroups: comp.os.vxworks Subject: mips & crosswond crashes Date: Mon, 11 Dec 2000 11:23:45 -0500 From: Paul Oliveira Organization: A thing of the past Message-ID: <3A34FF91.DB3CE026@yahoo.com> Hi I am using the RC32364 T2 libraries for mips. We compile on NT and download to a custom board. I use the -g and -o0 compile options (and some others). Whenever I try to single step using crosswind (gdb command line step has the same problem) on either a for loop, or on the last line of a function (i.e. the return) the dbgTask crashes with buss error. My guess is that the compile is generation some code that gdb is not handling correctly. I am debugging in Task mode. Has any one seen this? Any suggestions? Thanks paul --------------------------- Newsgroups: comp.os.vxworks Subject: Re: mips & crosswond crashes Date: Mon, 11 Dec 2000 11:27:54 -0500 From: Paul Oliveira Organization: A thing of the past Message-ID: <3A35008A.24D07609@yahoo.com> References: <3A34FF91.DB3CE026@yahoo.com> Sorry That would be crosswind Paul pdoriri@yahoo.com Paul Oliveira wrote: > Hi > > I am using the RC32364 T2 libraries for mips. We compile on NT and > download to a custom board. I use the -g and -o0 compile options (and > some others). Whenever I try to single step using crosswind (gdb > command line step has the same problem) on either a for loop, or on the > last line of a function (i.e. the return) the dbgTask crashes with buss > error. My guess is that the compile is generation some code that gdb is > not handling correctly. I am debugging in Task mode. > > Has any one seen this? Any suggestions? > > Thanks > paul --------------------------- Newsgroups: comp.os.vxworks Subject: re: DHCP client : Release the DHCP lease IP Date: Mon, 11 Dec 2000 16:28:45 +0000 (GMT) From: David Laight Organization: Lawrence Berkeley National Laboratory Message-ID: <200012111628.QAA27085@dsl-2.tadpole.co.uk> > I try to release the DHCP lease IP by invoke the routine dhcpcRelease() and > I received error code: S_dhcpcLib_BAD_COOKIE but I sure that the pDhcpCookie > is correct. > Why it’s not working? Basically because the vxworks DHCP code is a pile of #$%&. After a dozen or so TSRs I got the 5.4 source from support. A fews days hacking got it largely into shape. dhcpcRelease (my notes say delete!) just doesn't work in 5.3.1! can NEVER have been tested at all! David - ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Please help - Undefined Symbol ! Date: Mon, 11 Dec 2000 15:14:25 -0000 From: "Dave Korn" Organization: Lumber Cartel (tinlc) Members #2234-2237 (owing to browser refresh) Message-ID: References: <90s5jv$ia3$1@bcarh8ab.ca.nortel.com> <912h52$43a$1@nnrp1.deja.com> >In article <90s5jv$ia3$1@bcarh8ab.ca.nortel.com>, > "Huynh, Hong [CAR:9N23:EXCH]" wrote: >> -> ld > value = 134204756 = 0x7ffcd54 = bgpNode + 0x310 >> -> kernelTimeSlice(1) >> value = 0 = 0x0 >> -> sp ace_main >> undefined symbol: ace_main >> -> lkup "ace_main" >> ace_main(unsigned int) 0x07cbd934 text (router) >> global constructors keyed to ace_main(unsigned int) 0x07cc0c80 text >(router) >> global destructors keyed to ace_main(unsigned int) 0x07cc0c48 text >(router) >> value = 0 = 0x0 ddewar@my-deja.com wrote in message <912h52$43a$1@nnrp1.deja.com>... >A possibility is that you ace_main is a munged C++ symbol. If it is >compiled in a .cpp file and is now given C linkage (extern "C") that >could be the case. Then it is possible that the shell doesn't know how >to decode C++ munged names. Try preceeding the definition of ace_main >with extern "C" if this sounds like it could be the problem: > >extern "C" int ace_main(unsigned int) >{ > ... code here... >} > >Then recompile, relink and see if you can spawn a task using ace_main. Or alternatively, type "sp ace_main" and then press Ctrl+D to add the signature to the end of the mangled C++ name before you press enter. Ctrl+D completes any partially typed symbol, and is *very* useful when you need to refer to mangled C++ names from the command shell. DaveK - -- They laughed at Galileo. They laughed at Copernicus. They laughed at Columbus. But remember, they also laughed at Bozo the Clown. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Problems redirecting console input. Date: Mon, 11 Dec 2000 15:16:01 -0000 From: "Dave Korn" Organization: Lumber Cartel (tinlc) Members #2234-2237 (owing to browser refresh) Message-ID: References: <200012071743.RAA18580@dsl-2.tadpole.co.uk> David Laight wrote in message <200012071743.RAA18580@dsl-2.tadpole.co.uk>... >> I need to keep the tShell but temporarly redirects the >> console input to my task. I use shellOrigStdSet(STD_IN, nullFd), where >> nullFd is "/null" and after I call ioTaskStdSet(taskNameToId("myTask"), >> 0, consoleFd), where consoleFd is "/tyCo/0". > >Suspending the shell doesn't work - it suspends locked in the console >read() code. > >You task works at p=1 probably because it alternates with the shell for rx >data. I found this little routine very useful when I had problems with the tShell priority being too large compared to my application:- extern "C" int fixtmdebugpriorityclash(void) { int shelltid, trmdebugtid; int shellpri, trmdebugpri; int err; shelltid = taskNameToId("tShell"); trmdebugtid = taskNameToId("tTRMdebug"); err = taskPriorityGet(shelltid, &shellpri); if (err) { printf("Can't get shell task priority! TID = $%08x\n", shelltid); return(0); } err = taskPriorityGet(trmdebugtid, &trmdebugpri); if (err) { printf("Can't get TRMdebug task pri! TID = $%08x\n", trmdebugtid); return(0); } // Compare the priorities. printf("Shell pri %d, DSP debug pri %d - ", shellpri, trmdebugpri); if (shellpri > trmdebugpri) { printf("no problem.\n"); } else { printf("lower shell pri to %d - ", trmdebugpri+1); err = taskPrioritySet(shelltid, trmdebugpri+1); if (err) printf("FAILED!? TID = $%08x\n", shelltid); else printf("OK!\n"); } return(0); } Just change the line that says > trmdebugtid = taskNameToId("tTRMdebug"); to look for the task name of your application. The function will then guarantee that the shell task has a priority at least one lower than your app. DaveK - -- They laughed at Galileo. They laughed at Copernicus. They laughed at Columbus. But remember, they also laughed at Bozo the Clown. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks AE Date: Mon, 11 Dec 2000 15:38:29 -0000 From: "Dave Korn" Organization: Lumber Cartel (tinlc) Members #2234-2237 (owing to browser refresh) Message-ID: References: <90kaqm$ahr$1@nnrp1.deja.com> <3A2E6940.767DAD23@qwest.net> >Luc wrote in message <3A2E6940.767DAD23@qwest.net>... > >>dejauser000@my-deja.com wrote: >>Has anyone used vxWorks AE? How many new problems >>has Wind created with this version? Any comments >>on Tornado 3 would be welcome too. > >Why would you buy vxWorks AE when you can get a far >superior OS (linux) for free with many more tools and >a shell (off your choise) that you can actually use. >The support off the linux community is far superior to the >pittifull support you get from $winfRiver$. Gosh, he must not be a true believer. Quickly everyone, burn the witch! Burn the witch! Heretic! Infidel! Avert your eyes oh ye linux faithful.... DaveK - -- They laughed at Galileo. They laughed at Copernicus. They laughed at Columbus. But remember, they also laughed at Bozo the Clown. --------------------------- Newsgroups: comp.os.vxworks Subject: [VXWORKS BUG+FIX] Nasty bug in VxWorks PPC Cache library/ Compilers and optimization. Date: Mon, 11 Dec 2000 15:38:17 -0000 From: "Dave Korn" Organization: Lumber Cartel (tinlc) Members #2234-2237 (owing to browser refresh) Message-ID: Good day everybody, Please take a look at the following output, which I obtained by doing >arppc x F:\TORNADO\target\lib\libPPC604gnuvx.a cacheALib.o >objdumpppc -Sr cachealib.o in my $WIND_BASE/target/lib directory. ;// 000000c8 add r5,r5,r4 ;// 000000cc rlwinm r4,r4,0,0,26 ;// 000000d4 beq cr3,000000e8 ;// 000000d8 cmpwi r3,0 ;// 000000dc bne 0000014c ;// 000000e0 icbi r0,r4 ;// 000000e4 b 000000ec ;// 000000e8 dcbi r0,r4 ;// 000000ec addi r4,r4,32 ;// 000000f0 cmplw r4,r5 ;// 000000f4 bge 0000016c ;// 000000f8 beq cr3,000000e8 ;// 000000fc b 000000e0 Now, according to the EABI spec., condition code register fields 2, 3 and 4 are non-volatile, and any routine that wants to use them must save them on entry and restore them on exit. The cacheArchInvalidate routine above clearly does no such thing. [I've also checked the code path through cacheInvalidate that leads here, and it neither saves nor uses cr3]. This bug only shows itself up under very limited circumstances. To the best of my knowledge, the cr fields are only used for longterm storage when you have the optimizer turned on, and perhaps only at high levels. Use of the -g flag (and probably - -fvolatile too, though I haven't checked) kills this optimization. When you do get bitten by this one, though, it's going to be nasty. The apparent symptom is liable to be something such as an if .. else statement branching the wrong way, where the test in the condition is an expression that's used repeatedly in the enclosing function. Something like void somefunction(lots of args) { if (some condition) do something; else do something else; ... more code..... if (same condition as before) do something; else do something else; ... more code, including some that does IO or for other reasons invalidates the cache ....... if (same condition again) do something; else do something else; } ..and you find that the third if (..) sometimes takes the opposite decision to the first two, despite there being no code in between that could alter the values of the variables on which the condition depends. The answer is simple enough. Here's a little bit of assembler code that hotpatches your OS to make the code above use cr6 in place of cr3. It checks that all the instructions it is about to patch are where they should be, and won't do anything if it doesn't recognize the hex values corresponding to the instructions. You might want to remove the comments if you aren't using the c preprocessor on your .S files, and you might need to convert crX and rX into plain X. // int FixOSProblem(void) // 0 = fixed, 1 = not able to fix - code didn't match pattern. .globl FixOSProblem FixOSProblem: b .go .insns: .insnc8: add r5,r5,r4 .insncc: rlwinm r4,r4,0,0,26 // change me .insnd0: cmpwi cr3,r3,1 // and me .insnd4: beq cr3,.insne8 .insnd8: cmpwi r3,0 .insndc: bne .insn14c .insne0: icbi r0,r4 .insne4: b .insnec .insne8: dcbi r0,r4 .insnec: addi r4,r4,32 .insnf0: cmplw r4,r5 .insnf4: bge .insn16c // and me .insnf8: beq cr3,.insne8 .insnfc: b .insne0 .insn14c: ori r0,r0,r0 .insn16c: ori r0,r0,r0 .repls: .replc8: add r5,r5,r4 .replcc: rlwinm r4,r4,0,0,26 // change me .repld0: cmpwi cr6,r3,1 // and me .repld4: beq cr6,.reple8 .repld8: cmpwi r3,0 .repldc: bne .repl14c .reple0: icbi r0,r4 .reple4: b .replec .reple8: dcbi r0,r4 .replec: addi r4,r4,32 .replf0: cmplw r4,r5 .replf4: bge .repl16c // and me .replf8: beq cr6,.reple8 .replfc: b .reple0 .repl14c: ori 0,r0,r0 .repl16c: ori r0,r0,r0 // first verify the insns are as we expect. .go: lis r3,cacheArchInvalidate@ha addi r3,r3,cacheArchInvalidate@l lis r4,.insns@ha addi r4,r4,.insns@l lis r5,.repls@ha addi r5,r5,.repls@l lwz r6,.insnd0-.insns(r3) lwz r7,.insnd0-.insns(r4) xor. r6,r6,r7 bne cr0,.err lwz r6,.insnd4-.insns(r3) lwz r7,.insnd4-.insns(r4) xor. r6,r6,r7 bne cr0,.err lwz r6,.insnf8-.insns(r3) lwz r7,.insnf8-.insns(r4) xor. r6,r6,r7 bne cr0,.err lwz r6,.repld4-.repls(r5) stw r6,.repld4-.repls(r3) lwz r6,.replf8-.repls(r5) stw r6,.replf8-.repls(r3) lwz r6,.repld0-.repls(r5) stw r6,.repld0-.repls(r3) // flush d cache back to mem li r4,.repld4-.repls li r5,.replf8-.repls li r6,.repld0-.repls // make no assumptions about cache lines // just flush all 3 modified insns dcbst r6,r3 dcbst r4,r3 dcbst r5,r3 // wait for mem to update sync // invalidate I cache icbi r6,r3 icbi r4,r3 icbi r5,r3 // and context sync to ensure I cache invalidation completes. isync xor r3,r3,r3 // return success blr .err: li r3,1 // return failure blr hth, DaveK - -- They laughed at Galileo. They laughed at Copernicus. They laughed at Columbus. But remember, they also laughed at Bozo the Clown. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Printer Port on an MVME2700 Date: 11 Dec 2000 17:40:51 GMT From: claveman@cod.nosc.mil (Charles H. Sampson) Organization: Computer Sciences Corporation Message-ID: <9133j3$bj3$1@newpoisson.nosc.mil> References: <90p24r$pk4$1@newpoisson.nosc.mil> <3a31a45c.75906557@news> Thanks. I have a copy of what appears to be the same thing from William Dennen. I'm now trying, with the help of my project's hard- ware people, to figure out what it all means in the context of an MVME2700. Charlie In article <3a31a45c.75906557@news>, Bob DeJoie wrote: >I am using the printer port on an MVME2700 for external I/O bits, I >found a PDF datasheet somewhere for the super I/O device. I'll mail it >to you if you are still in need. > > > >On 7 Dec 2000 22:14:51 GMT, claveman@cod.nosc.mil (Charles H. Sampson) >wrote: > >> I'm trying to find out how to access the printer port on an >>MVME2700. I've spent a lot of time looking for a "programming manual" >>at the Motorola and National Semiconductor web sites, without any luck. > >================================================ >Bob DeJoie >Kwajalein Missile Range >Republic of the Marshall Islands >email: rjdejoie@kmrmail.kmr.ll.mit.edu     >phone: 805-355-5855 fax: 805-355-3833 >Time Zone: GMT +12 hours                      >================================================ - -- ****** For an email response, my user name is "sampson" and my host is "spawar.navy.mil". --------------------------- Newsgroups: comp.os.vxworks Subject: tcl + build output Date: Mon, 11 Dec 2000 18:01:08 GMT From: Denis Organization: Deja.com - Before you buy. Message-ID: <9134ov$kna$1@nnrp1.deja.com> hello, when doing builds inside of tornado, all the output is redirected to the build output window. Is there an easy way to parse that output? I only found that builds are done using BuildLaunch, and I dont have a source to that. So, unless there is an easy way, I would probably have to write my own CustomBuildLaunch which would do all the building. is that correct? thanks. denis Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Exception at interrupt level Date: Mon, 11 Dec 2000 15:28:24 -0500 From: John Sheakoski Organization: ARL Message-ID: <3A3538E8.220F11D8@psu.edu> I am getting the following error: Exception at Interrupt Level: data access Exception current instruction address: 0x01a50630 Machine status register: 0x00009030 Data access register: 0x10000053 Condition register" 0x2400c004 Data storage interrupt register: 0x40000000 regs at 0x3edc00 I am running Tornado 2.0 on a Motorola MVME2700 board. This error is printed to the screen, and then a restart (reboot) of the board begins. It is also captured as a vxWorks error and can be accessed at power up by typing "e". I need some help on where to start debugging this error. Any ideas on where to begin? ***************************************** John Sheakoski Applied Research Laboratory The Pennsylvania State University P.O Box 30 State College, PA 16801 (phone) 814-865-3817 (fax) 814-863-7270 jrs136@psu.edu ***************************************** --------------------------- Newsgroups: comp.os.vxworks Subject: Re: problem installing vxworks image on target Date: Sun, 10 Dec 2000 11:32:53 +0800 From: "dongrj" Organization: The news server of Changzhou TeleCom Message-ID: <90utrq$4qj$1@news.cz.js.cn> References: <3A26DFF5.7BD4B1CF@hotmail.com> Hi, Ben When you want to download image to target board, you should have run the Ftp server, and should change the current configuration information, "Ben" wrote in message news:3A26DFF5.7BD4B1CF@hotmail.com... > hi > i am trying to install vxworks image on my target board(ppc), but i > am getting the following error. can you please tell me where am i going > wrong. i am also attaching the information which i am getting in ftp. > i will be grateful to you for any assistance in this regard. > thank you > > following is the information i am getting in terminal emulator > [VxWorks Boot]: @ > > boot device : dc > processor number : 0 > host name : U.S.U..usu.edu ~~~~~~~~~~~\ Make sure that's your PC's name what could be seen from other PC's in the same LAN. > file name : c:\tornado\target\config\mtx603\vxWorks > inet on ethernet (e) : 129.123.4.127:ffffff00 Make sure your board's IP address is 129.123.4.127:FFFFFF00, or only 129.123.4.127 without FFFFFF00, you could modify it by "c" command. > host inet (h) : 129.123.4.237 > user (u) : sl149 Make sure you've already registered a user in the FTP Server, and his user name is: "sl149", and his password is goud, and the default folder is "c:\" > ftp password (pw) : goud > flags (f) : 0x0 > target name (tn) : tornado > > Attaching network interface dc0... done. > Attaching network interface lo0... done. > Loading... 670192 > > ......and it gets stuck here... > > the follwoing information in ftp is > [L 0010] 11/30/00 15:46:51 Connection accepted from 129.123.4.127 > [C 0010] 11/30/00 15:46:51 Command "USER sl149" received > [C 0010] 11/30/00 15:46:51 PASSword accepted > [L 0010] 11/30/00 15:46:51 User sl149 logged in. > [C 0010] 11/30/00 15:46:51 Command "TYPE I" received > [C 0010] 11/30/00 15:46:51 TYPE set to I N > [C 0010] 11/30/00 15:46:51 Command "PORT 129,123,4,127,4,1" received > [C 0010] 11/30/00 15:46:51 PORT set to 129.123.4.127 - 1025 (4,1) > [C 0010] 11/30/00 15:46:51 Command "RETR > c:\tornado\target\config\mtx603\vxworks" received > [C 0010] 11/30/00 15:46:51 RETRieve started on file > c:\tornado\target\config\mtx603\vxworks > [C 0010] 11/30/00 15:46:58 Transfer aborted > [G 0010] 11/30/00 15:46:58 Got file > c:\tornado\target\config\mtx603\vxworks unsuccessfully > [! 0010] 11/30/00 15:46:58 Timeout while sending data > [C 0010] 11/30/00 15:46:58 QUIT or close - user sl149 logged out > > > I'am sure you could do it successfully, Best regards, Dong --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Exception at interrupt level Date: Mon, 11 Dec 2000 16:30:24 -0500 From: Al Johnston Organization: MindSpring Enterprises Message-ID: <3A354770.A05CEA54@mindspring.com> References: <3A3538E8.220F11D8@psu.edu> This is (as I understand it) an exception occurring while processing an interrupt... which is frowned on by vxworks. If you are lucky, the current address (given in the exc msg) will be the same from run to run, so just do a l() on the address given by the handler and it will show you the offending instruction. The only place where we have encountered this exception is when a compiler (gnat) generated some floating point saves at the beginning of a routine we installed as an isr. That apparently is a no no on the ppc. luck. - -al --------------------------- Newsgroups: comp.os.vxworks Subject: Expect ported to VxWorks Date: Mon, 11 Dec 2000 21:21:46 GMT From: divadio@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <913gh4$v9t$1@nnrp1.deja.com> Has anyone ported Expect to VxWorks? Is this as simple as a compile or are there other issues involved with this? Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Connecting host - target Date: Mon, 11 Dec 2000 23:22:04 +0100 From: "JJS" Organization: LT Message-ID: <913jpp$t6q$1@news4.isdnet.net> I posted the following question : Is it possible to connect 2 hosts to one target? I received 2 answers : 1) It is not possible simultaneous and I verified it : WDB agent disconnects when I connect the second host 2) Another suggestion was : Connect the first host and then connect the second host (second PC) using the targer server of the first host How can I do this? Thanks Jack --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Touch Screen Calibration Date: Mon, 11 Dec 2000 23:14:41 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <90dv15$tq$1@overload.lbl.gov> Sender: bpringlemeir@DeadDuck >>>>> "tim" == timallen writes: tim> You may find the information you require in the UGL tim> Developer's Kit manual. The Input Driver API section tim> describes some of the detail about the absolute pointer tim> event information. There's also discussion of calibration tim> in the Writing A New Input Driver Section. You can also find information under the SA1100 touch screen driver. Try the $(WIND_BASE)/src/ugl/drivers/input/[?intel?]. This driver appears in different places depending on what version of UGL you have. (1.0 versus 1.2). regards, Bill - -- Our souls is like an ocean. --------------------------- Newsgroups: comp.os.vxworks Subject: IP aliasing and TCP socket Date: Mon, 11 Dec 2000 23:18:16 GMT From: michaelyeung@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <913nbi$5d0$1@nnrp1.deja.com> Hi all, I have a few of questions and would greatly appreciate for some advises. 1) Does VxWorks support IP aliasing? If so, do I just use the "ifAddrAdd" API to add more IP addresses to a given interface or is there some IP alias specific API in VxWorks (I could not find any)? 2) What I want to do is to create an application that can receive packets destined to two IP addresses from different subnet/network. Essentially creating a host sitting at the broader of two networks. I noticed IP aliases restrict the alias IP address to be in the same subnet/network as the primary IP address. Is that a true restriction? If so, any advise on alternative to IP alias? 3) Assume IP aliases works for my needs as stated in question1. When I send a packet out over a TCP socket connection, how can I specify which address to be used as the source IP address (i.e. primary or alias address)? 4) Assume I can use IP aliases technique to receive packet destined to different IP addresses in the same application. If I am to use a TCP socket to retrieve the packet, how can I tell which IP address is the received msg destined to (i.e. the primary or alias address)? Would packets for all addresses goes to the same socket or would it be through multiple sockets? If it is thru multiple sockets, how do I associate the socket to a given destination IP address? 5) Is there direct API calls to the TCP/UDP for connection creation, sending and receiving in VxWorks? Or do I have to go thru the socket interface. If there is direct API to TCP/UDP layer, are they tcp_open, udp_open, tcp_send, udp_send, tcp_receive and udp_receive? Where can I find these APIs and their function prototypes? thanx very much, Michael Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: IP aliasing and TCP socket connection Date: Mon, 11 Dec 2000 23:20:12 GMT From: michaelyeung@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <913nf6$5f6$1@nnrp1.deja.com> Hi all, I have a few of questions and would greatly appreciate for some advises. 1) Does VxWorks support IP aliasing? If so, do I just use the "ifAddrAdd" API to add more IP addresses to a given interface or is there some IP alias specific API in VxWorks (I could not find any)? 2) What I want to do is to create an application that can receive packets destined to two IP addresses from different subnet/network. Essentially creating a host sitting at the broader of two networks. I noticed IP aliases restrict the alias IP address to be in the same subnet/network as the primary IP address. Is that a true restriction? If so, any advise on alternative to IP alias? 3) Assume IP aliases works for my needs as stated in question1. When I send a packet out over a TCP socket connection, how can I specify which address to be used as the source IP address (i.e. primary or alias address)? 4) Assume I can use IP aliases technique to receive packet destined to different IP addresses in the same application. If I am to use a TCP socket to retrieve the packet, how can I tell which IP address is the received msg destined to (i.e. the primary or alias address)? Would packets for all addresses goes to the same socket or would it be through multiple sockets? If it is thru multiple sockets, how do I associate the socket to a given destination IP address? 5) Is there direct API calls to the TCP/UDP for connection creation, sending and receiving in VxWorks? Or do I have to go thru the socket interface. If there is direct API to TCP/UDP layer, are they tcp_open, udp_open, tcp_send, udp_send, tcp_receive and udp_receive? Where can I find these APIs and their function prototypes? thanx very much, Michael Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Touch Screen Calibration Date: Mon, 11 Dec 2000 23:30:50 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <200012041409.OAA13714@dsl-2.tadpole.co.uk> Sender: bpringlemeir@DeadDuck >>>>> "DL" == David Laight writes: [snip] DL> I recall the vxWorks UGL driver template using some horrid DL> sequence of linear transformations for each of X and Y. I don't DL> do it that way.... It is kind of bizarre from what I see so far. However, it does make sense when I read through it. DL> What I found with our 4-wire touch screen is that the calibrated DL> X output has to depend on both raw input values. However the DL> transformation is linear in each term - but does need a product DL> term. DL> X = a + b.x + c.y + d.x.y (b is dominant) DL> Y = e + f.x + g.y + h.x.y (g is dominant) DL> This requires test points in all four corners. The UGL is just using piece wise liner interpolation. I think that this is almost what you are doing (except for the cross term `d' and `h'). Your method is probably good. I don't think that a screen would need more than a high and low zones (UGL regions). It would have to be a vary large touch screen with a variation in resistance across the array. DL> (The x.y term is required because the resistance of the 'bus DL> bars' of the touch panel isn't completely insignificant.) DL> You really do need the raw data to work out these numbers - not DL> the converted values using the existing values. Also you probably DL> need to average a considerable number of readings. Hmmm. I will keep this in mind. I also think that some sort of `positional filtering would be good'. The pen can't jump around willy-nilly. I think that on my board the back light and other circuits may introduce noise. Did any one use a `Z' measurement to try and reduce false triggers? Any hints on a `X-Y' filter; I had heard of Kalman, but I think that they are for something different (dead reckoning). DL> One day I even thought that the calibration was temperature DL> sensitive! That is interesting. I am looking at the Burr-Brown ADS7846 right now. It appear that the SER (single ended reference) would have two transistor/diode drops in the ADC measure. This would be temperature sensitive (I think). The nDFR (differential) mode would be better as there is no semi-conductor drop in the measurement and it is just a resistive ratio (which should be temperature invariant). fwiw, Bill - -- Put your cat on hold this week. Do something nice for your teddy bear tomorrow. Many people will ask you for advice about becoming pregnant. You'll eventually be happy. --------------------------- Newsgroups: comp.os.vxworks Subject: VXWorks driver Developer Required Date: Mon, 11 Dec 2000 19:23:23 -0500 From: "Brian" Organization: AT&T Canada IES Message-ID: I have an immediate " Full Time Telecommuting Position " available for a Software Engineer with Device Driver Development experience. My client is a worldwide leader in custom device driver development. You would be paid a full time salary, full benefits, all necessary hardware and software will be provided. You should have at least 3 years of device driver development experience in VXWorks. Some experience with multimedia/video/audio/HID would be required. Even if your device driver experience is not specifically in the multimedia area, feel free to submit your resume. We also have openings in the networking and communications driver development area as well. All information and correspondence will be kept confidential. I will be more than happy to provide additional details, if you contact me. Contact me for more details. Brian info@ahiresolution.com --------------------------- Newsgroups: comp.os.vxworks,comp.realtime Subject: @@ Jobs @ VxWorks S/W Developers Needed - Ottawa Date: Mon, 11 Dec 2000 20:26:03 -0500 From: "PROCOM" Organization: IGS - Information Gateway Services Message-ID: <913ui3$kjf$1@news.igs.net> Title: C++ / OOD VxWorks Software Developers Description: Our client, one of the world's largest telecommunications companies, currently requires 10 Junior to Senior Software Specialists to design, develop, implement and support Wireless products and applications. Minimum Requirements: All candidates should possess a minimum of 1 year experience developing real-time C/C++, OOD S/W on a VxWorks platform. Desired skills would include any previous Wireless development experience. Location: Ottawa, Ontario, Canada Type: Full-Time Placement Compensation: Open PROCOM: Established in 1978, Professional Computer Consultants Group Ltd. (Procom) is a national leader in the provision of Computer personnel on a contract and full-time basis. Our clients are comprised of the largest national and international corporations that utilize technical resources extensively across a wide range of disciplines. In the Financial Post (March 1999) Procom was ranked as the 6th largest professional Services Company in Canada. In November of 1999, Procom was named a Regional finalist in Canada' s 50 Best Managed Private companies. Our track record is proven with more than 180 consultants servicing Ottawa's high tech community and more than 1600 Procom consultants currently on assignment throughout. North America. For further information on this and other opportunities please visit our web site at www.procom.ca. Interested candidates are invited to forward their resumes or questions in confidence to: Derek Weber Technical Recruiter 300 March Road Kanata, Ontario K2K 2E2 phone: (613) 270-9339 ext 231 e-mail: derekw@procom.ca --------------------------- Newsgroups: comp.os.vxworks Subject: Multi 3c509B card on x86 BSP Date: Tue, 12 Dec 2000 02:18:07 GMT From: bcpo@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <9141sr$du0$1@nnrp1.deja.com> I have 4 3c509B card on one x86 machine. I changed sysel3c90xend.c ,configNet.h to load the 4 card, But the vxwork will crash when start up, If I changed configNet.h to load only 2 card, there is no problem, and the 2 card use interrupt 10 and 11. But I do not know how to use 4 card, please help me, thank you! Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Multi 3c509B card on x86 BSP Date: Tue, 12 Dec 2000 02:24:10 GMT From: bcpo@my-deja.com Organization: Deja.com - Before you buy. Message-ID: <914286$e9p$1@nnrp1.deja.com> References: <9141sr$du0$1@nnrp1.deja.com> Sorry, I have made a mistake, It should be 3c905b Card! Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Multi 3c509B card on x86 BSP Date: Tue, 12 Dec 2000 02:32:20 GMT From: bcpo@yahoo.com Organization: Deja.com - Before you buy. Message-ID: <9142nk$ehh$1@nnrp1.deja.com> Reply-To: bcpo@yahoo.com Sorry, It should be 3c905b card! Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: TrueFFS Date: Fri, 08 Dec 2000 16:08:29 GMT From: "Jim" Organization: Magma Communications Ltd. Message-ID: <1I7Y5.18249$rr3.893360@news> This is a multi-part message in MIME format. - ------=_NextPart_000_004C_01C06106.01CC5400 Content-Type: multipart/alternative; boundary="----=_NextPart_001_004D_01C06106.01CC5400" - ------=_NextPart_001_004D_01C06106.01CC5400 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable BlankHello all, I am working with a 2048 x 8 part, which are arranged on a 4 chip = interleaved SIMM ... I have written an MTD which has a small problem ... = in my Indentify routine I set up the Socket,etc as follows ... flSetWindowBusWidth(vol.socket,8);=20 flSetWindowSpeed(vol.socket,120); =20 flSetWindowSize(vol.socket, 2);=20 vol.noOfChips =3D 4; vol.interleaving =3D 4; vol.chipSize =3D 0x00100000L ; /*not entir chip for now*/ vol.erasableBlockSize =3D 0x40000L; /*256 k block size with = interleaving*/ So far I can run tffsRawio commands successfully ... however when I do a = sysTffsFormat ... a problem is occuring ... namely this problem is that = that the there are attempts made to overwrite bytes in flash which are = not initially empty.=20 Has anyone seen this before ... Cheers and thanks again for any help ... Jim ps I "fixed" my write routine to "back up the blocks old contents and = then erase it then restore it with the string which is requested to be = written ... if i do this I can write files , read files, etc without = problems ... but its very slow because I don't think the "back up" = should have to be done at the MTD layer... - ------=_NextPart_001_004D_01C06106.01CC5400 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Blank
Hello all,
 
I am working with a 2048 x 8 part, which are arranged on a 4 chip=20 interleaved SIMM ... I have written an MTD which has a small = problem=20 ... in my Indentify routine I set up the Socket,etc as follows ...
 
 flSetWindowBusWidth(vol.socket,8);=20
 flSetWindowSpeed(vol.socket,120);  =20
 flSetWindowSize(vol.socket, 2); 
 vol.noOfChips         = =3D=20 4;
 vol.interleaving      =3D=20 4;
 vol.chipSize        &= nbsp; =3D=20 0x00100000L ; /*not entir chip for = now*/
 vol.erasableBlockSize =3D=20 0x40000L; /*256 k block size with interleaving*/
 
So far I can run tffsRawio commands successfully ... however when I = do a=20 sysTffsFormat ... a problem is occuring ... namely this problem is that = that the=20 there are attempts made to overwrite bytes in flash which are not = initially=20 empty.
 
Has anyone seen this before ...
 
Cheers and thanks again for any help ...
 
Jim
 
ps I "fixed" my write routine to "back up the blocks old contents = and then=20 erase it then restore it with the string which is requested to be = written ... if=20 i do this I can write files , read files, etc without problems  ... = but its=20 very slow because I don't think the "back up" should have to be done at = the MTD=20 layer...

 

- ------=_NextPart_001_004D_01C06106.01CC5400-- - ------=_NextPart_000_004C_01C06106.01CC5400 Content-Type: image/gif; name="Blank Bkgrd.gif" Content-Transfer-Encoding: base64 Content-ID: <004701c0612f$ea9dc820$4667a8c0@snc> R0lGODlhLQAtAID/AP////f39ywAAAAALQAtAEACcAxup8vtvxKQsFon6d02898pGkgiYoCm6sq2 7iqWcmzOsmeXeA7uPJd5CYdD2g9oPF58ygqz+XhCG9JpJGmlYrPXGlfr/Yo/VW45e7amp2tou/lW xo/zX513z+Vt+1n/tiX2pxP4NUhy2FM4xtjIUQAAOw== - ------=_NextPart_000_004C_01C06106.01CC5400-- --------------------------- Newsgroups: comp.os.vxworks Subject: Internals Of VxWorks Date: Tue, 12 Dec 2000 11:29:17 +0530 From: "Nagendra.Singh" Organization: Philips Semiconductors Message-ID: <3A35BEB5.29062F29@philips.com> hi, I want to know if there is any material ( books or online ) which describe the internals of VxWorks. bye, nagendra singh Philips Semiconductors, Bangalore Design Competency Centre nagendra.singh@philips.com --------------------------- Newsgroups: comp.os.vxworks Subject: Detecting Telnet Window Resize Date: Mon, 11 Dec 2000 22:59:59 -0800 From: "Jay Slupesky" Organization: Posted via Supernews, http://www.supernews.com Message-ID: Hello, Can anyone tell me how to detect when the user at a remote telnet client resizes his/her window? My program could then nicely redraw the screen using the new size. I believe in the UNIX world my program would watch for a SIGWINCH signal, and then do some type of query to determine the new window size. Is there a way to do this in VxWorks? Thanks! - --- Jay Slupesky Pleasanton, California, USA --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Connecting host - target Date: 12 Dec 2000 08:29:35 GMT From: borkhuis@lucent.com (Johan Borkhuis) Organization: Lucent Technologies Message-ID: <90086FFD0borkhuislucentcom@135.7.153.102> References: <913jpp$t6q$1@news4.isdnet.net> alvend@normandnet.fr (JJS) wrote in <913jpp$t6q$1@news4.isdnet.net>: >Is it possible to connect 2 hosts to one target? >I received 2 answers : >1) It is not possible simultaneous and I verified it : WDB agent >disconnects when I connect the second host > >2) Another suggestion was : >Connect the first host and then connect the second host (second PC) >using the targer server of the first host >How can I do this? Both answers are right. The first one is because there is only 1 debug process running on the target, and this process can only deal with one agent. The second is true, because you only have one connection to the target, ut are using it for more than one sesion. You can do this by selecting the drop-down list in the top of your Tornado window. It will show you all the active targetservers, and you can connect to one of them and use it from several PC's. The only problem is that one session can influence the other sessions, as all sessions have full control over the target. Groeten, Johan - -- o o o o o o o . . . ___________________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | johan@borksoft.xs4all.nl | >(________|__|_[_________]_|________________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Internals Of VxWorks Date: Tue, 12 Dec 2000 10:57:22 GMT From: girishvg_at_yahoo.com Organization: Deja.com - Before you buy. Message-ID: <9150ag$4o6$1@nnrp1.deja.com> References: <3A35BEB5.29062F29@philips.com> what exact internal info abt vxworks is reuired? if vxworks programmer's guide isnt sufficient, pay some million$$ to windriver they'd give source code... In article <3A35BEB5.29062F29@philips.com>, "Nagendra.Singh" wrote: > hi, > > I want to know if there is any material ( books or online ) which > describe the internals of VxWorks. > > bye, > nagendra singh > Philips Semiconductors, > Bangalore Design Competency Centre > nagendra.singh@philips.com > > Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Tue Dec 12 06:31:47 2000 From: "Deja User" Date: Tue Dec 12 06:31:50 PST 2000 Subject: How to Pack structure? VxWorks Tornado Hi All, Host:WinNT Target: VxSim / PPC Is there some attribute that I can use when declaring a structure which would allow all of its fields to be packed together, i.e, no slack space in between fields? I found the -fpack-struct option in one of the user group reply, but I do not know how to enable that option. Can anyone throw light on it. Regards, Emblov ------------------------------------------------------------ --== Sent via Deja.com http://www.deja.com/ ==-- Before you buy. From vxwexplo-errs@csg.lbl.gov Tue Dec 12 08:11:05 2000 From: David Laight Date: Tue Dec 12 08:11:07 PST 2000 Subject: Re: How to Pack structure? Don't pack structures! it is bad news, ineffecient and definitely NOT portable. If you have to parse an packed structure then allocate char[] fields and extract the fields by hand - with due regard for the endianness of the data. David > > Is there some attribute that I can use when declaring a structure > which would allow all of its fields to be packed together, i.e, no > slack space in between fields? > > I found the -fpack-struct option in one of the vxWorks user group reply, > but I do not know how to enable that option. ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 From vxwexplo-errs@csg.lbl.gov Tue Dec 12 20:04:14 2000 From: "David Bryan" Date: Tue Dec 12 20:04:16 PST 2000 Subject: Re: sio v serial VxWorks > > Both drivers (tyCo or tty) get installed in the same place after iosInit, > and then io > > is directed to the fd that came back from the open call. > > How do you use the console output prior to this ? > > Just one of my 'gut feelings' - these are often based on facts! > Maybe I found something (other than the serial wdb) which outputs messages > to the > console bypassing 'write' - I trully can't actually remember! One way to output data without using the IO system is to put the driver in polled mode. This is how the WDB agent uses the driver in System Mode. The sio functions include sioPollOutput and sioPollInput. pSioChan = sysSerialChanGet (0); sioIoctl (pSioChan, SIO_MODE_SET, (void *) SIO_MODE_POLL); for (msgIx = 0; msgIx < msgSize; msgIx++) { while (sioPollOutput (pSioChan, msg[msgIx]) == EAGAIN); } Using this, you can effectively send output to the console even prior to the VxWorks kernel starting up!!! (sio drivers in polled mode can not make any kernel calls) Dave -- ===================================================== T h e P T R G r o u p, I n c. ===================================================== David Bryan (703)726-0498 dave@ThePTRGroup.com www.ThePTRGroup.com Embedded, Real-Time Solutions ===================================================== From vxwexplo-errs@csg.lbl.gov Wed Dec 13 04:03:09 2000 From: Vxworks Exploder Date: Wed Dec 13 04:03:12 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Wed Dec 13 04:03:05 PST 2000 Subject: Re: Internals Of VxWorks Subject: Seti@home Subject: How to Pack structure? Subject: re: How to Pack structure? Subject: Re: Seti@home Subject: problems booting over network Subject: Socket Support in VxSim ! Subject: Socket Support in VxSim ! Subject: VXworks Jobs Subject: Re: Seti@home Subject: Re: Socket Support in VxSim ! Subject: How do I compile C++ files with a .C extension? Subject: Re: TrueFFS Subject: International Space Station work Subject: Anyone able to run vxWorks with 3GB of memory Subject: Experiences with VxWin? Subject: ifAddrAdd and ifAddSet Subject: Re: GoAhead web server Subject: Windview and Analysis pack Subject: Tornado II stability Subject: Re: Socket Support in VxSim ! Subject: Using tcl/tk with vxWorks Subject: Re: How do I compile C++ files with a .C extension? Subject: Re: Using tcl/tk with vxWorks Subject: re: sio v serial VxWorks Subject: SNMP extn agent "Initialization" in VxWorks Subject: Re: 82557 end driver losing cluster resources in the net stack Subject: Re: GoAhead web server Subject: Re: How do I compile C++ files with a .C extension? Subject: DNS Resolver timeout Subject: Ethernet BD Subject: Auto Slot ID Subject: Re: How to Pack structure? Subject: Re: Auto Slot ID Subject: Re: Ethernet BD Subject: TCP/IP interoperability with linux 2.4 Subject: Bootrom >1M on PowerPC mv2434 ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Re: Internals Of VxWorks Date: Tue, 12 Dec 2000 14:02:31 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <3A35BEB5.29062F29@philips.com> <9150ag$4o6$1@nnrp1.deja.com> Sender: bpringlemeir@DeadDuck >>> "Nagendra.Singh" wrote: >> I want to know if there is any material ( books or online ) which >> describe the internals of VxWorks. >>>>> "girishvg" == girishvg at yahoo com writes: girishvg> what exact internal info abt vxworks is reuired? if vxworks girishvg> programmer's guide isnt sufficient, pay some million$$ to girishvg> windriver they'd give source code... Hardly. They supply the tools. `objdumpCPU --disassemble should allow you to examine what the code does. It takes a little while to understand the assembler output, but it isn't that difficult. Most of the time, the compiler is building stack frames and the like. Also most of the variable name (except static) remain as part of the library files. I have disassembled parts of the kernel to determine how to do things. However, I think that everything in the Programmer's guide is probably good enough for most people. regards, Bill - -- I've never heard anything as ridiculous as the idea that you're gay. No nukes! --------------------------- Newsgroups: comp.os.vxworks Subject: Seti@home Date: Tue, 12 Dec 2000 14:34:11 GMT From: "Time shifter" Organization: NBTel Internet Message-ID: Has anyone been able to get seti@home runing on a vxwork os? --------------------------- Newsgroups: comp.os.vxworks Subject: How to Pack structure? Date: Tue, 12 Dec 2000 06:31:08 -0800 From: "Deja User" Organization: Lawrence Berkeley National Laboratory Message-ID: <200012121431.GAA18400@mail5.bigmailbox.com> VxWorks Tornado Hi All, Host:WinNT Target: VxSim / PPC Is there some attribute that I can use when declaring a structure which would allow all of its fields to be packed together, i.e, no slack space in between fields? I found the -fpack-struct option in one of the user group reply, but I do not know how to enable that option. Can anyone throw light on it. Regards, Emblov - ------------------------------------------------------------ - --== Sent via Deja.com http://www.deja.com/ ==-- Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: re: How to Pack structure? Date: Tue, 12 Dec 2000 16:11:45 +0000 (GMT) From: David Laight Organization: Lawrence Berkeley National Laboratory Message-ID: <200012121611.QAA29267@dsl-2.tadpole.co.uk> Don't pack structures! it is bad news, ineffecient and definitely NOT portable. If you have to parse an packed structure then allocate char[] fields and extract the fields by hand - with due regard for the endianness of the data. David > > Is there some attribute that I can use when declaring a structure > which would allow all of its fields to be packed together, i.e, no > slack space in between fields? > > I found the -fpack-struct option in one of the vxWorks user group reply, > but I do not know how to enable that option. - ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Seti@home Date: Tue, 12 Dec 2000 18:25:48 -0000 From: "Dave Korn" Organization: Lumber Cartel (tinlc) Members #2234-2237 (owing to browser refresh) Message-ID: <12uZ5.13$Mx3.22210@newsr1.u-net.net> References: Time shifter wrote in message ... >Has anyone been able to get seti@home runing on a vxwork os? > Now there's a thought! Slip a seti client into all your firm's net-aware products, and you'll soon rack up a huge number of work units ;-) BTW, you probably shouldn't use shifter@time.com for an address munge. That domain belongs to a firm that prints a news magazine that you might have heard of, and they would be entirely within their rights to cancel your posts, complain to your ISP, and generally make your life unpleasant should they so desire. A safe way to guarantee that you don't pick a real domain name by accident is to add .invalid to the end of your munged addy. DaveK - -- They laughed at Galileo. They laughed at Copernicus. They laughed at Columbus. But remember, they also laughed at Bozo the Clown. --------------------------- Newsgroups: comp.os.vxworks Subject: problems booting over network Date: Tue, 12 Dec 2000 13:35:25 -0500 From: "William Grigg" Message-ID: <915rbs$1p7$1@news.draper.com> 1. The hardware is an Ampro PC104 4Ge board (pc486). 2. The software is the Tornado BSP for pc486 3. config.h has been modified with the following: #define INCLUDE_ESMC #define INCLUDE_NETWORK #define INCLUDE_BSD #undef INCLUDE_END #define IO_ADRS_ESMC 0x320 #define INT_LVL_ESMC 0x9 (where IRQ 9 is the ethernet IRQ) #define DEFAULT_BOOT_LINE \ "esmc(0,0)DRH2588LAB:vxworks h=140.102.48.90 e=140.102.48.58 u=r048058 pw=target tn=r048058" 4. bootConfig.c has been modified with the following: - interestingly enough, I had to comment out "#ifdef INCLUDE_BSD" down in the bootLoad function because there must have been some sort of header file sequencing issue that had it still undefined when the compiler got to that line - a bunch of printf statements that finally gets me to the netLoad function and the following line of code: if (ftpXfer (hostName, usr, passwd, "", "RETR %s", "", fileName, &errFd, &fd) == ERROR) return (ERROR); 5. The errno returned from ftpXfer is 0xd0003 6. It takes about 20 seconds to return the above error, which indicates that maybe the esmc driver and ethernet port are configured properly. 7. There is an ftpServer running on the host that shows no sign of a request from the target 8. I am sure the IP addresses are correct. 9. There is a chance that the ethernet port on the PC104 is bad since I do not believe it has been checked out in any other way. Some questions are: 1. What should I do next? 2. Is there any other approach to testing the ethernet port on the PC104? 3. Does "INT_LVL" always equal "IRQ number"? --------------------------- Newsgroups: comp.os.vxworks Subject: Socket Support in VxSim ! Date: Tue, 12 Dec 2000 18:38:27 GMT From: NEO Organization: Deja.com Message-ID: <915rb3$r67$1@nnrp1.deja.com> Hello Friends, Well, I am new to VxWorks/VxSim and also new to the list. I have one doubt. I just wonder wheather sockets are supported in VxSim. I have VxSim for Solaris and want to have UDP communication between 2 VxSim instances. Is this possible? I am not sure about this ? But i could locate netLib.h/socket.h in the header files of VxSim. Thanx in advance ! Regards - ----> THE MATRIX HAS YOU Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Socket Support in VxSim ! Date: Tue, 12 Dec 2000 18:38:26 GMT From: NEO Organization: Deja.com Message-ID: <915rb2$r66$1@nnrp1.deja.com> Hello Friends, Well, I am new to VxWorks/VxSim and also new to the list. I have one doubt. I just wonder wheather sockets are supported in VxSim. I have VxSim for Solaris and want to have UDP communication between 2 VxSim instances. Is this possible? I am not sure about this ? But i could locate netLib.h/socket.h in the header files of VxSim. Thanx in advance ! Regards - ----> THE MATRIX HAS YOU Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: VXworks Jobs Date: Tue, 12 Dec 2000 19:49:34 +0100 From: ganesh Organization: Mascot Systems Limited Message-ID: <3A36733E.6EBC02A@us.mascotsystems.com> Reply-To: gkota@eu.mascotsystems.com - --------------F5CDA019248315806E956BF7 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mascot systems is a part of Igate capital (NASDAQ : IGTE)(formerly called Mastech Corp) is a a worldwide supplier of IT consulting services (http://www.mascotsystems.com). Services include the delivery of specialized IT skills in teams as required for specific projects by Mascot's clients. Projects are typically completed onsite However, Mascot also has extensive offshore software factories, which may be utilized for the delivery of certain aspects ofservices. Igate has over 5000 employees, and 1998 revenues over US$ 400 million. If you are looking to make a career move, and interested in a fast growing multi-national corporation with unlimited opportunities, then look no further. We are looking for Dynamic information technology professionals with good communication skills in written and spoken English for Mascot Netherlands operations . We have an interesting relocation plan for people immigrating from other coutries The Open vacancies are as follows * Embedded systems and Real-time Operating systems(RTOS) programmers with experience in the following areas C/C++ , Assembler , Motorola ,Siemens, VXWorks, CAN, program Control Switching, H323 protocol Filters , UMTS layer 2 (Medium Access Control) and layer 3 (Network and Architectures) techniques and protocols, Hatley and Phirbai , , Motorola MPC860, Intel SA110, Tundra Qspan2, Intel 21554,Trimedia, RF, OSE, ASIC design and so on Interested candidates can send their CV to gkota@eu.mascotsystems.com - --------------F5CDA019248315806E956BF7 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit  
Mascot systems is a part of Igate capital (NASDAQ : IGTE)(formerly called Mastech Corp)  is a  a worldwide supplier of IT consulting services (http://www.mascotsystems.com). Services include the delivery of specialized IT skills in teams as required for specific projects by Mascot's clients.  Projects are typically completed onsite  However, Mascot also has extensive offshore software factories, which may be utilized for the delivery of certain aspects ofservices. Igate has over 5000 employees, and 1998 revenues over US$ 400 million.  If you are looking to make a career move, and interested in a fast growing multi-national corporation with unlimited opportunities, then look no further.

We are looking for Dynamic information technology professionals with good communication skills in written and spoken English for Mascot Netherlands operations . We have an interesting relocation plan for people immigrating from other coutries
 

The Open vacancies are as  follows
 

  • Embedded systems and Real-time Operating     systems(RTOS) programmers with experience in the     following areas C/C++ , Assembler , Motorola ,Siemens, VXWorks,  CAN, program Control Switching, H323 protocol Filters , UMTS     layer 2 (Medium Access Control) and layer 3     (Network     and Architectures) techniques and protocols, Hatley and     Phirbai , , Motorola MPC860, Intel SA110, Tundra Qspan2, Intel 21554,Trimedia, RF, OSE, ASIC design and so on

 

Interested candidates can send their CV to gkota@eu.mascotsystems.com
 

  - --------------F5CDA019248315806E956BF7-- --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Seti@home Date: Tue, 12 Dec 2000 18:49:50 GMT From: Ted Dennison Organization: Deja.com Message-ID: <915s0b$roh$1@nnrp1.deja.com> References: In article , "Time shifter" wrote: > Has anyone been able to get seti@home runing on a vxwork os? It's not OpenSource software. To protect the science, the only people who have access to the sources are the SETI@Home developers, and they ask that you not use any client that wasn't downloaded from the official site ( http://setiathome.ssl.berkeley.edu/unix.html for most platforms). There isn't a vxWorks port there. The only way to get one would be to convice the SETI@Home folks to compile one and put it there. Good luck. :-) BTW: Anyone reading this who runs SETI@Home on a WinNT or 2K system, may be interested in the SETI@Home Service at http://www.telepath.com/dennison/Ted/SETI/SETI_Service.html . It allows you to run the client as a service, so that it will start at boot-up and no-one has to be logged in. It also restarts the client automaticly if it dies. - -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Socket Support in VxSim ! Date: Tue, 12 Dec 2000 14:33:57 -0500 From: Mark Rajcok Organization: Avaya Communication Message-ID: <3A367DA5.C093A01@avaya.com> References: <915rb2$r66$1@nnrp1.deja.com> I believe you need the "network-capable" VxSim. From the Tornado documentation: "The basic functionality of VxSim is included with the Tornado tools and is preconfigured to allow immediate access to the simulated target. The optional component of VxSim provides the simulator with networking capability." - -- from Appendix H, VxWorks Programmer's Guide - -- Mark NEO wrote: > > Hello Friends, > Well, I am new to VxWorks/VxSim and also new to the list. I have > one doubt. I just wonder wheather sockets are supported in VxSim. I > have VxSim for Solaris and want to have UDP communication between 2 > VxSim instances. Is this possible? I am not sure about this ? > > But i could locate netLib.h/socket.h in the header files of VxSim. > > Thanx in advance ! --------------------------- Newsgroups: comp.os.vxworks Subject: How do I compile C++ files with a .C extension? Date: Tue, 12 Dec 2000 14:38:12 -0500 From: Mark Rajcok Organization: Avaya Communication Message-ID: <3A367EA4.C27D93C1@avaya.com> I'm trying to compile C++ files on NT with a capital C extension, e.g., myfile.C I've tried adding '-x c++' to the C/C++ Compiler options (under build specs) - -- that didn't work. It complains either "No rule to make target" or "Warning: system doesn't know how to build 'myfile.C'! I want the rule to be project-wide. Anyone know how to do this? - -- Mark --------------------------- Newsgroups: comp.os.vxworks Subject: Re: TrueFFS Date: Tue, 12 Dec 2000 20:04:23 GMT From: "Jim" Organization: Magma Communications Ltd. Message-ID: References: <1I7Y5.18249$rr3.893360@news> Hello andrew, You were right... thank you for your advice ... ... everything is looking great now ;-) Thnx Jim "Andray Kaganovsky" wrote in message news:pIbY5.43852$_5.9131406@news4.rdc1.on.home.com... > In article <1I7Y5.18249$rr3.893360@news>, "Jim" wrote: > > > Hello all, > > > > I am working with a 2048 x 8 part, which are arranged on a 4 chip = > > interleaved SIMM ... I have written an MTD which has a small problem ... = > > in my Indentify routine I set up the Socket,etc as follows ... > > > > flSetWindowBusWidth(vol.socket,8);=20 > > flSetWindowSpeed(vol.socket,120); =20 > > flSetWindowSize(vol.socket, 2);=20 > > vol.noOfChips =3D 4; > > vol.interleaving =3D 4; > > vol.chipSize =3D 0x00100000L ; /*not entir chip for now*/ > > vol.erasableBlockSize =3D 0x40000L; /*256 k block size with = > > interleaving*/ > > > > So far I can run tffsRawio commands successfully ... however when I do a = > > sysTffsFormat ... a problem is occuring ... namely this problem is that = > > that the there are attempts made to overwrite bytes in flash which are = > > not initially empty.=20 > > > > Has anyone seen this before ... > > > > Cheers and thanks again for any help ... > > > > Jim > > > > ps I "fixed" my write routine to "back up the blocks old contents and = > > then erase it then restore it with the string which is requested to be = > > written ... if i do this I can write files , read files, etc without = > > problems ... but its very slow because I don't think the "back up" = > > should have to be done at the MTD layer... > > > [AndrayK]. As far as I know, the FTL Flash Translation Layer routinely > writes over existing data. However, every such write operation never > attempts to write '1' over '0' (which is physically impossible with > flash), only '0' over '1'. Check if your flash parts allow write operations > of this kind (i.e. write over existing data, turning some of the '1' into > '0'). If your flash part doesn't support this kind of writes, then > you probably won't be able to use it with FTL. > > Andray > > > > --------------------------- Newsgroups: comp.os.vxworks Subject: International Space Station work Date: Tue, 12 Dec 2000 14:15:41 -0600 From: "Cesar Salinas" Organization: PendragonStaffing, Inc. Message-ID: Reference Number: 2000-12-1 Position: Flight software developer. Location: Houston, TX DESCRIPTION: Responsibilities include full life-cycle development including analysis and documentation of subsystem and software requirements in an SRS; development of system-level test plans for the software; software coding; and unit testing. These individuals will also provide support for integrated vehicle testing at all levels, including review and analysis of test procedures, test execution, and test data analysis. DESIRED SKILLS: · Real-time software experience · Integration and system test experience · Unix · VxWorks (embedded RTOS) Reference Number: 2000-12-2 Position: Flight software tester. Location: Houston, TX DESCRIPTION: Responsibilities include development of software tools for automated unit testing of GN&C flight software; operating and maintaining those tools; and analyzing test results. These individuals will also provide support for integrated vehicle testing at all levels, including review and analysis of test procedures, test execution, and test data analysis. DESIRED SKILLS: · Real-time software experience · Integration and system test experience · Unix · VxWorks (embedded RTOS) Reference Number: 2000-12-3 Position: Flight software analyst. Location: Houston, TX DESCRIPTION: Responsibilities include providing support to the NASA software program management team. Two analysts will represent NASA management and software system managers at software change review panel meetings and perform flight software and problem report analysis as required for this activity. He will assist the configuration management team in enhancements to the problem report data base. The second analyst will perform Command and Data Handling System Hardware and Software Architecture analysis tasks, including analysis and documentation of requirements for new space vehicle elements, and definition of verification methods for the requirements.The third analyst will perform software subsystem management task for maintenance releases of flight software. He will review all requirements changes, track the design and software change process, and monitor functional qualification testing. He will also coordinate requirements and design issues with subsystem managers. DESIRED SKILLS: · Real-time software experience · Integration and system test experience · Formal software requirements and test analysis Reference Number: 2000-12-4 Position: Flight software test bed developer. Location: Fairmont, WV DESCRIPTION: Responsibilities include development of enhancements to a flight software test bed; performing on-going maintenance tasks, including incorporation of latest flight software loads; and providing user technical support. DESIRED SKILLS: · Real-time software experience · Integration and system test experience · Unix · VxWorks (embedded RTOS) Reference Number: 000818-01 Position: Software IV&V Analyst for Space Station Location: Houston, TX DESCRIPTION: Perform independent verification and validation of international space station program mechanical systems flight software. The ideal candidate will have at least 2-5 years experience in real-time software development, integration, and testing. Programming experience or demonstrated knowledge of C and/or Ada (or extensive programming experience in multiple languages) is required. Experience with software control of mechanical actuators and sensors or equivalent mechanical engineering knowledge/experience is required. Good verbal communication skills and above average writing skills are desired. Experience with International Space Station Program or other NASA projects is a plus. Prior verification and validation work experience is a plus. Experience with or knowledge of MIL-STD-1553 data bus is a plus. The work involves: reviewing NASA flight software requirements, design, and test documents, as well as flight code to identify potential or actual problems; documenting software problems identified at any phase in the software development lifecycle; establishing working relationships with software developers and testers located in Houston, California, and Alabama; supporting formal software reviews; supporting software testing as appropriate. The work is to be performed in Houston, with no travel anticipated. This is a permanent, full time position. DESIRED SKILLS: · Real-time software experience · Integration and system test experience · Formal software requirements and test analysis GENERAL: GeoControl Systems is able to offer a relocation package and excellent benefits with this full-time, salaried position. We are located in the Clear Lake Area (25 minutes from downtown Houston and 25 minutes from beautiful Galveston Island) adjacent to NASA's Johnson Space Center. Our area offers terrific opportunities for boating, water-skiing, and diving, while providing a small-town, family atmosphere. The schools in this area are tops. GCS also has offices in Florida, Washington D.C., and West Virginia. CONTACT: Please mail your resume to: GeoControl Systems 1720 NASA Road 1, Suite 100 Houston, TX 77058 Attn: Mr. Michael Zarcaro Or, fax your resume to 281 333-2966 Or, e-mail your resume to mzarcaro@geocontrol.com. Principals only, please. GeoControl Systems is an Equal Opportunity Employer. - -- Cesar Salinas --------------------------- Newsgroups: comp.os.vxworks Subject: Anyone able to run vxWorks with 3GB of memory Date: Tue, 12 Dec 2000 14:58:06 -0500 From: Roger Donegan Organization: CrosStor Software, Inc. Message-ID: <3A36834E.DDE920D5@crosstor.com> I can successfully run my vxWorks on 2GB ( changeing test value in sysLib.c). However when trying same for 3GB it doesn't work. If I force memTop = 0x80100000 system appears to run fine which appears to mean it not a problem with the "sign" bit. Any insight would be appreciated, especially if you have been successful running on a 3GB memory system. Roger Donegan --------------------------- Newsgroups: comp.os.vxworks Subject: Experiences with VxWin? Date: Tue, 12 Dec 2000 21:49:56 +0100 From: Klaus Goldbach Organization: privat Message-ID: <3A368F74.9A60A0AA@t-online.de> Hello, has anyone experiences with VxWin from the company LP-electronic? Is this really realtime together with windows? Any experiences, especially benchmarks, interrupt latency ... are welcome. Thank you, Klaus --------------------------- Newsgroups: comp.os.vxworks Subject: ifAddrAdd and ifAddSet Date: Tue, 12 Dec 2000 21:10:19 GMT From: michaelyeung@my-deja.com Organization: Deja.com Message-ID: <91647n$3b3$1@nnrp1.deja.com> Hi all, I have a few questions related to ifAddrAdd and ifAddrSet, please give me you advise. 1) Does ifAddrSet always set the primary IP address to a given network interface, even when the interface has multiple IP addresses? 2) Does the ifAddrAdd adds secondary IP address(es) to a given interface, therefore, enabling multiple IP address to a given interface? 3) If I have configured multiple IP addresses to a given interface and assuming answer to 1) is "yes", then how can I identify a particular secondary IP address for change or delete (given the broadcast address and subnet mask for all secondary and primary address are identical)? thank you very much for your help, Michael Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: GoAhead web server Date: Tue, 12 Dec 2000 17:02:30 -0500 From: "Mike Kordik" Message-ID: References: <915j8f$jf8$1@nnrp1.deja.com> Since I am new to VxWorks it never occured to me to use Windview to figure out what was going on. In fact I am not sure I even used "i" from the shell. I haven't started developing yet I am simply trying to get my board up and running. I was only running the web server now as a proof of concept. I have since configured Windview in post mortem mode. Unfortunately I cannot get the web server to quit working. - -Mike wrote in message news:915j8f$jf8$1@nnrp1.deja.com... > In article , > "Mike Kordik" wrote: > > Are you using GoAhead with VxWorks? Have you had any problems with > it? I am > > experiencing a problem. After some time goes by (in some cases > minutes) I > > can no longer access the web server remotely. I haven't tried to > debug it > > yet. I was hoping maybe someone else has seen this problem and could > help. > > > > Thanks, > > Mike > I never faced this particular problem but there was another problem. > In the emfScheduler, if the client resets a TCP connection, it is not > being taken care of. I faced this problem a long time ago so don't > remember the details. Does your web server give some kind of fault and > gets suspended? > > > Sent via Deja.com http://www.deja.com/ > Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Windview and Analysis pack Date: Tue, 12 Dec 2000 17:37:09 -0500 From: "Mike Kordik" Message-ID: What do the number on CPU Usage mean? When you export to Excel you get to columns, Time and Idle.I thought it meant from one time interval to the next the system was idle for x seconds. But if you do the math it does make sense. Thanks, Mike --------------------------- Newsgroups: comp.os.vxworks Subject: Tornado II stability Date: Tue, 12 Dec 2000 17:39:16 -0500 From: "Mike Kordik" Message-ID: I am new to Tornado and am now starting to use Windview and the Windshell a lot more. Tornado "locks up" probably 20 times a day. I am running NT4 (workstation) with SP5 on a 733MHz with 256MB with only the FTP server and Groupwise (my email program). It seems to lock up more with Windview. Has anybody else noticed this? Any ideas? Thanks, Mike --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Socket Support in VxSim ! Date: Tue, 12 Dec 2000 16:38:48 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A36C518.E0594BE6@flashcom.net> References: <915rb2$r66$1@nnrp1.deja.com> Reply-To: drdiags@flashcom.net NEO, As was pointed out in the post by Mark, once you have the full VxSim version, it does provide network support. On WinNT, you are limited to 9-10 simulated targets while Solaris supports more (up to ?). You need to have ULIP support, for WinNT there is a driver provided, for Solaris not sure, look on Johan Borkhuis's Website. It is a very rich resource for your question. The link is : www.xs4all.nl/~borkhuis/vxworks NEO wrote: > Hello Friends, > Well, I am new to VxWorks/VxSim and also new to the list. I have > one doubt. I just wonder wheather sockets are supported in VxSim. I > have VxSim for Solaris and want to have UDP communication between 2 > VxSim instances. Is this possible? I am not sure about this ? > > But i could locate netLib.h/socket.h in the header files of VxSim. > > Thanx in advance ! > > Regards > > ----> THE MATRIX HAS YOU > > Sent via Deja.com > http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Using tcl/tk with vxWorks Date: Wed, 13 Dec 2000 00:36:46 GMT From: Pete Kockritz Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: <3A36C4A0.2ECD1124@home.com> I would like to write a tcl/tk utility to be a test driver for testing some software on vxWorks. I realize that its possible to add menu items and the like to Tornado, but what I want is my own GUI that uses the wtx procs to communicate with the target. I want to use some TK panels to enter data which is converted to a struct that is written into memory on the processor, then invoke a target function passing the address of this struct as one of the parameters. I.e., the target functions I want to call look something like this: int someFunc (const struct reqStruct *request, struct respStruct *response) { .. } Can I do this using the tcl/tk that is used by Tornado, or do I need a full tcl/tk installation? I'm somewhat familiar with tcl/tk, and have dabbled a little with some of the Tornado wtx procs; are there any tricks to know or caveats? Regards, Pete - -- LinuxPPC --------------------------- Newsgroups: comp.os.vxworks Subject: Re: How do I compile C++ files with a .C extension? Date: Wed, 13 Dec 2000 00:27:03 GMT From: Geoff Field Organization: Deja.com Message-ID: <916fog$dg5$1@nnrp1.deja.com> References: <3A367EA4.C27D93C1@avaya.com> In article <3A367EA4.C27D93C1@avaya.com>, Mark Rajcok wrote: > I'm trying to compile C++ files on NT with a capital C extension, e.g., > myfile.C > > I've tried adding '-x c++' to the C/C++ Compiler options (under build specs) > -- that didn't work. > > It complains either "No rule to make target" or "Warning: system doesn't know > how to build 'myfile.C'! > > I want the rule to be project-wide. Anyone know how to do this? > > -- > Mark I hate to state the obvious, but wouldn't it be easier to just rename the files? Alternatively, you could #include the ".C" files inside (otherwise empty) C++ files. Hope someone else comes up with a better solution, though. Geoff Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Using tcl/tk with vxWorks Date: Tue, 12 Dec 2000 17:34:01 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A36D209.A14A5B0@flashcom.net> References: <3A36C4A0.2ECD1124@home.com> Reply-To: drdiags@flashcom.net Pete, I have thought of doing something similar. Do you have access to the Tornado API document (Contact you local WRS Account manager if you don't)? It gives some insights to creating messages to be passed to the Target and how to construct the various i/f packets. It also documents the required syncrhonization and has some sample code. If I were you, I would think about using the full tcl/tk installation and extending the library with your own c/c++ routines. That way you know what version of the Tcl/Tk libraries you have and can more quickly update them as needed. Does Perl now interface with Tk? (I have stop following developments in this area for awhile ~1 year, which is a lifetime in S/W development). Lastly, I would do my development on a Linux Host (of course you have to wait for VxWorks5.4.1/VxWorksAE/Tornado3 which I understand now runs on Linux) or a Unix Host. Thats because I have extended the Tcl/Tk shell on a Unix platform and therefore I am biased. Pete Kockritz wrote: > I would like to write a tcl/tk utility to be a test driver for testing > some software on vxWorks. I realize that its possible to add menu items > and the like to Tornado, but what I want is my own GUI that uses the wtx > procs to communicate with the target. I want to use some TK panels to > enter data which is converted to a struct that is written into memory on > the processor, then invoke a target function passing the address of this > struct as one of the parameters. > > I.e., the target functions I want to call look something like this: > > int someFunc (const struct reqStruct *request, struct respStruct > *response) > { > .. > } > > Can I do this using the tcl/tk that is used by Tornado, or do I need a > full tcl/tk installation? > > I'm somewhat familiar with tcl/tk, and have dabbled a little with some > of the Tornado wtx procs; are there any tricks to know or caveats? > > Regards, > Pete > > -- > LinuxPPC --------------------------- Newsgroups: comp.os.vxworks Subject: re: sio v serial VxWorks Date: Tue, 12 Dec 2000 23:06:48 -0500 From: "David Bryan" Organization: Lawrence Berkeley National Laboratory Message-ID: <916t2g$r7u$1@overload.lbl.gov> > > Both drivers (tyCo or tty) get installed in the same place after iosInit, > and then io > > is directed to the fd that came back from the open call. > > How do you use the console output prior to this ? > > Just one of my 'gut feelings' - these are often based on facts! > Maybe I found something (other than the serial wdb) which outputs messages > to the > console bypassing 'write' - I trully can't actually remember! One way to output data without using the IO system is to put the driver in polled mode. This is how the WDB agent uses the driver in System Mode. The sio functions include sioPollOutput and sioPollInput. pSioChan = sysSerialChanGet (0); sioIoctl (pSioChan, SIO_MODE_SET, (void *) SIO_MODE_POLL); for (msgIx = 0; msgIx < msgSize; msgIx++) { while (sioPollOutput (pSioChan, msg[msgIx]) == EAGAIN); } Using this, you can effectively send output to the console even prior to the VxWorks kernel starting up!!! (sio drivers in polled mode can not make any kernel calls) Dave - -- ===================================================== T h e P T R G r o u p, I n c. ===================================================== David Bryan (703)726-0498 dave@ThePTRGroup.com www.ThePTRGroup.com Embedded, Real-Time Solutions ===================================================== --------------------------- Newsgroups: comp.os.vxworks Subject: SNMP extn agent "Initialization" in VxWorks Date: Wed, 13 Dec 2000 04:19:58 GMT From: krsenthil@my-deja.com Organization: Deja.com Message-ID: <916tda$obb$1@nnrp1.deja.com> Hi, I am writing the extension agent with Wind River's snmp agent and MIB compiler and I'd like to initialize the MIB variables for a particular RFC-MIB while the start-up time of the SNMP agent. Currently I am initializing the MIB variables from "snmpIoMain()" function after the function call "snmpdInitFinish()" in file "$(WIND_BASE)/target/src/snmpv1/agent/snmpIoLib.c". I couldn't find out any hook-up for the extension agent initialization. In the same way I am cleaning up the extension MIB variables from "snmpIoClose ()" in the above file. Let me know is it the right way of initializing the extension MIB variables in the start-up time..? or some other way is available in the MIB Compiler. Thanks in advance, senthil. Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: 82557 end driver losing cluster resources in the net stack Date: Tue, 12 Dec 2000 16:26:27 GMT From: hello_world_bye@my-deja.com Organization: Deja.com Message-ID: <915jj7$js1$1@nnrp1.deja.com> References: <3a23c0e6$0$21957@wodc7nh0.news.uu.net> > I have a PPC running the 82557 end driver. I'm actually using an 82559er > device. > > Received packets are being absorbed by the network stack and I'm running out > of clusters. It's all over when the driver runs out of resources. > > There is a comment in the driver regarding an issue of data alignment but I > am 32bit aligned. > > Why am I losing resources to the network stack? Was facing the same problem on x86 BSP. There's a patch for this problem on wrs.com If you have high network traffic try increasing the number of buffers for fei82557 in configNet.h Also check the priority of tNetTask. HTH Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: GoAhead web server Date: Tue, 12 Dec 2000 16:20:39 GMT From: hello_world_bye@my-deja.com Organization: Deja.com Message-ID: <915j8f$jf8$1@nnrp1.deja.com> References: In article , "Mike Kordik" wrote: > Are you using GoAhead with VxWorks? Have you had any problems with it? I am > experiencing a problem. After some time goes by (in some cases minutes) I > can no longer access the web server remotely. I haven't tried to debug it > yet. I was hoping maybe someone else has seen this problem and could help. > > Thanks, > Mike I never faced this particular problem but there was another problem. In the emfScheduler, if the client resets a TCP connection, it is not being taken care of. I faced this problem a long time ago so don't remember the details. Does your web server give some kind of fault and gets suspended? Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: How do I compile C++ files with a .C extension? Date: Wed, 13 Dec 2000 05:31:30 GMT From: "Patrick@Roadrunner" Organization: Road Runner Message-ID: References: <3A367EA4.C27D93C1@avaya.com> <916fog$dg5$1@nnrp1.deja.com> I believe the correct syntax is -xc++ with no space, I know it works on my system. Try that. Patrick "Geoff Field" wrote in message news:916fog$dg5$1@nnrp1.deja.com... > In article <3A367EA4.C27D93C1@avaya.com>, > Mark Rajcok wrote: > > I'm trying to compile C++ files on NT with a capital C extension, > e.g., > > myfile.C > > > > I've tried adding '-x c++' to the C/C++ Compiler options (under build > specs) > > -- that didn't work. > > > > It complains either "No rule to make target" or "Warning: system > doesn't know > > how to build 'myfile.C'! > > > > I want the rule to be project-wide. Anyone know how to do this? > > > > -- > > Mark > > I hate to state the obvious, but wouldn't it be easier to just rename > the files? > > Alternatively, you could #include the ".C" files inside (otherwise > empty) C++ files. > > Hope someone else comes up with a better solution, though. > > Geoff > > > Sent via Deja.com > http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: DNS Resolver timeout Date: Wed, 13 Dec 2000 05:35:23 GMT From: "Patrick@Roadrunner" Organization: Road Runner Message-ID: Hi All, I am using DNS Resolver component of T2/Vxworks and I have been able to set the default parameters for domain name and server. However I cannot find any place to vary the DNS failure timeout. It appears that when I attempt a DNS resolution of a non existing name it takes forever to return (couple of minutes anyway). I do a stack trace of the task which called the resolve and I find that the OS select->semTake is called multiple times with varying timeouts (40sec/20Sec) Can anyone help me (or explain to me why I shouldn't) change this long timeout to an acceptable value. Thanks in advance, Patrick --------------------------- Newsgroups: comp.os.vxworks Subject: Ethernet BD Date: Wed, 13 Dec 2000 16:31:48 +0900 From: "Ok, Eul-Seok" Organization: Korea Telecom Message-ID: <9178rb$4mq$1@news1-2.kornet.net> I use vxWorks on mpc850sar. I want to change number of Ethernet BD. How can I do? --------------------------- Newsgroups: comp.os.vxworks Subject: Auto Slot ID Date: Tue, 12 Dec 2000 16:15:56 GMT From: "G Kraemer" Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: <0bsZ5.66405$15.14243004@news1.rdc1.az.home.com> I need to distinguish processors in a VME chassis (3 row). I have two MVME-2604's and a MVME-2700 running Tornado II. It appears the Universe II chip has an "auto slot ID" capability. Has anyone successfully used this capability? I'd appreciate any information! Thanks in advance. Garry --------------------------- Newsgroups: comp.os.vxworks Subject: Re: How to Pack structure? Date: Tue, 12 Dec 2000 11:23:55 -0500 From: Woody Suwalski Organization: Storm Internet Services Message-ID: <3A36511B.945AC5A7@nospam.ss8.com> References: <200012121431.GAA18400@mail5.bigmailbox.com> Sender: ss8@mail.ss8.ca GNU syntax is struct { dadada } __attibute__ ((packed)); Woody Deja User wrote: > VxWorks Tornado > > Hi All, > > Host:WinNT > Target: VxSim / PPC > > Is there some attribute that I can use when declaring a structure > which would allow all of its fields to be packed together, i.e, no > slack space in between fields? > > I found the -fpack-struct option in one of the user group reply, but I do not know how to enable that option. > > Can anyone throw light on it. > > Regards, > > Emblov > > ------------------------------------------------------------ > --== Sent via Deja.com http://www.deja.com/ ==-- > Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Auto Slot ID Date: Tue, 12 Dec 2000 11:48:02 -0500 From: Al Johnston Organization: MindSpring Enterprises Message-ID: <3A3656C2.5F03E41@mindspring.com> References: <0bsZ5.66405$15.14243004@news1.rdc1.az.home.com> Check the Errata on the UII and UIIB chips. If I remember correctly there is a defect in this area (may affect you, may not). We are prototyping using the 2700, but plan to switch to 5100's shortly. Those use a new Universe chip that is supposed to have the bug fixed. We are deferring addressing this issue until then. But I would be very interested in any solution you come up with! - -al --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Ethernet BD Date: Wed, 13 Dec 2000 10:28:05 GMT From: George Varndell Organization: Deja.com Message-ID: <917ivg$8ks$1@nnrp1.deja.com> References: <9178rb$4mq$1@news1-2.kornet.net> In article <9178rb$4mq$1@news1-2.kornet.net>, "Ok, Eul-Seok" wrote: > I use vxWorks on mpc850sar. > I want to change number of Ethernet BD. > How can I do? Take a look at configNet.h in your BSP directory. This should be one of the parameters, passed in string format, to the driver at load time. Best Regards, George Varndell - -- Embedded Systems Expertise http://www.varndellengineering.com Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: TCP/IP interoperability with linux 2.4 Date: Wed, 13 Dec 2000 12:13:33 +0100 From: Fabien Ribes Organization: Cap Gemini Ernst & Young Message-ID: <3A3759DD.9EF156DE@capgemini.fr> Hi all, I'm looking for examples of interworking between Vx-works stack and Linux stack for TCP/IP, have you ever used such a configuration ? Thanks, Fabien --------------------------- Newsgroups: comp.os.vxworks Subject: Bootrom >1M on PowerPC mv2434 Date: Wed, 13 Dec 2000 10:56:42 GMT From: matthew.pardoe@widney-aish.co.uk (Matt pardoe) Message-ID: <3a375301.179527476@news.bournemouth-net.co.uk> I need to modify the BSP for an MV2434 vme board (PowerPC750 VME). So that I can boot with a bootrom of >1M. I have found some tech notes on the Windriver Support site showing how to to this for an mv2600 board. It's a case of remapping flash into mamory space. Which is done by the falcon chip on the mv2600. the mv434 uses the hawc chip, the smc part of which is meant to do the equivalent of the falcon chip. On an initial look through the BSP they look to be quite different though. Has anyone had any experience of setting up thew hawk cip on a mv2434 to remap the flash regards matt pardoe --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Wed Dec 13 04:16:23 2000 From: David Laight Date: Wed Dec 13 04:16:26 PST 2000 Subject: Priority inversion issues (This is probably of more interest to the windriver people who read this list than most mortals.) The current vxWorks implementation of SEM_INVERSION_SAFE mutex is a little heavy handed! It is very easy to get tasks running as elevated priorities for extended periods for no good reason. The problems start when a task holds a mutex for a long period of time - perhaps not an important mutex, or maybe one that is only contended for by low priority tasks. If the task is pre-empted while holding another mutex, then a high priority task contends that mutex the low priority tasks priority is (correctly) elevated. Once it has released that mutex, however, its priority is not reset. This is a documented 'feature'. Now clearly the scanning of lists required to determine the minimum priority the task should run at is probably too expensive to do on every process switch. However certain things could be done to enable the tasks priority to be reduced sooner. The following spring immediately to mind: 1) I believe the current implementation uses a count of held mutex in the TCB. By adding a bit to the mutex (set when the mutex is requested by a higher priority task) and only counting when this bit is set, the priority can be reduced when all contended for mutex have been released. 2) A system wide count of processes waiting for mutex to be released could be used to set the task priority to its base level (no point running at an elevated priority if no one is waiting). Neither of these should impose a significant overhead. David ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 From vxwexplo-errs@csg.lbl.gov Wed Dec 13 05:31:38 2000 From: Anil V Kunnath Date: Wed Dec 13 05:31:40 PST 2000 Subject: Max number of open ports supported. Hello all, what is the maximum number of ports that can be opened in vxworks ? i couldnt get the configured value from the manuals. any pointers will be of great help. Thanx in advance. anil From vxwexplo-errs@csg.lbl.gov Wed Dec 13 07:01:38 2000 From: John Moore Date: Wed Dec 13 07:01:41 PST 2000 Subject: Re: Priority inversion issues > > The current vxWorks implementation of SEM_INVERSION_SAFE mutex is a little heavy > handed! > > It is very easy to get tasks running as elevated priorities for extended periods > for no good reason. > > The problems start when a task holds a mutex for a long period of time - perhaps > not an important mutex, or maybe one that is only contended for by low priority > tasks. > > If the task is pre-empted while holding another mutex, then a high priority task > contends that mutex the low priority tasks priority is (correctly) elevated. > Once it has released that mutex, however, its priority is not reset. Until it has released all the mutexes it holds. > > > This is a documented 'feature'. > > Now clearly the scanning of lists required to determine the minimum priority the > task should run at is probably too expensive to do on every process switch. > However certain things could be done to enable the tasks priority to be reduced > sooner. > > The following spring immediately to mind: > > 1) I believe the current implementation uses a count of held mutex in the TCB. > By adding a bit to the mutex (set when the mutex is requested by a higher > priority task) and only counting when this bit is set, the priority can be > reduced when all contended for mutex have been released. Since mutexes can be taken recursively don't you have to count every take to be able to release it ? Or is this a different count ? jmoore vxWorks From vxwexplo-errs@csg.lbl.gov Wed Dec 13 08:39:44 2000 From: "Ronen Levy" Date: Wed Dec 13 08:39:47 PST 2000 Subject: test just to make sure I am at the exloder. Let me if there is an archive that I can access, such as source files related to extanding Tornado 2.0 ronen From vxwexplo-errs@csg.lbl.gov Wed Dec 13 09:17:02 2000 From: David Laight Date: Wed Dec 13 09:17:04 PST 2000 Subject: Re: Priority inversion issues > Since mutexes can be taken recursively don't you have to count every > take to be able to release it ? Or is this a different count ? > A different count. 'recursive' taking of a mutex increments a count on that mutex. This involves no work at all, just a quick check on the owner. This doesn't require any locking at all to implement. In some ways it sits on top of the mutex functionality. (Actually it is probably best to atomically increment the count - just in case some decides to acquire (or release) the mutex from within a signal handler...) David vxworks - can't fit one in the above anywhere :-( ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 From vxwexplo-errs@csg.lbl.gov Wed Dec 13 11:48:58 2000 From: Christopher Slominski Date: Wed Dec 13 11:49:00 PST 2000 Subject: Timeout read/write VxWorks users, I have a socket connection to a hardware device that sometimes crashes. When it does, I want to be able to time-out a read or write (blocking) that I initiate. I created a SIGUSR1 signal handler, intending to call it from my Watchdog timer routine which executes periodically. The idea was that the signal would cause the read/write to return with EINTR. Apparently you can not call "kill" from an ISR, because my signal handler never gets activated when called from the Watchdog timer routine. My next idea will be to set an "itimer" before the read or write that will send SIGALRM if it expires. I will cancel the "itimer" if the read/write completes. It seems a waste to setup an "itimer" when I already am using a Watchdog. Can anyone suggest a better way to knock my program out of an "infinite" block on i/o? Chris From vxwexplo-errs@csg.lbl.gov Wed Dec 13 12:36:31 2000 From: Henry Ni Date: Wed Dec 13 12:36:33 PST 2000 Subject: TCL initialization scripts VxWorks Users, Does anyone use windsh.tcl in $(WIND_BASE)\.wind directory on NT to setup the shell configuration? I changed the windsh.tcl in that directory, but it seems the windsh.tcl was never got executed. I added following tcl statement but did not got the message printed out. puts stdout "Sourcing windsh.tcl\n" Any suggestion? Thanks Henry From vxwexplo-errs@csg.lbl.gov Wed Dec 13 14:50:37 2000 From: "Ben Kelly" Date: Wed Dec 13 14:50:39 PST 2000 Subject: RE: Timeout read/write One solution would be to use the select() function to poll the file descriptor and only read from it when there is data. Since select() accepts a timeout value as an argument you can avoid blocking indefinitely. The down side is that polling the file descriptor will reduce your responsiveness to changes on the socket. - Ben VxWorks > VxWorks users, > I have a socket connection to a hardware device that sometimes > crashes. When it does, I want to be able to time-out a read or write > (blocking) that I initiate. I created a SIGUSR1 signal handler, > intending to call it from my Watchdog timer routine which executes > periodically. The idea was that the signal would cause the read/write > to return with EINTR. Apparently you can not call "kill" from an ISR, > because my signal handler never gets activated when called from the > Watchdog timer routine. My next idea will be to set an "itimer" before > the read or write that will send SIGALRM if it expires. I will cancel > the "itimer" if the read/write completes. It seems a waste to setup an > "itimer" when I already am using a Watchdog. Can anyone suggest a > better way to knock my program out of an "infinite" block on i/o? > > Chris From vxwexplo-errs@csg.lbl.gov Thu Dec 14 04:03:09 2000 From: Vxworks Exploder Date: Thu Dec 14 04:03:12 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Thu Dec 14 04:03:05 PST 2000 Subject: Priority inversion issues Subject: Max number of open ports supported. Subject: Re: TCP/IP interoperability with linux 2.4 Subject: re: Priority inversion issues Subject: Re: TCP/IP interoperability with linux 2.4 Subject: Porting NTP to VxWorks Subject: test Subject: snmp question Subject: Client/Server using VxSim on NT Subject: re: Priority inversion issues Subject: Re: Bootrom >1M on PowerPC mv2434 Subject: Dynamically changing IP addresses Subject: Re: about boot image and NVRAM~~ Subject: Ctrl+D synopsis for my own code? Subject: Tcl/Tk Subject: Message Q efficiency.. Subject: Embedded Developers Subject: Re: about boot image and NVRAM~~ Subject: Timeout read/write Subject: Re: Client/Server using VxSim on NT Subject: Re: Tornado II stability Subject: TCL initialization scripts Subject: Windview Post-Mortem Subject: RE: Timeout read/write Subject: how is this file "prjObjs.lst" created ?? Subject: Re: Connecting host - target Subject: Re: Connecting host - target Subject: Cisco Router experts for poorly worded question. Subject: Re: Priority inversion issues Subject: Re: Using tcl/tk with vxWorks Subject: A Limit of the quantity of sockets? Subject: Re: Using tcl/tk with vxWorks Subject: Re: TCL initialization scripts Subject: Re: how is this file "prjObjs.lst" created ?? Subject: XML parser for vxworks? Subject: Route Table update problem Subject: Real-Time Monitor Tool Speeds Application Development Subject: semTake does not set expected errno ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Priority inversion issues Date: Wed, 13 Dec 2000 12:17:04 +0000 (GMT) From: David Laight Organization: Lawrence Berkeley National Laboratory Message-ID: <200012131217.MAA01692@dsl-2.tadpole.co.uk> (This is probably of more interest to the windriver people who read this list than most mortals.) The current vxWorks implementation of SEM_INVERSION_SAFE mutex is a little heavy handed! It is very easy to get tasks running as elevated priorities for extended periods for no good reason. The problems start when a task holds a mutex for a long period of time - perhaps not an important mutex, or maybe one that is only contended for by low priority tasks. If the task is pre-empted while holding another mutex, then a high priority task contends that mutex the low priority tasks priority is (correctly) elevated. Once it has released that mutex, however, its priority is not reset. This is a documented 'feature'. Now clearly the scanning of lists required to determine the minimum priority the task should run at is probably too expensive to do on every process switch. However certain things could be done to enable the tasks priority to be reduced sooner. The following spring immediately to mind: 1) I believe the current implementation uses a count of held mutex in the TCB. By adding a bit to the mutex (set when the mutex is requested by a higher priority task) and only counting when this bit is set, the priority can be reduced when all contended for mutex have been released. 2) A system wide count of processes waiting for mutex to be released could be used to set the task priority to its base level (no point running at an elevated priority if no one is waiting). Neither of these should impose a significant overhead. David - ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 --------------------------- Newsgroups: comp.os.vxworks Subject: Max number of open ports supported. Date: Wed, 13 Dec 2000 19:01:29 +0530 From: Anil V Kunnath Organization: Lawrence Berkeley National Laboratory Message-ID: <91807i$a8m$1@overload.lbl.gov> Hello all, what is the maximum number of ports that can be opened in vxworks ? i couldnt get the configured value from the manuals. any pointers will be of great help. Thanx in advance. anil --------------------------- Newsgroups: comp.os.vxworks Subject: Re: TCP/IP interoperability with linux 2.4 Date: Wed, 13 Dec 2000 15:49:11 +0100 From: "Werner Schiendl" Organization: VBS - Vienna Backbone Service Message-ID: <976719396.801@newsmaster-04.atnet.at> References: <3A3759DD.9EF156DE@capgemini.fr> Hi, It's not clear to me what your intent really is: do you want to port Linux noetworking stuff do you want to just communicate with a Linux box, that should be not a problem something else... maybe you can disclose some more details hth Werner Fabien Ribes wrote in message news:3A3759DD.9EF156DE@capgemini.fr... > Hi all, > > I'm looking for examples of interworking between Vx-works stack and > Linux stack for TCP/IP, have you ever used such a configuration ? > > Thanks, Fabien --------------------------- Newsgroups: comp.os.vxworks Subject: re: Priority inversion issues Date: Wed, 13 Dec 2000 10:05:55 -0500 From: John Moore Organization: Lawrence Berkeley National Laboratory Message-ID: <9183o2$dn2$1@overload.lbl.gov> > > The current vxWorks implementation of SEM_INVERSION_SAFE mutex is a little heavy > handed! > > It is very easy to get tasks running as elevated priorities for extended periods > for no good reason. > > The problems start when a task holds a mutex for a long period of time - perhaps > not an important mutex, or maybe one that is only contended for by low priority > tasks. > > If the task is pre-empted while holding another mutex, then a high priority task > contends that mutex the low priority tasks priority is (correctly) elevated. > Once it has released that mutex, however, its priority is not reset. Until it has released all the mutexes it holds. > > > This is a documented 'feature'. > > Now clearly the scanning of lists required to determine the minimum priority the > task should run at is probably too expensive to do on every process switch. > However certain things could be done to enable the tasks priority to be reduced > sooner. > > The following spring immediately to mind: > > 1) I believe the current implementation uses a count of held mutex in the TCB. > By adding a bit to the mutex (set when the mutex is requested by a higher > priority task) and only counting when this bit is set, the priority can be > reduced when all contended for mutex have been released. Since mutexes can be taken recursively don't you have to count every take to be able to release it ? Or is this a different count ? jmoore vxWorks --------------------------- Newsgroups: comp.os.vxworks Subject: Re: TCP/IP interoperability with linux 2.4 Date: Wed, 13 Dec 2000 17:26:06 +0100 From: Fabien Ribes Organization: Cap Gemini Ernst & Young Message-ID: <3A37A31E.421A5D18@capgemini.fr> References: <3A3759DD.9EF156DE@capgemini.fr> <976719396.801@newsmaster-04.atnet.at> I would like to gather as many evidence as possible showing that Linux stack interoperates correctly with alien stack. I agree it is obvious that connecting a linux box to a vx-works one will be ok, but is it fine for every details ? Looking at RFC1122 (summary of TCP/IP requirements) , it's clear there is room for stacks not completely compliant, but workable. For example, "urgent pointer" feature from TCP is configurable in Linux implementation to be rfc compliant, or BSD like ... Thus, I would not be surprised to find such tricky points in any implementation, even if it globally works. Werner Schiendl a écrit : > > Hi, > > It's not clear to me what your intent really is: > > do you want to port Linux noetworking stuff > do you want to just communicate with a Linux box, that should be not a > problem > something else... > > maybe you can disclose some more details > > hth > Werner > > Fabien Ribes wrote in message > news:3A3759DD.9EF156DE@capgemini.fr... > > Hi all, > > > > I'm looking for examples of interworking between Vx-works stack and > > Linux stack for TCP/IP, have you ever used such a configuration ? > > > > Thanks, Fabien --------------------------- Newsgroups: comp.os.vxworks Subject: Porting NTP to VxWorks Date: Wed, 13 Dec 2000 10:02:09 -0700 From: Behzad Abareshi Organization: National Optical Astronomy Observatory Message-ID: <3A37AB91.21530D64@noao.edu> Hello everyone, I am trying to port NTP 4.0 (ntp-4.0.99k) to VxWorks (5.2 / 5.3) on an mv162 (Motorola 68040), following the instructions in vxworks.html, which comes with the package. I run "configure" without any errors, but "make" fails at a relatively early stage. My guess is that since the vxworks.html document was written (1997), a lot of changes have happened to NTP, so I probably need to modify the source code with some ifdefs. But I thought before doing this, I would ask around to see if anyone has recently ported NTP to VxWorks and can give me a tip or hint, or point me to a source of information. Chances are that I am missing something rather simple! Here is how I define CC: CC=cc68k -c -I/vw/target/h -DCPU=MC68040 -fno-builtin -nostdinc and here is how I run "configure" ../configure --target=m68k-wrs-vxworks --disable-all-clocks - --enable-LOCAL-CLOCK If you have ported NTP to VxWorks, I appreciate any comments you may have, no matter how obvious they may sound to you. I must add that I am new to VxWorks and embedded programming. Thanx for your time. --------------------------- Newsgroups: comp.os.vxworks Subject: test Date: Wed, 13 Dec 2000 18:40:38 +0200 From: "Ronen Levy" Organization: Lawrence Berkeley National Laboratory Message-ID: <918ap2$h3e$1@overload.lbl.gov> just to make sure I am at the exloder. Let me if there is an archive that I can access, such as source files related to extanding Tornado 2.0 ronen --------------------------- Newsgroups: comp.os.vxworks Subject: snmp question Date: Wed, 13 Dec 2000 17:39:39 GMT From: "siva chelliah" Organization: FlashNet Communications, http://www.flash.net Message-ID: Hi, Here is the issue. I am using Tornado 2.0. When I create a MIB and compile it it produces C code. What I want to do is create a C++ class and provide an API to interact with SNMP. For example, if I call Test.incr(x) it should increment an SNMP variable by interacting with the SNMP agent. Can I do it? How? Any pointers? Thanks a lot, Siva --------------------------- Newsgroups: comp.os.vxworks Subject: Client/Server using VxSim on NT Date: Wed, 13 Dec 2000 17:52:15 GMT From: sylvinem@my-deja.com Organization: Deja.com Message-ID: <918d0a$u89$1@nnrp1.deja.com> I am trying to create a client/server app based on the full VxSim. I am running under Win NT (SP5) and want the first VxSim to act as the server (using 90.0.0.1 for the ip) and the second VxSim to act as the client (using 90.0.0.2 for its ip). When I bring up both sims, the second fails to connect to the first using TCP/IP. I have verified the client code by writing a MFC server which the VxSim was successful in attaching to. I also created a MFC client which would attach to the VxSim server once but then would fail to connect again until everthing was re-started. The VxSim client howver was not able to connect to the VxSim server even once. Any suggestions? I did notice that the VxWorks demo code for a client server app only supported the server running under unix - is there a problem running a server under the VxSim? Thanks, - -Dan Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: re: Priority inversion issues Date: Wed, 13 Dec 2000 17:17:42 +0000 (GMT) From: David Laight Organization: Lawrence Berkeley National Laboratory Message-ID: <200012131717.RAA04074@dsl-2.tadpole.co.uk> > Since mutexes can be taken recursively don't you have to count every > take to be able to release it ? Or is this a different count ? > A different count. 'recursive' taking of a mutex increments a count on that mutex. This involves no work at all, just a quick check on the owner. This doesn't require any locking at all to implement. In some ways it sits on top of the mutex functionality. (Actually it is probably best to atomically increment the count - just in case some decides to acquire (or release) the mutex from within a signal handler...) David vxworks - can't fit one in the above anywhere :-( - ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Bootrom >1M on PowerPC mv2434 Date: Wed, 13 Dec 2000 18:20:01 +0000 From: B Luong Organization: The University of York, UK Message-ID: <3A37BDD1.A5B4874@student.cs.york.ac.uk> References: <3a375301.179527476@news.bournemouth-net.co.uk> Sender: btl101@york.ac.uk Hi Matt I have gone through the same thing. I did manage to get it to build and boot up using the TSR on the Windriver support site. All I was to follow the TSR. It was a case of cutting and pasting the code into the right places. The only problem I had was that FALCON_BASE_ADRS wasn't defined anywhere. I got the value of this from a mv2600.h file. It builds fine if you define this. The only problem after that was that if you reset the board, you couldn't reattach the target server for some reason (no problems when you first switch it on or if you reboot from in the shell). I haven't fixed that problem yet. I think its got something to do with the warm start up code but I can't figure it out. hth Ben --------------------------- Newsgroups: comp.os.vxworks Subject: Dynamically changing IP addresses Date: Wed, 13 Dec 2000 18:28:09 +0000 From: B Luong Organization: The University of York, UK Message-ID: <3A37BFB8.35EF4243@student.cs.york.ac.uk> Sender: btl101@york.ac.uk Hi, I've got an MVME2400 board. I am trying to change the IP address of this dynamically. I read in the tech tips on Windsurf that the way to do it was to reboot (presumably after using bootChange and altering the IP address there). Then there's a bit of code that automatically reattaches the windshell using the new IP address. That's no good for my purposes? Does anyone know of a way to do this automatically? Ideally I'd like a function like bootChange or reboot that I could pass a new IP address to. I've looked in the manuals and they both don't accept parameters. any help or pointers appreciated. Ben --------------------------- Newsgroups: comp.os.vxworks Subject: Re: about boot image and NVRAM~~ Date: Wed, 13 Dec 2000 18:44:23 +0000 From: B Luong Organization: The University of York, UK Message-ID: <3A37C387.A8B1B298@student.cs.york.ac.uk> References: <90q98h$fph$1@news.seed.net.tw> Sender: btl101@york.ac.uk Hi Not sure about your first problem because from what I can make out, you have got an image that you can download OK and it works. I think you can change your boot configuration using bootChange() in the windshell. Then just reboot(). I think this updates the NVRAM. howchin@pchome.com.tw wrote: > hi~~every developer: > > I need help. > > First, I use tornado to build a project and execute tornad->build->est > specific builds. > > Choice the "bootrom_uncom.bin",and build a boot image . > > I burn the file to flash , > > and use this project rebuild a vxworks image.(tornado->build->build all) > > I don't change any configurations in files during the process. > > When I reboot the demoboard, the image file(vxworks) is downloaded ,but > > the system boot is down, the terminal stop in " Starting at 0X100000... " > > but i use the same project to build a new image . > > (tornad0->build->est specific builds->estwdbnetappshell.vxworks) > > This image file can be executed by boot image. > > What wrong I do ? or what key i ignore? or what I should do first now ? > > IN tornado user guide 2.5.5 > file:///C:/Tornado/docs/tornado/winguide/c-start5.html#85011 > > If the line "Starting at" is printed and there is no further indication of > activity from VxWorks, this generally indicates there is a problem with the > boot image. > > the boot image has problem or vxworks image?? some body can tell me > ,what?where?how?or others? > > 2nd, anybody know the NVRAM's function is writen in which file? > > In my demoboard , there are one EEPROM which is used as NVRAM~~ > > When I burn the boot image into the flash, then reboot the demoboard the > system is booted > > I key in "@" , the boot image will ftp to host download vxworks image ,but > I don't want > > to use NVRAM,I can find boot_line descript in flash, so I want to boot > image according to > > flash memory's data to ftp my host, doesn't according to nvram(EEPRON}'s > data( default_boot_line ). > > Somebody can tell me where is the setup of the boot image ,or > > what i can find the related data in tornado's book(which one ,which page ?). > > hope everybody can understand what i mean. --------------------------- Newsgroups: comp.os.vxworks Subject: Ctrl+D synopsis for my own code? Date: Wed, 13 Dec 2000 18:54:41 GMT From: p_lavarre@my-deja.com Organization: Deja.com Message-ID: <918gld$1nc$1@nnrp1.deja.com> > Tornado 2.0 ... host shell ... > How do I make Ctrl+D ... work for my own symbols? I can edit the binary of a working installed .syn file - but of course that exercise is hard to repeat as I reinstall/upgrade/share Tornado and carries the risk of corrupting the binary. Adding .syn files to: C:\Tornado\host\resource\synopsis works - but NOT always. Seemingly, whoooops, the unsorted order of .syn file names on the disk matters - I mean the order reported by such tools as attrib.exe and Windows Find/Search. Seemingly, my added file doesn't work if it is last in that order? Adding an empty .syn file to serve as the last in that order fixes this trouble. So does moving all the installed files elsewhere, adding my file, then moving all the installed files back. This makes my added file the first in this order - which works. And again consistently, I find that if I delete all my .syn files, and then ask Ctrl+D to give me a synopsis out of the last of the installed files, Ctrl+D fails. Here, the last file is wtxtcl.syn, the last synopsis in that is for wtxExecutableFind, and indeed the Tornado 2.0 host shell Ctrl+D can't find wtxExecutableFind unless there is another .syn file past wtxtcl.syn in the C:\Tornado\host\resource\synopsis folder. I wonder if this is a Tornado bug in WinMe/Win2K only? Those are the only o.s. I have easily available to try here. > How do I make Ctrl+D ... work for my own symbols? I failed to find any discussion of this when I searched for: syngen in such places as: http://www.deja.com/home_ps.shtml http://www.wrs.com/csdocs/surfmenu.shtml http://www.windriver.com/csdocs/topic/index.shtml I wonder if few to no people bother to extend syngen? Noone but those of us in the old generation now dying off really USES the host shell? > ... Incidentally ... syngen -h is as wrong as: C:\Tornado\docs\tornado\hutils\syngen.html in that they both document a -l option that isn't implemented. The proc syngenOutFileNameGet that chooses a file name for the resulting .syn file is surprisingly complex. The default is the current folder name i.e. "[lindex [file split [pwd]] end].syn", but synopses extracted from target/src get special treatment. syngen emits synopses in source order ... so I hope the order of synopses in a .syn file doesn't matter. > How do I make Ctrl+D ... work for my own symbols? I distinctly remember once seeing an answer for this somewhere. Since I can't find it now, I'm going to guess someone kindly sent me the answer offline, blissfully unaware of how very embarassingly often the notwork here loses info. > How do I make Ctrl+D ... work for my own symbols? Can anyone confirm/deny this post? Is it true? Complete? Unwarranted vicious slander? Am I correct in particular to believe that the code that chooses what .syn files to see is delivered as binary code only ... I can't fix this bug myself? Thanks in advance. Pat LaVarre p.lavarre@ieee.org Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Tcl/Tk Date: Wed, 13 Dec 2000 19:14:03 GMT From: "Jim" Organization: Magma Communications Ltd. Message-ID: <%TPZ5.526$f5.138411@news> Hello all, Does anyone know if it is possible to write a Tcl/Tk tool and add it to the vxWorks Tornado II menu's under Winnt? As well if this is possible I would appreciate any recommendations regarding where I could get some tcl/tk tools for windows ... jim --------------------------- Newsgroups: comp.os.vxworks Subject: Message Q efficiency.. Date: Wed, 13 Dec 2000 19:22:38 GMT From: Venki Mohan Organization: C Cube Microsystems Message-ID: <3A37CC7E.7FC19CB9@c-cube.com> HI folks, A question on the efficiency of VxWorks messageQ implementation. We have a case where we want to minimize the amount of CPU cycles taken to execute a particular piece of code, which contains an implementation of a Queuing mechanism. We also want the application which uses this piece of code to sleep on this "Q" if there is no data available. The options that we have thought are: 1. Use the VxWorks given messageQ mechanism, which will provide a sleeping mechanism by itself. 2. Build our own singly linked list, and have a semaphore to let others know if there is any data in it or not. My question is: which method is more efficient in terms of a> time taken for retrieving a message from the Q b> number of CPU cycles taken for the retrieve. Any help will be appreciated. Thanks! - -Venki. --------------------------- Newsgroups: comp.os.vxworks Subject: Embedded Developers Date: Wed, 13 Dec 2000 19:59:08 GMT From: "rr-news" Organization: Time Warner Road Runner - Rochester NY Message-ID: A fast growing real-time operating systems company is looking for embedded developers for Consulting Engineering positions in the northeast. Please feel free to contact me via phone or email. Responsibilities - -Engage in customizing or adapting Core Product Line to meet the needs of customers. - -Collaborate with the Regional Manager when necessary to define project specifics, deliverables and estimate scope, duration, level or effort of proposed work. Write concise, well-defined descriptions of work to be performed. - -Perform the software engineering necessary to carry out contracted projects. - -Occasional travel to customer sites Qualifications Preferred - MSCS/MSEE Mandatory - BSCS/BSEE Experience Mandatory - 4 -10 years experience in embedded software industry Competencies - -2-3 years of experience in the real-time industry. - -Extensive real-time software or operating system programming using C. - -Ability to write device drivers, including networking and SCSI. - -Familiarity with operating system architecture and internal organization. - -Good project organizational skills. - -Experience with VMEbus and/or embedded real-time hardware. - -Excellent spoken English and presentation skills. - -Outstanding people management skills. Salary - -Highly Competitive ($90-$130k) - - 401k - -options - -stock purchase plan - -excellent benefits - -flexible work situations. - -- Frank Povoski 350 Seneca Parkway Rochester, NY 14613 Phone: 716 314-4000 Fax: 508 546-5577 fpovosk1@rochester.rr.com --------------------------- Newsgroups: comp.os.vxworks Subject: Re: about boot image and NVRAM~~ Date: Wed, 13 Dec 2000 12:19:38 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A37D9DA.FCF2CF27@flashcom.net> References: <90q98h$fph$1@news.seed.net.tw> Reply-To: drdiags@flashcom.net howchin@pchome.com.tw wrote: > > > IN tornado user guide 2.5.5 > file:///C:/Tornado/docs/tornado/winguide/c-start5.html#85011 > > If the line "Starting at" is printed and there is no further indication of > activity from VxWorks, this generally indicates there is a problem with the > boot image. > > the boot image has problem or vxworks image?? some body can tell me > ,what?where?how?or others? The vxWorks image (not the bootrom_uncmp.bin version) which has been configured to be used by either your static bootline or entered in your boot startup menu. You create this by either doing a command line "make vxWorks" or from the Tornado IDE after scaling the components contained in it for your purposes. > > > 2nd, anybody know the NVRAM's function is writen in which file? Look in your target/config/all/bootConfig.c file for the usrBootLineInit() function. If you have a EST board, you could look in the BSP/sysLib.c file to see how the sysNvRamSet() function is used to set the NVRAM parameters. I didn't notice how other BSPs handle setting the NVRAM parameters, but the usrBootLineInit() functions shows how it is extracted by the sysNvRamGet() function.. Alternatively, you could define the FORCE_DEFAULT_BOOT_LINE in your config.h file, and then modify the DEFAULT_BOOT_LINE. (Optional - shouldn't have to do this) > HTH --------------------------- Newsgroups: comp.os.vxworks Subject: Timeout read/write Date: Wed, 13 Dec 2000 14:48:25 -0500 From: Christopher Slominski Organization: Lawrence Berkeley National Laboratory Message-ID: <918lai$n7j$1@overload.lbl.gov> VxWorks users, I have a socket connection to a hardware device that sometimes crashes. When it does, I want to be able to time-out a read or write (blocking) that I initiate. I created a SIGUSR1 signal handler, intending to call it from my Watchdog timer routine which executes periodically. The idea was that the signal would cause the read/write to return with EINTR. Apparently you can not call "kill" from an ISR, because my signal handler never gets activated when called from the Watchdog timer routine. My next idea will be to set an "itimer" before the read or write that will send SIGALRM if it expires. I will cancel the "itimer" if the read/write completes. It seems a waste to setup an "itimer" when I already am using a Watchdog. Can anyone suggest a better way to knock my program out of an "infinite" block on i/o? Chris --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Client/Server using VxSim on NT Date: Wed, 13 Dec 2000 12:37:37 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A37DE11.D1173CB2@flashcom.net> References: <918d0a$u89$1@nnrp1.deja.com> Reply-To: drdiags@flashcom.net Dan, Here are some general things to try/check. Make sure the ULIP driver is configured as 90.0.0.254. Make sure WinNT has IP Forwarding enabled. Modify the 2nd and subsequent VxSim targets routing table. - If routeShow has the wrong gateway (90.0.0.1) for the 0.0.0.0 network delete it and add with routeAdd("0.0.0.0","90.0.0.n") where n = VxSim number. Make sure you can ping both targets. (which you already proved you can do, so this is irrelevant) sylvinem@my-deja.com wrote: > I am trying to create a client/server app based on the full VxSim. I am > running under Win NT (SP5) and want the first VxSim to act as the server > (using 90.0.0.1 for the ip) and the second VxSim to act as the client (using > 90.0.0.2 for its ip). When I bring up both sims, the second fails to connect > to the first using TCP/IP. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Tornado II stability Date: Wed, 13 Dec 2000 20:40:06 GMT From: "wwa" Organization: Verio Message-ID: References: Mike Kordik wrote in message ... >I am new to Tornado and am now starting to use Windview and the Windshell a >lot more. Tornado "locks up" probably 20 times a day. I am running NT4 >(workstation) with SP5 on a 733MHz with 256MB with only the FTP server and >Groupwise (my email program). It seems to lock up more with Windview. > >Has anybody else noticed this? Any ideas? > >Thanks, >Mike > > If there's a allot of activity going on in the target that your trying to do a WindView upload from, I usually will suspend those tasks and then do the upload to WindView --------------------------- Newsgroups: comp.os.vxworks Subject: TCL initialization scripts Date: Wed, 13 Dec 2000 12:36:01 -0800 From: Henry Ni Organization: Lawrence Berkeley National Laboratory Message-ID: <918or1$oh3$1@overload.lbl.gov> VxWorks Users, Does anyone use windsh.tcl in $(WIND_BASE)\.wind directory on NT to setup the shell configuration? I changed the windsh.tcl in that directory, but it seems the windsh.tcl was never got executed. I added following tcl statement but did not got the message printed out. puts stdout "Sourcing windsh.tcl\n" Any suggestion? Thanks Henry --------------------------- Newsgroups: comp.os.vxworks Subject: Windview Post-Mortem Date: Wed, 13 Dec 2000 17:53:23 -0500 From: "Mike Kordik" Message-ID: Is it typical for a BIOS on an x86 board to clear RAM at bootup? If so how would you use Windview in post-mortem mode? Thanks, Mike --------------------------- Newsgroups: comp.os.vxworks Subject: RE: Timeout read/write Date: Wed, 13 Dec 2000 17:51:01 -0500 From: "Ben Kelly" Organization: Lawrence Berkeley National Laboratory Message-ID: <918vs2$2q4$1@overload.lbl.gov> One solution would be to use the select() function to poll the file descriptor and only read from it when there is data. Since select() accepts a timeout value as an argument you can avoid blocking indefinitely. The down side is that polling the file descriptor will reduce your responsiveness to changes on the socket. - - Ben VxWorks > VxWorks users, > I have a socket connection to a hardware device that sometimes > crashes. When it does, I want to be able to time-out a read or write > (blocking) that I initiate. I created a SIGUSR1 signal handler, > intending to call it from my Watchdog timer routine which executes > periodically. The idea was that the signal would cause the read/write > to return with EINTR. Apparently you can not call "kill" from an ISR, > because my signal handler never gets activated when called from the > Watchdog timer routine. My next idea will be to set an "itimer" before > the read or write that will send SIGALRM if it expires. I will cancel > the "itimer" if the read/write completes. It seems a waste to setup an > "itimer" when I already am using a Watchdog. Can anyone suggest a > better way to knock my program out of an "infinite" block on i/o? > > Chris --------------------------- Newsgroups: comp.os.vxworks Subject: how is this file "prjObjs.lst" created ?? Date: Thu, 14 Dec 2000 01:27:12 GMT From: "Jim" Organization: Magma Communications Ltd. Message-ID: Hello all, anyone know how/ or where the rule to create this file is placed ... Cheers, Jim --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Connecting host - target Date: Thu, 14 Dec 2000 02:06:32 GMT From: wv12@my-deja.com Organization: Deja.com Message-ID: <9199v5$o5o$1@nnrp1.deja.com> References: <913jpp$t6q$1@news4.isdnet.net> <90086FFD0borkhuislucentcom@135.7.153.102> Hi, I keep hearing about WDB. I wonder if its the same debugger that runs inside windsh or is it a different debugger? Thank you Will In article <90086FFD0borkhuislucentcom@135.7.153.102>, borkhuis@lucent.com (Johan Borkhuis) wrote: > alvend@normandnet.fr (JJS) wrote in <913jpp$t6q$1@news4.isdnet.net>: > >Is it possible to connect 2 hosts to one target? > >I received 2 answers : > >1) It is not possible simultaneous and I verified it : WDB agent > >disconnects when I connect the second host > > > >2) Another suggestion was : > >Connect the first host and then connect the second host (second PC) > >using the targer server of the first host > >How can I do this? > > Both answers are right. The first one is because there is only 1 debug > process running on the target, and this process can only deal with one > agent. > The second is true, because you only have one connection to the target, ut > are using it for more than one sesion. > You can do this by selecting the drop-down list in the top of your Tornado > window. It will show you all the active targetservers, and you can connect > to one of them and use it from several PC's. The only problem is that one > session can influence the other sessions, as all sessions have full control > over the target. > > Groeten, > Johan > > -- > o o o o o o o . . . ___________________________________ > o _____ || Johan Borkhuis | > .][__n_n_|DD[ ====_____ | johan@borksoft.xs4all.nl | > >(________|__|_[_________] _|________________________________| > _/oo OOOOO oo` ooo ooo 'o!o!o o!o! o` > === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === > > Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Connecting host - target Date: Wed, 13 Dec 2000 18:50:45 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A383584.C1B2E9@flashcom.net> References: <913jpp$t6q$1@news4.isdnet.net> <90086FFD0borkhuislucentcom@135.7.153.102> <9199v5$o5o$1@nnrp1.deja.com> Reply-To: drdiags@flashcom.net Will, The WDB is an API embedded into the Target that allows Host Target Tools (WindSh, Browser, Crosswind and others) to access on target resources. (does sound like GDB though). In the Tornado 2.0 Users Guide Edition 1 pg. 26, there is a nice drawing showing how it fits into the Tornado Host-Target Communication scheme. I am not sure why it is called WDB (WTX Debug Backend?). HTH wv12@my-deja.com wrote: > Hi, > I keep hearing about WDB. I wonder if its the same debugger that > runs inside windsh or is it a different debugger? > Thank you > Will > In article <90086FFD0borkhuislucentcom@135.7.153.102>, > borkhuis@lucent.com (Johan Borkhuis) wrote: > > alvend@normandnet.fr (JJS) wrote in <913jpp$t6q$1@news4.isdnet.net>: > > >Is it possible to connect 2 hosts to one target? > > >I received 2 answers : > > >1) It is not possible simultaneous and I verified it : WDB agent > > >disconnects when I connect the second host > > > > > >2) Another suggestion was : > > >Connect the first host and then connect the second host (second PC) > > >using the targer server of the first host > > >How can I do this? > > > > Both answers are right. The first one is because there is only 1 > debug > > process running on the target, and this process can only deal with > one > > agent. > > The second is true, because you only have one connection to the > target, ut > > are using it for more than one sesion. > > You can do this by selecting the drop-down list in the top of your > Tornado > > window. It will show you all the active targetservers, and you can > connect > > to one of them and use it from several PC's. The only problem is that > one > > session can influence the other sessions, as all sessions have full > control > > over the target. > > > > > Groeten, > > > > Johan > > > > > -- > > > o o o o o o o . . . > ___________________________________ > > o _____ || Johan Borkhuis > | > > .][__n_n_|DD[ ====_____ | johan@borksoft.xs4all.nl > | > > >(________|__|_[_________] > _|________________________________| > > _/oo OOOOO oo` ooo ooo 'o!o!o o!o! > o` > > === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html > === > > > > > > Sent via Deja.com > http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Cisco Router experts for poorly worded question. Date: Wed, 13 Dec 2000 19:30:34 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A383EDA.9F7E464@flashcom.net> Reply-To: drdiags@flashcom.net Hello, I am at a loss for an error I am seeing. If I have a target (PPC - VxWorks 5.4 - Vanilla TCP/IP stack SENS x.x) configured for an address which is not on the same subnet as my Host, I experience open failures on the target for several files with the following names: ciscortr.cfg switch-confg cisconet.cfg network-confg If I have similar targets configured to be on the same subnet as the host, the errors do not occur. Changing to another host in the same subnet does not change this behavior. Looking on a sniffer, I can see that the target has performed the following: "rsh myHostname < ciscortr.cfg" WRS has scanned their source and their Networking development group, as have I and there is nothing in their products that references these files. I cannot find anywhere in my application code where these files are referenced. I am not running anything like SNMP on the target. I believe this is related to a Cisco Router on my network, but I cannot prove it. Has anyone ever seen this behavior? Does the files listed jog anyone's memory? Note: I don't have the bootlines in front of me, but the gateway has been setup correctly. This error just recently started to occur. Just wanted to see if this jogged someone's memory. Please, if this doesn't provide enough detail, just let me twist in the wind. Thanks for any and all inputs. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Priority inversion issues Date: Thu, 14 Dec 2000 04:24:20 GMT From: Pierre Frigon Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: <3A384B68.FC279A9F@yahoo.com> References: <200012131217.MAA01692@dsl-2.tadpole.co.uk> I would highly suggest that you look at Priority Ceeling Protocols (PCP). This is really the way to deal with this type of issue. The solution you propose has several holes to them (see PCP articles). A reason for the current implementation is that other solutions may not be deterministic. This is usually considered bad form in real-time circles. David Laight wrote: > (This is probably of more interest to the windriver people who read this list > than most mortals.) > > The current vxWorks implementation of SEM_INVERSION_SAFE mutex is a little heavy > handed! > > It is very easy to get tasks running as elevated priorities for extended periods > for no good reason. > > The problems start when a task holds a mutex for a long period of time - perhaps > not an important mutex, or maybe one that is only contended for by low priority > tasks. > > If the task is pre-empted while holding another mutex, then a high priority task > contends that mutex the low priority tasks priority is (correctly) elevated. > Once it has released that mutex, however, its priority is not reset. > > This is a documented 'feature'. > > Now clearly the scanning of lists required to determine the minimum priority the > task should run at is probably too expensive to do on every process switch. > However certain things could be done to enable the tasks priority to be reduced > sooner. > > The following spring immediately to mind: > > 1) I believe the current implementation uses a count of held mutex in the TCB. > By adding a bit to the mutex (set when the mutex is requested by a higher > priority task) and only counting when this bit is set, the priority can be > reduced when all contended for mutex have been released. > > 2) A system wide count of processes waiting for mutex to be released could be > used to set the task priority to its base level (no point running at an elevated > priority if no one is waiting). > > Neither of these should impose a significant overhead. > > David > > ---------------------------------------------------------------- > David Laight email: dsl@tadpole.co.uk > Tadpole Technology plc phone: +44 1223 428 232 > Cambridge, UK fax: +44 1223 428 201 --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Using tcl/tk with vxWorks Date: Thu, 14 Dec 2000 05:44:32 GMT From: pkockritz@home.com (Pete Kockritz) Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: References: <3A36C4A0.2ECD1124@home.com> <3A36D209.A14A5B0@flashcom.net> In article <3A36D209.A14A5B0@flashcom.net>, drdiags@flashcom.net wrote: > Pete, > > I have thought of doing something similar. Do you have access to the > Tornado API document (Contact you local WRS Account manager if you don't)? > It gives some insights to creating messages to be passed to the Target and > how to construct the various i/f packets. It also documents the required > syncrhonization and has some sample code. If I were you, I would think about > using the full tcl/tk installation and extending the library with your own > c/c++ routines. That way you know what version of the Tcl/Tk libraries you > have and can more quickly update them as needed. Does Perl now interface > with Tk? (I have stop following developments in this area for awhile ~1 > year, which is a lifetime in S/W development). Lastly, I would do my > development on a Linux Host (of course you have to wait for > VxWorks5.4.1/VxWorksAE/Tornado3 which I understand now runs on Linux) or a > Unix Host. Thats because I have extended the Tcl/Tk shell on a Unix platform > and therefore I am biased. Yes, I've read through the "Tornado API Programmer's Guide'. It left me somewhat unsatified, however. There is one section that has me confused. Section 4.6.2 on Integrating WTX Tcl with Other Tcl Applications says: ... The shared library installDir/host/hosttype/lib/libwtxtcl can be linked with any Tcl 8.0 application. You must initialize the library with a call to wtxTclInit(), supplying the Tcl interpreter handle as an argument. First, when they say 'linked', I'm assuming they mean 'loaded', as in using the Tcl load command. I tried doing a 'load wtxtcl' with a couple of different files from the host/lib directory. Upon loading it complains that it can't find Wtxtcl_Init(). The manual calls it wtxTclInit(). I'm doing this on NT4 with the Tcl8.2 that came with my cygwin installation. Do I need to install tcl8.0 instead? It seems like it should be very straightforward, but I don't have the right method yet. Regards, Pete - -- +-----------------------------------------------------------------+ | Pete Kockritz mailto:pkockritz@home.com | | This space for rent. | +-----------------------------------------------------------------+ --------------------------- Newsgroups: comp.os.vxworks Subject: A Limit of the quantity of sockets? Date: Thu, 14 Dec 2000 06:32:04 GMT From: ellin_lin@my-deja.com Organization: Deja.com Message-ID: <919ph4$431$1@nnrp1.deja.com> I wrote a program as server to monitor a certain TCP port, when a client tried to connect, a new task would be spawned to exchange data with the client. What puzzled me was that when about 55 clients connected to the server, no more connection would be established. Is there a limit of the quantity of sockets in vxWorks. By the way, I've changed the definition of the limit of files open simultaneously from 50 to 255. All regards will be appreciated. ellin Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Using tcl/tk with vxWorks Date: Wed, 13 Dec 2000 23:05:31 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A38713B.46D6EDA0@flashcom.net> References: <3A36C4A0.2ECD1124@home.com> <3A36D209.A14A5B0@flashcom.net> Reply-To: drdiags@flashcom.net Pete, In the $(WIND_BASE)/host/include/wtxtcl.h file, there is a prototype for the wtxTclInit() call. What I think the document is speaking to is the ability to extend the WTX library with your own C calls compiled in with your host side compiler toolset. Let me review the document again and I will add anything I can on the subject. You are probably right as far as being able to load the library from the tclsh (I haven't been down that road). I will try compiling the tclsh on WinNT just to see how to do it on this platform, using the header files supplied by WRS. If I remember correctly, you just have to modify the tclAppInit.c file and add you init routine with the commands you want to create that can then be called from your tcl script. You are making me work on this one but I like a challenge. I will respond once I know more, just to keep from wasting your time. Pete Kockritz wrote: > In article <3A36D209.A14A5B0@flashcom.net>, drdiags@flashcom.net wrote: > > > Pete, > > > > I have thought of doing something similar. Do you have access to the > > Tornado API document (Contact you local WRS Account manager if you don't)? > > It gives some insights to creating messages to be passed to the Target and > > how to construct the various i/f packets. It also documents the required > > syncrhonization and has some sample code. If I were you, I would think about > > using the full tcl/tk installation and extending the library with your own > > c/c++ routines. That way you know what version of the Tcl/Tk libraries you > > have and can more quickly update them as needed. Does Perl now interface > > with Tk? (I have stop following developments in this area for awhile ~1 > > year, which is a lifetime in S/W development). Lastly, I would do my > > development on a Linux Host (of course you have to wait for > > VxWorks5.4.1/VxWorksAE/Tornado3 which I understand now runs on Linux) or a > > Unix Host. Thats because I have extended the Tcl/Tk shell on a Unix platform > > and therefore I am biased. > > Yes, I've read through the "Tornado API Programmer's Guide'. It left me > somewhat unsatified, however. There is one section that has me confused. > Section 4.6.2 on Integrating WTX Tcl with Other Tcl Applications says: > > ... The shared library installDir/host/hosttype/lib/libwtxtcl can be > linked with any Tcl 8.0 application. You must initialize the library > with a call to wtxTclInit(), supplying the Tcl interpreter handle as > an argument. > > First, when they say 'linked', I'm assuming they mean 'loaded', as in > using the Tcl load command. I tried doing a 'load wtxtcl' with a > couple of different files from the host/lib directory. Upon loading it > complains that it can't find Wtxtcl_Init(). The manual calls it > wtxTclInit(). I'm doing this on NT4 with the Tcl8.2 that came with my > cygwin installation. Do I need to install tcl8.0 instead? > > It seems like it should be very straightforward, but I don't have the > right method yet. > > Regards, > Pete > -- > +-----------------------------------------------------------------+ > | Pete Kockritz mailto:pkockritz@home.com | > | This space for rent. | > +-----------------------------------------------------------------+ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: TCL initialization scripts Date: 14 Dec 2000 08:01:07 GMT From: borkhuis@lucent.com (Johan Borkhuis) Organization: Lucent Technologies Message-ID: <900A5617Eborkhuislucentcom@135.7.153.101> References: <918or1$oh3$1@overload.lbl.gov> henry-ni@vertel.com (Henry Ni) wrote in <918or1$oh3$1@overload.lbl.gov>: >Does anyone use windsh.tcl in $(WIND_BASE)\.wind directory on NT to >setup the shell configuration? I changed the windsh.tcl in that >directory, but it seems the windsh.tcl was never got executed. See if you have other .wind irectories, for example on c:\, and try changing the data in there. Groeten, Johan - -- o o o o o o o . . . ___________________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | johan@borksoft.xs4all.nl | >(________|__|_[_________]_|________________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: Re: how is this file "prjObjs.lst" created ?? Date: 14 Dec 2000 08:09:17 GMT From: borkhuis@lucent.com (Johan Borkhuis) Organization: Lucent Technologies Message-ID: <900A59A7Dborkhuislucentcom@135.7.153.101> References: jgdon@undergrad.math.uwaterloo.ca (Jim) wrote: >anyone know how/ or where the rule to create this file is placed ... Yes, I do :-) The file is placed in target/h/make, and the file is called rules.project. There is no special rule for this, but it is generated in a "foreach" statement around line 135. Groeten, Johan - -- o o o o o o o . . . ___________________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | johan@borksoft.xs4all.nl | >(________|__|_[_________]_|________________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: XML parser for vxworks? Date: Thu, 14 Dec 2000 08:36:26 GMT From: paul.haller@iterative.de Organization: Siemens Inc. Message-ID: <3a388604.1219074826@news.mch.sbs.de> Hi, I'm looking for an XML parser (with source) for VxWorks. There are quite a few parsers out there but seemingly none has been ported to VxWorks so far. Before I start doing this myself I'd like to see whether someone knows of XML tools already present for this OS. Regards Paul Haller --------------------------- Newsgroups: comp.os.vxworks Subject: Route Table update problem Date: Thu, 14 Dec 2000 09:46:56 +0100 From: Luc Fourestier Message-ID: <3A388900.4DCC8279@philips.com> hello, I am working on a pentium (PC) running vxworks and doing an IP gateway. We are using the routeLib API to change the routes and it seems that the effects of those routines are not immediate. I mean the software does not take into account immediately the changes we do in the route table. Is there a reason for this delay? Is there a way to make it instantaneous? thanks Luc --------------------------- Newsgroups: comp.os.vxworks Subject: Real-Time Monitor Tool Speeds Application Development Date: Thu, 14 Dec 2000 11:19:39 +0200 From: i k Organization: Internet Gold, ISRAEL Message-ID: <3A3890AB.ADEAACD@rtview.co.il> please read the http://www.planetee.com/planetee/servlet/DisplayDocument?ArticleID=13425 I highly recommend this tool for VxWorks. - -- Ilya Krasavin Software Engineer. RTView Ltd. 10 Ben Gurion St. Ramat-Gan 52573 Israel Tel: +972-3-6123995 Fax: +972-3-6123996 web: http://www.rtview.com --------------------------- Newsgroups: comp.os.vxworks Subject: semTake does not set expected errno Date: Thu, 14 Dec 2000 10:44:45 +0100 From: "Fenris" Organization: Wanadoo, l'internet avec France Telecom Message-ID: <91a4ld$1nt$1@wanadoo.fr> Reply-To: "Fenris" Hi there I'm trying to play a little with timeouts on semaphores so I wrote the following piece of code. The problem is that I never enjoyed a timeout message..... (using Full VXSim on a NT platform) Before I heard about the patch , I had a 000D0003 message (yeah ) and now I've got a 00000000 or 0000000D message. Can someone help me with this one??? Thanx in advance ! RedFenris #include #include #include #include #include #include #include SEM_ID semTest; void task() { int bStop = FALSE; int timeout; int stTake; timeout = sysClkRateGet()*5; while (!bStop) { stTake = semTake(semTest,timeout); if (stTake == ERROR) { if (errnoGet() == S_objLib_OBJ_TIMEOUT) printf("Timeout\n"); else printf("%08X\n",errnoGet()); } else bStop = TRUE; } } void start() { semTest = semBCreate(SEM_Q_FIFO, SEM_EMPTY); taskSpawn( "tTest",200,0,1024, (FUNCPTR) task, 0,0,0,0,0,0,0,0,0,0); } void stop() { semGive(semTest); } --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Thu Dec 14 04:43:38 2000 From: Christopher Slominski Date: Thu Dec 14 04:43:41 PST 2000 Subject: RE: Timeout read/write VxWorks Users, I am replying to my own posting because of an erroneous claim I made. Apparently the problem with my watchdog was not the signal being sent, but a printf() right before the kill(). When I removed the printf() the signal was sent and handled. Unfortunately, the signal does not interrupt my blocked read on the socket. My watchdog repeatedly sends a SIGUSR1 signal and the handler is dispatched, but the blocked read does not return. I am using the POSIX signals. Does it matter which signal I use? The following is my signal setup and handler. void SigHdlr(int sigNum) { printf("Signal received\n"); return; } ... { sigset_t set; struct sigaction sigAct; /* Install a signal handler so the watchdog timer can force socket I/O * timeouts by raising the SIGUSR1 signal. */ sigemptyset(&set); sigAct.sa_handler = SigHdlr; sigAct.sa_flags = 0; sigAct.sa_mask = set; sigaction(SIGUSR1, &sigAct, NULL); } ... { /* Watchdog */ kill(chassis->m_tid, SIGUSR1); } > VxWorks users, > I have a socket connection to a hardware device that sometimes > crashes. When it does, I want to be able to time-out a read or write > (blocking) that I initiate. I created a SIGUSR1 signal handler, > intending to call it from my Watchdog timer routine which executes > periodically. The idea was that the signal would cause the read/write > to return with EINTR. Apparently you can not call "kill" from an ISR, > because my signal handler never gets activated when called from the > Watchdog timer routine. My next idea will be to set an "itimer" before > the read or write that will send SIGALRM if it expires. I will cancel > the "itimer" if the read/write completes. It seems a waste to setup an > "itimer" when I already am using a Watchdog. Can anyone suggest a > better way to knock my program out of an "infinite" block on i/o? > > Chris From vxwexplo-errs@csg.lbl.gov Fri Dec 15 02:34:23 2000 From: f.pertin@staubli.com Date: Fri Dec 15 02:34:25 PST 2000 Subject: memory display on host shell Hello vxworks and tornado 2.0 GURUs I have in my system (x86) a board on the PCI bus. This board is mapped in the vx memory with the function sysMmuMapAdd. When I read a register of this board from the TARGET shell( d 0xe71C8000) I get the good values. When I do it from the HOST shell, I get unsignifiant values. Does any body have an explaination and is there a way to solve this problem ???? Thanks in advance Francois From vxwexplo-errs@csg.lbl.gov Fri Dec 15 04:03:09 2000 From: Vxworks Exploder Date: Fri Dec 15 04:03:12 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Fri Dec 15 04:03:05 PST 2000 Subject: Re: Priority inversion issues Subject: RE: Timeout read/write Subject: scanf() in VxWorks Subject: Windshell stops repsonding after some time Subject: Re: Timeout read/write Subject: VxWorks consulting tools, drivers, BSPs, application work New Hampshire and Massachusetts Subject: VxWorks consulting tools, drivers, BSPs, application work New Hampshire and Massachusetts Subject: Embedded Vacancies Subject: Re: Client/Server using VxSim on NT Subject: please help me Subject: Q: VxWorks in VMWare? Subject: I2C controller Subject: Re: scanf() in VxWorks Subject: target name Subject: help me Subject: Re: Client/Server using VxSim on NT Subject: RADIUS and SSH Subject: RADIUS and SSH Subject: Re: Client/Server using VxSim on NT Subject: Re: Timeout read/write Subject: Software Engineer Position Available Subject: Using %f in printf() == no output Subject: Re: self promoting tool Subject: Re: Using %f in printf() == no output Subject: Re: scanf() in VxWorks Subject: Re: Dynamically changing IP addresses Subject: Re: how is this file "prjObjs.lst" created ?? Subject: Re: Connecting host - target Subject: Re: mutiple IP addresses for a vxSim? Subject: Re: help me Subject: Re: please help me Subject: Re: TCL initialization scripts Subject: Problem about TCP socket Subject: Re: I2C controller Subject: how to distinguish phyMemAddr and virMemAddr? Subject: Re: help me Subject: [Question] Adding modules to project Subject: Re: please help me Subject: Re: Using tcl/tk with vxWorks Subject: Re: RADIUS and SSH Subject: Re: please help me Subject: memory display on host shell Subject: Backplane Sockets Communication and Task Priority Conflict ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Re: Priority inversion issues Date: Thu, 14 Dec 2000 12:50:27 -0000 From: "Dave Korn" Organization: Lumber Cartel (tinlc) Members #2234-2237 (owing to browser refresh) Message-ID: References: <200012131717.RAA04074@dsl-2.tadpole.co.uk> David Laight wrote in message <200012131717.RAA04074@dsl-2.tadpole.co.uk>... >(Actually it is probably best to atomically increment the count - just in case >some decides to acquire (or release) the mutex from within a signal handler...) ...from the VxWorks Programmer's Guide, ch. 2.4.7: Signals "Signals are more appropriate for error and exception handling than as a general-purpose intertask communication mechanism. In general, signal handlers should be treated like ISRs; no routine should be called from a signal handler that might cause the handler to block. Because signals are asynchronous, it is difficult to predict which resources might be unavailable when a particular signal is raised. To be perfectly safe, call only those routines that can safely be called from an ISR (see Table 2-23). Deviate from this practice only when you are sure your signal handler can not create a deadlock situation." ...so I'd say don't worry about it too much! DaveK - -- They laughed at Galileo. They laughed at Copernicus. They laughed at Columbus. But remember, they also laughed at Bozo the Clown. --------------------------- Newsgroups: comp.os.vxworks Subject: RE: Timeout read/write Date: Thu, 14 Dec 2000 07:43:05 -0500 From: Christopher Slominski Organization: Lawrence Berkeley National Laboratory Message-ID: <91ah31$fvg$1@overload.lbl.gov> VxWorks Users, I am replying to my own posting because of an erroneous claim I made. Apparently the problem with my watchdog was not the signal being sent, but a printf() right before the kill(). When I removed the printf() the signal was sent and handled. Unfortunately, the signal does not interrupt my blocked read on the socket. My watchdog repeatedly sends a SIGUSR1 signal and the handler is dispatched, but the blocked read does not return. I am using the POSIX signals. Does it matter which signal I use? The following is my signal setup and handler. void SigHdlr(int sigNum) { printf("Signal received\n"); return; } ... { sigset_t set; struct sigaction sigAct; /* Install a signal handler so the watchdog timer can force socket I/O * timeouts by raising the SIGUSR1 signal. */ sigemptyset(&set); sigAct.sa_handler = SigHdlr; sigAct.sa_flags = 0; sigAct.sa_mask = set; sigaction(SIGUSR1, &sigAct, NULL); } ... { /* Watchdog */ kill(chassis->m_tid, SIGUSR1); } > VxWorks users, > I have a socket connection to a hardware device that sometimes > crashes. When it does, I want to be able to time-out a read or write > (blocking) that I initiate. I created a SIGUSR1 signal handler, > intending to call it from my Watchdog timer routine which executes > periodically. The idea was that the signal would cause the read/write > to return with EINTR. Apparently you can not call "kill" from an ISR, > because my signal handler never gets activated when called from the > Watchdog timer routine. My next idea will be to set an "itimer" before > the read or write that will send SIGALRM if it expires. I will cancel > the "itimer" if the read/write completes. It seems a waste to setup an > "itimer" when I already am using a Watchdog. Can anyone suggest a > better way to knock my program out of an "infinite" block on i/o? > > Chris --------------------------- Newsgroups: comp.os.vxworks Subject: scanf() in VxWorks Date: Thu, 14 Dec 2000 13:43:44 GMT From: jowojofo@my-deja.com Organization: Deja.com Message-ID: <91aiqe$mn9$1@nnrp1.deja.com> Hi there! I have a rather basic question about VxWorks: I implemented a little program that shall take inputs via "scanf()" from stio. But since my program runs on our hardware (Motorola 68K), I have access to it only via a Tornado shell. All the program's outputs go the this shell, but it does not take the inputs - everything I type into it is interpreted as a shell command and not as an input for my software. Does someone now how to solve this problem? Thank you, Joachim Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Windshell stops repsonding after some time Date: Thu, 14 Dec 2000 13:48:58 GMT From: alooksha@my-deja.com Organization: Deja.com Message-ID: <91aj48$mrd$1@nnrp1.deja.com> Hi, I am using the vxWorks 5.3.1 and connecting to the target using Tornado2. The output of the windshell has been redirected to the virtual console. When I execute the following command in windshell it works fine in the begining. - ->printf("Hellow World\n"); If I leave the windshell Idle for some time( abt 10 min) and execute the same command then I don't get the output immedaitely. If I press enter key in the Virtual Console then only I get the output. Till then the printf function wouldn't return. I have the same problem even if I use Tornado 1. My vesion's are.. VxWorks (for Motorola MVME2300 - MPC 603p) version 5.3.1. Kernel: WIND version 2.5 Made on Nov 9 1999, 11:03:33. Tornado 2 on Solaris 2.6 Any clues why it's happening like this.. thanks alooksha Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Timeout read/write Date: 14 Dec 2000 14:50:33 GMT From: "Peter Hellmann" Organization: Siemens Inc. Message-ID: <01c065dd$35e71b90$2b6b158b@mhw20661> References: <918lai$n7j$1@overload.lbl.gov> Can't u use a select() that can take a timeout as a parameter before you call read() and/or write() ? Is there a reason why u must use blocking functions ? If u'd loop in a select() u could just call read() and/or write() when it will not block. Peter Christopher Slominski schrieb im Beitrag <918lai$n7j$1@overload.lbl.gov>... > VxWorks users, > I have a socket connection to a hardware device that sometimes > crashes. When it does, I want to be able to time-out a read or write > (blocking) that I initiate. I created a SIGUSR1 signal handler, > intending to call it from my Watchdog timer routine which executes > periodically. The idea was that the signal would cause the read/write > to return with EINTR. Apparently you can not call "kill" from an ISR, > because my signal handler never gets activated when called from the > Watchdog timer routine. My next idea will be to set an "itimer" before > the read or write that will send SIGALRM if it expires. I will cancel > the "itimer" if the read/write completes. It seems a waste to setup an > "itimer" when I already am using a Watchdog. Can anyone suggest a > better way to knock my program out of an "infinite" block on i/o? > > Chris > > --------------------------- Newsgroups: comp.os.vxworks Subject: VxWorks consulting tools, drivers, BSPs, application work New Hampshire and Massachusetts Date: Thu, 14 Dec 2000 12:33:30 -0500 From: "Bob Labadini" Organization: Shore.Net, a PRIMUS Company (info@shore.net) Message-ID: If anyone has any short-term project or long-term project requirements that need senior/architect level help in a T1.01, T2 or the beta T3 environment, we have some resources that may be able to help you. We can support on-site work in New Hamphire and Massachusetts as well as remote work. Thanks, Bob --------------------------- Newsgroups: comp.os.vxworks Subject: VxWorks consulting tools, drivers, BSPs, application work New Hampshire and Massachusetts Date: Thu, 14 Dec 2000 12:34:12 -0500 From: "Bob Labadini" Organization: Shore.Net, a PRIMUS Company (info@shore.net) Message-ID: <3O7_5.827$JG.91518@news.shore.net> If anyone has any short-term project or long-term project requirements that need senior/architect level help in a T1.01, T2 or the beta T3 environment, we have some resources that may be able to help you. We can support on-site work in New Hamphire and Massachusetts as well as remote work. Thanks, Bob --------------------------- Newsgroups: comp.os.vxworks Subject: Embedded Vacancies Date: Thu, 14 Dec 2000 19:32:57 +0100 From: ganesh Organization: Mascot Systems Limited Message-ID: <3A391259.679EAD72@us.mascotsystems.com> Reply-To: gkota@eu.mascotsystems.com - --------------3BC1F6C2B900B74DE9062851 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mascot systems is a part of Igate capital (NASDAQ : IGTE)(formerly called Mastech Corp) is a a worldwide supplier of IT consulting services (http://www.mascotsystems.com). Services include the delivery of specialized IT skills in teams as required for specific projects by Mascot's clients. Projects are typically completed onsite However, Mascot also has extensive offshore software factories, which may be utilized for the delivery of certain aspects ofservices. Igate has over 5000 employees, and 1998 revenues over US$ 400 million. If you are looking to make a career move, and interested in a fast growing multi-national corporation with unlimited opportunities, then look no further. We are looking for Dynamic information technology professionals with good communication skills in written and spoken English for Mascot Netherlands operations . We have an interesting relocation plan for people immigrating from other coutries The Open vacancies are as follows * Embedded systems and Real-time Operating systems(RTOS) programmers and testers with experience in the following areas C/C++ , Assembler , Motorola ,Siemens, VXWorks, Philips Digital TV systems , Continuus VCS, CAN, CMX , Debugging equipment working experience (depending on processor used - in our case MIPS or 80C51XA) , program Control Switching, , Motorola MPC860, Intel SA110, Tundra Qspan2, Intel 21554,Trimedia, RF, OSE, ASIC design and so on Interested candidates can send their CV to gkota@eu.mascotsystems.com - --------------3BC1F6C2B900B74DE9062851 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit  
Mascot systems is a part of Igate capital (NASDAQ : IGTE)(formerly called Mastech Corp)  is a  a worldwide supplier of IT consulting services (http://www.mascotsystems.com). Services include the delivery of specialized IT skills in teams as required for specific projects by Mascot's clients.  Projects are typically completed onsite  However, Mascot also has extensive offshore software factories, which may be utilized for the delivery of certain aspects ofservices. Igate has over 5000 employees, and 1998 revenues over US$ 400 million.  If you are looking to make a career move, and interested in a fast growing multi-national corporation with unlimited opportunities, then look no further.

We are looking for Dynamic information technology professionals with good communication skills in written and spoken English for Mascot Netherlands operations . We have an interesting relocation plan for people immigrating from other coutries
 

The Open vacancies are as  follows
 

  • Embedded systems and Real-time Operating     systems(RTOS) programmers and testers  with experience in the     following areas C/C++ , Assembler , Motorola ,Siemens, VXWorks,  Philips Digital TV systems , Continuus VCS, CAN, CMX , Debugging equipment working experience (depending on processor used - in our case MIPS or 80C51XA)  , program Control Switching, , Motorola MPC860, Intel SA110, Tundra Qspan2, Intel 21554,Trimedia, RF, OSE, ASIC design and so on

 

Interested candidates can send their CV to gkota@eu.mascotsystems.com
 

  - --------------3BC1F6C2B900B74DE9062851-- --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Client/Server using VxSim on NT Date: Thu, 14 Dec 2000 18:45:46 GMT From: sylvinem@my-deja.com Organization: Deja.com Message-ID: <91b4go$75d$1@nnrp1.deja.com> References: <918d0a$u89$1@nnrp1.deja.com> <3A37DE11.D1173CB2@flashcom.net> Further examination looks like the arp table on the pc was becoming incorrect - when I clean the arp table of all 90.0.0.X entries and then bring up my sims, everything works as expected. When I try to restart both of them, they fail to connect - further investigation into the arp table on the pc shows both sim ip addresses having the same physical address where before the 90.0.0.1 address corresponded with 00-00-00-00-00-01 and 90.0.0.2 corresponded with 00-00-00-00-00-02. Current problem now has to do with the fact that I am writing code for a redundant system and want both sims to bring up a server and a client. The first server to get a connection will be come the server and the other will go into standby mode until the current server fails. Trying to connect in this scenario appears to fail all of the time. Some things to note, each connects on a different port, each sim brings its server up first and then its client. Any ideas? Thanks, - -Dan Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: please help me Date: Thu, 14 Dec 2000 11:54:01 -0700 From: Ben Message-ID: <3A391749.2C43E5F3@hotmail.com> Reply-To: kanigeri@hotmail.com hi i am facing difficulties to connect my windows host machine to target powerpc. can i connect it without using network. please tell me how to do it thank you ben --------------------------- Newsgroups: comp.os.vxworks Subject: Q: VxWorks in VMWare? Date: Thu, 14 Dec 2000 16:22:03 +0100 From: Robert Wachinger Organization: Siemens AG Message-ID: <3A38E59B.552B17DE@icn.siemens.de> Hello all, I am pretty new to VxWorks, and I just learnt today, that VxWorks also runs on a normal PC (with a special BSP). Has anyone here tried to run VxWorks in a virtual machine under VMWare? Thanks in advance for any answers. Regards, Robert --------------------------- Newsgroups: comp.os.vxworks Subject: I2C controller Date: Thu, 14 Dec 2000 19:37:03 GMT From: parreg@my-deja.com Organization: Deja.com Message-ID: <91b7gv$9pf$1@nnrp1.deja.com> Hi all, Has anybody ever experience an situation in which the I2C contoller igores the start command for MPC8260 or 860? The manual is not clear, and I was wondering if someone has encountered the circumstance before, and has a resolution. Thanks. parreg Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: scanf() in VxWorks Date: Thu, 14 Dec 2000 19:51:02 GMT From: parreg@my-deja.com Organization: Deja.com Message-ID: <91b8b3$add$1@nnrp1.deja.com> References: <91aiqe$mn9$1@nnrp1.deja.com> In article <91aiqe$mn9$1@nnrp1.deja.com>, jowojofo@my-deja.com wrote: > Hi there! > > I have a rather basic question about VxWorks: I > implemented a little program that shall take > inputs via "scanf()" from stio. But since my > program runs on our hardware (Motorola 68K), I > have access to it only via a Tornado shell. All > the program's outputs go the this shell, but it > does not take the inputs - everything I type into > it is interpreted as a shell command and not as > an input for my software. Does someone now how to > solve this problem? > > Thank you, > Joachim > > Sent via Deja.com > http://www.deja.com/ > Hi Joachim, In your Tornado IDE go to >tools menu pull down >target server >config under "target server properties" click console and redirection, click redirect target I_0, apply and exit. I think this will solve the problem. - -parreg Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: target name Date: Thu, 14 Dec 2000 12:40:23 -0700 From: hari Message-ID: <3A392226.628DE8F9@hotmail.com> Reply-To: kanigeri@hotmail.com what is target name, how to find it, or can we give any random name to it. thank you hari --------------------------- Newsgroups: comp.os.vxworks Subject: help me Date: Thu, 14 Dec 2000 12:29:33 -0700 From: Ben Message-ID: <3A391F9D.CB772914@hotmail.com> Reply-To: kanigeri@hotmail.com hi when i am trying to boot vxworks image it is getting stuck after displaying the image size. can you please tell me what may be the reason. this is how i am getting in hyperterminal VxWorks System Boot Copyright 1984-1996 Wind River Systems, Inc. CPU: Motorola MTX - MPC 603p Version: 5.3.1 Creation date: Apr 2 1998, 09:21:56 Press any key to stop auto-boot... 3 [VxWorks Boot]: @ boot device : dc processor number : 0 host name : U.S.U..usu.edu file name : c:\tornado\target\config\mtx603\vxWorks inet on ethernet (e) : 129.123.4.127:ffffff00 host inet (h) : 129.123.4.237 user (u) : sl149 ftp password (pw) : goud flags (f) : 0x0 target name (tn) : tornado Attaching network interface dc0... done. Attaching network interface lo0... done. Loading... 670192 thank you --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Client/Server using VxSim on NT Date: Thu, 14 Dec 2000 15:34:20 GMT From: sylvinem@my-deja.com Organization: Deja.com Message-ID: <91ap9s$sh7$1@nnrp1.deja.com> References: <918d0a$u89$1@nnrp1.deja.com> <3A37DE11.D1173CB2@flashcom.net> Ok checked those items mentioned, enabled ip forwarding, the 2nd sim shows the gateway as 90.0.0.1 for 0.0.0.0 under ROUTE NET TABLE. I attempted to delete the route via the shell but the shell ends up hanging. Tried to create a second shell but now the sim appears to be not responding. Also tried to add in prior to deleting: routeAdd("0.0.0.0", "90.0.0.2") but this failed as the first route was still in existance (figured as much but...) I played around with the MFC server/clients and I can connect to the VxSim server as many times in succession as I like (provided I clean up the socket each time). I can also connect to the MFC server multiple times using the VxSim client. This holds true whenever the VxSim client or server is processor 0 i.e. 90.0.0.1. Any suggestions? Thanks, - -Dan In article <3A37DE11.D1173CB2@flashcom.net>, drdiags@flashcom.net wrote: > Dan, > > Here are some general things to try/check. > > Make sure the ULIP driver is configured as 90.0.0.254. > > Make sure WinNT has IP Forwarding enabled. > > Modify the 2nd and subsequent VxSim targets routing table. > - If routeShow has the wrong gateway (90.0.0.1) for the 0.0.0.0 network > delete it and add with routeAdd("0.0.0.0","90.0.0.n") where n = VxSim > number. > Make sure you can ping both targets. (which you already proved you can do, so > this is irrelevant) > > sylvinem@my-deja.com wrote: > > > I am trying to create a client/server app based on the full VxSim. I am > > running under Win NT (SP5) and want the first VxSim to act as the server > > (using 90.0.0.1 for the ip) and the second VxSim to act as the client (using > > 90.0.0.2 for its ip). When I bring up both sims, the second fails to connect > > to the first using TCP/IP. > > > > Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: RADIUS and SSH Date: Thu, 14 Dec 2000 19:58:12 GMT From: eabrg@my-deja.com Organization: Deja.com Message-ID: <91b8og$aqg$1@nnrp1.deja.com> Hi folks, Does anyone know if there are RADIUS and SSH protocol implementations for VxWorks on PPC target (the target shouldn't matter I think) Thanks Eabrg Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks,comp.arch.embedded Subject: RADIUS and SSH Date: Thu, 14 Dec 2000 19:56:41 GMT From: eabrg@my-deja.com Organization: Deja.com Message-ID: <91b8ll$api$1@nnrp1.deja.com> Hi folks, Do you know if RADIUS and SSH protocols are implemented on VxWorks for a PPC target (I dont think that the target matters but just thought I'd mention it) Thanks Eabrg Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Client/Server using VxSim on NT Date: Thu, 14 Dec 2000 15:43:05 GMT From: sylvinem@my-deja.com Organization: Deja.com Message-ID: <91apq6$t2m$1@nnrp1.deja.com> References: <918d0a$u89$1@nnrp1.deja.com> <3A37DE11.D1173CB2@flashcom.net> <91ap9s$sh7$1@nnrp1.deja.com> Now it seems to be connecting ok. Can't quite see what I changed that would fix it but... Thanks for the help. - -Dan Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Timeout read/write Date: Thu, 14 Dec 2000 15:26:50 -0500 From: "Yin, Yong" Organization: Nortel Message-ID: <91bae2$j4c$1@bmerhc5e.ca.nortel.com> References: <918lai$n7j$1@overload.lbl.gov> As VxWorks signal has BSD sematics, your code does not work. In VxWorks, signals do not interrupt blocked system call and do not return EINTR. I'm sure you can use select() to do the same thing. And, maybe you can use sigaction() to set SA_INTERRUPT flag to let VxWorks not restart the blocked function. cheers Yong Yin Christopher Slominski wrote in message news:918lai$n7j$1@overload.lbl.gov... > VxWorks users, > I have a socket connection to a hardware device that sometimes > crashes. When it does, I want to be able to time-out a read or write > (blocking) that I initiate. I created a SIGUSR1 signal handler, > intending to call it from my Watchdog timer routine which executes > periodically. The idea was that the signal would cause the read/write > to return with EINTR. Apparently you can not call "kill" from an ISR, > because my signal handler never gets activated when called from the > Watchdog timer routine. My next idea will be to set an "itimer" before > the read or write that will send SIGALRM if it expires. I will cancel > the "itimer" if the read/write completes. It seems a waste to setup an > "itimer" when I already am using a Watchdog. Can anyone suggest a > better way to knock my program out of an "infinite" block on i/o? > > Chris > --------------------------- Newsgroups: comp.os.vxworks Subject: Software Engineer Position Available Date: Thu, 14 Dec 2000 12:39:04 -0800 From: Louise Moser Organization: University of California, Santa Barbara Message-ID: <3A392FE8.1C8EEA79@ece.ucsb.edu> Reply-To: moser@ece.ucsb.edu Eternal Systems, Inc., is seeking a qualified individual for the position of Software Engineer with experience of VxWorks. RESPONSIBILITIES: Designing and writing distributed programs using C++ to run over VxWorks. Experience with CORBA is also desirable. Participating in the design, implementation, testing, debugging and porting of the Company's products. JOB REQUIREMENTS: * At least B.S. Computer Science or Computer Engineering * Considerable experience with VxWorks * Knowledge of network programming, multithreaded programming, C++, CORBA * Familiarity with common debuggers and testing tools * Strong team player * Strong communication skills, good people skills * Experience with distributed and embedded programming in a commercial environment Eternal Systems, Inc., is an exciting high-tech start=up company in Santa Barbara, CA, that builds fault tolerance and live upgrade software for distributed object applications. The software is used in telecommunications equipment and high-end enterprise applications. Eternal Systems offers a great place to work with many amenities, including: * Young group of professionals * Beautiful, sunny Santa Barbara * Stock options * Health insurance and other benefits * Opportunity for learning, great potential for advancement * Fun working environment * Casual dress code For more information, and to submit your resume, contact: Louise Moser moser@eternal-systems.com 805-696-9051 --------------------------- Newsgroups: comp.os.vxworks Subject: Using %f in printf() == no output Date: 14 Dec 2000 21:01:40 GMT From: jgay@wyoming.dr.lucent.com (John M. Gay) Organization: Lucent Technologies Message-ID: <91bcfk$t7d@nntpb.cb.lucent.com> Reply-To: nonSENSEjgay@lucent.com I have a 5.4 system on an 850 that I am trying to print floating point numbers on. If I do: printf("Float %f is the number.\n", 7.3); I get: Float f is the number. printf("Float %9.3f is the number.\n", 7.3); shows: Float f is the number. It seems to ignore the %f and just print the f. Has anyone else run across this? Anyone have a clue as to what I am doing wrong? Any help is much appreciated. - -- john gay. nonSENSEjgay@lucent.com The power of accurate observation is often called cynicism by those who haven't got it. -- George Bernard Shaw --------------------------- Newsgroups: comp.os.vxworks Subject: Re: self promoting tool Date: 14 Dec 2000 21:10:37 GMT From: jgay@wyoming.dr.lucent.com (John M. Gay) Organization: Lucent Technologies Message-ID: <91bd0d$32i@nntpa.cb.lucent.com> References: <3A3890AB.ADEAACD@rtview.co.il> Reply-To: DELETEjmgay@lucent.com So do you highly recommend this tool just because you work for the company that produces this tool? You might have mentioned that in your post - "hey I work for this company and we have a vxworks tool that we think is great. blah, blah." Instead, it sounds like you are a user of the tool. In article <3A3890AB.ADEAACD@rtview.co.il>, i k wrote: >please read the >http://www.planetee.com/planetee/servlet/DisplayDocument?ArticleID=13425 > >I highly recommend this tool for VxWorks. > >-- > Ilya Krasavin > Software Engineer. > RTView Ltd. > > 10 Ben Gurion St. Ramat-Gan 52573 Israel > Tel: +972-3-6123995 > Fax: +972-3-6123996 > > web: http://www.rtview.com > > > - -- john gay. jmgay@lucent.com The power of accurate observation is often called cynicism by those who haven't got it. -- George Bernard Shaw --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Using %f in printf() == no output Date: Thu, 14 Dec 2000 13:19:48 -0800 From: Melvin Gardipee <"\"Melvin Gardipee\" > Organization: Raytheon Company Message-ID: <5Qa_5.99$mz3.1765@dfw-service2.ext.raytheon.com> References: <91bcfk$t7d@nntpb.cb.lucent.com> Have you included "fpp formatting for printf" located in Tornado workspace, VxWorks tab->operating system components->IO system components? The Tornado project autoscale option will recommend removal of this component since the kernel does not need it. If your project prints floating point, you have to explicitly include this option. Regards Mel. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: scanf() in VxWorks Date: Thu, 14 Dec 2000 21:27:32 GMT From: jowojofo@my-deja.com Organization: Deja.com Message-ID: <91bdvt$f90$1@nnrp1.deja.com> References: <91aiqe$mn9$1@nnrp1.deja.com> <91b8b3$add$1@nnrp1.deja.com> > Hi Joachim, > > In your Tornado IDE go to >tools menu pull down >target server >config > under "target server properties" click console and redirection, click > redirect target I_0, apply and exit. I think this will solve the > problem. > > -parreg > Hi Parreg, thank you for your help. Since I'm using Tornado 1.0.1 and not the newest version, it was a little bit differen (>tools >Target Server >Configure >Change Property: Virtual Console >Use Target Server Window as Virt. Cons.), but with your tip it was easy to find it. Joachim Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Dynamically changing IP addresses Date: Thu, 14 Dec 2000 17:02:34 +0000 From: B Luong Organization: The University of York, UK Message-ID: <3A38FD29.9E566D4C@student.cs.york.ac.uk> References: <3A37BFB8.35EF4243@student.cs.york.ac.uk> Sender: btl101@york.ac.uk Do I need to use DHCP? --------------------------- Newsgroups: comp.os.vxworks Subject: Re: how is this file "prjObjs.lst" created ?? Date: Thu, 14 Dec 2000 21:56:09 GMT From: "Jim" Organization: Magma Communications Ltd. Message-ID: References: Found the answer to the question I asked on a www page ... solution is below ... Thanks to all who looked into this, Jim - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Also a change has to be made to the file ..../target/h/make/rules.project to generate a different prjObjs.lst. The change is in line 136 the addition of the absolut path: $(foreach obj,$(PRJ_OBJS),$(obj)_._write_._) : @echo $(PRJ_DIR)/$(BUILD_SPEC)/$(subst _._write_._,,$@) With this change all the prjObjs.lst-files contain not only the object file names, but the absolute path to all the object modules. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Connecting host - target Date: Thu, 14 Dec 2000 15:43:07 GMT From: neophil@my-deja.com Organization: Deja.com Message-ID: <91apq9$t2n$1@nnrp1.deja.com> References: <913jpp$t6q$1@news4.isdnet.net> <90086FFD0borkhuislucentcom@135.7.153.102> <9199v5$o5o$1@nnrp1.deja.com> <3A383584.C1B2E9@flashcom.net> Greetings, Hoping this clarification will help. WDB stands for: Wind DeBug. WTX stands for: Wind Tool eXchange. Philippe Maisonneuve Wind River Systems In article <3A383584.C1B2E9@flashcom.net>, drdiags@flashcom.net wrote: > Will, > > The WDB is an API embedded into the Target that allows Host Target > Tools (WindSh, Browser, Crosswind and others) to access on target > resources. (does sound like GDB though). In the Tornado 2.0 Users Guide > Edition 1 pg. 26, there is a nice drawing showing how it fits into the > Tornado Host-Target Communication scheme. I am not sure why it is called > WDB (WTX Debug Backend?). HTH Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: mutiple IP addresses for a vxSim? Date: Thu, 14 Dec 2000 16:00:30 -0700 From: "Michael S. Simpson" Organization: Raytheon Company Message-ID: <3A39510E.273D7882@west.raytheon.com> References: <8uqc5t$3q0$1@nnrp1.deja.com> This is a multi-part message in MIME format. - --------------978F8B42D649183C95DF19D3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I assume you have the full-up VxSim package (optional product) and not the VxSim lite that comes with Tornado2. You might try using the route add command from a command shell and adding the IP addresses there. That way they should be available to the system. Mike Simpson Raytheon Missile Systems Disclaimer: Speaking only for myself and not my employer. lccwang@my-deja.com wrote: > > Hi, > > I just started using Tornado on NT last week, and > I'm wondering if someone here can help me with my > vxSim problem. > > I'm trying to assign mutiple IP addresses to a > single vxSim. By starting a custom vxSim via the > Tornado icon, I get a vxSim with one working ip > address. However, when I use "ipAddrAdd" (ex. > ipAddrAdd "nt0", "90.0.0.2") to add another IP > address, that new address doesn't seem usable. > For instance, the second address doesn't respond > to pings from the same vxSim or from the DOS > prompt, although it does show up when I do > an "ifShow." > > Maybe using "ipAddrAdd" is not the right way to > go. Maybe I need to attach another interface, > but I'm not sure how to do that. Do you folks > have any advice for this newbie? > > Thanks. > > Linda > > Sent via Deja.com http://www.deja.com/ > Before you buy. - --------------978F8B42D649183C95DF19D3 Content-Type: text/x-vcard; charset=us-ascii; name="mssimpson.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Michael S. Simpson Content-Disposition: attachment; filename="mssimpson.vcf" begin:vcard n:Simpson;Michael tel;pager:520-489-7933 tel;home:520-622-5039 tel;work:520-794-5381 x-mozilla-html:FALSE adr:;;;;;; version:2.1 email;internet:mssimpson@west.raytheon.com fn:Michael Simpson end:vcard - --------------978F8B42D649183C95DF19D3-- --------------------------- Newsgroups: comp.os.vxworks Subject: Re: help me Date: Thu, 14 Dec 2000 16:33:15 -0700 From: "Michael S. Simpson" Organization: Raytheon Company Message-ID: <3A3958BB.AD1F73F1@west.raytheon.com> References: <3A391F9D.CB772914@hotmail.com> This is a multi-part message in MIME format. - --------------70A1101C684AFD99AC69C63C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Ben: How long have you had the system waiting before you cycle power? There are times when you have to really wait for a timeout message to come back and leave you at the VxWorks Boot prompt. Do you have logging turned on in your FTP server? With logging, you should see the board talking to your PC to download the image. If you're not seeing anything, then the fault is your ethernet connection. Try setting logging on and see if anything comes up in your FTP server window. Mike Simpson Raytheon Missile Systems Disclaimer: Speaking for myself and not my employer. Ben wrote: > > hi > when i am trying to boot vxworks image it is getting stuck after > displaying the image size. can you please tell me what may be the > reason. > this is how i am getting in hyperterminal > > VxWorks System Boot > > Copyright 1984-1996 Wind River Systems, Inc. > > CPU: Motorola MTX - MPC 603p > Version: 5.3.1 > Creation date: Apr 2 1998, 09:21:56 > > Press any key to stop auto-boot... > 3 > > [VxWorks Boot]: @ > > boot device : dc > processor number : 0 > host name : U.S.U..usu.edu > file name : c:\tornado\target\config\mtx603\vxWorks > inet on ethernet (e) : 129.123.4.127:ffffff00 > host inet (h) : 129.123.4.237 > user (u) : sl149 > ftp password (pw) : goud > flags (f) : 0x0 > target name (tn) : tornado > > Attaching network interface dc0... done. > Attaching network interface lo0... done. > Loading... 670192 > > thank you - --------------70A1101C684AFD99AC69C63C Content-Type: text/x-vcard; charset=us-ascii; name="mssimpson.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Michael S. Simpson Content-Disposition: attachment; filename="mssimpson.vcf" begin:vcard n:Simpson;Michael tel;pager:520-489-7933 tel;home:520-622-5039 tel;work:520-794-5381 x-mozilla-html:FALSE adr:;;;;;; version:2.1 email;internet:mssimpson@west.raytheon.com fn:Michael Simpson end:vcard - --------------70A1101C684AFD99AC69C63C-- --------------------------- Newsgroups: comp.os.vxworks Subject: Re: please help me Date: Fri, 15 Dec 2000 00:12:53 GMT From: ellin_lin@my-deja.com Organization: Deja.com Message-ID: <91bnm0$n79$1@nnrp1.deja.com> References: <3A391749.2C43E5F3@hotmail.com> In article <3A391749.2C43E5F3@hotmail.com>, kanigeri@hotmail.com wrote: > hi > i am facing difficulties to connect my windows host machine to > target powerpc. can i connect it without using network. please tell me > how to do it > thank you > ben > > Of course, you can. You can connect your target via serial by just configure your target server. ellin Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: TCL initialization scripts Date: Fri, 15 Dec 2000 00:37:28 GMT From: pkockritz@home.com (Pete Kockritz) Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: References: <918or1$oh3$1@overload.lbl.gov> In article <918or1$oh3$1@overload.lbl.gov>, Henry Ni wrote: > VxWorks Users, > > Does anyone use windsh.tcl in $(WIND_BASE)\.wind directory on NT to > setup > the shell configuration? I changed the windsh.tcl in that directory, but > it seems the > windsh.tcl was never got executed. I added following tcl statement but > did not got > the message printed out. > > puts stdout "Sourcing windsh.tcl\n" > > Any suggestion? > > Thanks > > Henry Try setting the HOME env var to something like c:\myhome (if its not set to something already) and create a %HOME%\.wind directory. Put your windsh.tcl file there. I've done this with and put a 'cd c:\myhome' in the file. It seems to work, but sometimes I get a message 'error sourcing c:\myhome\.wind\windsh.tcl'. Regards, Pete - -- +-----------------------------------------------------------------+ | Pete Kockritz mailto:pkockritz@home.com | | This space for rent. | +-----------------------------------------------------------------+ --------------------------- Newsgroups: comp.os.vxworks Subject: Problem about TCP socket Date: Fri, 15 Dec 2000 02:12:01 GMT From: ellin_lin@my-deja.com Organization: Deja.com Message-ID: <91buld$ssg$1@nnrp1.deja.com> How many TCP sockets can be opened simultaneously? ellin Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: I2C controller Date: Fri, 15 Dec 2000 03:09:02 GMT From: "Martin Usher" Organization: EarthLink Inc. -- http://www.EarthLink.net Message-ID: References: <91b7gv$9pf$1@nnrp1.deja.com> Reply-To: "Martin Usher" > > Has anybody ever experience an situation in which the I2C contoller > igores the start command for MPC8260 or 860? The manual is not clear, > and I was wondering if someone has encountered the circumstance before, > and has a resolution. Thanks. > (On an 8260) it works for me. When I first started testing the driver I was just issuing a transmit sequence from the 8260 to look at the pulses. I found that I had to set the port bits to open collector for the controller to output anything. I subsiquently found that issuing a 'start' request while the 8260 was still processing a request stopped it. I thought that was a bit dumb - I'd have expected the controller to either ignore that request or record it and restart immediately the current transaction was completed. Given the low speed of this interface and the general hassle of working with the controller I have been in two minds whether to just ignore it and waggle the port bits myself (I'm just using the interface to store and retrieve configuration information from an EEROM, though). --------------------------- Newsgroups: comp.os.vxworks Subject: how to distinguish phyMemAddr and virMemAddr? Date: Fri, 15 Dec 2000 11:12:56 +0800 From: sardine Organization: utstarcomsz Message-ID: hi all, pls look program as follow: pPhysAddr = (char *) valloc (newMemSize)) .................... globalPgBlkArray = vmGlobalInfoGet(); for (index = 0; globalPgBlkArray[index] == TRUE; index++) ; pVirtAddr = (char *) (index * pageBlkSize); ................./*vxworks program guide chapter 7.7 private memory example*/ my question is: system how to distinguish a MemAddress as phyMemAddr or virMemAddr? any advice welcome! jiangbing@371.net --------------------------- Newsgroups: comp.os.vxworks Subject: Re: help me Date: Thu, 14 Dec 2000 20:16:27 -0700 From: hari Message-ID: <3A398D0B.B4F3AAB1@hotmail.com> References: <3A391F9D.CB772914@hotmail.com> <3A3958BB.AD1F73F1@west.raytheon.com> Reply-To: kanigeri@hotmail.com This is a multi-part message in MIME format. - --------------387EFE5FBADD043809559194 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi michael i am logging in the ftp and this is what i am getting in log file. i am including the attachment of the log file thank you Ben "Michael S. Simpson" wrote: > Ben: > > How long have you had the system waiting before you cycle power? There are > times when you have to really wait for a timeout message to come back and leave > you at the VxWorks Boot prompt. Do you have logging turned on in your FTP > server? With logging, you should see the board talking to your PC to download > the image. If you're not seeing anything, then the fault is your ethernet > connection. > > Try setting logging on and see if anything comes up in your FTP server window. > > Mike Simpson > Raytheon Missile Systems > > Disclaimer: Speaking for myself and not my employer. > > Ben wrote: > > > > hi > > when i am trying to boot vxworks image it is getting stuck after > > displaying the image size. can you please tell me what may be the > > reason. > > this is how i am getting in hyperterminal > > > > VxWorks System Boot > > > > Copyright 1984-1996 Wind River Systems, Inc. > > > > CPU: Motorola MTX - MPC 603p > > Version: 5.3.1 > > Creation date: Apr 2 1998, 09:21:56 > > > > Press any key to stop auto-boot... > > 3 > > > > [VxWorks Boot]: @ > > > > boot device : dc > > processor number : 0 > > host name : U.S.U..usu.edu > > file name : c:\tornado\target\config\mtx603\vxWorks > > inet on ethernet (e) : 129.123.4.127:ffffff00 > > host inet (h) : 129.123.4.237 > > user (u) : sl149 > > ftp password (pw) : goud > > flags (f) : 0x0 > > target name (tn) : tornado > > > > Attaching network interface dc0... done. > > Attaching network interface lo0... done. > > Loading... 670192 > > > > thank you - --------------387EFE5FBADD043809559194 Content-Type: text/plain; charset=us-ascii; name="h1.ftp" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="h1.ftp" [L 0020] 12/01/00 02:25:38 Connection accepted from 129.123.4.127 [C 0020] 12/01/00 02:25:38 Command "USER sl149" received [C 0020] 12/01/00 02:25:38 PASSword accepted [L 0020] 12/01/00 02:25:38 User sl149 logged in. [C 0020] 12/01/00 02:25:38 Command "TYPE I" received [C 0020] 12/01/00 02:25:38 TYPE set to I N [C 0020] 12/01/00 02:25:38 Command "PORT 129,123,4,127,4,1" received [C 0020] 12/01/00 02:25:38 PORT set to 129.123.4.127 - 1025 (4,1) [C 0020] 12/01/00 02:25:38 Command "RETR c:\Tornado\target\config\mtx603\vxWorks" received [C 0020] 12/01/00 02:25:39 RETRieve started on file c:\Tornado\target\config\mtx603\vxWorks [C 0020] 12/01/00 02:25:45 Transfer aborted [G 0020] 12/01/00 02:25:45 Got file c:\Tornado\target\config\mtx603\vxWorks unsuccessfully [! 0020] 12/01/00 02:25:45 Timeout while sending data [C 0020] 12/01/00 02:25:45 QUIT or close - user sl149 logged out [L 0021] 12/04/00 14:42:35 Connection accepted from 129.123.4.127 [C 0021] 12/04/00 14:42:35 Command "USER sl149" received [C 0021] 12/04/00 14:42:35 PASSword accepted [L 0021] 12/04/00 14:42:35 User sl149 logged in. [C 0021] 12/04/00 14:42:35 Command "TYPE I" received [C 0021] 12/04/00 14:42:35 TYPE set to I N [C 0021] 12/04/00 14:42:35 Command "PORT 129,123,4,127,4,1" received [C 0021] 12/04/00 14:42:35 PORT set to 129.123.4.127 - 1025 (4,1) [C 0021] 12/04/00 14:42:35 Command "RETR c:\Tornado\target\proj\project0\default\vxWorks" received [C 0021] 12/04/00 14:42:36 RETRieve started on file c:\Tornado\target\proj\project0\default\vxWorks [C 0021] 12/04/00 14:43:01 Transfer aborted [G 0021] 12/04/00 14:43:01 Got file c:\Tornado\target\proj\project0\default\vxWorks unsuccessfully [! 0021] 12/04/00 14:43:01 Timeout while sending data [C 0021] 12/04/00 14:43:01 QUIT or close - user sl149 logged out [L 0022] 12/04/00 14:54:35 Connection accepted from 129.123.4.127 [C 0022] 12/04/00 14:54:35 Command "USER sl149" received [C 0022] 12/04/00 14:54:35 PASSword accepted [L 0022] 12/04/00 14:54:35 User sl149 logged in. [C 0022] 12/04/00 14:54:35 Command "TYPE I" received [C 0022] 12/04/00 14:54:35 TYPE set to I N [C 0022] 12/04/00 14:54:35 Command "PORT 129,123,4,127,4,1" received [C 0022] 12/04/00 14:54:35 PORT set to 129.123.4.127 - 1025 (4,1) [C 0022] 12/04/00 14:54:35 Command "RETR c:\Tornado\target\config\simpc\vxWorks" received [C 0022] 12/04/00 14:54:35 RETR failed - file does not exist [G 0022] 12/04/00 14:54:35 RETR failed - file does not exist [C 0022] 12/04/00 14:54:35 QUIT or close - user sl149 logged out [L 0023] 12/04/00 14:58:11 Connection accepted from 129.123.4.127 [C 0023] 12/04/00 14:58:11 Command "USER sl149" received [C 0023] 12/04/00 14:58:11 PASSword accepted [L 0023] 12/04/00 14:58:11 User sl149 logged in. [C 0023] 12/04/00 14:58:11 Command "TYPE I" received [C 0023] 12/04/00 14:58:11 TYPE set to I N [C 0023] 12/04/00 14:58:11 Command "PORT 129,123,4,127,4,1" received [C 0023] 12/04/00 14:58:11 PORT set to 129.123.4.127 - 1025 (4,1) [C 0023] 12/04/00 14:58:11 Command "RETR c:\Tornado\target\config\proj\mtx603_vx\vxWorks" received [C 0023] 12/04/00 14:58:11 RETR failed - file does not exist [G 0023] 12/04/00 14:58:11 RETR failed - file does not exist [C 0023] 12/04/00 14:58:11 QUIT or close - user sl149 logged out [L 0024] 12/04/00 14:59:12 Connection accepted from 129.123.4.127 [C 0024] 12/04/00 14:59:12 Command "USER sl149" received [C 0024] 12/04/00 14:59:12 PASSword accepted [L 0024] 12/04/00 14:59:12 User sl149 logged in. [C 0024] 12/04/00 14:59:12 Command "TYPE I" received [C 0024] 12/04/00 14:59:12 TYPE set to I N [C 0024] 12/04/00 14:59:12 Command "PORT 129,123,4,127,4,1" received [C 0024] 12/04/00 14:59:12 PORT set to 129.123.4.127 - 1025 (4,1) [C 0024] 12/04/00 14:59:12 Command "RETR c:\Tornado\target\proj\project0\default\vxWorks" received [C 0024] 12/04/00 14:59:12 RETRieve started on file c:\Tornado\target\proj\project0\default\vxWorks [C 0024] 12/04/00 14:59:17 Transfer aborted [G 0024] 12/04/00 14:59:17 Got file c:\Tornado\target\proj\project0\default\vxWorks unsuccessfully [! 0024] 12/04/00 14:59:17 Timeout while sending data [C 0024] 12/04/00 14:59:17 QUIT or close - user sl149 logged out [L 0025] 12/04/00 15:01:47 Connection accepted from 129.123.4.127 [C 0025] 12/04/00 15:01:48 Command "USER sl149" received [C 0025] 12/04/00 15:01:48 PASSword accepted [L 0025] 12/04/00 15:01:48 User sl149 logged in. [C 0025] 12/04/00 15:01:48 Command "TYPE I" received [C 0025] 12/04/00 15:01:48 TYPE set to I N [C 0025] 12/04/00 15:01:48 Command "PORT 129,123,4,127,4,1" received [C 0025] 12/04/00 15:01:48 PORT set to 129.123.4.127 - 1025 (4,1) [C 0025] 12/04/00 15:01:48 Command "RETR c:\Tornado\target\proj\mtx603_vx\default\vxworks" received [C 0025] 12/04/00 15:01:48 RETRieve started on file c:\Tornado\target\proj\mtx603_vx\default\vxworks [C 0025] 12/04/00 15:02:12 Transfer aborted [G 0025] 12/04/00 15:02:12 Got file c:\Tornado\target\proj\mtx603_vx\default\vxworks unsuccessfully [! 0025] 12/04/00 15:02:12 Timeout while sending data [C 0025] 12/04/00 15:02:12 QUIT or close - user sl149 logged out [L 0026] 12/04/00 15:06:59 Connection accepted from 129.123.4.127 [C 0026] 12/04/00 15:06:59 Command "USER sl149" received [C 0026] 12/04/00 15:06:59 PASSword accepted [L 0026] 12/04/00 15:06:59 User sl149 logged in. [C 0026] 12/04/00 15:06:59 Command "TYPE I" received [C 0026] 12/04/00 15:06:59 TYPE set to I N [C 0026] 12/04/00 15:06:59 Command "PORT 129,123,4,127,4,1" received [C 0026] 12/04/00 15:06:59 PORT set to 129.123.4.127 - 1025 (4,1) [C 0026] 12/04/00 15:06:59 Command "RETR c:\Tornado\target\proj\simpc_vx\default\vxworks" received [C 0026] 12/04/00 15:06:59 RETRieve started on file c:\Tornado\target\proj\simpc_vx\default\vxworks [C 0026] 12/04/00 15:07:04 Transfer aborted [G 0026] 12/04/00 15:07:04 Got file c:\Tornado\target\proj\simpc_vx\default\vxworks unsuccessfully [! 0026] 12/04/00 15:07:04 Timeout while sending data [C 0026] 12/04/00 15:07:04 QUIT or close - user sl149 logged out [L 0027] 12/04/00 15:17:28 Connection accepted from 129.123.4.127 [C 0027] 12/04/00 15:17:28 Command "USER sl149" received [C 0027] 12/04/00 15:17:28 PASSword accepted [L 0027] 12/04/00 15:17:28 User sl149 logged in. [C 0027] 12/04/00 15:17:28 Command "TYPE I" received [C 0027] 12/04/00 15:17:28 TYPE set to I N [C 0027] 12/04/00 15:17:28 Command "PORT 129,123,4,127,4,1" received [C 0027] 12/04/00 15:17:28 PORT set to 129.123.4.127 - 1025 (4,1) [C 0027] 12/04/00 15:17:28 Command "RETR c:\Tornado\target\proj\simpc_vx\default\vxworks" received [C 0027] 12/04/00 15:17:28 RETRieve started on file c:\Tornado\target\proj\simpc_vx\default\vxworks [C 0027] 12/04/00 15:17:33 Transfer aborted [G 0027] 12/04/00 15:17:33 Got file c:\Tornado\target\proj\simpc_vx\default\vxworks unsuccessfully [! 0027] 12/04/00 15:17:33 Timeout while sending data [C 0027] 12/04/00 15:17:33 QUIT or close - user sl149 logged out [L 0028] 12/04/00 15:25:22 Connection accepted from 129.123.4.127 [C 0028] 12/04/00 15:25:22 Command "USER sl149" received [C 0028] 12/04/00 15:25:22 PASSword accepted [L 0028] 12/04/00 15:25:22 User sl149 logged in. [C 0028] 12/04/00 15:25:22 Command "TYPE I" received [C 0028] 12/04/00 15:25:22 TYPE set to I N [C 0028] 12/04/00 15:25:22 Command "PORT 129,123,4,127,4,1" received [C 0028] 12/04/00 15:25:22 PORT set to 129.123.4.127 - 1025 (4,1) [C 0028] 12/04/00 15:25:22 Command "RETR c:\Tornado\target\proj\mtx603_vx\default\vxWorks" received [C 0028] 12/04/00 15:25:22 RETRieve started on file c:\Tornado\target\proj\mtx603_vx\default\vxWorks [C 0028] 12/04/00 15:25:36 Transfer aborted [G 0028] 12/04/00 15:25:36 Got file c:\Tornado\target\proj\mtx603_vx\default\vxWorks unsuccessfully [! 0028] 12/04/00 15:25:36 Timeout while sending data [C 0028] 12/04/00 15:25:36 QUIT or close - user sl149 logged out [L 0032] 12/14/00 12:19:57 Connection accepted from 129.123.4.127 [C 0032] 12/14/00 12:19:58 Command "USER sl149" received [C 0032] 12/14/00 12:19:58 PASSword accepted [L 0032] 12/14/00 12:19:58 User sl149 logged in. [C 0032] 12/14/00 12:19:58 Command "TYPE I" received [C 0032] 12/14/00 12:19:58 TYPE set to I N [C 0032] 12/14/00 12:19:58 Command "PORT 129,123,4,127,4,1" received [C 0032] 12/14/00 12:19:58 PORT set to 129.123.4.127 - 1025 (4,1) [C 0032] 12/14/00 12:19:58 Command "RETR c:\tornado\target\config\mtx603\vxWorks" received [C 0032] 12/14/00 12:19:58 RETRieve started on file c:\tornado\target\config\mtx603\vxWorks [C 0032] 12/14/00 12:20:01 Transfer aborted [G 0032] 12/14/00 12:20:01 Got file c:\tornado\target\config\mtx603\vxWorks unsuccessfully [! 0032] 12/14/00 12:20:01 Timeout while sending data [C 0032] 12/14/00 12:20:01 QUIT or close - user sl149 logged out [L 0033] 12/14/00 14:46:04 Connection accepted from 129.123.4.127 [C 0033] 12/14/00 14:46:04 Command "USER sl149" received [C 0033] 12/14/00 14:46:04 PASSword accepted [L 0033] 12/14/00 14:46:04 User sl149 logged in. [C 0033] 12/14/00 14:46:04 Command "TYPE I" received [C 0033] 12/14/00 14:46:04 TYPE set to I N [C 0033] 12/14/00 14:46:04 Command "PORT 129,123,4,127,4,1" received [C 0033] 12/14/00 14:46:04 PORT set to 129.123.4.127 - 1025 (4,1) [C 0033] 12/14/00 14:46:04 Command "RETR c:\tornado\target\config\mtx603\vxWorks" received [C 0033] 12/14/00 14:46:04 RETRieve started on file c:\tornado\target\config\mtx603\vxWorks [C 0033] 12/14/00 14:46:08 Transfer aborted [G 0033] 12/14/00 14:46:08 Got file c:\tornado\target\config\mtx603\vxWorks unsuccessfully [! 0033] 12/14/00 14:46:08 Timeout while sending data [C 0033] 12/14/00 14:46:08 QUIT or close - user sl149 logged out [L 0034] 12/14/00 15:12:20 Connection accepted from 129.123.4.127 [C 0034] 12/14/00 15:12:21 Command "USER sl149" received [C 0034] 12/14/00 15:12:21 PASSword accepted [L 0034] 12/14/00 15:12:21 User sl149 logged in. [C 0034] 12/14/00 15:12:21 Command "TYPE I" received [C 0034] 12/14/00 15:12:21 TYPE set to I N [C 0034] 12/14/00 15:12:21 Command "PORT 129,123,4,127,4,1" received [C 0034] 12/14/00 15:12:21 PORT set to 129.123.4.127 - 1025 (4,1) [C 0034] 12/14/00 15:12:21 Command "RETR c:\tornado\target\config\mtx603\vxWorks" received [C 0034] 12/14/00 15:12:21 RETRieve started on file c:\tornado\target\config\mtx603\vxWorks [C 0034] 12/14/00 15:12:27 Transfer aborted [G 0034] 12/14/00 15:12:27 Got file c:\tornado\target\config\mtx603\vxWorks unsuccessfully [! 0034] 12/14/00 15:12:27 Timeout while sending data [C 0034] 12/14/00 15:12:27 QUIT or close - user sl149 logged out [L 0035] 12/14/00 15:14:21 Connection accepted from 129.123.4.127 [C 0035] 12/14/00 15:14:21 Command "USER sl149" received [C 0035] 12/14/00 15:14:21 PASSword accepted [L 0035] 12/14/00 15:14:21 User sl149 logged in. [C 0035] 12/14/00 15:14:21 Command "TYPE I" received [C 0035] 12/14/00 15:14:21 TYPE set to I N [C 0035] 12/14/00 15:14:21 Command "PORT 129,123,4,127,4,1" received [C 0035] 12/14/00 15:14:21 PORT set to 129.123.4.127 - 1025 (4,1) [C 0035] 12/14/00 15:14:21 Command "RETR c:\tornado\target\config\mtx603\vxWorks" received [C 0035] 12/14/00 15:14:21 RETRieve started on file c:\tornado\target\config\mtx603\vxWorks [C 0035] 12/14/00 15:14:28 Transfer aborted [G 0035] 12/14/00 15:14:28 Got file c:\tornado\target\config\mtx603\vxWorks unsuccessfully [! 0035] 12/14/00 15:14:28 Timeout while sending data [C 0035] 12/14/00 15:14:28 QUIT or close - user sl149 logged out [L 0036] 12/14/00 15:34:09 Connection accepted from 129.123.4.127 [C 0036] 12/14/00 15:34:09 Command "USER sl149" received [C 0036] 12/14/00 15:34:09 PASSword accepted [L 0036] 12/14/00 15:34:09 User sl149 logged in. [C 0036] 12/14/00 15:34:09 Command "TYPE I" received [C 0036] 12/14/00 15:34:09 TYPE set to I N [C 0036] 12/14/00 15:34:09 Command "PORT 129,123,4,127,4,1" received [C 0036] 12/14/00 15:34:09 PORT set to 129.123.4.127 - 1025 (4,1) [C 0036] 12/14/00 15:34:09 Command "RETR c:\tornado\target\config\mtx603\vxWorks" received [C 0036] 12/14/00 15:34:09 RETRieve started on file c:\tornado\target\config\mtx603\vxWorks [C 0036] 12/14/00 15:34:15 Transfer aborted [G 0036] 12/14/00 15:34:15 Got file c:\tornado\target\config\mtx603\vxWorks unsuccessfully [! 0036] 12/14/00 15:34:15 Timeout while sending data [C 0036] 12/14/00 15:34:15 QUIT or close - user sl149 logged out [L 0037] 12/14/00 15:41:34 Connection accepted from 129.123.4.127 [C 0037] 12/14/00 15:41:35 Command "USER sl149" received [C 0037] 12/14/00 15:41:35 PASSword accepted [L 0037] 12/14/00 15:41:35 User sl149 logged in. [C 0037] 12/14/00 15:41:35 Command "TYPE I" received [C 0037] 12/14/00 15:41:35 TYPE set to I N [C 0037] 12/14/00 15:41:35 Command "PORT 129,123,4,127,4,1" received [C 0037] 12/14/00 15:41:35 PORT set to 129.123.4.127 - 1025 (4,1) [C 0037] 12/14/00 15:41:35 Command "RETR c:\tornado\target\config\mtx603\vxWorks" received [C 0037] 12/14/00 15:41:35 RETRieve started on file c:\tornado\target\config\mtx603\vxWorks [C 0037] 12/14/00 15:41:38 Transfer aborted [G 0037] 12/14/00 15:41:38 Got file c:\tornado\target\config\mtx603\vxWorks unsuccessfully [! 0037] 12/14/00 15:41:38 Timeout while sending data [C 0037] 12/14/00 15:41:38 QUIT or close - user sl149 logged out [L 0038] 12/14/00 15:42:48 Connection accepted from 129.123.4.127 [C 0038] 12/14/00 15:42:49 Command "USER sl149" received [C 0038] 12/14/00 15:42:49 PASSword accepted [L 0038] 12/14/00 15:42:49 User sl149 logged in. [C 0038] 12/14/00 15:42:49 Command "TYPE I" received [C 0038] 12/14/00 15:42:49 TYPE set to I N [C 0038] 12/14/00 15:42:49 Command "PORT 129,123,4,127,4,1" received [C 0038] 12/14/00 15:42:49 PORT set to 129.123.4.127 - 1025 (4,1) [C 0038] 12/14/00 15:42:49 Command "RETR c:\tornado\target\config\simpc\vxWorks" received [C 0038] 12/14/00 15:42:49 RETR failed - file does not exist [G 0038] 12/14/00 15:42:49 RETR failed - file does not exist [C 0038] 12/14/00 15:42:49 QUIT or close - user sl149 logged out [L 0039] 12/14/00 15:45:05 Connection accepted from 129.123.4.127 [C 0039] 12/14/00 15:45:05 Command "USER sl149" received [C 0039] 12/14/00 15:45:05 PASSword accepted [L 0039] 12/14/00 15:45:05 User sl149 logged in. [C 0039] 12/14/00 15:45:05 Command "TYPE I" received [C 0039] 12/14/00 15:45:05 TYPE set to I N [C 0039] 12/14/00 15:45:05 Command "PORT 129,123,4,127,4,1" received [C 0039] 12/14/00 15:45:05 PORT set to 129.123.4.127 - 1025 (4,1) [C 0039] 12/14/00 15:45:05 Command "RETR c:\tornado\target\proj\project0\default\vxWorks" received [C 0039] 12/14/00 15:45:05 RETRieve started on file c:\tornado\target\proj\project0\default\vxWorks [C 0039] 12/14/00 15:45:10 Transfer aborted [G 0039] 12/14/00 15:45:10 Got file c:\tornado\target\proj\project0\default\vxWorks unsuccessfully [! 0039] 12/14/00 15:45:10 Timeout while sending data [C 0039] 12/14/00 15:45:10 QUIT or close - user sl149 logged out [L 0040] 12/14/00 15:50:36 Connection accepted from 129.123.4.127 [C 0040] 12/14/00 15:50:36 Command "USER sl149" received [C 0040] 12/14/00 15:50:36 PASSword accepted [L 0040] 12/14/00 15:50:36 User sl149 logged in. [C 0040] 12/14/00 15:50:36 Command "TYPE I" received [C 0040] 12/14/00 15:50:36 TYPE set to I N [C 0040] 12/14/00 15:50:36 Command "PORT 129,123,4,127,4,1" received [C 0040] 12/14/00 15:50:36 PORT set to 129.123.4.127 - 1025 (4,1) [C 0040] 12/14/00 15:50:36 Command "RETR c:\tornado\target\mtx603\vxWorks" received [C 0040] 12/14/00 15:50:36 RETR failed - file does not exist [G 0040] 12/14/00 15:50:36 RETR failed - file does not exist [C 0040] 12/14/00 15:50:36 QUIT or close - user sl149 logged out [L 0041] 12/14/00 15:51:24 Connection accepted from 129.123.4.127 [C 0041] 12/14/00 15:51:24 Command "USER sl149" received [C 0041] 12/14/00 15:51:24 PASSword accepted [L 0041] 12/14/00 15:51:24 User sl149 logged in. [C 0041] 12/14/00 15:51:24 Command "TYPE I" received [C 0041] 12/14/00 15:51:24 TYPE set to I N [C 0041] 12/14/00 15:51:24 Command "PORT 129,123,4,127,4,1" received [C 0041] 12/14/00 15:51:24 PORT set to 129.123.4.127 - 1025 (4,1) [C 0041] 12/14/00 15:51:24 Command "RETR c:\tornado\target\config\mtx603\vxWorks" received [C 0041] 12/14/00 15:51:24 RETRieve started on file c:\tornado\target\config\mtx603\vxWorks [C 0041] 12/14/00 15:51:27 Transfer aborted [G 0041] 12/14/00 15:51:27 Got file c:\tornado\target\config\mtx603\vxWorks unsuccessfully [! 0041] 12/14/00 15:51:27 Timeout while sending data [C 0041] 12/14/00 15:51:27 QUIT or close - user sl149 logged out [L 0042] 12/14/00 15:54:21 Connection accepted from 129.123.4.127 [C 0042] 12/14/00 15:54:22 Command "USER sl149" received [C 0042] 12/14/00 15:54:22 PASSword accepted [L 0042] 12/14/00 15:54:22 User sl149 logged in. [C 0042] 12/14/00 15:54:22 Command "TYPE I" received [C 0042] 12/14/00 15:54:22 TYPE set to I N [C 0042] 12/14/00 15:54:22 Command "PORT 129,123,4,127,4,1" received [C 0042] 12/14/00 15:54:22 PORT set to 129.123.4.127 - 1025 (4,1) [C 0042] 12/14/00 15:54:22 Command "RETR c:\tornado\target\config\mtx603\vxWorks" received [C 0042] 12/14/00 15:54:22 RETRieve started on file c:\tornado\target\config\mtx603\vxWorks [C 0042] 12/14/00 15:54:28 Transfer aborted [G 0042] 12/14/00 15:54:28 Got file c:\tornado\target\config\mtx603\vxWorks unsuccessfully [! 0042] 12/14/00 15:54:28 Timeout while sending data [C 0042] 12/14/00 15:54:28 QUIT or close - user sl149 logged out - --------------387EFE5FBADD043809559194-- --------------------------- Newsgroups: comp.os.vxworks Subject: [Question] Adding modules to project Date: Fri, 15 Dec 2000 04:06:55 GMT From: kingseft@my-deja.com Organization: Deja.com Message-ID: <91c5cr$2bl$1@nnrp1.deja.com> Hi, developers. I'm just running into Vxworks and Tornado. I made 2 simple object modules named test1.o and test2.o I'd like to add these modules to my T2 project file Could you please describe how to add user custom modules to project file?? I searched all posting, but I couldn't understand.. any comments will help me.... Thanks... kingseft Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: please help me Date: Fri, 15 Dec 2000 05:57:59 GMT From: Pierre Frigon Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: <3A39B2D8.E810DF32@yahoo.com> References: <3A391749.2C43E5F3@hotmail.com> Maybe looking at the book may be a good place to start. Please try to be specific in your postings. It will greatly enhance your ability to receive help ! Ben wrote: > hi > i am facing difficulties to connect my windows host machine to > target powerpc. can i connect it without using network. please tell me > how to do it > thank you > ben --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Using tcl/tk with vxWorks Date: Thu, 14 Dec 2000 22:15:57 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A39B71D.BEE25168@flashcom.net> References: <3A36C4A0.2ECD1124@home.com> <3A36D209.A14A5B0@flashcom.net> Reply-To: drdiags@flashcom.net Pete, I was reviewing the section you speak of. I believe it is speaking of taking the WTX Tcl interpreter library and linking it with say the Tcl 8.0 Tcl intrepreter library. I think they are speaking of modifying the tclAppInit.c file which comes with the normal Tcl distribution and adding the wtxTclInit ( interp ) call. This way, you compile a new interpreter which contains commands from the WTX library and the commands available from the normal Tcl distribution. With this technique, you could add other C APIs and make them accessible from your Tcl scripts. As far as the documentation, it would be nice if it could have been extended with more specific examples of how you would accomplish this step. I am going to see how much I can use the document to add a C API hello world extension (A no-brainer in UNIX). I just have to figure out the required libraries and headers for NT and create a Visual C project. I will attempt to contact you off-line once I have something if you are interested. Pete Kockritz wrote: > In article <3A36D209.A14A5B0@flashcom.net>, drdiags@flashcom.net wrote: > > > Pete, > > > > <......SNIP.......> > > First, when they say 'linked', I'm assuming they mean 'loaded', as in > using the Tcl load command. I tried doing a 'load wtxtcl' with a > couple of different files from the host/lib directory. Upon loading it > complains that it can't find Wtxtcl_Init(). The manual calls it > wtxTclInit(). I'm doing this on NT4 with the Tcl8.2 that came with my > cygwin installation. Do I need to install tcl8.0 instead? I am not sure this is necessary. But that gives me an idea, I could build a interpreter using a similar installation on my machine instead of using Visual C. > > > It seems like it should be very straightforward, but I don't have the > right method yet. > > Regards, > Pete > -- > +-----------------------------------------------------------------+ > | Pete Kockritz mailto:pkockritz@home.com | > | This space for rent. | > +-----------------------------------------------------------------+ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: RADIUS and SSH Date: 15 Dec 2000 09:11:07 GMT From: borkhuis@lucent.com (Johan Borkhuis) Organization: Lucent Technologies Message-ID: <900B61A1Cborkhuislucentcom@135.7.153.102> References: <91b8og$aqg$1@nnrp1.deja.com> eabrg@my-deja.com wrote in <91b8og$aqg$1@nnrp1.deja.com>: >Does anyone know if there are RADIUS and SSH protocol >implementations for VxWorks on PPC target (the target >shouldn't matter I think) Have a look on the WRS website, there is a lot of commercial information available. Groeten, Johan - -- o o o o o o o . . . ___________________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | johan@borksoft.xs4all.nl | >(________|__|_[_________]_|________________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: Re: please help me Date: Fri, 15 Dec 2000 10:23:29 GMT From: George Varndell Organization: Deja.com Message-ID: <91creu$ik0$1@nnrp1.deja.com> References: <3A391749.2C43E5F3@hotmail.com> kanigeri@hotmail.com wrote: > i am facing difficulties to connect my windows host machine to > target powerpc. can i connect it without using network. please tell me > how to do it Ben (aka Hari), You've been struggling with this for nearly a month now. Two weeks ago, I gave you several possible explanations for what you're seeing and then you posted the same question again. Now you're asking for someone to tell you how to connect over an alternate media. You're not going to solve this problem by posting vague pleas for help. You're asking for someone to recite the manuals for you -- read them yourself. When you get to a point where a *specific* problem is holding you up, someone will help you. Regards, George Varndell - -- Embedded Systems Expertise http://www.varndellengineering.com Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: memory display on host shell Date: Fri, 15 Dec 2000 11:34:07 +0100 From: f.pertin@staubli.com Organization: Lawrence Berkeley National Laboratory Message-ID: <91cue2$a9s$1@overload.lbl.gov> Hello vxworks and tornado 2.0 GURUs I have in my system (x86) a board on the PCI bus. This board is mapped in the vx memory with the function sysMmuMapAdd. When I read a register of this board from the TARGET shell( d 0xe71C8000) I get the good values. When I do it from the HOST shell, I get unsignifiant values. Does any body have an explaination and is there a way to solve this problem ???? Thanks in advance Francois --------------------------- Newsgroups: comp.os.vxworks Subject: Backplane Sockets Communication and Task Priority Conflict Date: Fri, 15 Dec 2000 11:40:00 +0000 From: "shauna.drysdale" Message-ID: <3A3A0310.26C07E8E@gecm.com> Backplane Sockets Communication and Task Priority Conflict - ---------------------------------------------------------- We are booting two MVME2700 Power PCs using a shared memory network, and communicating between the 2 processors using sockets across the backplane. We can send data via sockets from the Master processor to the Slave with no problems. However, we found that although the slave was sending data back to the Master on a socket, no data could be read from the socket on the Master. (the function ioctl always returned no bytes available for reading). On further investigation, we realised that the Master processor was executing a task(with priority 105) with a tight loop which appeared to be stopping the underlying TCP/IP sockets driver mechanism from running and transferring data back to the socket on the Master. This was proven when we added: taskDelay(1); to this tight loop, which then allowed the the sockets driver to run, and data appeared on the Master socket as we expected. Please could you give us more information on the TCP/IP sockets driver mechanism,i.e. is this a task with a low priority, or is it part of the vxWorks kernel? Also if it is a task, is its priority configurable ? We feel putting in the taskDelay is a temporary fix, and would prefer to alter relative task priorities if possible. We also tried reducung our tight loop task to a low priority (254) with no taskDelay, but this still would not allow the TCP/IP sockets mechanism to transfer the data. Any ideas? Shauna --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Fri Dec 15 05:27:59 2000 From: Sergi Casas Date: Fri Dec 15 05:28:02 PST 2000 Subject: Re: comp.os.vxworks newsdigest shauna.drysdale wrote: > Backplane Sockets Communication and Task Priority Conflict > - ---------------------------------------------------------- > > ... > Please could you give us more information on the TCP/IP sockets driver > mechanism,i.e. is this a task with a low priority, or is it part of the > vxWorks > kernel? Also if it is a task, is its priority configurable ? The TCP/IP processing occurs mainly in the netTask task, with pretty high priority (by default I think it is 1). Yes, of course its priority is configurable, but you shouldn't need to play with it unless there is some other more critical task to add in the system. It is possible that your system has the netTask default priority already changed into a lower one (BSP, application initialization). > > > We feel putting in the taskDelay is a temporary fix, and would prefer to > alter > relative task priorities if possible. We also tried reducung our tight > loop > task to a low priority (254) with no taskDelay, but this still would not > allow > the TCP/IP sockets mechanism to transfer the data. > > Any ideas? > The only explanation I can think of is that this tight loop is running inside a code section that has preemption disabled via taskLock(). That's the only possible reason why a higher priority task like netTask would not preempt your tight loop task running at prio 254. On the other hand, there could be a problem below TCP/IP, in the backplane driver. -- Sergi From vxwexplo-errs@csg.lbl.gov Fri Dec 15 05:45:43 2000 From: David Laight Date: Fri Dec 15 05:45:45 PST 2000 Subject: Re: memory display on host shell > Submitted-by: f.pertin@staubli.com > > I have in my system (x86) a board on the PCI bus. This board is mapped in > the vx memory with the function sysMmuMapAdd. > > When I read a register of this board from the TARGET shell( d 0xe71C8000) I > get the good values. When I do it from the HOST shell, I get unsignifiant > values. > The vxworks host shell doesn't do reads of the specified size, it just transfers in the data to the host then formats it as requested. You can avoid this by requesting the host execute 'd' on the target (@d addr), or, for single locations using 'm'. David ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 From vxwexplo-errs@csg.lbl.gov Fri Dec 15 08:32:03 2000 From: Jim Way Date: Fri Dec 15 08:32:05 PST 2000 Subject: RE: [Question] Adding modules to project kingselft, You wrote: > I'd like to add these modules to my T2 project file > Could you please describe how to add user custom modules to > project file?? I found that when I was getting started, the terminology was so new that the descriptions didn't make much sense to me. Let me see if I can expand on the documentation. Forgive me if I go to slow . 1. In Tornado, there should be a panel, usually on the left side of the screen, titled "Workspace". This is the project window. 2. In this window, you should see one or more "projects" that you can build. Click on one of them to see the files associated with it. 3. Now, click on the project using the "secondary mouse button" (that's typically the right button if you're right handed). This brings up the Windows context menu. 4. On this menu, select "Add files...". This brings up a browsing dialog box, which enables you to move around the directory structure and select the files you wish to add. Click on the files name(s) to add them to the list, then click the button. If you'd like to make a new project, it's almost as easy. Under the File menu, select "New Project" (or, click on the top entry in the project window, call up the context menu, and select "New Project"). Follow the prompts and you've got a new project! Hope this helps, Jim ----------------------------------------- Jim Way, Software Engineer Datum Austin (Austron Inc.) voice: 512.721.4170 fax : 512.990.9712 email: jwayATdatumDOTcom (no spam please) ----------------------------------------- From vxwexplo-errs@csg.lbl.gov Fri Dec 15 09:02:11 2000 From: David Laight Date: Fri Dec 15 09:02:13 PST 2000 Subject: multple subnets on the same physical network segment I've just been searching windsurf to see if anything related to some IP routing problems I'm seeing (my guess is a stale pointer...) Id 14.0.180743.2312477 or search for llinfo I bumped into a reference to "arpresove: can't allocate llinfo" errors. Now I think I've seen that error on a system with none of the specified faults. I believe the routing code sometimes looks at old entries and/or follows stale pointers. However I'm intrigued about the last reference which would make vxworks unusable on the corporate LAN in my old company. We had a class B address x.y.0.0 and used a subnetmask of 0xffffffc0 (64 address per subnet) in order to get enough subnets for the company (our small group needed 6 extra subnets for test purposes). However our floor of the office block had a single thick ethernet cable that needed more than 62 system attached. In fact x.y.5.0, x.y.5.64, x.y.5.128 and x.y.5.192 all existed on the same cable segment (we were on the 5th floor). Properly configured (Unix) system used a 'metric 0' route for the other 3 subnets - so they use ARP to find the remote system (otherwise the packets go to default router and back). The netmask couldn't be 0xffffff00 because x.y.27.0 and x.y.27.64 used different routers. According to this technical note vxWorks will not accept arp entries from systems in different subnets running on the same cable segment. Neither can it be configured to send outward arp requests to such systems. I don't know whether the RFCs ban this configuration, but is supported by many OS and routers. David ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 From vxwexplo-errs@csg.lbl.gov Sat Dec 16 04:03:09 2000 From: Vxworks Exploder Date: Sat Dec 16 04:03:11 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Sat Dec 16 04:03:05 PST 2000 Subject: Re: memory display on host shell Subject: Need advice. for VxWorks programming. Subject: memory usage command Subject: re: comp.os.vxworks newsdigest Subject: re: memory display on host shell Subject: Advice Please: Whats your favorite 860/8260 tools for BDM and JTAG Subject: Re: Loading.... (what do the number mean?) Subject: RE: [Question] Adding modules to project Subject: multple subnets on the same physical network segment Subject: Socket hangs around after receiving a file via host ftp Subject: Can LILO boot a VxWorks image? Subject: Re: Can LILO boot a VxWorks image? Subject: Re: Can LILO boot a VxWorks image? Subject: Re: Can LILO boot a VxWorks image? Subject: Re: Tcl/Tk Subject: Re: Advice Please: Whats your favorite 860/8260 tools for BDM and JTAG Subject: LP-VxWin feedback? Subject: VxWorks - Memory protection ??? Subject: Realtime ORB Subject: Re: Advice Please: Whats your favorite 860/8260 tools for BDM and JTAG Subject: [Question] FTP Server and Vxworks Subject: Re: VxWorks - Memory protection ??? Subject: Re: Backplane Sockets Communication and Task Priority Conflict Subject: Raven's (mvme2700) error detected interrupt. Subject: Re: Can LILO boot a VxWorks image? Subject: Re: Printer Port on an MVME2700 (Summary) Subject: Need a patch for Motorola MPIC Raven chip Subject: Re: Windshell stops repsonding after some time ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Re: memory display on host shell Date: 15 Dec 2000 13:02:02 GMT From: borkhuis@lucent.com (Johan Borkhuis) Organization: Lucent Technologies Message-ID: <900B8DB8Bborkhuislucentcom@135.7.153.102> References: <91cue2$a9s$1@overload.lbl.gov> f.pertin@staubli.com wrote in <91cue2$a9s$1@overload.lbl.gov>: >When I read a register of this board from the TARGET shell( d >0xe71C8000) I get the good values. When I do it from the HOST shell, I >get unsignifiant values. Try to put a '@' in front of the command on the host (so: @d 0x...). The command is normally executed on the host itself and not on the target when you type it in the host shell. When you put a '@' it is executed on the target. Groeten, Johan - -- o o o o o o o . . . ___________________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | johan@borksoft.xs4all.nl | >(________|__|_[_________]_|________________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: Need advice. for VxWorks programming. Date: Fri, 15 Dec 2000 22:29:13 +0900 From: "SungJin Lee" Organization: Korea Telecom Message-ID: <91d6bp$25e$1@news1-2.kornet.net> Give me some advice how to practice programming on VxWorks with Torando. Is the common embedded system programming book like " Programming Embedded Systems in C and C ++ " is enough to study it ? especially i need to study IP handling on the VxWORKS syste. not on the API socket level.. for the lower level. then I can't get enough information from the networkprogrammer's guide on the www.wrs.com site. and also.. where can i get source code of VxWORKS system for reference ? --------------------------- Newsgroups: comp.os.vxworks Subject: memory usage command Date: Fri, 15 Dec 2000 08:53:43 -0500 From: "John Fraize" Organization: Posted via Supernews, http://www.supernews.com Message-ID: Is there a vxWorks method/command that summarizes the memory usage? Like bss section is this big, heap starts here and is this big Ect... --------------------------- Newsgroups: comp.os.vxworks Subject: re: comp.os.vxworks newsdigest Date: Fri, 15 Dec 2000 14:27:42 +0100 From: Sergi Casas Organization: Lawrence Berkeley National Laboratory Message-ID: <91d8vh$c4p$1@overload.lbl.gov> shauna.drysdale wrote: > Backplane Sockets Communication and Task Priority Conflict > - ---------------------------------------------------------- > > ... > Please could you give us more information on the TCP/IP sockets driver > mechanism,i.e. is this a task with a low priority, or is it part of the > vxWorks > kernel? Also if it is a task, is its priority configurable ? The TCP/IP processing occurs mainly in the netTask task, with pretty high priority (by default I think it is 1). Yes, of course its priority is configurable, but you shouldn't need to play with it unless there is some other more critical task to add in the system. It is possible that your system has the netTask default priority already changed into a lower one (BSP, application initialization). > > > We feel putting in the taskDelay is a temporary fix, and would prefer to > alter > relative task priorities if possible. We also tried reducung our tight > loop > task to a low priority (254) with no taskDelay, but this still would not > allow > the TCP/IP sockets mechanism to transfer the data. > > Any ideas? > The only explanation I can think of is that this tight loop is running inside a code section that has preemption disabled via taskLock(). That's the only possible reason why a higher priority task like netTask would not preempt your tight loop task running at prio 254. On the other hand, there could be a problem below TCP/IP, in the backplane driver. - -- Sergi --------------------------- Newsgroups: comp.os.vxworks Subject: re: memory display on host shell Date: Fri, 15 Dec 2000 13:46:16 +0000 (GMT) From: David Laight Organization: Lawrence Berkeley National Laboratory Message-ID: <200012151346.NAA13355@dsl-2.tadpole.co.uk> > Submitted-by: f.pertin@staubli.com > > I have in my system (x86) a board on the PCI bus. This board is mapped in > the vx memory with the function sysMmuMapAdd. > > When I read a register of this board from the TARGET shell( d 0xe71C8000) I > get the good values. When I do it from the HOST shell, I get unsignifiant > values. > The vxworks host shell doesn't do reads of the specified size, it just transfers in the data to the host then formats it as requested. You can avoid this by requesting the host execute 'd' on the target (@d addr), or, for single locations using 'm'. David - ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 --------------------------- Newsgroups: comp.os.vxworks Subject: Advice Please: Whats your favorite 860/8260 tools for BDM and JTAG Date: Fri, 15 Dec 2000 14:55:33 GMT From: "Jim" Organization: Magma Communications Ltd. Message-ID: Hello all, I was wondering what experience people have had with using the 860/8260 tools for BDM and JTAG, and what they would recommend for use. Jim --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Loading.... (what do the number mean?) Date: Fri, 15 Dec 2000 08:08:59 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A3A421B.4A56914B@flashcom.net> References: Reply-To: drdiags@flashcom.net John, That would be the text section size, data section size and bss section size. Depending on your architecture, there is a size command you can run on the host which should show these same numbers. For the PowerPC it should be > sizeppc image_name There should be a display created on the Host which will expand on the information. Refer to your GNU Toolkit manual for expanded options. John Fraize wrote: > When a vxWorks image loads what are the 3 numbers that follow > Loading... --------------------------- Newsgroups: comp.os.vxworks Subject: RE: [Question] Adding modules to project Date: Fri, 15 Dec 2000 08:26:26 -0800 From: Jim Way Organization: Lawrence Berkeley National Laboratory Message-ID: <91djh1$dum$1@overload.lbl.gov> kingselft, You wrote: > I'd like to add these modules to my T2 project file > Could you please describe how to add user custom modules to > project file?? I found that when I was getting started, the terminology was so new that the descriptions didn't make much sense to me. Let me see if I can expand on the documentation. Forgive me if I go to slow . 1. In Tornado, there should be a panel, usually on the left side of the screen, titled "Workspace". This is the project window. 2. In this window, you should see one or more "projects" that you can build. Click on one of them to see the files associated with it. 3. Now, click on the project using the "secondary mouse button" (that's typically the right button if you're right handed). This brings up the Windows context menu. 4. On this menu, select "Add files...". This brings up a browsing dialog box, which enables you to move around the directory structure and select the files you wish to add. Click on the files name(s) to add them to the list, then click the button. If you'd like to make a new project, it's almost as easy. Under the File menu, select "New Project" (or, click on the top entry in the project window, call up the context menu, and select "New Project"). Follow the prompts and you've got a new project! Hope this helps, Jim - ----------------------------------------- Jim Way, Software Engineer Datum Austin (Austron Inc.) voice: 512.721.4170 fax : 512.990.9712 email: jwayATdatumDOTcom (no spam please) - ----------------------------------------- --------------------------- Newsgroups: comp.os.vxworks Subject: multple subnets on the same physical network segment Date: Fri, 15 Dec 2000 17:02:52 +0000 (GMT) From: David Laight Organization: Lawrence Berkeley National Laboratory Message-ID: <200012151702.RAA16748@dsl-2.tadpole.co.uk> I've just been searching windsurf to see if anything related to some IP routing problems I'm seeing (my guess is a stale pointer...) Id 14.0.180743.2312477 or search for llinfo I bumped into a reference to "arpresove: can't allocate llinfo" errors. Now I think I've seen that error on a system with none of the specified faults. I believe the routing code sometimes looks at old entries and/or follows stale pointers. However I'm intrigued about the last reference which would make vxworks unusable on the corporate LAN in my old company. We had a class B address x.y.0.0 and used a subnetmask of 0xffffffc0 (64 address per subnet) in order to get enough subnets for the company (our small group needed 6 extra subnets for test purposes). However our floor of the office block had a single thick ethernet cable that needed more than 62 system attached. In fact x.y.5.0, x.y.5.64, x.y.5.128 and x.y.5.192 all existed on the same cable segment (we were on the 5th floor). Properly configured (Unix) system used a 'metric 0' route for the other 3 subnets - so they use ARP to find the remote system (otherwise the packets go to default router and back). The netmask couldn't be 0xffffff00 because x.y.27.0 and x.y.27.64 used different routers. According to this technical note vxWorks will not accept arp entries from systems in different subnets running on the same cable segment. Neither can it be configured to send outward arp requests to such systems. I don't know whether the RFCs ban this configuration, but is supported by many OS and routers. David - ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 --------------------------- Newsgroups: comp.os.vxworks Subject: Socket hangs around after receiving a file via host ftp Date: Fri, 15 Dec 2000 18:35:12 GMT From: "Barry Kelly" Organization: NBTel Internet Message-ID: I start a process transferring a few hundred files from the ftp server to be burned in FLASH. After many files, the transfer hesitates for about 45 seconds and then continues again. After the pause starts I do a inetstatShow and it shows many sockets in the TIME_WAIT state. Apparently they have to timeout before resources are available to do more transfers. How can I avoid these lingering sockets on the ftp/host interface? - -> inetstatShow Active Internet connections (including servers) PCB Proto Recv-Q Send-Q Local Address Foreign Address (state) - -------- ----- ------ ------ ------------------ ------------------ ------- 1b25da4 TCP 0 0 192.168.0.200.1025 198.164.10.238.184 ESTABLISHED 1b25c9c TCP 0 0 0.0.0.0.111 0.0.0.0.0 LISTEN 1b25b94 TCP 0 0 0.0.0.0.23 0.0.0.0.0 LISTEN 1b25c18 UDP 0 0 0.0.0.0.111 0.0.0.0.0 1b25b10 UDP 0 0 127.0.0.1.1024 127.0.0.1.17185 1b25a08 UDP 0 0 0.0.0.0.17185 0.0.0.0.0 value = 0 = 0x0 - -> pwd E:/PROJECT/ps5/sweden value = 0 = 0x0 - -> sp Tree2Flash, "//ffdir" task spawned: id = 1ad1438, name = s1u1 value = 28120120 = 0x1ad1438 - -> Starting TREE2FLASH, Please do not disturb! chooser/ chooser/Lang0/ Adding: 06-12-99 03:10p Language_Button_up.bmp Adding: 06-12-99 03:10p Language_Button_down.bmp Adding: 14-01-00 04:46p CH_Exit_up.bmp Adding: 14-01-00 04:46p CH_Exit_down.bmp Adding: 06-04-00 10:26a GTN_Butn_up.bmp Adding: 06-12-99 03:42p GTN_Butn_down.bmp Adding: 06-04-00 10:32a Cashout_up.bmp Adding: 06-04-00 10:32a Cashout_down.bmp Adding: 16-06-99 02:25p MarketingMsg2.bmp Adding: 16-06-99 02:25p MarketingMsg3.bmp Adding: 16-06-99 10:48a SelectAGameToPlayMsg.bmp Adding: 16-06-99 02:22p MarketingMsg1.bmp Adding: 16-06-99 10:48a InsertMoneyMsg.Bmp Leaving chooser/Lang0/ chooser/Lang1/ Adding: 21-05-99 08:19a Language_Button_up.bmp Adding: 21-05-99 08:19a Language_Button_down.bmp Adding: 17-01-00 08:56a CH_Exit_up.bmp Adding: 17-01-00 08:56a CH_Exit_down.bmp Adding: 06-04-00 10:27a GTN_Butn_up.bmp Adding: 06-12-99 03:42p GTN_Butn_down.bmp Adding: 06-04-00 10:33a Cashout_up.bmp Adding: 06-04-00 10:33a Cashout_down.bmp Adding: 16-06-99 02:25p MarketingMsg2.bmp Adding: 16-06-99 02:25p MarketingMsg3.bmp Adding: 16-06-99 10:48a SelectAGameToPlayMsg.bmp Adding: 16-06-99 02:22p MarketingMsg1.bmp Adding: 16-06-99 10:48a InsertMoneyMsg.Bmp Leaving chooser/Lang1/ Adding: 03-12-99 04:25p GTN_line.bmp Adding: 03-12-99 04:25p GTN_down.bmp Adding: 03-12-99 04:25p GTN_up.bmp Adding: 29-10-99 07:53a loopy.mid Adding: 27-05-99 12:23p Creditsize_text.bmp Adding: 14-05-99 03:35p Creditsize_5cent_up.bmp Adding: 14-05-99 03:35p Creditsize_5cent_red.bmp Adding: 14-05-99 03:35p Creditsize_5cent_down.bmp Adding: 06-04-00 10:27a Bankwindow.bmp Adding: 14-05-99 03:35p Creditsize_10cent_red.bmp Adding: 14-05-99 03:35p Creditsize_10cent_up.bmp Adding: 14-05-99 03:35p Creditsize_25cent_up.bmp Adding: 14-05-99 03:35p Creditsize_25cent_red.bmp Adding: 14-05-99 03:35p Creditsize_10cent_down.bmp Adding: 14-05-99 03:35p Creditsize_25cent_down.bmp Adding: 06-12-99 03:30p Cashout_down.bmp Adding: 06-12-99 03:30p Cashout_up.bmp Adding: 21-05-99 08:19a Lang0_Button_up.bmp Adding: 21-05-99 08:19a Lang0_Button_down.bmp Adding: 06-04-00 10:27a Bank_font.bmp Adding: 07-01-00 11:03a Prompt_Font.bmp Adding: 07-01-00 11:05a Large_Prompt_Font.bmp Adding: 13-10-98 10:00a dld_but.bmp Adding: 18-03-99 07:41a dld_but_dwn.bmp - -> inetstatShow Active Internet connections (including servers) PCB Proto Recv-Q Send-Q Local Address Foreign Address (state) - -------- ----- ------ ------ ------------------ ------------------ ------- 1b211d8 TCP 0 0 192.168.0.200.1133 0.0.0.0.0 LISTEN 1b251d4 TCP 0 0 192.168.0.200.1132 192.168.0.1.21 ESTABLISHED 1b254e0 TCP 0 0 192.168.0.200.1130 192.168.0.1.21 TIME_WAIT 1b252d8 TCP 0 0 192.168.0.200.1128 192.168.0.1.21 TIME_WAIT 1b25e28 TCP 0 0 192.168.0.200.1126 192.168.0.1.21 TIME_WAIT 1b2776c TCP 0 0 192.168.0.200.1124 192.168.0.1.21 TIME_WAIT 1b276e8 TCP 0 0 192.168.0.200.1122 192.168.0.1.21 TIME_WAIT 1b27664 TCP 0 0 192.168.0.200.1120 192.168.0.1.21 TIME_WAIT 1b275e0 TCP 0 0 192.168.0.200.1118 192.168.0.1.21 TIME_WAIT 1b2755c TCP 0 0 192.168.0.200.1116 192.168.0.1.21 TIME_WAIT 1b274d8 TCP 0 0 192.168.0.200.1114 192.168.0.1.21 TIME_WAIT 1b27454 TCP 0 0 192.168.0.200.1112 192.168.0.1.21 TIME_WAIT 1b273d0 TCP 0 0 192.168.0.200.1110 192.168.0.1.21 TIME_WAIT 1b2734c TCP 0 0 192.168.0.200.1108 192.168.0.1.21 TIME_WAIT 1b272c8 TCP 0 0 192.168.0.200.1106 192.168.0.1.21 TIME_WAIT 1b27244 TCP 0 0 192.168.0.200.1104 192.168.0.1.21 TIME_WAIT 1b271c0 TCP 0 0 192.168.0.200.1102 192.168.0.1.21 TIME_WAIT 1b2713c TCP 0 0 192.168.0.200.1100 192.168.0.1.21 TIME_WAIT 1b270b8 TCP 0 0 192.168.0.200.1098 192.168.0.1.21 TIME_WAIT 1b27034 TCP 0 0 192.168.0.200.1096 192.168.0.1.21 TIME_WAIT 1b26fb0 TCP 0 0 192.168.0.200.1094 192.168.0.1.21 TIME_WAIT 1b26f2c TCP 0 0 192.168.0.200.1092 192.168.0.1.21 TIME_WAIT 1b26ea8 TCP 0 0 192.168.0.200.1090 192.168.0.1.21 TIME_WAIT 1b26e24 TCP 0 0 192.168.0.200.1088 192.168.0.1.21 TIME_WAIT 1b26da0 TCP 0 0 192.168.0.200.1086 192.168.0.1.21 TIME_WAIT 1b26d1c TCP 0 0 192.168.0.200.1084 192.168.0.1.21 TIME_WAIT 1b26c98 TCP 0 0 192.168.0.200.1082 192.168.0.1.21 TIME_WAIT 1b26c14 TCP 0 0 192.168.0.200.1080 192.168.0.1.21 TIME_WAIT 1b26b90 TCP 0 0 192.168.0.200.1078 192.168.0.1.21 TIME_WAIT 1b26b0c TCP 0 0 192.168.0.200.1076 192.168.0.1.21 TIME_WAIT 1b26a88 TCP 0 0 192.168.0.200.1074 192.168.0.1.21 TIME_WAIT 1b26a04 TCP 0 0 192.168.0.200.1072 192.168.0.1.21 TIME_WAIT 1b26980 TCP 0 0 192.168.0.200.1070 192.168.0.1.21 TIME_WAIT 1b268fc TCP 0 0 192.168.0.200.1068 192.168.0.1.21 TIME_WAIT 1b26878 TCP 0 0 192.168.0.200.1066 192.168.0.1.21 TIME_WAIT 1b267f4 TCP 0 0 192.168.0.200.1064 192.168.0.1.21 TIME_WAIT 1b26770 TCP 0 0 192.168.0.200.1062 192.168.0.1.21 TIME_WAIT 1b266ec TCP 0 0 192.168.0.200.1060 192.168.0.1.21 TIME_WAIT 1b26668 TCP 0 0 192.168.0.200.1058 192.168.0.1.21 TIME_WAIT 1b265e4 TCP 0 0 192.168.0.200.1056 192.168.0.1.21 TIME_WAIT 1b26560 TCP 0 0 192.168.0.200.1054 192.168.0.1.21 TIME_WAIT 1b264dc TCP 0 0 192.168.0.200.1052 192.168.0.1.21 TIME_WAIT 1b26458 TCP 0 0 192.168.0.200.1050 192.168.0.1.21 TIME_WAIT 1b263d4 TCP 0 0 192.168.0.200.1048 192.168.0.1.21 TIME_WAIT 1b26350 TCP 0 0 192.168.0.200.1046 192.168.0.1.21 TIME_WAIT 1b262cc TCP 0 0 192.168.0.200.1044 192.168.0.1.21 TIME_WAIT 1b26248 TCP 0 0 192.168.0.200.1042 192.168.0.1.21 TIME_WAIT 1b261c4 TCP 0 0 192.168.0.200.1040 192.168.0.1.21 TIME_WAIT 1b26140 TCP 0 0 192.168.0.200.1038 192.168.0.1.21 TIME_WAIT 1b260bc TCP 0 0 192.168.0.200.1036 192.168.0.1.21 TIME_WAIT 1b26038 TCP 0 0 192.168.0.200.1034 192.168.0.1.21 TIME_WAIT 1b25fb4 TCP 0 0 192.168.0.200.1032 192.168.0.1.21 TIME_WAIT 1b25f30 TCP 0 0 192.168.0.200.1030 192.168.0.1.21 TIME_WAIT 1b25eac TCP 0 0 192.168.0.200.1028 192.168.0.1.21 TIME_WAIT 1b25d20 TCP 0 0 192.168.0.200.1026 192.168.0.1.21 TIME_WAIT 1b25da4 TCP 0 0 192.168.0.200.1025 198.164.10.238.184 ESTABLISHED 1b25c9c TCP 0 0 0.0.0.0.111 0.0.0.0.0 LISTEN 1b25b94 TCP 0 0 0.0.0.0.23 0.0.0.0.0 LISTEN 1b25c18 UDP 0 0 0.0.0.0.111 0.0.0.0.0 1b25b10 UDP 0 0 127.0.0.1.1024 127.0.0.1.17185 1b25a08 UDP 0 0 0.0.0.0.17185 0.0.0.0.0 value = 0 = 0x0 - -> --------------------------- Newsgroups: comp.os.vxworks Subject: Can LILO boot a VxWorks image? Date: Fri, 15 Dec 2000 18:42:27 GMT From: hamandeggs@my-deja.com Organization: Deja.com Message-ID: <91domh$b52$1@nnrp1.deja.com> I would like to be able to boot one of several images based on user input. Does anyone know if LILO can be used to boot a VxWorks image from a DiskOnChip2000 (M-Systems product)? Thanks. Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Can LILO boot a VxWorks image? Date: Fri, 15 Dec 2000 19:13:01 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <91domh$b52$1@nnrp1.deja.com> Sender: bpringlemeir@DeadDuck "http://x59.deja.com/[ST_rn=ps]/getdoc.xp?AN=555148752.1&CONTEXT=976907113.100925463&hitnum=0" Try "http://www.deja.com/home_ps.shtml" if this doesn't work. Search for `lilo' in the `comp.os.vxworks' forum. I also answered some sort of question about LiLo just a few weeks ago... Bill hamandeggs> I would like to be able to boot one of several images hamandeggs> based on user input. Does anyone know if LILO can be hamandeggs> used to boot a VxWorks image from a DiskOnChip2000 hamandeggs> (M-Systems product)? - -- CLICKED BY TWO CRASHING WEB BROWSERS. EXPLODING. U-315. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Can LILO boot a VxWorks image? Date: Fri, 15 Dec 2000 19:32:03 -0000 From: "Mike D" Organization: Customer of Energis Squared Message-ID: <91drlc$qif$1@news8.svr.pol.co.uk> References: <91domh$b52$1@nnrp1.deja.com> Reply-To: "Mike D" > "http://x59.deja.com/[ST_rn=ps]/getdoc.xp?AN=555148752.1&CONTEXT=976907113.1 00925463&hitnum=0" > > Try "http://www.deja.com/home_ps.shtml" if this doesn't work. Search for > `lilo' in the `comp.os.vxworks' forum. I also answered some sort of > question about LiLo just a few weeks ago... > > Bill That link doesn't even slightly answer the question. The question was : "can lilo boot vxworks ?". I don't know either, and I am interested to find out if anyone else here has tried it. Mike D --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Can LILO boot a VxWorks image? Date: Fri, 15 Dec 2000 19:43:13 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <91domh$b52$1@nnrp1.deja.com> <91drlc$qif$1@news8.svr.pol.co.uk> Sender: bpringlemeir@DeadDuck >>>>> "Mike" == Mike D writes: >> "http://x59.deja.com/[ST_rn=ps]/getdoc.xp?AN=555148752.1&CONTEXT=9..." >> Try "http://www.deja.com/home_ps.shtml" if this doesn't work. >> Search for `lilo' in the `comp.os.vxworks' forum. I also answered >> some sort of question about LiLo just a few weeks ago... Mike> That link doesn't even slightly answer the question. The Mike> question was : "can lilo boot vxworks ?". The answer is yes it can. You must change the romInit.s code to be setup like it was being booted by an MBR/Boot sector. That is, it will be loaded at a certain section of memory (the first 512bytes). See any DOS programmers manual. You then need to bring the rest of vxWorks into memory and jump to the image. The link I gave was relative if you understand the problem. regards, Bill - -- Never clean your apartment without becoming pregnant first. Put your telephone on hold tomorrow. Don't let a friend mow the lawn with your tetrodotoxin. Your efforts at making love turn out to be quite worthwhile. You'll never be fulfilled. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Tcl/Tk Date: Fri, 15 Dec 2000 15:58:27 GMT From: Pete Kockritz Organization: Deja.com Message-ID: <91df2u$27d$1@nnrp1.deja.com> References: <%TPZ5.526$f5.138411@news> In article <%TPZ5.526$f5.138411@news>, "Jim" wrote: > Hello all, > Does anyone know if it is possible to write a Tcl/Tk tool and add it to the > vxWorks Tornado II menu's under Winnt? > > As well if this is possible I would appreciate any recommendations regarding > where I could get some tcl/tk tools for windows ... > > jim > > One good source of tcl/tk for windows is to install cygwin. You get tcl/tk and bash and a host of other common unix utilities (gcc, grep, perl,...) for windows. Also, I've posted a similiar query regarding using tcl/tk with Tornado, you might monitor the thread titled "Using tcl/tk with vxWorks" for info. - -- Regards, Pete Kockritz The views expressed are my own and not necessarily that of my employer's Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Advice Please: Whats your favorite 860/8260 tools for BDM and JTAG Date: Fri, 15 Dec 2000 21:17:00 GMT From: Vic Organization: nada Message-ID: <3A3A8A80.556CDE12@usa.net> References: Reply-To: vmulyk@usa.net Jim wrote: > Hello all, > I was wondering what experience people have had with using the 860/8260 > tools for BDM and JTAG, and what they would recommend for use. > > Jim A former colleague wrote a tool from scratch using the parallel PC port to talk to our MPC8xx board via jtag. He ported it toWin95/NT/2000 and Linux. However, I've used the McCraigor BDM connector on an ADS821 board and it worked quite nicely in NT. - -Vic --------------------------- Newsgroups: comp.os.vxworks Subject: LP-VxWin feedback? Date: Fri, 15 Dec 2000 16:08:06 -0600 From: Bob Irwin Organization: SIS Development Ltd Message-ID: <3A3A9646.C5485C60@systemsinterface.com> Has anybody used the LP-VxWin package from LP Elektronik GmbH? It's supposed to support Windows and vxWorks concurrently on the same x86 cpu. Allows apps in the two environments to communicate via shared memory. So it seems this would allow 1 cpu to be the development host & the target host. User feed back is solicited. Yeas, boos, etc. Thanks, Bob --------------------------- Newsgroups: comp.os.vxworks Subject: VxWorks - Memory protection ??? Date: Fri, 15 Dec 2000 22:08:51 GMT From: jjo@teevy.com Organization: Deja.com Message-ID: <91e4pf$m8r$1@nnrp1.deja.com> I'm evaluating RTOS for a telecommunication system. (probably under 100 tasks, under 1 million lines, 10 MB code size for this particular board) While VxWorks is very popular, we always suffer from crashed OS, but an OS like LynxOS has memory protection to allow the OS to run even if one task crashes. Does anyone know if there is similar support in VxWorks, at least for protecting the kernel region? I heard VXVMI package can give MMU, is it reliable and any drawbacks? Has anyone experienced a dangerous situation due to memory corruption due to astray pointer? Has anyone moved away from VxWorks due to such problem, and which OS is an alternative in such case? Any input will be greatly appreciated. - --Jo jjo@teevy.com Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Realtime ORB Date: Fri, 15 Dec 2000 22:32:44 GMT From: jayantadas@my-deja.com Organization: Deja.com Message-ID: <91e66d$nc1$1@nnrp1.deja.com> Hi, Any help as to what are the commercially available ORBs out there that support PPC target as well as VxSim (in solaris) will be very helpful. Thanks. Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Advice Please: Whats your favorite 860/8260 tools for BDM and JTAG Date: Fri, 15 Dec 2000 22:40:05 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: Sender: bpringlemeir@DeadDuck >>>>> "Jim" == Jim writes: Jim> Hello all, I was wondering what experience people have had with Jim> using the 860/8260 tools for BDM and JTAG, and what they would Jim> recommend for use. There is an HMI BDM that is very cheap (it was about $200 a few years ago). Most JTAG tools seem to be more expensive. You can not use the JTAG to debug an MPC860/8260 afaik. On many other processors there is a debug interface on the JTAG port. Motorola sticks with BDM. I only used the HMI BDM to program the flash and to develop custom BSP packages for the 860. I don't think that it interacts with vxWorks... or at least I couldn't get it to at the time. hth, Bill - -- BLOWN UP BY THOUSANDS OF ATOMIC BOMBS. SINKING. U-448. --------------------------- Newsgroups: comp.os.vxworks Subject: [Question] FTP Server and Vxworks Date: Fri, 15 Dec 2000 23:16:46 GMT From: kingseft@samsung.co.kr Organization: Deja.com Message-ID: <91e8oq$pii$1@nnrp1.deja.com> Hi Developers... firstly, Thanks to all posters. this news group is really helpful to me... I have some qeustions about Tornado's FTP server component. I successfuly added FTP server network component and the result is belows...... [my result] G:\jmfsample\pserang\application>ftp 55.121.204.131 Connected to 55.121.204.131. 220 VxWorks (5.4) FTP server ready User (55.121.204.131:(none)): kingseft 331 Password required Password: 230 User logged in ftp> ls 200 Port set okay 150 Opening ASCII mode data connection Can't open "kingseft:". 550 No files found or invalid directory or permission problem ftp: 28 bytes received in 0.00Seconds 28000.00Kbytes/sec. ftp> ---------------------------- of course, I succeed user login and I got message "User logged in" but when I typed "ls" the result is --> Can't open "kingseft" my development host computer name is "kingseft" and my config.h file in BSP directory I defined belows. #define DEFAULT_BOOT_LINE \ "cpm(0,0)kingseft:/tornado2/target/config/860/vxWorks e=55.121.204.131 h=55.121.204.168 g=0.0.0.0 u=kingseft pw=12345678 f=0x8 tn=my860" I'd like to use my 860 target board as FTP Server somtimes. Should I add any file sytem? If then, What file system Should I include or What procedure should I follow? Could you describe some explanations or comments? Your comments really help me.... Thanks for reading.... kingseft. Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks - Memory protection ??? Date: Fri, 15 Dec 2000 17:30:16 -0600 From: Andrew Johnson Organization: APS, Argonne National Laboratory Message-ID: <3A3AA988.1670AC18@aps.anl.gov> References: <91e4pf$m8r$1@nnrp1.deja.com> jjo@teevy.com wrote: > > While VxWorks is very popular, we always suffer from crashed OS, but an > OS like LynxOS has memory protection to allow the OS to run even if one > task crashes. Does anyone know if there is similar support in VxWorks, > at least for protecting the kernel region? I heard VXVMI package can > give MMU, is it reliable and any drawbacks? Talk to your WRS sales reresentative about the new Tornado 3/vxWorks AE (Advanced Edition), which is just being released and contains protection domains that can isolate applications from each other. > Has anyone experienced a dangerous situation due to memory corruption > due to astray pointer? Stray pointers happen in complicated situations and can be hard to find and fix. I'm not sure what you mean by a "dangerous" situation, but if you're dealing with personnel safety then vxWorks may be too complex to verify properly (that doesn't stop NASA using it on space probes though). - - Andrew - -- Every great idea appears crazy to start with. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Backplane Sockets Communication and Task Priority Conflict Date: Fri, 15 Dec 2000 20:02:06 -0500 From: "Jeff Creem" Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <3A3A0310.26C07E8E@gecm.com> Something strange is going on with your code and or configuration. There are probably two tasks that are involved here netTask which is running at a very urgent priority and perhaps another task that is polling for backplane messages with a priority of 255. This second polling task is a bad way to run backplane networks. There are three ways to have a board "notice" that there is new backplane data available for it. 1) A task (which I forget its name) polls with very low priority looking for new messages 2) A mailbox interrupt is configured so that when a message is sent to a board the mailbox address is "hit" and the board gets an interrupt 3) A VME interrupt is sent to the processor when the message is available. Options 2 and 3 are good (2 is "better" in the sense that you don't want to waste VME interrupt levels sometimes). This can be configured in your BSP (assuming your BSP is set up to support all three options). Finally the fact that option #1 does not work indicates that your code that you call a tight loop is so tight that no where in the code does it ever make a blocking call..Seems sort of bad. I would never use a word like never but it seems odd to choose an OS like vxworks when your code seems to resemble a cyclic executive model. "shauna.drysdale" wrote in message news:3A3A0310.26C07E8E@gecm.com... > Backplane Sockets Communication and Task Priority Conflict > ---------------------------------------------------------- > > We are booting two MVME2700 Power PCs using a shared memory network, and > > communicating between the 2 processors using sockets across the > backplane. We > can send data via sockets from the Master processor to the Slave with no > > problems. However, we found that although the slave was sending data > back to > the Master on a socket, no data could be read from the socket on the > Master. > (the function ioctl always returned no bytes available for reading). On > > further investigation, we realised that the Master processor was > executing a > task(with priority 105) with a tight loop which appeared to be stopping > the > underlying TCP/IP sockets driver mechanism from running and transferring > data > back to the socket on the Master. This was proven when we added: > > taskDelay(1); > > to this tight loop, which then allowed the the sockets driver to run, > and data > appeared on the Master socket as we expected. > > Please could you give us more information on the TCP/IP sockets driver > mechanism,i.e. is this a task with a low priority, or is it part of the > vxWorks > kernel? Also if it is a task, is its priority configurable ? > > We feel putting in the taskDelay is a temporary fix, and would prefer to > alter > relative task priorities if possible. We also tried reducung our tight > loop > task to a low priority (254) with no taskDelay, but this still would not > allow > the TCP/IP sockets mechanism to transfer the data. > > Any ideas? > Shauna > > --------------------------- Newsgroups: comp.os.vxworks,comp.sys.powerpc.tech Subject: Raven's (mvme2700) error detected interrupt. Date: Fri, 15 Dec 2000 22:08:55 -0500 From: Al Johnston Organization: MindSpring Enterprises Message-ID: <3A3ADCC7.FB02CDF5@mindspring.com> According to the doc for the 2700, it is supposed to be possible for the Raven to detect (non posted) vme bus errors and to signal the cpu (750) either by asserting a line that will cause a machine check exception to be raised, or it may uses its (the raven's) MPIC to send a normal interrupt to the processor. It is this second approach I am trying to use. I cant seem to get it to function reliably. I am running under vxworks. Either the bus error causes nothing at all to happen, or it causes the card to reboot. In the latter case I think the problem is that my ISR is not clearing the interrupt correctly so the isr routine is continually running... until the os notices it (the os) is not getting any cpu time and it panics (work queue overflow/ reboot). In the former case, the interrupt does not seem to be firing at all. If I make seemingly minor changes to the os, the behavior in response to the vme berr will change from one of the above cases, to the other. It will remain like that until I make another seemingly irrelevant change to the os and it will switch back to the other behavior. Has anyone out there managed to get this feature to work? Motorola swears it works, but they have (so far) declined to offer me any proof or assist me with getting this hardware feature to function. tnx. - -al --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Can LILO boot a VxWorks image? Date: Sat, 16 Dec 2000 04:32:53 GMT From: "Martin Usher" Organization: EarthLink Inc. -- http://www.EarthLink.net Message-ID: References: <91domh$b52$1@nnrp1.deja.com> <91drlc$qif$1@news8.svr.pol.co.uk> Reply-To: "Martin Usher" > > That link doesn't even slightly answer the question. The question was : > "can lilo boot vxworks ?". > VxWorks images are just program binaries that are self-contained. Wind River is insistent that the VxW image makes no assumptions about the environment when it starts so the user has to initialize that environment as part of the support package for the build. I wouldn't build a 'Rom' image but just a standard image that will load at a known (real) address in store. I don't know what that is for x86 units but by convention its 0x10000 for the PowerPC. (Even this isn't cast in stone - you can configure VxW to load pretty much anywhere you want.) The entry point is the beginning of the image, so if LILO just copies the image to memory and jumps to it VxW will start. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Printer Port on an MVME2700 (Summary) Date: 15 Dec 2000 20:55:01 GMT From: claveman@cod.nosc.mil (Charles H. Sampson) Organization: Computer Sciences Corporation Message-ID: <91e0f5$4hg$1@newpoisson.nosc.mil> References: <90p24r$pk4$1@newpoisson.nosc.mil> To prevent others from having to wade through all of this stuff, here's what I've learned, which is enough for our project. On an MVME2700, the parallel port area of memory is at offset 0x3bc to the PCI ISA IO area, which is at 0xfe000000. The three 1-byte regis- ters used by the printer are the data register (offset 0), status regis- ter (offset 1), and control register (offset 2). For our application, all we had to do was check the printer busy bit, which was being used to send the position of an external toggle switch. That's the lead bit of the status register. Easy. Anybody who wants to do anything more complicated should look at the PC87308VUL data sheet, available at the National Semiconductor web site (or from me, for a while). Many thanks to those who responded, particularly to William Dennen and Bob DeJoie. Charlie In article <90p24r$pk4$1@newpoisson.nosc.mil>, Charles H. Sampson (me) wrote: > I'm trying to find out how to access the printer port on an >MVME2700. I've spent a lot of time looking for a "programming manual" >at the Motorola and National Semiconductor web sites, without any luck. > > I found a post from Dave Bradford last July on this subject. A re- >sponse came from Bill Dennon at Motorola who said he had a "data sheet" >that has the requisite information. Neither is reachable at the email >addresses they were using at that time. > > Is either of you out there? Will you send me a copy of the data >sheet if you are? If not, can anybody else help? - -- ****** For an email response, my user name is "sampson" and my host is "spawar.navy.mil". --------------------------- Newsgroups: comp.os.vxworks Subject: Need a patch for Motorola MPIC Raven chip Date: Fri, 15 Dec 2000 18:29:44 -0800 From: Tam Nguyen Organization: SPAWAR Systems Center, San Diego, CA 92147 Message-ID: <3A3AD398.9509C9@spawar.navy.mil> We are using a Power PC MV2700 board with a PMC dual Ethernet card for communication. The ethernet card was installed on a PMC carrier (Ramix). On this setting, the good communication have lasted for about 5 minutes then the Power PC locked up. We have discussed this problem with Ramix, the ethernet card manufacturer. A support engineer from Ramix told us that there is a bug in the Motorola Raven chip concerning the lagging REQ64# signal (PCI 64 bit transactions) and Motorola is aware of this. To prove his point, he asked us to test the Ethernet card on the PMC slot of the Power PC board itself. We have done as he asked and found that the communication has lasted for two days until we stopped it. Ramix has told us that Motorola should have a fix or a patch for it. We have tried to contact with Motorola for the fix but have not been able to talk to the right person. If anybody know the solution for the problem or where to find the patch, please point me to the right direction. Thanks Tam --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Windshell stops repsonding after some time Date: Fri, 15 Dec 2000 17:09:49 GMT From: wolfb@trellisautomation.com (Wolfgang Boessenecker) Organization: Trellis Automation, Inc. Message-ID: <3a3a4dea.9067067@news.det.ameritech.net> References: <91aj48$mrd$1@nnrp1.deja.com> Hi, I had this effect on WindowsNT platform. After setting the environment variable WIND_REGISTRY to the name of the computer, where the tornado registry server program is running, it worked. This might be your own computer; it is configured during installation time. Note: Tornado registry server has nothing to do with license server. Probably you will give it a try on Solaris. Wolfgang On Thu, 14 Dec 2000 13:48:58 GMT, alooksha@my-deja.com wrote: >Hi, >I am using the vxWorks 5.3.1 and connecting to the target using >Tornado2. The output of the windshell has been redirected to the virtual >console. >When I execute the following command in windshell it works fine in the >begining. >->printf("Hellow World\n"); >If I leave the windshell Idle for some time( abt 10 min) and execute the >same command then I don't get the output immedaitely. If I press enter >key in the Virtual Console then only I get the output. Till then the >printf function wouldn't return. > >I have the same problem even if I use Tornado 1. > >My vesion's are.. >VxWorks (for Motorola MVME2300 - MPC 603p) version 5.3.1. >Kernel: WIND version 2.5 >Made on Nov 9 1999, 11:03:33. >Tornado 2 on Solaris 2.6 > >Any clues why it's happening like this.. > >thanks >alooksha > > >Sent via Deja.com >http://www.deja.com/ --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Sun Dec 17 04:03:07 2000 From: Vxworks Exploder Date: Sun Dec 17 04:03:09 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Sun Dec 17 04:03:04 PST 2000 Subject: Loading.... (what do the number mean?) Subject: Re: Need advice. for VxWorks programming. Subject: LP-VxWin feedback Subject: Re: Message Q efficiency.. Subject: netBufLib.c ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Loading.... (what do the number mean?) Date: Fri, 15 Dec 2000 09:08:51 -0500 From: "John Fraize" Organization: Posted via Supernews, http://www.supernews.com Message-ID: When a vxWorks image loads what are the 3 numbers that follow Loading... --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Need advice. for VxWorks programming. Date: 15 Dec 2000 14:45:55 GMT From: borkhuis@lucent.com (Johan Borkhuis) Organization: Lucent Technologies Message-ID: <900BA86FAborkhuislucentcom@135.7.153.102> References: <91d6bp$25e$1@news1-2.kornet.net> memories@explore.kwangwoon.ac.kr (SungJin Lee) wrote: >i need to study IP handling on the VxWORKS syste. >not on the API socket level.. for the lower level. then I can't >get enough information from the networkprogrammer's guide >on the www.wrs.com site. Download the Tornado Prototyper and start experimenting with this. It is a full VxWorks simulator running on PC. >and also.. where can i get source code of VxWORKS system >for reference ? If you pay enough you can get it from WRS, but this will be extremely expensive. Groeten, Johan - -- o o o o o o o . . . ___________________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | johan@borksoft.xs4all.nl | >(________|__|_[_________]_|________________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: LP-VxWin feedback Date: Sat, 16 Dec 2000 02:43:39 GMT From: wolfb@trellisautomation.com (Wolfgang Boessenecker) Organization: Trellis Automation, Inc. Message-ID: <3a3ad33a.3958512@news.det.ameritech.net> References: <3A3A9646.C5485C60@systemsinterface.com> Hi Bob, I am using VxWin for more than three years now. But I didn't use the Windows 95 side for development purposes, because of several reasons. One important reason is, that in case of an infinite loop in vxWorks the Windows 95 OS gets no more CPU time, so you have to reboot without a shutdown; that generates not a very good feeling in my mind in case of a development host. We use the Windows side of VxWin for the GUI for the realtime application, which is then a "standard" Windows application with communication across a virtual network, which is in reality shared memory. This works pretty well. A minus point for VxWin is, that (as far as I know) only VxWorks 5.3.1 is supported, i.e. up to now you are not able to use all the nice features of Tornado II (nor T3). Further questions? Wolfgang On Fri, 15 Dec 2000 16:08:06 -0600, Bob Irwin wrote: >Has anybody used the LP-VxWin package from LP Elektronik GmbH? > >It's supposed to support Windows and vxWorks concurrently on the >same x86 cpu. Allows apps in the two environments to communicate >via shared memory. So it seems this would allow 1 cpu to be the >development host & the target host. > >User feed back is solicited. Yeas, boos, etc. > >Thanks, > Bob --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Message Q efficiency.. Date: Sat, 16 Dec 2000 18:11:55 GMT From: Pierre Frigon Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: <3A3BB056.F8E6933@yahoo.com> References: <3A37CC7E.7FC19CB9@c-cube.com> The answer to your question depends on how you use the message queues. If you pass the messages by copy, the time required will be proportional to the size of the message since the message is copied when it is added and when it is removed from the queue. You could also put pointers to messages in the message queue. This would be significantly faster. Using this approach it would be possible to implement your own queues and they could be faster than the built in queues. You could use the the windview tool (or timex() if you really have to) to do some benchmarking and see how much faster (or slower) your own implementation would be. Beyond the speed there are several contention issues that you need to handle. If you are not really familiar with these types of issues you may want to stick with the built-in queues. Venki Mohan wrote: > HI folks, > A question on the efficiency of VxWorks messageQ implementation. > > We have a case where we want to minimize the amount of CPU cycles taken > to execute a particular piece of code, which contains an implementation > of a Queuing mechanism. We also want the application which uses this piece > of code to sleep on this "Q" if there is no data available. > The options that we have thought are: > > 1. Use the VxWorks given messageQ mechanism, which will provide a sleeping > mechanism by itself. > > 2. Build our own singly linked list, and have a semaphore to let others > know > if there is any data in it or not. > > My question is: which method is more efficient in terms of > a> time taken for retrieving a message from the Q > b> number of CPU cycles taken for the retrieve. > > Any help will be appreciated. > > Thanks! > -Venki. --------------------------- Newsgroups: comp.os.vxworks Subject: netBufLib.c Date: Sat, 16 Dec 2000 14:41:12 -0600 From: Xijin Shen Organization: Mayan Networks Message-ID: <3A3BD368.38847F80@yahoo.com> Does anyone know how netTupleGet in netBufLib.c works? I was trying to call it to get tuple and sometimes it returns errors, seems it ran out of buffer but why? Does vxWorks has any documentation on this area? Thanks. --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Mon Dec 18 04:03:06 2000 From: Vxworks Exploder Date: Mon Dec 18 04:03:09 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Mon Dec 18 04:03:04 PST 2000 Subject: Re: [Question] FTP Server and Vxworks Subject: Re: Where are my includes ? Subject: Problem with serial ports Subject: some basic questions (please help) Subject: Problem with serial ports Subject: Re: Windshell stops repsonding after some time Subject: test Subject: no carrier on mvme2700 Subject: VxWorks and VPN ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Re: [Question] FTP Server and Vxworks Date: 17 Dec 2000 18:25:12 GMT From: Johan Borkhuis Organization: Lucent Technologies, Nieuwegein NL Message-ID: <91j0e8$2pd$1@news1.xs4all.nl> References: <91e8oq$pii$1@nnrp1.deja.com> kingseft@samsung.co.kr wrote: : I'd like to use my 860 target board as FTP Server somtimes. : Should I add any file sytem? Yes, as FTP is used for file transfers, and files are stored on a file system. : If then, What file system Should I include or There are several. You can use a RAM based filesystem is the files do not need to be preserved, or use TFFS (True Flash File System, an optional component) if files need to be saved. About your question about the "Can't open" prompt: The directory "kingself:" is your default directory. You can change to a filesystem from there (for example if you have a filesystem "/fs" you can do a "cd /fs" from your FTP prompt and then do an ls. Groeten, Johan - -- o o o o o o o . . . ______________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@lucent.com | >(________|__|_[_________]_|___________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Where are my includes ? Date: Sun, 17 Dec 2000 13:46:54 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A3D344D.82371206@flashcom.net> References: <3A3CFB17.51DD9AE4@mtq005.wzl.rwth-aachen.de> Reply-To: drdiags@flashcom.net Henrique, These files are in the $(WIND_BASE)/target/h/drv/sio - m8260Brg.h $(WIND_BASE)/target/h/drv/timer - m8260Clock.h $(WIND_BASE)/target/h/drv/sio - m8260CpmMux.h Do you have the Motorola ADS8260 BSP for T2 installed? I don't see these files in the normal T2 for PowerPC install directory. These files probably come from the ADS8260 BSP Installation CD. I can see where they are included by the ads8260 BSP sysSerial.c and the sysLib.c source files. Henrique Heidemann Cardoso wrote: > Hi, people, I am a real beginner im VMEbus and such hardware stuff. > Until now I as compiling and making our applications to the > VxSim-Lite, but now I must compile/make our applications to our Board > (PEP VSBC-860 equipped with the MPC860 PowerQUICC RISC Controller) > and seems like none of the follow dependent files come whit my > package: > > m8260Brg.h , m8260Clock.h, m8260*.h, and so on > > I have the Tornado for PowerPC and my Board Support Package is the > ads8260 bsp for the Motorola MPC8260, aren’t they supposed to work > together ? > > Thank you, > Henrique Heidemann Cardoso. > --------------------------- Newsgroups: comp.os.vxworks Subject: Problem with serial ports Date: 18 Dec 2000 03:50:13 GMT From: aharada@shimadzu.co.jp (A.Harada) Organization: Shimadzu Analytical R&D 4G Message-ID: <91k1hl$187a$1@eax008.shimadzu.co.jp> I'm using two serial ports, /tyCo/0 is for standard shell and /tyCo/1 is for temperature controller. Port 1 or 2 ocassionally stops sending, write ringBuf is full and tasks using tyCo stop at printf()/write() and so on. Both ports use NO flow control. In order to debug this situation, I did delete all original tasks, remove temperature controller and loop back transmitting line, and run debugging tasks. But nothing changed. And I found that MPCC_LIVR and MPCC_LICR changed to another port value as follows /tyCo/0 before after LIVR 0x90 0x94 LICR 0x00 0x04 or /tyCo/1 before after LIVR 0x94 0x90 LICR 0x04 0x00 and stopped sending. How do I solve this problem? Is exclusive access control needed? System environment MVME167 + MVME712 VxWorks 5.3 - -- Akira Harada Genome Science Group System Development Center SHIMADZU CORPORATION E-mail:aharada@shimadzu.co.jp --------------------------- Newsgroups: comp.os.vxworks Subject: some basic questions (please help) Date: Mon, 18 Dec 2000 04:20:01 GMT From: john_g123_5@my-deja.com Organization: Deja.com Message-ID: <91k39e$s9i$1@nnrp1.deja.com> hi all, finally i got the correct newsgroup to post this question. i am windows programmer and would want to know more about Real Time OS, embedded systems, VxWorks/Tornado. i have a couple of questions, and like any newbie would ask these questions and I am sure some of you would help me out. where can one load these RTOS. eg we load a NT or Unix on a harware like PC/compatible hardware. then what about VxWorks OS.. (or is it Tornado).... which hardware do we load it into ? [can we load Tornado on to PC, if yes can we get a version for downloading ? costs ?? any learning editions available...) ok ... can we describe the cisco Operation system loaded in its routers as a RTOS ? could someone give me an example of a device where a RTOS is loaded ? more specifically a commercially available device where i could see VxWorks/Tornado in action ? as i understand this, a RTOS like say VxWorks has to be loaded on a specfic hardware. and i guess there would be industry standards for such a hardware, so that if a company makes RTOS it can say that our RTOS can run on such and such hardware (or CPU) as defined in the such and such standard... The VxWorks web site ie wrs.com says that its RTOS are used in switches made by Nortel. more specifically, please give me examples of devices where such embedded devices exist. any other info, web sites, books , links etc please do let me know. if you would want to write to me... john_g123_5@yahoo.com thanks john Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Problem with serial ports Date: 18 Dec 2000 04:10:52 GMT From: aharada@shimadzu.co.jp (A.Harada) Organization: Shimadzu Analytical R&D 4G Message-ID: <91k2oc$187a$2@eax008.shimadzu.co.jp> I'm using two serial ports, /tyCo/0 is for standard shell /tyCo/1 is for a temperature controller. Port 1 or 2 ocassionally stops sending, write ringBuf is full, and tasks using /tyCo stop at printf()/write() and so on. In order to debug this situation, I did delete all original tasks, remove the temperature controller and loop back transmitting line, and run debugging tasks. But nothing changed. And I found that MPCC_LICR and MPCC_LIVR changed to another port value as follows /tyCo/0 before after LIVR 0x90 0x94 LICR 0x00 0x04 or /tyCo/1 before after LIVR 0x94 0x90 LICR 0x04 0x00 and stopped sending. How can I solve this problem? Is exclusive access control needed? System environment MVME167 + MVME712 VxWorks 5.3 - -- Akira Harada Genome Science Group System Development Center SHIMADZU CORPORATION aharada@shimadzu.co.jp --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Windshell stops repsonding after some time Date: Mon, 18 Dec 2000 05:30:16 GMT From: alooksha@my-deja.com Organization: Deja.com Message-ID: <91k7d9$v8i$1@nnrp1.deja.com> References: <91aj48$mrd$1@nnrp1.deja.com> <3a3a4dea.9067067@news.det.ameritech.net> HI, This solution didn't help me. Already WIND_REGISTRY is set to the correct m/c. thanks alooksha > I had this effect on WindowsNT platform. After setting the environment > variable WIND_REGISTRY to the name of the computer, where the tornado > registry server program is running, it worked. This might be your own > computer; it is configured during installation time. Note: Tornado > registry server has nothing to do with license server. > > Probably you will give it a try on Solaris. > > Wolfgang Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: test Date: Mon, 18 Dec 2000 08:11:09 GMT From: wizsky@my-deja.com Organization: Deja.com Message-ID: <91kgqs$5jm$1@nnrp1.deja.com> test Please ignore Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: no carrier on mvme2700 Date: Mon, 18 Dec 2000 10:31:42 GMT From: a.betsche@steinbichler (Andi Betsche) Organization: roNet GmbH Message-ID: <3a3de2a9.14643586@news.ronet.de> Hello all, I have a problem to use a motorola MVME2700 with MVME761 transition board with our network. If I use a 100Mbit fullduplex network connection the board reports error "dc0 - no carrier" while booting. I have read different suggestions to solve this problem. 1) To disable the auto sensing on the other side of the network connection, but thats not allways possible. 2) To change DC_MODE constant in file "config.h" from 0x08 to 0x18 to support full duplex. I did so and generated a new vxworks booter but nothing changed. Does anybody have an Idea to solve this problem? Configuration: Tornado 2.0 with Service Pak SPR-T2CP2. vxWorks 5.4, booting from local harddisk vxWorks generated with BSD and END support BSD "DC netif driver" and "loopback driver" enabled Host system Windows NT 4.0 with SP 5 Target system motorola MVME2700 with MVME761. Merry chrismas and an happy new your. --------------------------- Newsgroups: comp.os.vxworks Subject: VxWorks and VPN Date: Mon, 18 Dec 2000 11:42:36 GMT From: wizsky@my-deja.com Organization: Deja.com Message-ID: <91kt7c$eqd$1@nnrp1.deja.com> Hi, I would like to know if any of you guys implemented/ported a VPN client package to VxWorks, and if so, if you can give a bit information about it. Whose package is it. How complicated it was. Memory footprint. Etc. Thanks, Wiz Sent via Deja.com http://www.deja.com/ --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Mon Dec 18 11:37:35 2000 From: Chandan Saxena Date: Mon Dec 18 11:37:38 PST 2000 Subject: undefined symbol problem in vxworks Hi All, When i load my application on vxWorks target (PPC603 based) it say following symbols are undefined. Undefined symbol: __builtin_vec_new (binding 1 type 0) Undefined symbol: __builtin_vec_delete (binding 1 type 0) Undefined symbol: __builtin_delete (binding 1 type 0) Undefined symbol: __builtin_new (binding 1 type 0) These symbols are there in my vxWorks.map file and marked as [weak].I have included C++ support in vxWorks kernel config file. My development platform is SunOS5.6 using gnu tools provided with tornado. When i load the same application on the tornado host based shell using the same vxWorks image, i donot get this problem. Can anybody help me out with some clues to where the problem might be and some possible fixes for it. Thanks, Chandan From vxwexplo-errs@csg.lbl.gov Tue Dec 19 04:03:11 2000 From: Vxworks Exploder Date: Tue Dec 19 04:03:14 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Tue Dec 19 04:03:07 PST 2000 Subject: Re: Where are my includes ? Subject: This is not comp.os.vxworks.jobs... Subject: Re: CPV3060 Board BSP Package Doesn't Work! Subject: Re: no carrier on mvme2700 Subject: Re: Advice Please: Whats your favorite 860/8260 tools for BDM and JTAG Subject: how does sigtimedwait get signal sent by mq_notify? Subject: tNetTask problem Subject: Re: some basic questions (please help) Subject: mcp750ha booting with mcp750 BSP? Subject: Re: CompactFlash: needs TrueFFS? Subject: MCP750HA boot-strap with MCP750 BSP Subject: boot pc486 over network- update Subject: MCP750HA boot-strap with MCP750 BSP Subject: TFFS compression Subject: mcp750ha boot with mcp750 bsp Subject: undefined symbol problem in vxworks Subject: Sony EVI-D30 driver Subject: mcp750ha booting with mcp750 BSP? Subject: mcp750ha Subject: mcp750ha booting Subject: Re: problems booting over network Subject: CompactFlash: needs TrueFFS? Subject: TCP/IP Buffer Question Subject: GDB w/ INCLUDE_RDB Subject: Re: no carrier on mvme2700 Subject: undefined symbol problem in vxworks Subject: Re: tNetTask problem Subject: Re: undefined symbol problem in vxworks Subject: Re: TFFS compression Subject: flash memory and PPC8260 - Tornado launch shell is unable to see the 1st MB of FLASH memory Subject: VxWorks and GDB w/ INCLUDE_RDB Subject: Re: GDB w/ INCLUDE_RDB Subject: Re: I2C controller Subject: Sony EVI-D30 driver Subject: PPC750 not supported !? Subject: Re: Seti@home Subject: Can LD from Shell but not ehen WDB enables?? Subject: debug 2 tasks Subject: Re: Using tcl/tk with vxWorks Subject: Re: StrataFlash low level drivers Subject: TFFS, Subject: bootp port numbers Subject: Re: PPC750 not supported !? Subject: It is possible to kinda simulate cc386 Subject: Re: some basic questions (please help) Subject: real time embedded software Subject: Where are my includes ? Subject: Re: Can LD from Shell but not ehen WDB enables?? Subject: Re: debug 2 tasks Subject: Load and run module programmatically Subject: Re: GDB w/ INCLUDE_RDB ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Re: Where are my includes ? Date: Mon, 18 Dec 2000 12:02:33 +0000 From: Graham Baxter Organization: Graham Baxter (Software) Limited Message-ID: <3A3DFCD9.4A5512BC@NOSPAM.bcs.org.uk> References: <3A3CFB17.51DD9AE4@mtq005.wzl.rwth-aachen.de> Get Wind River to check your installation key. The first one we received did not unpack the 8260 include files either. Regards, Graham Baxter Freelance Software Engineer gbaxter@NOSPAMbcs.org.uk Henrique Heidemann Cardoso wrote: > > Hi, people, I am a real beginner im VMEbus and such hardware stuff. > Until now I as compiling and making our applications to the > VxSim-Lite, but now I must compile/make our applications to our Board > (PEP VSBC-860 equipped with the MPC860 PowerQUICC RISC Controller) > and seems like none of the follow dependent files come whit my > package: > > m8260Brg.h , m8260Clock.h, m8260*.h, and so on > > I have the Tornado for PowerPC and my Board Support Package is the > ads8260 bsp for the Motorola MPC8260, aren’t they supposed to work > together ? > > Thank you, > Henrique Heidemann Cardoso. > --------------------------- Newsgroups: comp.os.vxworks Subject: This is not comp.os.vxworks.jobs... Date: Mon, 18 Dec 2000 05:06:18 -0800 From: "deb" Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <3A24007F.B17CD9EE@eu.mascotsystems.com> This is a multi-part message in MIME format. - ------=_NextPart_000_00B1_01C068B0.414EF400 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Well GANESH..... This is not=20 This is not comp.os.vxworks.jobs... "ganesh" wrote in message = news:3A24007F.B17CD9EE@eu.mascotsystems.com... =20 Mascot systems is a part of Igate capital (NASDAQ : IGTE)(formerly = called Mastech Corp) is a a worldwide supplier of IT consulting = services (http://www.mascotsystems.com). Services include the delivery = of specialized IT skills in teams as required for specific projects by = Mascot's clients. Projects are typically completed onsite However, = Mascot also has extensive offshore software factories, which may be = utilized for the delivery of certain aspects ofservices. Igate has over = 5000 employees, and 1998 revenues over US$ 400 million. If you are = looking to make a career move, and interested in a fast growing = multi-national corporation with unlimited opportunities, then look no = further.=20 We are looking for Dynamic information technology professionals with = good communication skills in written and spoken English for Mascot = Netherlands operations . We have an interesting relocation plan for = people immigrating from other coutries=20 =20 The Open vacancies are as follows=20 =20 a.. Embedded systems and Real-time Operating systems(RTOS) = programmers with experience in the following areas C/C++ , Assembler = , Motorola ,Siemens, VXWorks, CAN, program Control Switching, H323 = protocol Filters , UMTS layer 2 (Medium Access Control) and layer 3 = (Network and Architectures) techniques and protocols, Hatley and = Phirbai , , Motorola MPC860, Intel SA110, Tundra Qspan2, Intel = 21554,Trimedia, RF, OSE, ASIC design and so on=20 =20 Interested candidates can send their CV to gkota@eu.mascotsystems.com=20 =20 =20 - ------=_NextPart_000_00B1_01C068B0.414EF400 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Well GANESH..... This is not

This is not comp.os.vxworks.jobs...

"ganesh" <gkota@eu.mascotsystems.com= >=20 wrote in message news:3A24007F.B17CD9= EE@eu.mascotsystems.com...
 =20
Mascot systems is a part of Igate capital (NASDAQ : IGTE)(formerly = called=20 Mastech Corp)  is a  a worldwide supplier of IT consulting = services=20 (http://www.mascotsystems.com). = Services include the delivery of specialized IT skills in teams as = required=20 for specific projects by Mascot's clients.  Projects are = typically=20 completed onsite  However, Mascot also has extensive offshore = software=20 factories, which may be utilized for the delivery of certain aspects=20 ofservices. Igate has over 5000 employees, and 1998 revenues over US$ = 400=20 million.  If you are looking to make a career move, and = interested in a=20 fast growing multi-national corporation with unlimited opportunities, = then=20 look no further.=20

We are looking for Dynamic information technology professionals = with good=20 communication skills in written and spoken English for Mascot = Netherlands=20 operations . We have an interesting relocation plan for people = immigrating=20 from other coutries
 =20

The Open vacancies are as  follows
 =20

  • Embedded systems and Real-time = Operating    =20 systems(RTOS) programmers with experience in = the    =20 following areas C/C++ , Assembler , Motorola ,Siemens, = VXWorks,  CAN,=20 program Control Switching, H323 protocol Filters ,=20 UMTS     layer 2 (Medium Access Control) and = layer=20 3     (Network     and=20 Architectures) techniques and protocols, Hatley = and    =20 Phirbai , , Motorola MPC860, Intel SA110, Tundra Qspan2, Intel=20 21554,Trimedia, RF, OSE, ASIC design and so on =

 =20

Interested candidates can send their CV to = gkota@eu.mascotsystems.com=20
 =20

- ------=_NextPart_000_00B1_01C068B0.414EF400-- --------------------------- Newsgroups: comp.os.vxworks Subject: Re: CPV3060 Board BSP Package Doesn't Work! Date: Mon, 18 Dec 2000 13:11:44 GMT From: "Steeve Gagne" Organization: MetroNet Communications Group Inc. Message-ID: References: <8vbo16$t4v$1@murdoch.harvard.net> we currently use the CPV3060 and 3061 Motorola Boards ... I can say that the BDM port working and the board working good. Steeve Gagne, E.I.T. Firmware Development mailto:steeve.gagne@simplernetworks.com --------------------------- Newsgroups: comp.os.vxworks Subject: Re: no carrier on mvme2700 Date: 18 Dec 2000 07:56:41 -0600 From: Greg Willden Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <3a3de2a9.14643586@news.ronet.de> Sender: gwillden@GWILLDEN a.betsche@steinbichler (Andi Betsche) writes: > Hello all, > > I have a problem to use a motorola MVME2700 with MVME761 transition > board with our network. If I use a 100Mbit fullduplex network > connection the board reports error "dc0 - no carrier" while booting. > We had that problem and just forced the ports on our ethernet switch to half duplex. That did it for us. Greg --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Advice Please: Whats your favorite 860/8260 tools for BDM and JTAG Date: Mon, 18 Dec 2000 14:09:13 GMT From: George Varndell Organization: Deja.com Message-ID: <91l5q5$ktt$1@nnrp1.deja.com> References: In article , "Jim" wrote: > Hello all, > I was wondering what experience people have had with using the 860/8260 > tools for BDM and JTAG, and what they would recommend for use. > > Jim > > The EST (Wind River HSI now) VisionProbe and VisionIce are top notch. And the VisionClick debugger's pretty nice too. I've used a few other tool sets and stopped looking once I started using this stuff. Regards, George Varndell - -- Embedded Systems Expertise http://www.varndellengineering.com Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: how does sigtimedwait get signal sent by mq_notify? Date: Mon, 18 Dec 2000 08:50:58 -0500 From: rwang Organization: Hughes Network Systems Message-ID: <3A3E1641.A84973F0@hns.com> Can anybody help me on sigtimedwait( ) and mq_notify()? I have two tasks, one is sending msg, the other one receiving msg. The receiving task needs to block on msg with timeout if msg is not available. But POSIX msg queue mqueue does not support timeout feature. So I want to use mq_notify feature and sigtimedwait. But I can not get sigtimedwait( ) in receiving task gets the signal sent by mq_notify() in sending task. I can let sigtimedwait() receives a signal if the signal is specifically sent to receiving task by sigqueue () or kill(). Thanks a lot. Ran --------------------------- Newsgroups: comp.os.vxworks Subject: tNetTask problem Date: Mon, 18 Dec 2000 09:37:41 -0600 From: "harman bassan" Organization: The University of Western Ontario, London, Ont. Canada Message-ID: <91l72l$2c3$1@panther.uwo.ca> Hi everyone, I am running tornado 2 and VME based pentium target. After the target boots up and gets final image from the host, The target screen starts displaying the following message and soon everything is crashed. 0x7F31990 (tNetTask): arp info overwritten for 8164de37 by 00.e0.16.66.96.52 Can any one guide me what might be wrong here and how could it be possibly corrected. Thanks in advance, Harman. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: some basic questions (please help) Date: Mon, 18 Dec 2000 14:52:42 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <91k39e$s9i$1@nnrp1.deja.com> Sender: bpringlemeir@DeadDuck >>>>> "john" == john g123 5 writes: john> where can one load these RTOS. eg we load a NT or Unix on a john> harware like PC/compatible hardware. then what about VxWorks john> OS.. (or is it Tornado).... which hardware do we load it into john> ? [can we load Tornado on to PC, if yes can we get a version john> for downloading ? costs ?? any learning editions available...) You are missing some fundamental information. You should understand hardware at least a little before attempting to understand vxWorks and embedded system programming. You can search for "digital hardware" and FAQ at google. "http://www.google.com/search?q=%22digital+hardware%22+FAQ&btnG=Google+Search" The keyword to your answer is non-volatile memory; at least for many systems. There are many answers to this question though. I also suggest you read something about the basics of embedded systems. Maybe you will find something here. You can also check out a library. "http://www.cs.washington.edu/research/chinook/links.html" john> ok ... can we describe the cisco Operation system loaded in its john> routers as a RTOS ? ... I get the distinct feeling that you are taking some sort of course and wish for people to answer your questions. You must read and do to actually learn anything. hth, Bill - -- Look for a stranger with one eye. Your vehicle will need to be opened up tomorrow. Do something nice for God tomorrow. You'll once in a while be enlightened. --------------------------- Newsgroups: comp.os.vxworks Subject: mcp750ha booting with mcp750 BSP? Date: Mon, 18 Dec 2000 16:37:24 GMT From: jayantadas@my-deja.com Organization: Deja.com Message-ID: <91leg3$s3f$1@nnrp1.deja.com> Hi, According to WRS, mcp750ha can be boot-straped by mcp750 BSP. I created bootrom by only changing the DEFAULT_BOOT_LINE with host IP address and location of vxworks image. flashed the boot.bin ...changed ROM bank jumper....powered off/on.....nothing happens. Any suggestions will be very helpful. Thanks. Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: CompactFlash: needs TrueFFS? Date: Mon, 18 Dec 2000 17:21:42 -0000 From: "timallen" Organization: ntlworld News Service Message-ID: <_Kr%5.14109$cy5.226824@news2-win.server.ntlworld.com> References: <91l8h6$l7p$1@fe1.cs.interbusiness.it> > I'm deploying a Pentium based embedded PC. I'll have CompactFlash as storage > device. > Will I need the TrueFFS library to use it with VxWorks? No, it just uses the ATA driver. Regards, Tim. - -------------------- Tim Allen Ltd Real Time Embedded Software Consultancy --------------------------- Newsgroups: comp.os.vxworks Subject: MCP750HA boot-strap with MCP750 BSP Date: Mon, 18 Dec 2000 17:17:56 GMT From: jayantadas@my-deja.com Organization: Deja.com Message-ID: <91lgrj$usq$1@nnrp1.deja.com> Hi, According to WRS, mcp750ha can be boot-straped by mcp750 BSP. I created bootrom by only changing the DEFAULT_BOOT_LINE with host IP address and location of vxworks image. flashed the boot.bin ...changed ROM bank jumper....powered off/on.....nothing happens. Any suggestions will be very helpful. Thanks. Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: boot pc486 over network- update Date: Mon, 18 Dec 2000 17:38:23 GMT From: wgrigg@my-deja.com Organization: Deja.com Message-ID: <91li2f$45$1@nnrp1.deja.com> I am at an impasse. The hardware is an Ampro PC104 4Ge board (pc486). The host is a PC running NT 4.0. The software is the Tornado II BSP for pc486. config.h has been modified with the following: #define INCLUDE_ESMC #define INCLUDE_NETWORK (preceeds #include configAll.h) #undef INCLUDE_END #define IO_ADRS_ESMC 0x320 (default for SMC9000) #define INT_LVL_ESMC 0x2 (default for SMC9000) #define DEFAULT_BOOT_LINE \ "esmc(0,0)DRH2588LAB:vxworks h=140.102.48.90 e=140.102.48.58 u=r048058 pw=target " The function ftpXfer which is invoked in bootConfig.c returns the error 0xd0003. In short, there is no observable communication between the host and target. It takes ftpXfer about 30 seconds before it returns the error. I believe that the driver that is being included when I build the "boot rom" is either the wrong one or is being improperly configured. Here is why: 1. I have pinged the PC104 board with DOS running. It worked! The driver I used was off of the Ampro Ethernet Driver Disc1, and was SMC9000.dos. The part number that ISMC9000 displays is 91C94 ver 2.2a 2. The default settings that worked were IO addrs= 0x300, int_lvl=2 Does anyone out there have any suggestions? TIA Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: MCP750HA boot-strap with MCP750 BSP Date: Mon, 18 Dec 2000 18:05:04 GMT From: jayantadas@my-deja.com Organization: Deja.com Message-ID: <91ljkb$1a6$1@nnrp1.deja.com> Hi, According to WRS, mcp750ha can be boot-straped by mcp750 BSP. I created bootrom by only changing the DEFAULT_BOOT_LINE with host IP address and location of vxworks image. flashed the boot.bin ...changed ROM bank jumper....powered off/on.....nothing happens. Any suggestions will be very helpful. Thanks. Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: TFFS compression Date: Mon, 18 Dec 2000 16:11:24 GMT From: [RMRL]BSR Organization: Deja.com Message-ID: <91lcv8$qmf$1@nnrp1.deja.com> We need to implement compression for files stored in a True Flash Filing System. Does anyone know if it is possible to implement this within a layer "below" TFFS (so files are automatically compressed/decompressed when written/read from the flash storage)? We also need to specify which files are compressed and which are not. Could this software layer associate file extensions (or possibly attributes?) with a compress/uncompress switch? Thanks, Paul Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: mcp750ha boot with mcp750 bsp Date: Mon, 18 Dec 2000 16:08:36 GMT From: jayantadas@my-deja.com Organization: Deja.com Message-ID: <91lcpv$qjd$1@nnrp1.deja.com> Hi, According to WRS, mcp750ha can be boot-straped by mcp750 BSP. I created bootrom by only changing the DEFAULT_BOOT_LINE with host IP address and location of vxworks image. flashed the boot.bin ...changed ROM bank jumper....powered off/on.....nothing happens. Any suggestions will be very helpful. Thanks. Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: undefined symbol problem in vxworks Date: Mon, 18 Dec 2000 18:06:38 GMT From: chansax@my-deja.com Organization: Deja.com Message-ID: <91ljna$1jc$1@nnrp1.deja.com> Hi All, When i load my application on vxWorks it say following symbols are undefined. Undefined symbol: __builtin_vec_new (binding 1 type 0) Undefined symbol: __builtin_vec_delete (binding 1 type 0) Undefined symbol: __builtin_delete (binding 1 type 0) Undefined symbol: __builtin_new (binding 1 type 0) These symbols are there in my vxWorks.map file and marked as [weak].I have included C++ support in vxWorks. My development platform is SunOS5.6 using gnu tools provided with tornado. When i load the same application on the tornado host based shell using the same vxWorks image, i donot get this problem. Can anybody help me out with some clues to where the problem might be and some possible fixes for it. Thanks, Chandan Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Sony EVI-D30 driver Date: Mon, 18 Dec 2000 18:32:54 GMT From: parreg@my-deja.com Organization: Deja.com Message-ID: <91ll8n$2r1$1@nnrp1.deja.com> To All Concerned: Does anyone have a camera control driver for the Sony EVI-D30 that they are willing to share? I have the object code, but need a copy of the source code of such a driver. Thanks in Advance. - -Parreg Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: mcp750ha booting with mcp750 BSP? Date: Mon, 18 Dec 2000 16:37:37 GMT From: jayantadas@my-deja.com Organization: Deja.com Message-ID: <91legg$s3s$1@nnrp1.deja.com> Hi, According to WRS, mcp750ha can be boot-straped by mcp750 BSP. I created bootrom by only changing the DEFAULT_BOOT_LINE with host IP address and location of vxworks image. flashed the boot.bin ...changed ROM bank jumper....powered off/on.....nothing happens. Any suggestions will be very helpful. Thanks. Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: mcp750ha Date: Mon, 18 Dec 2000 15:50:10 GMT From: jayantadas@my-deja.com Organization: Deja.com Message-ID: <91lbng$pni$1@nnrp1.deja.com> Hi, Trying to boot mcp750ha board... with mcp750 bsp. As Wind says bsp for mcp750ha is not yet released but mcp750 bsp should work on mcp750ha. No luck. Followed the instruction... created bootrom ... only changed DEFAULT_BOOT_LINE in config.h to give the correct host IP address. Downloaded fine thru PPC_Bug... pflashed it with default addresses...changed the jumper.... powered off/on.....nothing happens. Any suggesstion will be greatly appreciated. Thanks. Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: mcp750ha booting Date: Mon, 18 Dec 2000 18:46:50 GMT From: jayantadas@my-deja.com Organization: Deja.com Message-ID: <91lm2o$3lv$1@nnrp1.deja.com> Hi, According to WRS, mcp750ha can be boot-straped by mcp750 BSP. I created bootrom by only changing the DEFAULT_BOOT_LINE with host IP address and location of vxworks image. flashed the boot.bin ...changed ROM bank jumper....powered off/on.....nothing happens. Any suggestions will be very helpful. Thanks. Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: problems booting over network Date: Mon, 18 Dec 2000 16:59:31 -0000 From: "Kelvin Lawson" Message-ID: <91lfp7$4dv20$1@ID-56276.news.dfncis.de> References: <915rbs$1p7$1@news.draper.com> Try using an ethernet analyzer to establish whether your port is actually communicating over the LAN. There's a great free utility called Ethereal (www.ethereal.com) which runs on Windows/Unix and displays frames on the ethernet network. You should see ARP requests coming from your port's MAC address and so on. "William Grigg" wrote in message news:915rbs$1p7$1@news.draper.com... > 1. The hardware is an Ampro PC104 4Ge board (pc486). > 2. The software is the Tornado BSP for pc486 > 3. config.h has been modified with the following: > #define INCLUDE_ESMC > #define INCLUDE_NETWORK > #define INCLUDE_BSD > #undef INCLUDE_END > #define IO_ADRS_ESMC 0x320 > #define INT_LVL_ESMC 0x9 (where IRQ 9 is the ethernet IRQ) > #define DEFAULT_BOOT_LINE \ > "esmc(0,0)DRH2588LAB:vxworks h=140.102.48.90 e=140.102.48.58 u=r048058 > pw=target tn=r048058" > > 4. bootConfig.c has been modified with the following: > - interestingly enough, I had to comment out "#ifdef INCLUDE_BSD" down > in the bootLoad function because there must have been some sort of header > file sequencing issue that had it still undefined when the compiler got to > that line > - a bunch of printf statements that finally gets me to the netLoad > function and the following line of code: > if (ftpXfer (hostName, usr, passwd, "", "RETR %s", "", fileName, > &errFd, &fd) == ERROR) > return (ERROR); > > 5. The errno returned from ftpXfer is 0xd0003 > 6. It takes about 20 seconds to return the above error, which indicates that > maybe the esmc driver and ethernet port are configured properly. > 7. There is an ftpServer running on the host that shows no sign of a request > from the target > 8. I am sure the IP addresses are correct. > 9. There is a chance that the ethernet port on the PC104 is bad since I do > not believe it has been checked out in any other way. > > Some questions are: > 1. What should I do next? > 2. Is there any other approach to testing the ethernet port on the PC104? > 3. Does "INT_LVL" always equal "IRQ number"? > > --------------------------- Newsgroups: comp.os.vxworks Subject: CompactFlash: needs TrueFFS? Date: Mon, 18 Dec 2000 16:03:22 +0100 From: "Romano Signorelli" Organization: Centro Servizi Interbusiness Message-ID: <91l8h6$l7p$1@fe1.cs.interbusiness.it> I'm deploying a Pentium based embedded PC. I'll have CompactFlash as storage device. Will I need the TrueFFS library to use it with VxWorks? Thanks in advance, bye Romano Signorelli --------------------------- Newsgroups: comp.os.vxworks Subject: TCP/IP Buffer Question Date: Mon, 18 Dec 2000 11:41:54 -0500 From: "Bill Pritchett" Message-ID: <91leoj$q0k$1@autumn.news.rcn.net> Is there anyway to dynamically determine how much data is in my socket send buffer? I want to monitor how much data is in my buffer from within my program so I can do some manual flow control. I've noticed a call that will print out the data, but I just want a struct that I can I look at to see the size. Thanks, Bill Pritchett --------------------------- Newsgroups: comp.os.vxworks Subject: GDB w/ INCLUDE_RDB Date: Mon, 18 Dec 2000 19:49:10 GMT From: Wilhelm Duembeg Organization: Deja.com Message-ID: <91lpni$72f$1@nnrp1.deja.com> Hi, For any of the GDB/VxWorks guru's out-there. My target its a board with a mips R3000. I have successfully compiled GDB v5.0 for a MIPS target running vxworks. I used "configure --target=mips-vxr-vxworks" and can connect with the target. my question is as follows; 1) Why does gdb cannot see the currently running tasks? When I do a "i th" I get a "No Stack". 2) By using a shell trough a serial port, I can see some of the tasks already running and have try to attach to them trough GDB. I am successful in attaching to them, but GDB does not know what the source code for it is. I have also executed the command "i sources" which shows the file containing the code for the task I just attached to. What am I missing?? By the way (BTW) the mips processor is running in big endian, I have already modify the mt-mips.h file in the GDB source from little to big endian. 3) Finally if I get this working, can I attach GDB trough a serial port to the vxWorks target? I know RDB needs TCP/IP, I was thinking maybe trough a ppp connection over serial?? Any ideas, experiences?? Thanks you (any one) for your time and cooperation. - -- Wilhelm Duembeg Staff Engineer Motorola, Inc. (BSC) Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: no carrier on mvme2700 Date: Mon, 18 Dec 2000 08:35:27 -0700 From: Russ Johnson Organization: RMI.NET Message-ID: <3A3E2EBF.357487A@bigfoot.com> References: <3a3de2a9.14643586@news.ronet.de> I had to download the latest driver from WindRiver and make a change to my sysDec21x40End.c file. Look for the latest driver releases from WindSurf (mine were dated August 2000, click on download, tornado 2.0 drivers). That will update your driver binary. I also installed the latest tornado 2.0 cumulative patch (T2CP3) but you might not need both. After installing the new driver binary, add the following to the sysDec*.c file in the MV2700 directory: sprintf (cp, decParamTemplate, (UINT) (iobaseCsr), /* device io base */ (UINT) PCI_SLV_MEM_BUS, /* pciMemBase */ irqvec, /* interrupt irq vector */ irqnum, /* interrupt irq number */ /*NET_END_USER_FLAGS);*/ NET_END_USER_FLAGS | DEC_USR_MII, 8, /*phyAddr*/ 0, /*pPhyTbl*/ /*phyFlags*/ DEC_USR_MII_10MB | DEC_USR_MII_100MB | DEC_USR_MII_HD | DEC_USR_MII_FD ); This will allow the driver to properly negotiate **AND** setup the hardware for the correct mode. If the network link duplex changes while the system is booted, then the system will have to be reset in order for the driver to properly update the hardware settings. Actually, the driver works when changing from half to full but not from full to half. Russ Andi Betsche wrote: > > I have a problem to use a motorola MVME2700 with MVME761 transition > board with our network. If I use a 100Mbit fullduplex network > connection the board reports error "dc0 - no carrier" while booting. --------------------------- Newsgroups: comp.os.vxworks Subject: undefined symbol problem in vxworks Date: Mon, 18 Dec 2000 14:36:52 -0500 From: Chandan Saxena Organization: Lawrence Berkeley National Laboratory Message-ID: <91lra0$be$1@overload.lbl.gov> Hi All, When i load my application on vxWorks target (PPC603 based) it say following symbols are undefined. Undefined symbol: __builtin_vec_new (binding 1 type 0) Undefined symbol: __builtin_vec_delete (binding 1 type 0) Undefined symbol: __builtin_delete (binding 1 type 0) Undefined symbol: __builtin_new (binding 1 type 0) These symbols are there in my vxWorks.map file and marked as [weak].I have included C++ support in vxWorks kernel config file. My development platform is SunOS5.6 using gnu tools provided with tornado. When i load the same application on the tornado host based shell using the same vxWorks image, i donot get this problem. Can anybody help me out with some clues to where the problem might be and some possible fixes for it. Thanks, Chandan --------------------------- Newsgroups: comp.os.vxworks Subject: Re: tNetTask problem Date: Mon, 18 Dec 2000 20:18:11 +0000 From: molochai Message-ID: <558ffd2e4a%molochai@vapour-trail.demon.co.uk> References: <91l72l$2c3$1@panther.uwo.ca> In message <91l72l$2c3$1@panther.uwo.ca> "harman bassan" wrote: > Hi everyone, > I am running tornado 2 and VME based pentium target. After the target > boots up and gets final image from the host, The target screen starts > displaying the following message and soon everything is crashed. > > 0x7F31990 (tNetTask): arp info overwritten for 8164de37 by > 00.e0.16.66.96.52 This has happened because the network stack has updated its ARP entry for a given IP address after detecting that the ethernet address has changed. This normally should not happen in a well configured network.... '8164de37' is in fact the IP address whos ethernet address appears to have changed. eg. 129.100.222.55 in this case, and herein may well lie your problem. At a guess, this is probably caused by having two hosts somewhere on the same network with the same IP address, one of which you would have in the ARP cache at boot-time - perhaps the boot server? I've also seen this in another circumstance: Whilst testing a second NIC in my boot server (Linux 2.x)... both NICs temporarily connected to the same network. Outgoing packets could (and did) go out of both interfaces despite appearing to only come from one of them - hence the ARP cache update. > > Can any one guide me what might be wrong here and how could it be possibly > corrected. > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: undefined symbol problem in vxworks Date: Mon, 18 Dec 2000 14:23:35 -0600 From: Andrew Johnson Organization: APS, Argonne National Laboratory Message-ID: <3A3E7247.B3E48C05@aps.anl.gov> References: <91ljna$1jc$1@nnrp1.deja.com> chansax@my-deja.com wrote: > > When i load my application on vxWorks it say following symbols are > undefined. > > Undefined symbol: __builtin_vec_new (binding 1 type 0) > Undefined symbol: __builtin_vec_delete (binding 1 type 0) > Undefined symbol: __builtin_delete (binding 1 type 0) > Undefined symbol: __builtin_new (binding 1 type 0) > > These symbols are there in my vxWorks.map file and marked as [weak].I > have included C++ support in vxWorks. My development platform is > SunOS5.6 > using gnu tools provided with tornado. When i load the same application > on the tornado host based shell using the same vxWorks image, i donot > get this problem. This is a known problem on PowerPC when booting a target with a built-in symbol table (vxWorks.st), but doesn't occur if you use the external symbol table (vxWorks + vxWorks.sym). I think it is fixed if you install the latest cumulative patch T2CP3 available from WindSurf, but I haven't tried that yet myself. If you don't have T2CP3 installed then try it. - - Andrew - -- Every great idea appears crazy to start with. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: TFFS compression Date: 18 Dec 2000 20:44:47 GMT From: Johan Borkhuis Organization: Lucent Technologies, Nieuwegein NL Message-ID: <91lsvv$772$1@news1.xs4all.nl> References: <91lcv8$qmf$1@nnrp1.deja.com> [RMRL]BSR wrote: : We need to implement compression for files stored in a True Flash : Filing System. Does anyone know if it is possible to implement this : within a layer "below" TFFS (so files are automatically : compressed/decompressed when written/read from the flash storage)? I would implement this on top of TFFS, as TFFS only does the storage on the device. What you could do is write a "dummy" device driver that only hands the requests down to another filesystem (DOS FS or DosFS2). Just define a IOCTL call with which you can enable or disable compression. Groeten, Johan - -- o o o o o o o . . . ______________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@lucent.com | >(________|__|_[_________]_|___________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: flash memory and PPC8260 - Tornado launch shell is unable to see the 1st MB of FLASH memory Date: Mon, 18 Dec 2000 15:46:35 -0500 From: "Teik-Ming Goh" Organization: Nortel Message-ID: <91lsq4$db2$1@bcarh8ab.ca.nortel.com> Hi all, We are using PPC8260, VxWorks as OS and AMD29LV640D as on board flash device. We encounter the following problem and hope someone can give us an idea what is going on. The problem is: Tornado launch shell is unable to see the 1st MB of FLASH memory (it appears as all F's). After the 1st MB i.e 2ndMB, the launch shell is able to view FLASH properly. However, we can use VISIONICE emulator to see the lst MB of flash memory. What in the 1st MB of flash memory is bootroom image. For the 1st MB of flash memory, I can still write data to it. The data is there when I check it using Tornado launch shell; but, not VISIONICE. VISIONICE still see the bootrom image. Any idea is appreciated and welcome!!!! Thank you in advance. Ming --------------------------- Newsgroups: comp.os.vxworks Subject: VxWorks and GDB w/ INCLUDE_RDB Date: Mon, 18 Dec 2000 21:12:34 GMT From: Wilhelm Duembeg Organization: Deja.com Message-ID: <91lujr$bgm$1@nnrp1.deja.com> Hi, For any of the GDB/VxWorks guru's out-there. My target its a board with a mips R3000. I have successfully compiled GDB v5.0 for a MIPS target running vxworks. I used "configure --target=mips-vxr-vxworks" and can connect with the target. my question is as follows; 1) Why does gdb cannot see the currently running tasks? When I do a "i th" I get a "No Stack". 2) By using a shell trough a serial port, I can see some of the tasks already running and have try to attach to them trough GDB. I am successful in attaching to them, but GDB does not know what the source code for it is. I have also executed the command "i sources" which shows the file containing the code for the task I just attached to. What am I missing?? By the way (BTW) the mips processor is running in big endian, I have already modify the mt-mips.h file in the GDB source from little to big endian. 3) Finally if I get this working, can I attach GDB trough a serial port to the vxWorks target? I know RDB needs TCP/IP, I was thinking maybe trough a ppp connection over serial?? Any ideas, experiences?? Thanks you (any one) for your time and cooperation. - -- Wilhelm Duembeg Staff Engineer Motorola, Inc. (BSC) Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: GDB w/ INCLUDE_RDB Date: Mon, 18 Dec 2000 21:39:28 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <91lpni$72f$1@nnrp1.deja.com> Sender: bpringlemeir@DeadDuck >>>>> "WD" == Wilhelm Duembeg writes: [snip WD> code for the task I just attached to. What am I missing?? A stab in the dark (hah hah...), have you included debug info? If GDB is seeing the files on your locale machine, then all should be fine. I haven't used GDB with vxWorks in a while. My recent experience is with a PE BDM on a cold fire. I think it should be very similar. WD> 3) Finally if I get this working, can I attach GDB trough a WD> serial port to the vxWorks target? I know RDB needs TCP/IP, I was WD> thinking maybe trough a ppp connection over serial?? Any ideas, WD> experiences?? You can get PPP working over serial. I just did this recently. It doesn't have much of an overhead and is better than the WDB serail only as you can FTP and telnet etc. I don't understand your question really... what is the alternative to PPP over serial? hth, Bill - -- I'm definitely not in Omaha! --------------------------- Newsgroups: comp.os.vxworks Subject: Re: I2C controller Date: Mon, 18 Dec 2000 14:50:03 GMT From: parreg@my-deja.com Organization: Deja.com Message-ID: <91l86q$mps$1@nnrp1.deja.com> References: <91b7gv$9pf$1@nnrp1.deja.com> In article , "Martin Usher" wrote: > > > > Has anybody ever experience an situation in which the I2C contoller > > igores the start command for MPC8260 or 860? The manual is not clear, > > and I was wondering if someone has encountered the circumstance before, > > and has a resolution. Thanks. > > > (On an 8260) it works for me. > > When I first started testing the driver I was just issuing a transmit > sequence from the 8260 to look at the pulses. I found that I had to set the > port bits to open collector for the controller to output anything. > > I subsiquently found that issuing a 'start' request while the 8260 was still > processing a request stopped it. I thought that was a bit dumb - I'd have > expected the controller to either ignore that request or record it and > restart immediately the current transaction was completed. > > Given the low speed of this interface and the general hassle of working with > the controller I have been in two minds whether to just ignore it and waggle > the port bits myself (I'm just using the interface to store and retrieve > configuration information from an EEROM, though). > > Thanks for the info. However I introduced a taskDelay before issuing the second Start command with regard to a device write. The second Start command is ignored by the 8260. If I break the second start command into a separate function it works. I don't understand. Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Sony EVI-D30 driver Date: Mon, 18 Dec 2000 14:54:07 GMT From: parreg@my-deja.com Organization: Deja.com Message-ID: <91l8ec$mtq$1@nnrp1.deja.com> Hi all, Has anyone developed a driver for the Sony Camera EVI-D30/D31 in Vxworks or other platforms. I have object code only. It would save me a lot of time if someone has the source code they are willing to share. Thanks. - -Parreg Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: PPC750 not supported !? Date: Mon, 18 Dec 2000 22:42:34 GMT From: NEO Organization: Deja.com Message-ID: <91m3sm$he8$1@nnrp1.deja.com> Hello Friends, I have to run a program on vxworks and CPU type for DPROC board is PPC750. now in the file vxCpu.h, CPU types defined for PPC are :- 403,505,601,602,603,604 and 860. So, there is no entry for PPC750. what to do in this case ? Any suggestions ? Thanx in advance ! Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Seti@home Date: Sun, 17 Dec 2000 07:10:43 GMT From: pwhicker@home.com (Paul Whicker) Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: References: <915s0b$roh$1@nnrp1.deja.com> Actually it's been done and run on PowerPC, one of the senior developers at Wind River ran it on T3 and passed the required acceptance tests. I believe that there were some unresolved issues and thus far development schedules have not allowed the work to be completed. It's not hard for Wind River to talk to SETI@home, unfortunately it is hard to render the result into a releasable form when the people are already working too many hours of the day. Paul In article <915s0b$roh$1@nnrp1.deja.com>, Ted Dennison wrote: >In article , > "Time shifter" wrote: >> Has anyone been able to get seti@home runing on a vxwork os? > >It's not OpenSource software. To protect the science, the only people >who have access to the sources are the SETI@Home developers, and they >ask that you not use any client that wasn't downloaded from the official >site ( http://setiathome.ssl.berkeley.edu/unix.html for most platforms). > >There isn't a vxWorks port there. The only way to get one would be to >convice the SETI@Home folks to compile one and put it there. Good luck. :-) > >BTW: Anyone reading this who runs SETI@Home on a WinNT or 2K system, may >be interested in the SETI@Home Service at >http://www.telepath.com/dennison/Ted/SETI/SETI_Service.html . It allows >you to run the client as a service, so that it will start at boot-up and >no-one has to be logged in. It also restarts the client automaticly if >it dies. > --------------------------- Newsgroups: comp.os.vxworks Subject: Can LD from Shell but not ehen WDB enables?? Date: Mon, 18 Dec 2000 22:54:48 GMT From: Wilhelm Duembeg Organization: Deja.com Message-ID: <91m4jk$huq$1@nnrp1.deja.com> Hi, To all the WDB gurus out there. I have a what it looks a small problem, but I can't find the solution. I want to debug my target of a serial port, but want to download my files over the Ethernet. These are the symptoms. I configure the target to include a shell, but no WDB. Basically I see what going and at boot time with a terminal connected to com1. Once I get the shell prompt "->" the I can execute the command "ld < host:/usr/my/bsp/app.ilf" everything loads... good. Now I will like to have a source code debugger, so I include the WDB stuff, I run the launch& utility, create a target, configure it for serial connection and then attach a shell to it. Again I get the "->" prompt so I enter the command "ld < host:/usr/my/bsp/app.ilf" but it return with the following: WTX Error 0x2 (no such file or directory) value = -1 = 0xffffffff So what is wrong?? In both occasion vxWorks.st is loaded over the network at boot time. The main difference is that in one case I am running the shell over a serial connection and the second is also a serial connection but over WDB agent. Any experiences/suggestions/ideas?? Thanks every one for your time and cooperation. - -- Wilhelm Duembeg Staff Engineer Motorola, Inc. (BSC) Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: debug 2 tasks Date: Mon, 18 Dec 2000 23:47:47 +0100 From: "JJS" Organization: LT Message-ID: <91m4qq$2cei$1@news5.isdnet.net> Hi, I tried to debug the simple code below maintask() { ... taskSpawn("task1", ....) .... } task1() { ... } Is it possible to debug maintask() and put a break at entry point of task1()? This breakpoint is bypassed after taskSpawn(). I have tried it with two Tornado but without success. This must be possible but what am I doing wrong? Thanks Jack --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Using tcl/tk with vxWorks Date: Sun, 17 Dec 2000 00:19:26 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A3C770E.29268016@flashcom.net> References: <3A36C4A0.2ECD1124@home.com> <3A36D209.A14A5B0@flashcom.net> Reply-To: drdiags@flashcom.net Pete, Did I say it would be a piece of case to extend the interpreter? Well, let me recant. I have been able to build an interpreter on Windows ME, using Microsoft Visual Studio 5.0. I have a version that has Tcl/Tk and WTX all linked together. I also have a version with just Tcl and WTX. The keys to building these interpreters was the following: 1 - Create a WIN32 executable and grab the tkAppInit.c or tclAppInit.c file from the host/tcl/tcl or host/tcl/tk directory. 2 - Make sure to add the tkdll.lib, tcldll.llib and the wtxdll.lib to your Link options. 3 - Define HOST in the preprocessor define line. 3a - If you have problems including tk.h, you are going to need source for the host, because there is a reference to xlib/Xlib.h, which only exists on the host source distribution. (So much for easy - remember, I am not doing this from the manual, so maybe there is more than one way to successfully link in the wtx libraries without having to have the host source distribution) 4 - Add your commands to the initialization routine after you call the WTX init routine (not really necessary, could have proceeded the call) 5 - Don't forget your TK_LIBRARY and TCL_LIBRARY environmental variables while testing this from the command line. If you don't want to add C-code to the interpreter, then you should be fine using the wtxtclsh, and just creating your scripts. Though this may be way off base of what you originally asked, I just wanted to follow-up on my bogus claim that this would be a piece of cake. E-mail me off-line if you want the MSDEV project files. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: StrataFlash low level drivers Date: Mon, 18 Dec 2000 23:59:29 GMT From: "Kevin Dodd" Organization: Bell Solutions Message-ID: References: <906jfn$do6$1@overload.lbl.gov> <908k4j$dm5$1@nnrp1.deja.com> I have gotten almost all the strataflash writing, fixing a bug in the WRS code, however I have a problem doing a format, it seems to perform ok, yet returns with a failure. I can send you the code to talk to the strataflash, and if someone can help me get the tffsdevformat working, I could really use the help. "Jie Ma" wrote in message news:Jz7X5.17627$rr3.793113@news... > Hi Parreg and Tim: > > This is very interesting issue because I am going to do the exactly same > things. > > In page 58 of the TFFS document, TrueFFS for Tornado Programmer's Guide 1.0 > Edition2, it states that the MTD supports CFI. But it doesn't mention > anything about TFFS socket layer. I called wind river. They tald me that I > need to write our own TFFS socket layer for CFI flash. > > The document also mentioned that the jont CFI specification is addopted by > Intel. However, I only see the general CFI driver package. The question is: > how to fit the Intel general CFI driver into TFFS socket layer? Is there a > easy way or different version of CFI to make TFFS socket layer? > > I havn't contact Intel yet, and I am going to. > > Would you mind share your more detailed information? > > Thank you very much. > > Jie > > wrote in message news:908k4j$dm5$1@nnrp1.deja.com... > > In article <906jfn$do6$1@overload.lbl.gov>, > > "timallen" wrote: > > > >Has anyone out there written any low level driver software for the > > > >Intel StrataFlash for integration into the Wind River True File > > System? > > > >Thanks in advance. > > > > > > This shouldn't be necessary since the Intel StrataFlash uses the > > Common > > > Flash Interface(CFI) and Scaleable Command Set (SCS) standards which > > are > > > supported by TrueFFS. > > > > > > Tim. > > > -------------------- > > Understood now, Thanks. > > > Tim Allen Ltd > > > Real Time Embedded Software Consultancy > > > VxWorks > > > > > > > > > > > > Sent via Deja.com http://www.deja.com/ > > Before you buy. > > --------------------------- Newsgroups: comp.os.vxworks Subject: TFFS, Date: Tue, 19 Dec 2000 00:08:25 GMT From: "Kevin Dodd" Organization: Bell Solutions Message-ID: I am having troubles with the tffsDevFormat command. It appears that the CFi routines do not return errors, yet we are unsuccestful on the format. I have a emulator which lets me peek at what is going on, yet the problem eludes me. If anyone has a insight I could relaly us it. - -- Kevin Dodd SR System/Software Engineer Wescam Corp 707-473-1114 103 W North Street Healdsburg, Ca, 95448 --------------------------- Newsgroups: comp.os.vxworks Subject: bootp port numbers Date: Tue, 19 Dec 2000 00:26:50 GMT From: jeremy_dexter@my-deja.com Organization: Deja.com Message-ID: <91ma04$mho$1@nnrp1.deja.com> Hi all, We are using Tornado 2 and need to boot our strongARM target(s) using bootp talking to a dedicated DHCP server. In order to avoid confusion with other DHCP servers which may be present on the corporate LAN, we use non-standard bootp port numbers (ie not the usual port 67 and 68). The vxworks bootp client (ie bootpParamsGet() function) allows you to specify a server port number to send to but it appears to be hardwired to always listen on client port 68, regardless of what you specify for the server port. By convention I think it should set the client port to server_port+1, which is what the DHCP server is expecting. Does anyone know of any patch or workaround for this? Thanks! Jeremy Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: PPC750 not supported !? Date: Mon, 18 Dec 2000 19:12:17 -0600 From: Andrew Johnson Organization: APS, Argonne National Laboratory Message-ID: <3A3EB5F1.E58F4736@aps.anl.gov> References: <91m3sm$he8$1@nnrp1.deja.com> NEO wrote: > > Hello Friends, > I have to run a program on vxworks and CPU type for DPROC board > is PPC750. now in the file vxCpu.h, CPU types defined for PPC are :- > 403,505,601,602,603,604 and 860. So, there is no entry for PPC750. what > to do in this case ? > Any suggestions ? Look at what your BSP uses to build the vxWorks image. The mv2700 board that we use has a 750 CPU and uses ppc604, which is probably what yours will do but you should check yourself. - - Andrew - -- Every great idea appears crazy to start with. --------------------------- Newsgroups: comp.os.vxworks Subject: It is possible to kinda simulate cc386 Date: Tue, 19 Dec 2000 03:11:21 GMT From: wv12@my-deja.com Organization: Deja.com Message-ID: <91mjkl$u9l$1@nnrp1.deja.com> Hi Is it possible to build gcc in such a way that you can get it to generate the same code and binary formats (bootrom) as cc386 from WindRiver. Reason I ask is that i got a few old 486s laying around, and I would like to put VxWorks on them, just for my education. Thank you Will Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: some basic questions (please help) Date: Tue, 19 Dec 2000 04:26:15 GMT From: john_g123_5@my-deja.com Organization: Deja.com Message-ID: <91mo13$1jn$1@nnrp1.deja.com> References: <91k39e$s9i$1@nnrp1.deja.com> yes, you are right that i do expect people to get me to the point. an example in place, there are tons of books in the market, but there are just a few of them that deliver, which we all know who spend time studying, posting and reading in rich newsgroups, mailing lists. interacting with your more experienced and knowledgeable peers and helping out the newbies so that they do not waste their time and money (in buying books that do not deliver). also your feeling that i am doing some sort of course is not correct. sometimes you just feel like start learning a newer subject. well thanks any way. i did get some emails that really have given me the start in the right direction and i have started, john In article , Bill Pringlemeir wrote: > >>>>> "john" == john g123 5 writes: > > john> where can one load these RTOS. eg we load a NT or Unix on a > john> harware like PC/compatible hardware. then what about VxWorks > john> OS.. (or is it Tornado).... which hardware do we load it into > john> ? [can we load Tornado on to PC, if yes can we get a version > john> for downloading ? costs ?? any learning editions available...) > > You are missing some fundamental information. You should understand > hardware at least a little before attempting to understand vxWorks and > embedded system programming. You can search for "digital hardware" and > FAQ at google. > > "http://www.google.com/search?q=%22digital+hardware% 22+FAQ&btnG=Google+Search" > > The keyword to your answer is non-volatile memory; at least for many > systems. There are many answers to this question though. > > I also suggest you read something about the basics of embedded systems. > Maybe you will find something here. You can also check out a library. > > "http://www.cs.washington.edu/research/chinook/links.html" > > john> ok ... can we describe the cisco Operation system loaded in its > john> routers as a RTOS ? > > ... I get the distinct feeling that you are taking some sort of course > and wish for people to answer your questions. You must read and do to > actually learn anything. > > hth, > Bill > > -- > Look for a stranger with one eye. Your vehicle will need to be opened > up tomorrow. Do something nice for God tomorrow. You'll once in a > while be enlightened. > Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: real time embedded software Date: Sun, 17 Dec 2000 12:12:15 -0500 From: "Kevin" Organization: Sprint Canada Inc. Message-ID: Hot Opportunity for real time embedded software experts If you have Vxworks or pSOS real time operating system experience working in and embedded system environment and know telecom or internet protocols then we have the jobs for you. contact Kevin Ireland kevin.ireland@ajilon.ca kireland@sprint.ca 613-786-3106 ext 231 613-799-4310 cell 613-489-4299 home --------------------------- Newsgroups: comp.os.vxworks Subject: Where are my includes ? Date: Sun, 17 Dec 2000 18:42:47 +0100 From: Henrique Heidemann Cardoso Organization: Werkzeugmaschinenlabor der RWTH Aachen Message-ID: <3A3CFB17.51DD9AE4@mtq005.wzl.rwth-aachen.de> Reply-To: sac-hhc@mtq005.wzl.rwth-aachen.de Hi, people, I am a real beginner im VMEbus and such hardware stuff. Until now I as compiling and making our applications to the VxSim-Lite, but now I must compile/make our applications to our Board (PEP VSBC-860 equipped  with the MPC860 PowerQUICC RISC Controller) and seems like none of the  follow dependent files come whit my package:

 m8260Brg.h ,  m8260Clock.h, m8260*.h, and so on

 I have the Tornado for PowerPC and my Board Support Package is the ads8260 bsp for the Motorola MPC8260, aren’t they supposed to work together ?

 Thank you,
                       Henrique Heidemann Cardoso.
  --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Can LD from Shell but not ehen WDB enables?? Date: 19 Dec 2000 09:42:06 GMT From: Johan Borkhuis Organization: Lucent Technologies, Nieuwegein NL Message-ID: <91nahe$5oe$1@news1.xs4all.nl> References: <91m4jk$huq$1@nnrp1.deja.com> Wilhelm Duembeg wrote: : Now I will like to have a source code debugger, so I include the WDB : stuff, I run the launch& utility, create a target, configure it for : serial connection and then attach a shell to it. Again I get the "->" : prompt so I enter the command "ld < host:/usr/my/bsp/app.ilf" but it : return with the following: : WTX Error 0x2 (no such file or directory) : value = -1 = 0xffffffff The debugger is running on your host, so when you are using the host shell you should be using pathnames of your host (for example : ld < /usr/my/bsp/app.ilf) You can also run this command on the target by adding a '@' in front of the command, so @ld < host:.... Groeten, Johan - -- o o o o o o o . . . ______________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@lucent.com | >(________|__|_[_________]_|___________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: Re: debug 2 tasks Date: 19 Dec 2000 09:45:59 GMT From: Johan Borkhuis Organization: Lucent Technologies, Nieuwegein NL Message-ID: <91naon$5oe$2@news1.xs4all.nl> References: <91m4qq$2cei$1@news5.isdnet.net> JJS wrote: : Is it possible to debug maintask() and put a break at entry point of : task1()? This breakpoint is bypassed after taskSpawn(). : I have tried it with two Tornado but without success. This must be possible : but what am I doing wrong? Try setting the breakpoint on the first executed statement in the function. Groeten, Johan - -- o o o o o o o . . . ______________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@lucent.com | >(________|__|_[_________]_|___________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: Load and run module programmatically Date: Tue, 19 Dec 2000 10:00:31 GMT From: albert.wijnja@meco.nl Organization: Deja.com Message-ID: <91nbjs$fn2$1@nnrp1.deja.com> Hello, For my application I do not know what modules should run beforehand. Therefore I want to load and run modules programmatically. On WindSurf I found an example on how to do that but I encounter some problems. If I have a module x.out with foo() as the entry-point, I should use the ld() call to load the module. Then use symFindByName() with "_foo" as the symbol to find. However, this gives an error. When I load x.out manually (via the Shell) and enter foo followed by Ctrl-D, I see that the symbol for foo is "_foo__FPc" instead of "_foo". When giving _foo__FPc as the argument to symFindByName() no error is returned and when spawing a task with the returned address goes fine. I also noticed that the post-fix ("__FPc" in this example) is NOT equal for all modules. Is there a way to determine it beforehand? Albert Wijnja Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: GDB w/ INCLUDE_RDB Date: Tue, 19 Dec 2000 10:07:17 GMT From: Wilhelm Duembeg Organization: Deja.com Message-ID: <91nc0i$fqt$1@nnrp1.deja.com> References: <91lpni$72f$1@nnrp1.deja.com> In article , Bill Pringlemeir wrote: > >>>>> "WD" == Wilhelm Duembeg writes: > > [snip > > WD> code for the task I just attached to. What am I missing?? > > A stab in the dark (hah hah...), have you included debug info? If GDB > is seeing the files on your locale machine, then all should be fine. > I haven't used GDB with vxWorks in a while. My recent experience is > with a PE BDM on a cold fire. I think it should be very similar. I am compiling my code with the "-g" option. Or is there another VxWorks "INCLUDE" that adds more debug inormation and will make this work? > > WD> 3) Finally if I get this working, can I attach GDB trough a > WD> serial port to the vxWorks target? I know RDB needs TCP/IP, I was > WD> thinking maybe trough a ppp connection over serial?? Any ideas, > WD> experiences?? > > You can get PPP working over serial. I just did this recently. It > doesn't have much of an overhead and is better than the WDB serail > only as you can FTP and telnet etc. I don't understand your question > really... what is the alternative to PPP over serial? > At this point I am attaching over Ethernet, but this interface will not be available once the app starts running. So the question is what is so great about a debugger if you cannot debug your app? I am also memory limited. That is why I was trying GDB instead of WDB, but I need to be able to debug over the serial port as this is the only port available for debbuging. My question was basically has any one tried GDB <--> RDB over serial and does it work?? I read that RDB requires TCP/IP and that is why I was asking about PPP over serial. Thanks for your comments and sharing of experiences. BTW was it dificult to set up the PPP link? A lot of mods to vxWorks's BSP?? or is it fearly simple streight forward?? - -- Wilhelm Duembeg > hth, > Bill > > -- > I'm definitely not in Omaha! > - -- Wilhelm Duembeg Staff Engineer Motorola, Inc. (BSC) Sent via Deja.com http://www.deja.com/ --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Tue Dec 19 04:07:36 2000 From: "Ronen Levy" Date: Tue Dec 19 04:07:38 PST 2000 Subject: vxworks From vxwexplo-errs@csg.lbl.gov Tue Dec 19 05:56:28 2000 From: f.pertin@staubli.com Date: Tue Dec 19 05:56:31 PST 2000 Subject: FTP server Hello VXWORKS and TORNADO guru, I include FTP server in my x86 target (my application need it). It works well except that I am not able to create directory to my local disk from a ftp connection (mkdir command from FTP prompt). I get the error: "500 Command not recognized' Please not that I am able to create directory from tornado shell so the problem comes from FTP server. Does anybody know a patch or a work around ?? Thanks a lot in advance .... Francois From vxwexplo-errs@csg.lbl.gov Tue Dec 19 06:12:50 2000 From: "Senthilkumar R" Date: Tue Dec 19 06:12:52 PST 2000 Subject: vxWorks - target shell char display This is a multi-part message in MIME format. ------=_NextPart_000_00EF_01C069F3.C2B7D1D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, Windsh - Wind Shell for the simNT target server is not echoing the = characters when we are reading from the WindSh thru scanf(), getchar(), = etc... I tried for the same after including the "stdio show routines" also. = Still its not working. Do we need to include any other components for this to be displayed...? Any reasonable reply will be greately appreciated... Thanks in advance. Senthil. ------=_NextPart_000_00EF_01C069F3.C2B7D1D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi,
 
Windsh - Wind Shell for the simNT target server is = not echoing=20 the characters when we are reading from the WindSh thru scanf(), = getchar(),=20 etc...
I tried for the same after including the "stdio show = routines"=20 also. Still its not working.
Do we need to include any other components for this = to be=20 displayed...?
 
Any reasonable reply will be greately=20 appreciated...
 
Thanks in advance.
Senthil.
------=_NextPart_000_00EF_01C069F3.C2B7D1D0-- From vxwexplo-errs@csg.lbl.gov Tue Dec 19 08:04:55 2000 From: Charles Johnson Date: Tue Dec 19 08:04:58 PST 2000 Subject: RE: FTP server The standard VxWorks FTP server is very limited and does implement many of the commands that most would expect. As part of the dosFs2.0 patch, there was this unsupported version of the FTP server (Tornado\target\unsupported\src\netwrs\ftpLib.c) which had may of the missing commands implemented. We couldn't use it directly due to the change in the calling convention to ftpdInit(). I was able to grab much of the commands that were not implemented in the old ftp server. --Charles Johnson Oresis Communications, Inc. -----Original Message----- From: vxwexplo@lbl.gov [mailto:vxwexplo@lbl.gov] Sent: Tuesday, December 19, 2000 6:12 AM To: vxworks_users@csg.lbl.gov Subject: FTP server Submitted-by vxwexplo-errs@csg.lbl.gov Tue Dec 19 05:56:28 2000 Submitted-by: f.pertin@staubli.com Hello VXWORKS and TORNADO guru, I include FTP server in my x86 target (my application need it). It works well except that I am not able to create directory to my local disk from a ftp connection (mkdir command from FTP prompt). I get the error: "500 Command not recognized' Please not that I am able to create directory from tornado shell so the problem comes from FTP server. Does anybody know a patch or a work around ?? Thanks a lot in advance .... Francois ********** This is a user group mailing list for vxWorks related topics see http://csg.lbl.gov/vxworks for posting and other info From vxwexplo-errs@csg.lbl.gov Tue Dec 19 09:11:21 2000 From: David Laight Date: Tue Dec 19 09:11:24 PST 2000 Subject: re: bootp port numbers > The vxworks bootp client (ie bootpParamsGet() > function) allows you to specify a server port > number to send to but it appears to be hardwired > to always listen on client port 68, regardless of > what you specify for the server port. By > convention I think it should set the client port > to server_port+1, which is what the DHCP server > is expecting. The body of the code uses the global variables 'dhcpc_port' and 'dhcps_port'. (The dhcp client, dhcp server, dhcp relay and bootp all use the same ones!) If you call dhcpcLibInit these are set from its arguments. However they also get set from dhcpSPort and dhcpcCPort at various times (maybe only in the server and relay...). These are initialised in usrNetwork.c (to DHCPS_SPORT and DHCPS_CPORT - presumably defined in config.h). I don't have the source to bootpParamsGet - and it's not in my object. However I'd guess that setting dhcpc_port = HTOS( port ) will have the desired effect. David ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 From vxwexplo-errs@csg.lbl.gov Tue Dec 19 09:14:32 2000 From: David Laight Date: Tue Dec 19 09:14:34 PST 2000 Subject: Re: FTP server > > Hello VXWORKS and TORNADO guru, > > I include FTP server in my x86 target (my application need it). It works > well except that I am not able to create directory to my local disk from a > ftp connection (mkdir command from FTP prompt). I get the error: "500 > Command not recognized' > Please not that I am able to create directory from tornado shell so the > problem comes from FTP server. > > Does anybody know a patch or a work around ?? > Beat up WRS support until they (finally) fix their FTP server code :-) They OUGHT to be able to make it work with the (horrid) graphical FTP clients people insist on running under windows..... (I'm told that the 'unsupported' one available in source form with the DOSFS2 release is better - but still has problems.) ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 From vxwexplo-errs@csg.lbl.gov Tue Dec 19 10:22:37 2000 From: "Patrick T. Pinkowski" Date: Tue Dec 19 10:22:40 PST 2000 Subject: Motorola MPC860T Fast Ethernet Controller MII Device Driver for VxWorks Does anyone have an ethernet device driver for VxWorks 5.4 (SENS) and the MPC860T Fast Ethernet Controller (FEC) with the MII (Media Independant Interface). Thanks in advance, Pat -- -------------------------------------------------- /\ Patrick T. Pinkowski, Senior Engineer /##\ ptp@mclean.sparta.com /####\ 703.448.1683 x228 /####/-- /####/---- SPARTA, Inc. -\####\__--- 7926 Jones Branch Drive, Suite 900 ---\##\ /---- McLean, Virginia 22102 ----\##\/\---- (703)448-0210 (Main) ----\####\-- (703)893-5494 (Facsimile) ----\####/ http://www.mclean.sparta.com ---/###/ -/###/ SPARTA \##/ ~~~~~~ \/ Pride In Performance From vxwexplo-errs@csg.lbl.gov Tue Dec 19 11:20:31 2000 From: Charles Johnson Date: Tue Dec 19 11:20:34 PST 2000 Subject: RE: FTP server I ment "does NOT implement many of the commands that most would expect." -----Original Message----- From: vxwexplo@lbl.gov [mailto:vxwexplo@lbl.gov] Sent: Tuesday, December 19, 2000 8:12 AM To: vxworks_users@csg.lbl.gov Subject: RE: FTP server Submitted-by vxwexplo-errs@csg.lbl.gov Tue Dec 19 08:04:55 2000 Submitted-by: Charles Johnson The standard VxWorks FTP server is very limited and does implement many of the commands that most would expect. As part of the dosFs2.0 patch, there was this unsupported version of the FTP server (Tornado\target\unsupported\src\netwrs\ftpLib.c) which had may of the missing commands implemented. We couldn't use it directly due to the change in the calling convention to ftpdInit(). I was able to grab much of the commands that were not implemented in the old ftp server. --Charles Johnson Oresis Communications, Inc. -----Original Message----- From: vxwexplo@lbl.gov [mailto:vxwexplo@lbl.gov] Sent: Tuesday, December 19, 2000 6:12 AM To: vxworks_users@csg.lbl.gov Subject: FTP server Submitted-by vxwexplo-errs@csg.lbl.gov Tue Dec 19 05:56:28 2000 Submitted-by: f.pertin@staubli.com Hello VXWORKS and TORNADO guru, I include FTP server in my x86 target (my application need it). It works well except that I am not able to create directory to my local disk from a ftp connection (mkdir command from FTP prompt). I get the error: "500 Command not recognized' Please not that I am able to create directory from tornado shell so the problem comes from FTP server. Does anybody know a patch or a work around ?? Thanks a lot in advance .... Francois ********** This is a user group mailing list for vxWorks related topics see http://csg.lbl.gov/vxworks for posting and other info ********** This is a user group mailing list for vxWorks related topics see http://csg.lbl.gov/vxworks for posting and other info From vxwexplo-errs@csg.lbl.gov Tue Dec 19 12:21:59 2000 From: "Heyman, R Gary" Date: Tue Dec 19 12:22:01 PST 2000 Subject: tornado VXWORKS and TORNADO users: We have recently upgraded to Tornado 2.0. I am trying to > get WindView traces, but it appears that the way we used > to do it (under Tornado 1.0.1) is not longer the way to set it up. I have tried to go by the manuals, but the manuals suggest to > use functions that don't seem to exist (wvOn(), wvOff(), etc). > Under Tornado 1.0.1, we used to include INCLUDE_WINDVIEW into > the kernel configuration. to log a trace, we then included the following > into our code: > > ************************************************************************* > #include > #include > > void main() > { > ... {initialization code} > > // enable the WindView logging > wvHostInfoInit("172.16.11.148",8004); > wvEvtLogEnable(2); > > ... {other code} > > // disable WindView logging > wvEvtLogDisable(); > > } > ************************************************************************* > > on the host (which, for us, was a SUN), we used to start the > logging thread: > -> evtRecv -p 8004 > This would store the event trace. How do we do all this under Tornado 2.0??? should we be using the > wvOn() and wvOff()?? or the wvEvtLogInit(), wvEvtLogStart(), and > wvEvtLogStop()?? also, how do we define the IP and port# for the > host that is collecting the log? > Thanks... From vxwexplo-errs@csg.lbl.gov Tue Dec 19 15:21:43 2000 From: Pradosh Mohapatra Date: Tue Dec 19 15:21:46 PST 2000 Subject: Mixing C and C++ code in vxworks Hi, I have a problem mixing C and C++ code in vxworks. I have a C function that expects void * as one of its parameters. In my C++ codebase, I have an abstract base class A, and some derived classes B, C, and D. I have a pointer to the derived class B, which I allocate and then pass that to the C function. Inside the C function, I typecast the void * parameter to A *, the base class pointer. The problem is, when I try to call any virtual function (that is declared in the abstract base class A and defined in all derived classes B, C, and D), it somehow calls A's routine and gives me an error "Task called pure virtual function for which there is no definition" Has anybody faced this problem? Any kind of hint as to how to go about it will be appreciated. Thanks and Regards, Pradosh From vxwexplo-errs@csg.lbl.gov Wed Dec 20 04:03:10 2000 From: Vxworks Exploder Date: Wed Dec 20 04:03:13 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Wed Dec 20 04:03:06 PST 2000 Subject: How to set default directory of FTP server? Subject: PJworks and Swing components: is it possible? Subject: Re: debug 2 tasks Subject: Re: how does sigtimedwait get signal sent by mq_notify? Subject: FTP server Subject: vxWorks - target shell char display Subject: Re: TFFS, Subject: Re: I2C controller Subject: Re: Can LD from Shell but not ehen WDB enables?? Subject: vxImmrGet() for 8260 Subject: Re: StrataFlash low level drivers Subject: VxVMI question ... Subject: Re: debug 2 tasks Subject: RE: FTP server Subject: Re: Load and run module programmatically Subject: Re: GDB w/ INCLUDE_RDB Subject: Re: flash memory and PPC8260 - Tornado launch shell is unable to see the 1st MB of FLASH memory Subject: re: bootp port numbers Subject: re: FTP server Subject: Re: undefined symbol problem in vxworks Subject: Re: how does sigtimedwait get signal sent by mq_notify? Subject: Re: pthreads Subject: Re: FTP server Subject: Re: flash memory and PPC8260 - Tornado launch shell is unable to see the 1st MB of FLASH memory Subject: Re: pthreads Subject: Motorola MPC860T Fast Ethernet Controller MII Device Driver for VxWorks Subject: Re: How to set default directory of FTP server? Subject: Drivers for 146818A RTC Subject: Re: How to set default directory of FTP server? Subject: z85230 synchronous port Subject: Re: pthreads Subject: RE: FTP server Subject: tornado Subject: Tools and OS ?? Subject: Re: Can LD from Shell but not ehen WDB enables?? Subject: Re: Motorola MPC860T Fast Ethernet Controller MII Device Driver for VxWorks Subject: Re: How to set default directory of FTP server? Subject: Mixing C and C++ code in vxworks Subject: Re: Realtime ORB Subject: booting vxworks Subject: Re: flash memory and PPC8260 - Tornado launch shell is unable to see the Subject: Re: VxVMI question ... Subject: Re: PJworks and Swing components: is it possible? Subject: re: bootp port numbers Subject: Re: debug 2 tasks Subject: Re: Realtime ORB Subject: Re: VxVMI question ... Subject: Re: Backplane Sockets Communication and Task Priority Conflict Subject: Re: Problem about TCP socket ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: How to set default directory of FTP server? Date: Tue, 19 Dec 2000 14:20:37 +0000 From: Kees van der Bent Organization: Software Feastures Message-ID: <3A3F6EB5.9B53D7A7@mail.com> Hi, I need to send files to a RAMdisk on my target using FTP. Is there a way to have the default directory of the VxWorks ftp server point to my RAMdisk? Are there any other things I should be aware of when setting this up? Thanks, Kees --------------------------- Newsgroups: comp.os.vxworks Subject: PJworks and Swing components: is it possible? Date: Tue, 19 Dec 2000 14:39:22 +0100 From: "Romano Signorelli" Organization: Centro Servizi Interbusiness Message-ID: <91nnvq$osk$1@fe1.cs.interbusiness.it> Hello, I'm trying to develop a PersonalJava application using Borland JBuilder. I'm using sun's PJava emulation environment 3.0.2 (as it is compatible with PJWorks) to test my (for now simple) application. The first big problem encoutered is this error message: Can't find class [myclassname] because of Exception in thread "main" java.lang.NoClassDefFoundError: javax/swing/JFrame Running the application using java.exe it runs well. Is it possible to use Swing components in VxWorks PJWorks? If so, how can I do it? Additional question: shell I use JDBC tecnology in PJWorks? Thanks in advance, bye Romano Signorelli --------------------------- Newsgroups: comp.os.vxworks Subject: Re: debug 2 tasks Date: Tue, 19 Dec 2000 14:41:23 +0100 From: "Romano Signorelli" Organization: Centro Servizi Interbusiness Message-ID: <91no03$1qv$1@fe2.cs.interbusiness.it> References: <91m4qq$2cei$1@news5.isdnet.net> Try adding a global breakpoint (right click with mouse then choose menu option) Bye, Romano "JJS" ha scritto nel messaggio news:91m4qq$2cei$1@news5.isdnet.net... > Hi, > > I tried to debug the simple code below > > maintask() > { > > ... > taskSpawn("task1", ....) > .... > } > > task1() > { > ... > } > > > Is it possible to debug maintask() and put a break at entry point of > task1()? This breakpoint is bypassed after taskSpawn(). > I have tried it with two Tornado but without success. This must be possible > but what am I doing wrong? > Thanks > Jack > > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: how does sigtimedwait get signal sent by mq_notify? Date: Tue, 19 Dec 2000 14:39:17 +0100 From: Stefan Luedeke Organization: Draegerwerk AG, Luebeck, Germany (http://www.draeger.com) Message-ID: <3A3F6505.B7AEF326@draeger.com> References: <3A3E1641.A84973F0@hns.com> Hi, it works like this Sender { mq_send(...) } Receiver { mq_notify(...) while (mq_receive(...)) /* Message queue should be empty */ while (1) { sigtimedwait( ) mq_notify(...) /* Notify next messages*/ ... } } Verify that you block the signal which will be send when your task is notified. stefan - -- Stefan Luedeke Draeger Medizintechnik GmbH --------------------------- Newsgroups: comp.os.vxworks Subject: FTP server Date: Tue, 19 Dec 2000 14:56:15 +0100 From: f.pertin@staubli.com Organization: Lawrence Berkeley National Laboratory Message-ID: <91nqj1$nkh$1@overload.lbl.gov> Hello VXWORKS and TORNADO guru, I include FTP server in my x86 target (my application need it). It works well except that I am not able to create directory to my local disk from a ftp connection (mkdir command from FTP prompt). I get the error: "500 Command not recognized' Please not that I am able to create directory from tornado shell so the problem comes from FTP server. Does anybody know a patch or a work around ?? Thanks a lot in advance .... Francois --------------------------- Newsgroups: comp.os.vxworks Subject: vxWorks - target shell char display Date: Tue, 19 Dec 2000 19:42:03 +0530 From: "Senthilkumar R" Organization: Lawrence Berkeley National Laboratory Message-ID: <91nqj1$nki$1@overload.lbl.gov> This is a multi-part message in MIME format. - ------=_NextPart_000_00EF_01C069F3.C2B7D1D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, Windsh - Wind Shell for the simNT target server is not echoing the = characters when we are reading from the WindSh thru scanf(), getchar(), = etc... I tried for the same after including the "stdio show routines" also. = Still its not working. Do we need to include any other components for this to be displayed...? Any reasonable reply will be greately appreciated... Thanks in advance. Senthil. - ------=_NextPart_000_00EF_01C069F3.C2B7D1D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
Windsh - Wind Shell for the simNT target server is = not echoing=20 the characters when we are reading from the WindSh thru scanf(), = getchar(),=20 etc...
I tried for the same after including the "stdio show = routines"=20 also. Still its not working.
Do we need to include any other components for this = to be=20 displayed...?
 
Any reasonable reply will be greately=20 appreciated...
 
Thanks in advance.
Senthil.
- ------=_NextPart_000_00EF_01C069F3.C2B7D1D0-- --------------------------- Newsgroups: comp.os.vxworks Subject: Re: TFFS, Date: Tue, 19 Dec 2000 14:18:46 GMT From: "Jim" Organization: Magma Communications Ltd. Message-ID: References: Hey there, Here is my 2 cents on what you should check ... 1.) Verify which MTD you are using ... you should be able to determine this from "tffsShow" command. 2.) Verify your MTD works by using the tffsRawio commands (this command simplt wraps read and write) ... - tffsRawio 0,3,0,1 /*0=volume, 2=erase command, 0= 1st block to erase, 1 = number of blocks to have erased*/ - tffsRawio 0,2,0,6,"hello" /*0=volume, 2 = write command, 0= offset from start of flash, 6=number of chars to right, "hello" = buffer to right */ 3.) If your MTD doesn't work ... you can find this out by dumping memory at block 0 of flash and looking for the "hello" string and verifying all other bytes in the block are 0x ... then find out which flash part you have ... after you have the flash part find the pdf (aka datasheet) describing the part ... from the data sheet verify the "flash" commands being used in your MTD are correct ... if they are not then you will a.) have to wite you own MTD for the flash parts and configuration you are using, b.) make an appeal to the news group for there MTD's, or c.) make sure the correct MTD driver is being used to write and read from flash. Cheers, Jim "Kevin Dodd" wrote in message news:ZFx%5.193444$UO.708845@news22.bellglobal.com... > I am having troubles with the tffsDevFormat command. It appears that the CFi > routines do not return errors, yet we are unsuccestful on the format. I have > a emulator which lets me peek at what is going on, yet the problem eludes > me. If anyone has a insight I could relaly us it. > > -- > Kevin Dodd > SR System/Software Engineer > Wescam Corp > 707-473-1114 > 103 W North Street > Healdsburg, Ca, 95448 > > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: I2C controller Date: Tue, 19 Dec 2000 14:28:31 +0000 From: Graham Baxter Organization: Graham Baxter (Software) Limited Message-ID: <3A3F708F.A7C8B8AF@NOSPAM.bcs.org.uk> References: <91b7gv$9pf$1@nnrp1.deja.com> <91l86q$mps$1@nnrp1.deja.com> I had one problem: After the TX ready bit has cleared, the data may still not have left the 8260. The ready bit is cleared as the data is written to the FIFO. You must wait another 2 character times to guarantee that all data has been sent. I hope this helps. Graham Baxter Freelance Software Engineer gbaxter@NOSPAMbcs.org.uk parreg@my-deja.com wrote: > > In article , > "Martin Usher" wrote: > > > > > > Has anybody ever experience an situation in which the I2C contoller > > > igores the start command for MPC8260 or 860? The manual is not > clear, > > > and I was wondering if someone has encountered the circumstance > before, > > > and has a resolution. Thanks. > > > > > (On an 8260) it works for me. > > > > When I first started testing the driver I was just issuing a transmit > > sequence from the 8260 to look at the pulses. I found that I had to > set the > > port bits to open collector for the controller to output anything. > > > > I subsiquently found that issuing a 'start' request while the 8260 > was still > > processing a request stopped it. I thought that was a bit dumb - I'd > have > > expected the controller to either ignore that request or record it and > > restart immediately the current transaction was completed. > > > > Given the low speed of this interface and the general hassle of > working with > > the controller I have been in two minds whether to just ignore it and > waggle > > the port bits myself (I'm just using the interface to store and > retrieve > > configuration information from an EEROM, though). > > > > Thanks for the info. However I introduced a taskDelay before issuing > the second Start command with regard to a device write. The second > Start command is ignored by the 8260. If I break the second start > command into a separate function it works. I don't understand. > > Sent via Deja.com > http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Can LD from Shell but not ehen WDB enables?? Date: Tue, 19 Dec 2000 14:33:47 GMT From: Wilhelm Duembeg Organization: Deja.com Message-ID: <91nrkb$rlb$1@nnrp1.deja.com> References: <91m4jk$huq$1@nnrp1.deja.com> <91nahe$5oe$1@news1.xs4all.nl> In article <91nahe$5oe$1@news1.xs4all.nl>, Johan Borkhuis wrote: > Wilhelm Duembeg wrote: > : Now I will like to have a source code debugger, so I include the WDB > : stuff, I run the launch& utility, create a target, configure it for > : serial connection and then attach a shell to it. Again I get the "- >" > : prompt so I enter the command "ld < host:/usr/my/bsp/app.ilf" but it > : return with the following: > > : WTX Error 0x2 (no such file or directory) > : value = -1 = 0xffffffff > > The debugger is running on your host, so when you are using the host shell > you should be using pathnames of your host (for example : > ld < /usr/my/bsp/app.ilf) > You can also run this command on the target by adding a '@' in front of > the command, so @ld < host:.... Thanks for the info, but I don't know if this will do what I am after. I am connecting to the WDB Agent Over a serial link, but I want to download my app over the Ethernet. Which should be already up and runnig since "vxWorks.st" was just downloaded trough it. I have tested conectibity by pinging my host, which it works OK. If I just do "ld < /usr/my/bsp/app.ilf" the it does download the app but it does so over serial SLOW!!! to slow for me over 10 min. Once the app starts running it will take over the Ethernet. But that is OK if I need to re-download I will just reboot and download again. If I need to add a small module then I will just load it over serial. So, will the above work as required?? By the way (BTW), in the first scenario I described when I connect to the shell over serial (no WDB) and I do the "ld < host:/usr/my/bsp/app.ilf" it works <1 min to download. But this way I only have a shell and no code source debugger which is what I am after. > > Groeten, > Johan > > -- > o o o o o o o . . . ______________________________ > o _____ || Johan Borkhuis | > .][__n_n_|DD[ ====_____ | borkhuis@lucent.com | > >(________|__|_[_________]_|___________________________| > _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` > === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === > - -- Wilhelm Duembeg Staff Engineer Motorola, Inc. (BSC) Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: vxImmrGet() for 8260 Date: Tue, 19 Dec 2000 09:46:40 -0500 From: "James A. Littlefield" Organization: HarvardNET Message-ID: <3A3F74D0.DC218CC2@alum.mit.edu> I recently started some development for the 8260. The sample BSP we got defines CPU type as PPC603EC for the 8260 SBC but the definitions for the vxImmr related routines in vxPpcLib.h are dependent on PPC860 being defined. I can work around this by simply including the relevant definitions in my own source but it seems like the vxImmr routines should be available for the 8260 as well. Can anyone give more info on why the vxImmr stuff is only defined for 860? Thanks, Jim --------------------------- Newsgroups: comp.os.vxworks Subject: Re: StrataFlash low level drivers Date: Tue, 19 Dec 2000 15:09:00 GMT From: parreg@my-deja.com Organization: Deja.com Message-ID: <91ntm6$tir$1@nnrp1.deja.com> References: <906jfn$do6$1@overload.lbl.gov> <908k4j$dm5$1@nnrp1.deja.com> In article , "Kevin Dodd" wrote: > I have gotten almost all the strataflash writing, fixing a bug in the WRS > code, however I have a problem doing a format, it seems to perform ok, yet > returns with a failure. I can send you the code to talk to the strataflash, > and if someone can help me get the tffsdevformat working, I could really use > the help. > > "Jie Ma" wrote in message > news:Jz7X5.17627$rr3.793113@news... > > Hi Parreg and Tim: > > > > This is very interesting issue because I am going to do the exactly same > > things. > > > > In page 58 of the TFFS document, TrueFFS for Tornado Programmer's Guide > 1.0 > > Edition2, it states that the MTD supports CFI. But it doesn't mention > > anything about TFFS socket layer. I called wind river. They tald me that I > > need to write our own TFFS socket layer for CFI flash. > > > > The document also mentioned that the jont CFI specification is addopted by > > Intel. However, I only see the general CFI driver package. The question > is: > > how to fit the Intel general CFI driver into TFFS socket layer? Is there a > > easy way or different version of CFI to make TFFS socket layer? > > > > I havn't contact Intel yet, and I am going to. > > > > Would you mind share your more detailed information? > > > > Thank you very much. > > > > Jie > > > > wrote in message news:908k4j$dm5 $1@nnrp1.deja.com... > > > In article <906jfn$do6$1@overload.lbl.gov>, > > > "timallen" wrote: > > > > >Has anyone out there written any low level driver software for the > > > > >Intel StrataFlash for integration into the Wind River True File > > > System? > > > > >Thanks in advance. > > > > > > > > This shouldn't be necessary since the Intel StrataFlash uses the > > > Common > > > > Flash Interface(CFI) and Scaleable Command Set (SCS) standards which > > > are > > > > supported by TrueFFS. > > > > > > > > Tim. > > > > -------------------- > > > Understood now, Thanks. > > > > Tim Allen Ltd > > > > Real Time Embedded Software Consultancy > > > > VxWorks > > > > > > > > > > > > > > > > > Sent via Deja.com http://www.deja.com/ > > > Before you buy. > > > > > To all concerned: We have a software to drive the strataflash, however we've not been able to test it as we wait for the BSP to be completed. I will let you know how it goes when testing is complete. - -parreg. > Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: VxVMI question ... Date: Tue, 19 Dec 2000 16:23:27 +0100 From: Ronny Meeus Organization: Alcatel Message-ID: <3A3F7D6F.7CE16F83@alcatel.be> Hello, I'm currently studying VxVMI. What I want to do is to make parts of the memory private to applications tasks, but keep the virtual address equal to the physical address. If I understood it well, the board starts with a default mapping for the full memory. (virtual address is equal to physical address). It possible for an application to create a virtual memory context, and map a physical page into its own context but then a different virtual address has to be specified. This is not what I want, I want to keep the mapping the same (virtual address equal to physical) , it this possible ? and how ? If it is not possible, is there another way to achieve the same goal ? Thanks, Ronny Meeus --------------------------- Newsgroups: comp.os.vxworks Subject: Re: debug 2 tasks Date: Tue, 19 Dec 2000 16:07:15 GMT From: wolfb@trellisautomation.com (Wolfgang Boessenecker) Organization: Trellis Automation, Inc. Message-ID: <3a3f8469.2244637@news.det.ameritech.net> References: <91m4qq$2cei$1@news5.isdnet.net> Hi Jack, try a "b task1" from the WindShell. That should set the breakpoint as you like it. A breakpoint, which is set trough the debugger, is not working in your case, because the task is not attached to the debugger (and cannot be attached, because it is not existing). Maybe you can do it with global breakpoints in T2. However, my proposition should work with both, T1 and T2. With the shell command "b" you use the breakpoint list from the WindShell instead, which is really a different one. To view the breakpoint list of the WindShell, use "b" without any argument. To delete a breakpoint from this list, "bd" may be use, or "bdall" to clear the list. hth, Wolfgang On Mon, 18 Dec 2000 23:47:47 +0100, "JJS" wrote: >Hi, > >I tried to debug the simple code below > >maintask() >{ > > ... >taskSpawn("task1", ....) >.... >} > >task1() >{ > ... >} > > >Is it possible to debug maintask() and put a break at entry point of >task1()? This breakpoint is bypassed after taskSpawn(). >I have tried it with two Tornado but without success. This must be possible >but what am I doing wrong? >Thanks >Jack > > --------------------------- Newsgroups: comp.os.vxworks Subject: RE: FTP server Date: Tue, 19 Dec 2000 08:04:06 -0800 From: Charles Johnson Organization: Lawrence Berkeley National Laboratory Message-ID: <91o1k0$58$1@overload.lbl.gov> The standard VxWorks FTP server is very limited and does implement many of the commands that most would expect. As part of the dosFs2.0 patch, there was this unsupported version of the FTP server (Tornado\target\unsupported\src\netwrs\ftpLib.c) which had may of the missing commands implemented. We couldn't use it directly due to the change in the calling convention to ftpdInit(). I was able to grab much of the commands that were not implemented in the old ftp server. - --Charles Johnson Oresis Communications, Inc. -----Original Message----- From: vxwexplo@lbl.gov [mailto:vxwexplo@lbl.gov] Sent: Tuesday, December 19, 2000 6:12 AM To: vxworks_users@csg.lbl.gov Subject: FTP server Submitted-by vxwexplo-errs@csg.lbl.gov Tue Dec 19 05:56:28 2000 Submitted-by: f.pertin@staubli.com Hello VXWORKS and TORNADO guru, I include FTP server in my x86 target (my application need it). It works well except that I am not able to create directory to my local disk from a ftp connection (mkdir command from FTP prompt). I get the error: "500 Command not recognized' Please not that I am able to create directory from tornado shell so the problem comes from FTP server. Does anybody know a patch or a work around ?? Thanks a lot in advance .... Francois ********** This is a user group mailing list for vxWorks related topics see http://csg.lbl.gov/vxworks for posting and other info --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Load and run module programmatically Date: Tue, 19 Dec 2000 16:24:43 GMT From: wolfb@trellisautomation.com (Wolfgang Boessenecker) Organization: Trellis Automation, Inc. Message-ID: <3a3f8935.3471822@news.det.ameritech.net> References: <91nbjs$fn2$1@nnrp1.deja.com> Hi Albert, what you have seen, is the so called name mangling, which is used by the C++ compiler. I can think of two ways to solve your problem: 1. Declare the function foo() as extern "C", so the symbol will not be mangled in a C++, but in a plain C way. Try extern "C" { int foo(void) { /* your code */ } } 2. Use the mangled name as you have seen is in the object. BTW, to get the symbol list of an object the tool "nm" may be used. The reason, why the suffix is not the same, is because of the prototype of your function (return value data type and data type of arguments). hth, Wolfgang On Tue, 19 Dec 2000 10:00:31 GMT, albert.wijnja@meco.nl wrote: >Hello, > >For my application I do not know what modules should run beforehand. >Therefore I want to load and run modules programmatically. On WindSurf I >found an example on how to do that but I encounter some problems. >If I have a module x.out with foo() as the entry-point, I should use the >ld() call to load the module. Then use symFindByName() with "_foo" as >the symbol to find. However, this gives an error. When I load x.out >manually (via the Shell) and enter foo followed by Ctrl-D, I see that >the symbol for foo is "_foo__FPc" instead of "_foo". When giving >_foo__FPc as the argument to symFindByName() no error is returned and >when spawing a task with the returned address goes fine. >I also noticed that the post-fix ("__FPc" in this example) is NOT equal >for all modules. Is there a way to determine it beforehand? > >Albert Wijnja > > >Sent via Deja.com >http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: GDB w/ INCLUDE_RDB Date: Tue, 19 Dec 2000 16:31:19 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <91lpni$72f$1@nnrp1.deja.com> <91nc0i$fqt$1@nnrp1.deja.com> Sender: bpringlemeir@DeadDuck >>>>> "WD" == Wilhelm Duembeg writes: WD> I am compiling my code with the "-g" option. Or is there another WD> VxWorks "INCLUDE" that adds more debug inormation and will make WD> this work? Sorry, that sounds fine to me. I don't know what the problem could be. Hopefully the protocol wasn't broken with GDB 5.0; I think that is fairly recent. [snip] WD> and does it work?? I read that RDB requires TCP/IP and that is WD> why I was asking about PPP over serial. Once working, the PPP seems to be very reliable. I think that you should only need the UDP/IP layer, at least that is the case for WDB. This is not too many resources. Actually RDB+UDP/IP/PPP may be about the same resources as WDB serial... but I don't know, I am just guessing. I would just like to do the vxgdb because I could debug my tasks from Emacs and GUD. WD> Thanks for your comments and sharing of experiences. BTW was it WD> dificult to set up the PPP link? A lot of mods to vxWorks's BSP?? WD> or is it fearly simple streight forward?? It was difficult because of our build environment, but also configuring NT properly was a task. There is a technote on the WRS sight as well as very helpful information at Mr. Borkhuis's web page, "http://www.xs4all.nl/~borkhuis/vxworks/vxw_pt4.html" It is difficult to get working because we had no non-volatile storage and we need some standalone function (especially the symbol table). However, when you do this the netInit() call in usrConfig.c is not called. Here is some config.h defines that worked for me, /* In config.h... defines for target as PPP server */ #define INCLUDE_PPP #undef PPP_OPTIONS_FILE #define PPP_OPTIONS_FILE 0 #define INCLUDE_PING /* not needed when link is functioning */ #define INCLUDE_END /* Probably not needed. */ #define INCLUDE_FTP_SERVER /* Definitely not needed. */ #define INCLUDE_NET_SHOW #undef PPP_OPT_PASSIVE_MODE #define PPP_OPT_PASSIVE_MODE 1 #undef PPP_OPT_SILENT_MODE #define PPP_OPT_SILENT_MODE 1 #undef DEFAULT_BOOT_LINE #define DEFAULT_BOOT_LINE "ppp=/tyCo/0,115200(0,0)host:/vxWorks.st" \ " g=90.0.0.10 e=90.0.0.1" A passive vxWorks seems to be easier to get working on NT. The RAS functions of NT are somewhat unreliable in my experience. - -- Uzi FSF fissionable security jihad supercomputer Kennedy PLO Peking munitions Cocaine bomb Semtex North Korea Soviet --------------------------- Newsgroups: comp.os.vxworks Subject: Re: flash memory and PPC8260 - Tornado launch shell is unable to see the 1st MB of FLASH memory Date: Tue, 19 Dec 2000 11:55:13 -0500 From: "Michael Barker" Organization: Motorola Message-ID: <91o3sr$iat$1@newshost.mot.com> References: <91lsq4$db2$1@bcarh8ab.ca.nortel.com> > Tornado launch shell is unable to see the 1st MB of FLASH memory (it appears > as all F's). ... > For the 1st MB of flash memory, I can still write data to it. The data is > there when I check it using Tornado launch shell; Can you see the 1st MB of FLASH or not? Are you saying you can see it only sometimes? Keep in mind the 8260 BSP bootrom doesn't go into the first MB of FLASH. --------------------------- Newsgroups: comp.os.vxworks Subject: re: bootp port numbers Date: Tue, 19 Dec 2000 17:12:02 +0000 (GMT) From: David Laight Organization: Lawrence Berkeley National Laboratory Message-ID: <200012191712.RAA27660@dsl-2.tadpole.co.uk> > The vxworks bootp client (ie bootpParamsGet() > function) allows you to specify a server port > number to send to but it appears to be hardwired > to always listen on client port 68, regardless of > what you specify for the server port. By > convention I think it should set the client port > to server_port+1, which is what the DHCP server > is expecting. The body of the code uses the global variables 'dhcpc_port' and 'dhcps_port'. (The dhcp client, dhcp server, dhcp relay and bootp all use the same ones!) If you call dhcpcLibInit these are set from its arguments. However they also get set from dhcpSPort and dhcpcCPort at various times (maybe only in the server and relay...). These are initialised in usrNetwork.c (to DHCPS_SPORT and DHCPS_CPORT - presumably defined in config.h). I don't have the source to bootpParamsGet - and it's not in my object. However I'd guess that setting dhcpc_port = HTOS( port ) will have the desired effect. David - ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 --------------------------- Newsgroups: comp.os.vxworks Subject: re: FTP server Date: Tue, 19 Dec 2000 17:15:14 +0000 (GMT) From: David Laight Organization: Lawrence Berkeley National Laboratory Message-ID: <200012191715.RAA27663@dsl-2.tadpole.co.uk> > > Hello VXWORKS and TORNADO guru, > > I include FTP server in my x86 target (my application need it). It works > well except that I am not able to create directory to my local disk from a > ftp connection (mkdir command from FTP prompt). I get the error: "500 > Command not recognized' > Please not that I am able to create directory from tornado shell so the > problem comes from FTP server. > > Does anybody know a patch or a work around ?? > Beat up WRS support until they (finally) fix their FTP server code :-) They OUGHT to be able to make it work with the (horrid) graphical FTP clients people insist on running under windows..... (I'm told that the 'unsupported' one available in source form with the DOSFS2 release is better - but still has problems.) - ---------------------------------------------------------------- David Laight email: dsl@tadpole.co.uk Tadpole Technology plc phone: +44 1223 428 232 Cambridge, UK fax: +44 1223 428 201 --------------------------- Newsgroups: comp.os.vxworks Subject: Re: undefined symbol problem in vxworks Date: Tue, 19 Dec 2000 17:13:17 GMT From: chansax@my-deja.com Organization: Deja.com Message-ID: <91o4v4$4gi$1@nnrp1.deja.com> References: <91ljna$1jc$1@nnrp1.deja.com> <3A3E7247.B3E48C05@aps.anl.gov> Hi !! first thanks andrew for the info.i did get a T2CP3 patch from the wrs ftp site (tar file), but it does not contain any info about how to use the patch. another things i am not aware how to go about generating and the loading this (vxworks + vxworks.sym) stuff. Can somebody help me out with this. thanks chandan In article <3A3E7247.B3E48C05@aps.anl.gov>, Andrew Johnson wrote: > chansax@my-deja.com wrote: > > > > When i load my application on vxWorks it say following symbols are > > undefined. > > > > Undefined symbol: __builtin_vec_new (binding 1 type 0) > > Undefined symbol: __builtin_vec_delete (binding 1 type 0) > > Undefined symbol: __builtin_delete (binding 1 type 0) > > Undefined symbol: __builtin_new (binding 1 type 0) > > > > These symbols are there in my vxWorks.map file and marked as [weak].I > > have included C++ support in vxWorks. My development platform is > > SunOS5.6 > > using gnu tools provided with tornado. When i load the same application > > on the tornado host based shell using the same vxWorks image, i donot > > get this problem. > > This is a known problem on PowerPC when booting a target with a built-in > symbol table (vxWorks.st), but doesn't occur if you use the external > symbol table (vxWorks + vxWorks.sym). I think it is fixed if you install > the latest cumulative patch T2CP3 available from WindSurf, but I haven't > tried that yet myself. If you don't have T2CP3 installed then try it. > > - Andrew > -- > Every great idea appears crazy to start with. > Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: how does sigtimedwait get signal sent by mq_notify? Date: Tue, 19 Dec 2000 11:56:52 -0500 From: rwang Organization: Hughes Network Systems Message-ID: <3A3F9354.576C1A3D@hns.com> References: <3A3E1641.A84973F0@hns.com> <3A3F6505.B7AEF326@draeger.com> Hi, I tried it in this way. But I met another problem. The while (1) loop works fine if the sigtimedwait() get signal before time out expires. If time out expired, sigtimedwait( ) return -1(ERROR). It is correct. But at this time, that is sigtimedwait () returns -1, the next command, mq_notify( ) failed. Is it correct? If correct, does it mean that this mechanism only works fine when the sigtimedwait( ) get notified signal before time out expires? Thanks, Ran --------------------------- Newsgroups: comp.os.vxworks Subject: Re: pthreads Date: Tue, 19 Dec 2000 17:41:03 GMT From: Craig Vanderborgh Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: <3A3F9DAF.53B9DA00@voxware.com> References: <9122dd$pfh$1@nnrp1.deja.com> yeah, we've done that. The mapping from pthreads to VxWorks task_* et al. is pretty straightforward. The only thing missing is condition variables. They turned out to be kind of hard. You might also be able to use VxWorks semaphores, but we took a different approach. We used a msgQ and taskSuspend()/taskResume(), as follows: Int pthread_cond_init(pthread_cond_t * cond , const pthread_cond_attr_t * attr) /*---------------------------------------------------------------------------* * DESCRIPTION * Initialize a condition variable *---------------------------------------------------------------------------*/ { if (!cond) return PTHR_FAILURE; cond->defunct = TRUE; if ((cond->waitersMsgQ = msgQCreate(PTHR_MAX_WAITERS, sizeof(Int), MSG_Q_FIFO)) == NULL) return PTHR_FAILURE; cond->defunct = FALSE; return PTHR_SUCCESS; } Int pthread_cond_destroy(pthread_cond_t * cond) /*---------------------------------------------------------------------------* * DESCRIPTION * Destroy a condition variable *---------------------------------------------------------------------------*/ { Int tid; if (!cond) return PTHR_FAILURE; cond->defunct = TRUE; while (msgQNumMsgs(cond->waitersMsgQ) > 0) { if (msgQReceive(cond->waitersMsgQ, (char *)&tid, sizeof(Int), WAIT_FOREVER) == ERROR) { VBX_print("ERROR: pthread_cond_signal can't read waiter tid\n"); return PTHR_FAILURE; } if (taskResume(tid) == ERROR) { VBX_print("ERROR: pthread_cond_signal can't restart task %d\n", tid); return PTHR_FAILURE; } } if (msgQDelete(cond->waitersMsgQ) == ERROR) { VBX_print("ERROR: pthread_cond_destroy can't delete msgQ!\n"); return PTHR_FAILURE; } return PTHR_SUCCESS; } Int pthread_cond_wait(pthread_cond_t * cond , pthread_mutex_t * mutex) /*---------------------------------------------------------------------------* * DESCRIPTION * Wait on a condition variable *---------------------------------------------------------------------------*/ { Int tid, status; if (!cond || !mutex || cond->defunct) return PTHR_FAILURE; tid = taskIdSelf(); if (msgQSend(cond->waitersMsgQ, (char *) &tid, sizeof(Int), WAIT_FOREVER, MSG_PRI_NORMAL) == ERROR) { VBX_print("ERROR: pthread_cond_wait can't place taskId on waiters msgQ\n"); return PTHR_FAILURE; } if (pthread_mutex_unlock(mutex) != PTHR_SUCCESS) { VBX_print("ERROR: pthread_cond_wait can't unlock mutex %x\n", mutex); return PTHR_FAILURE; } if ((status = taskSuspend(tid)) != OK) { VBX_print("ERROR: pthread_cond_wait can't suspend task 5d\n", tid); return PTHR_FAILURE; } if (pthread_mutex_lock(mutex) != PTHR_SUCCESS) { VBX_print("ERROR: pthread_cond_wait can't reacquire mutex %x\n", mutex); return PTHR_FAILURE; } return PTHR_SUCCESS; } Int pthread_cond_timedwait(pthread_cond_t * cond , pthread_mutex_t * mutex, const struct timespec * abstime) /*---------------------------------------------------------------------------* * DESCRIPTION * Cop-out version of a timed condition variable wait *---------------------------------------------------------------------------*/ { Int tid, status; if (!cond || !mutex || !abstime) return PTHR_FAILURE; if (pthread_mutex_unlock(mutex) != PTHR_SUCCESS) { VBX_print("ERROR: pthread_cond_wait can't unlock mutex %x\n", mutex); return PTHR_FAILURE; } pthread_delay_np(abstime); if (pthread_mutex_lock(mutex) != PTHR_SUCCESS) { VBX_print("ERROR: pthread_cond_wait can't reacquire mutex %x\n", mutex); return PTHR_FAILURE; } return PTHR_SUCCESS; } Int pthread_cond_signal(pthread_cond_t * cond) /*---------------------------------------------------------------------------* * DESCRIPTION * Signal a condition variable *---------------------------------------------------------------------------*/ { Int tid, status; if (!cond || cond->defunct) return PTHR_FAILURE; if (msgQNumMsgs(cond->waitersMsgQ) > 0) { if (msgQReceive(cond->waitersMsgQ, (char *)&tid, sizeof(Int), WAIT_FOREVER) == ERROR) { VBX_print("ERROR: pthread_cond_signal can't read waiter tid\n"); return PTHR_FAILURE; } if (taskResume(tid) == ERROR) { VBX_print("ERROR: pthread_cond_signal can't restart task %d\n", tid); return PTHR_FAILURE; } } return PTHR_SUCCESS; } The rest of the implementation is very easy, so I won't bore you with the details. Happy Holidays! craig vanderborgh voxware incorporated cambridge, ma gandalf107@my-deja.com wrote: > > !!! HELP !!! > > has anybody ported the pthreads.h from linux to vxworks. > > greetings lars > > Sent via Deja.com http://www.deja.com/ > Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: FTP server Date: Tue, 19 Dec 2000 18:10:56 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <91o1k0$58$1@overload.lbl.gov> Sender: bpringlemeir@DeadDuck >>>>> "Charles" == Charles Johnson writes: [snip] Charles> may of the missing commands implemented. We couldn't use it Charles> directly due to the change in the calling convention to Charles> ftpdInit(). I was able to grab much of the commands that Charles> were not implemented in the old ftp server. There is also an updated header file in $(WIND_BASE)/target/unsupported/h as well as the source in $(WIND_BASE)/target/unsupported/src. I don't know if that would help you. The prototype for ftpdInit() is different in the two versions. hth, Bill - -- So, Reagan is a beast? Don't you realise that you have a source license? --------------------------- Newsgroups: comp.os.vxworks Subject: Re: flash memory and PPC8260 - Tornado launch shell is unable to see the 1st MB of FLASH memory Date: Tue, 19 Dec 2000 13:43:43 -0500 From: "Teik-Ming Goh" Organization: Nortel Message-ID: <91o9vl$3nd$1@bcarh8ab.ca.nortel.com> References: <91lsq4$db2$1@bcarh8ab.ca.nortel.com> <91o3sr$iat$1@newshost.mot.com> Michael Thank you for the response, I really appreciate it. First of all, flash memory is memory mapped to 0xFE00_0000 and the bootrom is put in starting address, 0xFe00_0000. Under Tornado launch shell, I can't see the 1st MB of flash memory(starting address: 0xFE00_0000). It appears as all F's. So, I tried to write data on it i.e. 1st MB of flash memory, eg. 0xFe00_0000. I succeed and able to see the written data @ 0xFE00_0000 using Tornado launch shell. Then, I used VisionICE to check the written data @ 0xFe00_0000, but, it is the bootrom exist in that location. Any suggestion? Thank you very much. Ming Michael Barker wrote in message news:91o3sr$iat$1@newshost.mot.com... > > Tornado launch shell is unable to see the 1st MB of FLASH memory (it > appears > > as all F's). > ... > > For the 1st MB of flash memory, I can still write data to it. The data is > > there when I check it using Tornado launch shell; > > Can you see the 1st MB of FLASH or not? > Are you saying you can see it only sometimes? > Keep in mind the 8260 BSP bootrom doesn't go into the first MB of FLASH. > > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: pthreads Date: Tue, 19 Dec 2000 19:07:06 +0000 From: molochai Message-ID: <61e37a2f4a%molochai@vapour-trail.demon.co.uk> References: <9122dd$pfh$1@nnrp1.deja.com> <3A3F9DAF.53B9DA00@voxware.com> In message <3A3F9DAF.53B9DA00@voxware.com> Craig Vanderborgh wrote: > yeah, we've done that. The mapping from pthreads to VxWorks task_* et al. > is pretty straightforward. The only thing missing is condition variables. > They turned out to be kind of hard. You might also be able to use > VxWorks semaphores, but we took a different approach. We used a msgQ and > taskSuspend()/taskResume(), as follows: [snip] Interesting. Anybody got any experience of going the other way - eg. building a compatibility layer to simulate (some of) the API of the VxWorks kernel on other platforms on which pthreads can be run? --------------------------- Newsgroups: comp.os.vxworks Subject: Motorola MPC860T Fast Ethernet Controller MII Device Driver for VxWorks Date: Tue, 19 Dec 2000 13:30:41 -0500 From: "Patrick T. Pinkowski" Organization: Lawrence Berkeley National Laboratory Message-ID: <91oc5h$ci1$1@overload.lbl.gov> Does anyone have an ethernet device driver for VxWorks 5.4 (SENS) and the MPC860T Fast Ethernet Controller (FEC) with the MII (Media Independant Interface). Thanks in advance, Pat - -- - -------------------------------------------------- /\ Patrick T. Pinkowski, Senior Engineer /##\ ptp@mclean.sparta.com /####\ 703.448.1683 x228 /####/-- /####/---- SPARTA, Inc. -\####\__--- 7926 Jones Branch Drive, Suite 900 - ---\##\ /---- McLean, Virginia 22102 - ----\##\/\---- (703)448-0210 (Main) ----\####\-- (703)893-5494 (Facsimile) ----\####/ http://www.mclean.sparta.com ---/###/ -/###/ SPARTA \##/ ~~~~~~ \/ Pride In Performance --------------------------- Newsgroups: comp.os.vxworks Subject: Re: How to set default directory of FTP server? Date: Tue, 19 Dec 2000 20:11:01 +0000 From: Kees van der Bent Organization: Software Feastures Message-ID: <3A3FC0D5.607BE19B@mail.com> References: <3A3F6EB5.9B53D7A7@mail.com> Kees van der Bent wrote: > Hi, > > I need to send files to a RAMdisk on my target using FTP. Is there > a way to have the default directory of the VxWorks ftp server > point to my RAMdisk? Are there any other things I should be > aware of when setting this up? I found out myself already, it's ioDefPathSet(). --------------------------- Newsgroups: comp.os.vxworks Subject: Drivers for 146818A RTC Date: Tue, 19 Dec 2000 20:35:40 +0100 From: Patrick Deiber Organization: PatDB Message-ID: <3A3FB88C.E7321AA1@wanadoo.fr> Reply-To: patrick.deiber@wanadoo.fr Hi, I search a driver for the 146818A Real-Time Clock. Anyone can tell me where can I find this driver ? TIA - -- - ------------------------------------------------------------------ Mail : patrick.deiber@wanadoo.fr patrick@deiber.org Web : http://www.deiber.org - ------------------------------------------------------------------ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: How to set default directory of FTP server? Date: Tue, 19 Dec 2000 19:29:03 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <3A3F6EB5.9B53D7A7@mail.com> <3A3FC0D5.607BE19B@mail.com> Sender: bpringlemeir@DeadDuck >>>>> "Kees" == Kees van der Bent writes: Kees> I found out myself already, it's ioDefPathSet(). Sorry, I missed your message. I already knew that; there are other methods in the dosFs FTP code. I wonder if Johan Borkhuis would like to add something about FTP servers to the FAQ? 1) There is a better FTP server with dosFs. 2) There are include files as well. 3) Methods for setting user and default directories. After this, even flakey GUI window clients seem to work. fwiw, Bill - -- If zumfing could work, would the Universe, U for Uniform, be baby? --------------------------- Newsgroups: comp.os.vxworks Subject: z85230 synchronous port Date: Tue, 19 Dec 2000 12:44:24 -0700 From: "Ross Newton" Organization: Raytheon Company Message-ID: Does anyone have or know where I can find a BSP for the z85230 synchronous serial port. I'm using the mvme2700 and VxWorks 5.4. Thanks for any help, Ross --------------------------- Newsgroups: comp.os.vxworks Subject: Re: pthreads Date: Tue, 19 Dec 2000 14:07:56 -0600 From: Andrew Johnson Organization: APS, Argonne National Laboratory Message-ID: <3A3FC01C.72386178@aps.anl.gov> References: <9122dd$pfh$1@nnrp1.deja.com> <3A3F9DAF.53B9DA00@voxware.com> <61e37a2f4a%molochai@vapour-trail.demon.co.uk> molochai wrote: > > [snip] Interesting. Anybody got any experience of going the other way - eg. > building a compatibility layer to simulate (some of) the API of the VxWorks > kernel on other platforms on which pthreads can be run? Check out http://www.mvista.com - they've recently published a white paper that discusses this and the problems and differences between the two APIs. - - Andrew - -- Every great idea appears crazy to start with. --------------------------- Newsgroups: comp.os.vxworks Subject: RE: FTP server Date: Tue, 19 Dec 2000 11:19:47 -0800 From: Charles Johnson Organization: Lawrence Berkeley National Laboratory Message-ID: <91ofm0$dqg$1@overload.lbl.gov> I ment "does NOT implement many of the commands that most would expect." -----Original Message----- From: vxwexplo@lbl.gov [mailto:vxwexplo@lbl.gov] Sent: Tuesday, December 19, 2000 8:12 AM To: vxworks_users@csg.lbl.gov Subject: RE: FTP server Submitted-by vxwexplo-errs@csg.lbl.gov Tue Dec 19 08:04:55 2000 Submitted-by: Charles Johnson The standard VxWorks FTP server is very limited and does implement many of the commands that most would expect. As part of the dosFs2.0 patch, there was this unsupported version of the FTP server (Tornado\target\unsupported\src\netwrs\ftpLib.c) which had may of the missing commands implemented. We couldn't use it directly due to the change in the calling convention to ftpdInit(). I was able to grab much of the commands that were not implemented in the old ftp server. --Charles Johnson Oresis Communications, Inc. -----Original Message----- From: vxwexplo@lbl.gov [mailto:vxwexplo@lbl.gov] Sent: Tuesday, December 19, 2000 6:12 AM To: vxworks_users@csg.lbl.gov Subject: FTP server Submitted-by vxwexplo-errs@csg.lbl.gov Tue Dec 19 05:56:28 2000 Submitted-by: f.pertin@staubli.com Hello VXWORKS and TORNADO guru, I include FTP server in my x86 target (my application need it). It works well except that I am not able to create directory to my local disk from a ftp connection (mkdir command from FTP prompt). I get the error: "500 Command not recognized' Please not that I am able to create directory from tornado shell so the problem comes from FTP server. Does anybody know a patch or a work around ?? Thanks a lot in advance .... Francois ********** This is a user group mailing list for vxWorks related topics see http://csg.lbl.gov/vxworks for posting and other info ********** This is a user group mailing list for vxWorks related topics see http://csg.lbl.gov/vxworks for posting and other info --------------------------- Newsgroups: comp.os.vxworks Subject: tornado Date: Tue, 19 Dec 2000 15:17:51 -0500 From: "Heyman, R Gary" Organization: Lawrence Berkeley National Laboratory Message-ID: <91oj6g$fpd$1@overload.lbl.gov> VXWORKS and TORNADO users: We have recently upgraded to Tornado 2.0. I am trying to > get WindView traces, but it appears that the way we used > to do it (under Tornado 1.0.1) is not longer the way to set it up. I have tried to go by the manuals, but the manuals suggest to > use functions that don't seem to exist (wvOn(), wvOff(), etc). > Under Tornado 1.0.1, we used to include INCLUDE_WINDVIEW into > the kernel configuration. to log a trace, we then included the following > into our code: > > ************************************************************************* > #include > #include > > void main() > { > ... {initialization code} > > // enable the WindView logging > wvHostInfoInit("172.16.11.148",8004); > wvEvtLogEnable(2); > > ... {other code} > > // disable WindView logging > wvEvtLogDisable(); > > } > ************************************************************************* > > on the host (which, for us, was a SUN), we used to start the > logging thread: > -> evtRecv -p 8004 > This would store the event trace. How do we do all this under Tornado 2.0??? should we be using the > wvOn() and wvOff()?? or the wvEvtLogInit(), wvEvtLogStart(), and > wvEvtLogStop()?? also, how do we define the IP and port# for the > host that is collecting the log? > Thanks... --------------------------- Newsgroups: comp.os.vxworks Subject: Tools and OS ?? Date: Tue, 19 Dec 2000 15:30:45 -0500 From: Derek Lee Organization: Pliant Systems Inc. Message-ID: <3A3FC575.8DBB9BDF@pliantsystems.com> Hello, I have recently been studying an embedded system /real time operating system text book inorder to enter the field of embedded systems programming. I have some simple questions to start. VxWorks is actually a Real time embedded OS correct? Tornado developement tools is basically a compiler / IDE for developing in VxWorks right? Lastly, I was at WindRivers web site and saw that there were various tools for developemnet. What is the difference between the Tornado developement tools and the Embedded developement tools? Any help to clearify is appreciated thanks - -- - ------------------------------------------------------------------ ||||||| | ||||||| | ||||| | || | -' |--- ---| .- | PLIANT SYSTEMS Inc. || | Derek Lee ||||| | dlee@pliantsystems.com ||||||| | ||||||| ||||| - ------------------------------------------------------------------ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Can LD from Shell but not ehen WDB enables?? Date: 19 Dec 2000 21:31:45 GMT From: Johan Borkhuis Organization: Lucent Technologies, Nieuwegein NL Message-ID: <91ok41$cmo$1@news1.xs4all.nl> References: <91m4jk$huq$1@nnrp1.deja.com> <91nahe$5oe$1@news1.xs4all.nl> <91nrkb$rlb$1@nnrp1.deja.com> Wilhelm Duembeg wrote: : If I just do "ld < /usr/my/bsp/app.ilf" the it does download the app : but it does so over serial SLOW!!! to slow for me over 10 min. Try "@ld" instead of "ld" in the above command. Groeten, Johan - -- o o o o o o o . . . ______________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@lucent.com | >(________|__|_[_________]_|___________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Motorola MPC860T Fast Ethernet Controller MII Device Driver for VxWorks Date: 19 Dec 2000 21:36:50 GMT From: Johan Borkhuis Organization: Lucent Technologies, Nieuwegein NL Message-ID: <91okdi$cmo$2@news1.xs4all.nl> References: <91oc5h$ci1$1@overload.lbl.gov> Patrick T. Pinkowski wrote: : Does anyone have an ethernet device driver for VxWorks 5.4 (SENS) and : the MPC860T Fast Ethernet Controller (FEC) with the MII (Media : Independant Interface). It is part of the FADS860 BSP, and probably of the library. Look for motfec functions in the manuals. Groeten, Johan - -- o o o o o o o . . . ______________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@lucent.com | >(________|__|_[_________]_|___________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: Re: How to set default directory of FTP server? Date: 19 Dec 2000 21:41:10 GMT From: Johan Borkhuis Organization: Lucent Technologies, Nieuwegein NL Message-ID: <91oklm$cmo$3@news1.xs4all.nl> References: <3A3F6EB5.9B53D7A7@mail.com> <3A3FC0D5.607BE19B@mail.com> Bill Pringlemeir wrote: : Sorry, I missed your message. I already knew that; there are other : methods in the dosFs FTP code. I wonder if Johan Borkhuis would like : to add something about FTP servers to the FAQ? : 1) There is a better FTP server with dosFs. : 2) There are include files as well. : 3) Methods for setting user and default directories. Yes, no problem. If you can provide the text for this I can add it right away. I did write some of the answers in the FAQ, but most of them are just copies of articles from this newsgroup. So if you have suggestions for the FAQ (not only about FTP, but all subjects), just send me an email and I will add it to the FAQ Groeten, Johan - -- o o o o o o o . . . ______________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@lucent.com | >(________|__|_[_________]_|___________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: Mixing C and C++ code in vxworks Date: Tue, 19 Dec 2000 15:20:59 -0800 From: Pradosh Mohapatra Organization: Lawrence Berkeley National Laboratory Message-ID: <91oto0$rar$1@overload.lbl.gov> Hi, I have a problem mixing C and C++ code in vxworks. I have a C function that expects void * as one of its parameters. In my C++ codebase, I have an abstract base class A, and some derived classes B, C, and D. I have a pointer to the derived class B, which I allocate and then pass that to the C function. Inside the C function, I typecast the void * parameter to A *, the base class pointer. The problem is, when I try to call any virtual function (that is declared in the abstract base class A and defined in all derived classes B, C, and D), it somehow calls A's routine and gives me an error "Task called pure virtual function for which there is no definition" Has anybody faced this problem? Any kind of hint as to how to go about it will be appreciated. Thanks and Regards, Pradosh --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Realtime ORB Date: Wed, 20 Dec 2000 00:14:50 GMT From: sam_snmp@my-deja.com Organization: Deja.com Message-ID: <91otlk$r81$1@nnrp1.deja.com> References: <91e66d$nc1$1@nnrp1.deja.com> Have you had a look at Highlander? http://www.highlander.com/products/vxworks.html Cheers, Sam> In article <91e66d$nc1$1@nnrp1.deja.com>, jayantadas@my-deja.com wrote: > Hi, > > Any help as to what are the commercially available ORBs out there that > support PPC target as well as VxSim (in solaris) will be very helpful. > > Thanks. > > Sent via Deja.com > http://www.deja.com/ > Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: booting vxworks Date: Tue, 19 Dec 2000 18:05:35 -0700 From: hari Message-ID: <3A4005DF.CC02A021@hotmail.com> Reply-To: kanigeri@hotmail.com This is a multi-part message in MIME format. - --------------F71B88020C05FD1E901FB8BB Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hi when i am trying to boot vxworks image through my host(windows95) to the target mtx603, it is displaying " loading ...60712" and getting stuck. I am using the following information in hyperterminal. Can you please tell me where am i going wrong. I am attaching the log file of ftp. thank you hari VxWorks System Boot Copyright 1984-1996 Wind River Systems, Inc. CPU: Motorola MTX - MPC 603p Version: 5.3.1 BSP version: 1.1/2 Creation date: Apr 2 1998, 09:21:56 Press any key to stop auto-boot... 5 [VxWorks Boot]: @ boot device : dc processor number : 0 host name : U.S.U..usu.edu file name : c:\tornado\target\config\mtx603\vxWorks inet on ethernet (e) : 129.123.4.127:ffffff00 host inet (h) : 129.123.4.237 user (u) : sl149 ftp password (pw) : goud flags (f) : 0x0 target name (tn) : tornado Attaching network interface dc0... done. Attaching network interface lo0... done. Loading... 670192 - --------------F71B88020C05FD1E901FB8BB Content-Type: text/plain; charset=us-ascii; name="h1.ftp" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="h1.ftp" [L 0080] 12/19/00 12:16:40 Connection accepted from 129.123.4.127 [C 0080] 12/19/00 12:16:40 Command "USER sl149" received [C 0080] 12/19/00 12:16:40 PASSword accepted [L 0080] 12/19/00 12:16:40 User sl149 logged in. [C 0080] 12/19/00 12:16:40 Command "TYPE I" received [C 0080] 12/19/00 12:16:40 TYPE set to I N [C 0080] 12/19/00 12:16:40 Command "PORT 129,123,4,127,4,1" received [C 0080] 12/19/00 12:16:40 PORT set to 129.123.4.127 - 1025 (4,1) [C 0080] 12/19/00 12:16:40 Command "RETR c:\tornado\target\config\mtx603\vxWorks" received [C 0080] 12/19/00 12:16:40 RETRieve started on file c:\tornado\target\config\mtx603\vxWorks [C 0080] 12/19/00 12:16:52 Transfer aborted [G 0080] 12/19/00 12:16:52 Got file c:\tornado\target\config\mtx603\vxWorks unsuccessfully [! 0080] 12/19/00 12:16:52 Timeout while sending data [C 0080] 12/19/00 12:16:52 QUIT or close - user sl149 logged out - --------------F71B88020C05FD1E901FB8BB-- --------------------------- Newsgroups: comp.os.vxworks Subject: Re: flash memory and PPC8260 - Tornado launch shell is unable to see the 1st MB of FLASH memory Date: Wed, 20 Dec 2000 02:37:22 GMT From: Karen Musgrove & Stephane Couture Organization: Sympatico Message-ID: <3A401DB9.D70B0775@nospamsympatico.ca> References: <91lsq4$db2$1@bcarh8ab.ca.nortel.com> <91o3sr$iat$1@newshost.mot.com> <91o9vl$3nd$1@bcarh8ab.ca.nortel.com> Look at the setup for the DBAT/IBAT? You will find it in sysLib.c. If you only use the Page Table Entry, disable the DBAT/IBAT by writing 0 to them. Teik-Ming Goh wrote: > Michael > > Thank you for the response, I really appreciate it. > > First of all, flash memory is memory mapped to 0xFE00_0000 and the bootrom > is put in starting address, 0xFe00_0000. Under Tornado launch shell, I > can't see the 1st MB of flash memory(starting address: 0xFE00_0000). It > appears as all F's. So, I tried to write data on it i.e. 1st MB of flash > memory, eg. 0xFe00_0000. I succeed and able to see the written data @ > 0xFE00_0000 using Tornado launch shell. Then, I used VisionICE to check the > written data @ 0xFe00_0000, but, it is the bootrom exist in that location. > > Any suggestion? Thank you very much. > > Ming > > Michael Barker wrote in message > news:91o3sr$iat$1@newshost.mot.com... > > > Tornado launch shell is unable to see the 1st MB of FLASH memory (it > > appears > > > as all F's). > > ... > > > For the 1st MB of flash memory, I can still write data to it. The data > is > > > there when I check it using Tornado launch shell; > > > > Can you see the 1st MB of FLASH or not? > > Are you saying you can see it only sometimes? > > Keep in mind the 8260 BSP bootrom doesn't go into the first MB of FLASH. > > > > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxVMI question ... Date: Wed, 20 Dec 2000 03:50:59 GMT From: Pierre Frigon Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: <3A402C8B.7F8C2DFE@yahoo.com> References: <3A3F7D6F.7CE16F83@alcatel.be> Based on your question I beleive that you are missing something fondamental about virtual memory usage. There is a whole section in the vxWorks programmer's guide on the subject. It will look painful but you must understand the principles involved. As an alternative you could enquire about the new version of vxWorks (I think they cal it vxWorks AE). The memory protection features are much more sophisticated and might be easier for you to get your hands around it. Ronny Meeus wrote: > Hello, > > I'm currently studying VxVMI. > What I want to do is to make parts of the memory > private to applications tasks, but keep the virtual > address equal to the physical address. > > If I understood it well, the board starts with a default > mapping for the full memory. (virtual address is > equal to physical address). > > It possible for an application to create a virtual > memory context, and map a physical page into its > own context but then a different virtual address > has to be specified. > > This is not what I want, I want to keep the mapping > the same (virtual address equal to physical) , > it this possible ? and how ? > > If it is not possible, is there another way to achieve > the same goal ? > > Thanks, > > Ronny Meeus --------------------------- Newsgroups: comp.os.vxworks Subject: Re: PJworks and Swing components: is it possible? Date: Wed, 20 Dec 2000 07:22:17 GMT From: VxWorks User Organization: Somewhere is the Earth Message-ID: <3A405E27.10B3EF98@nowhere.com> References: <91nnvq$osk$1@fe1.cs.interbusiness.it> The current Personal JWorks (3.0 & 3.0.2) does not support Swing officially. That's why you see that error about not finding the Swing class. Romano Signorelli wrote: > > Hello, > I'm trying to develop a PersonalJava application using Borland JBuilder. > I'm using sun's PJava emulation environment 3.0.2 (as it is compatible with > PJWorks) to test my (for now simple) application. > > The first big problem encoutered is this error message: > Can't find class [myclassname] > because of Exception in thread "main" java.lang.NoClassDefFoundError: > javax/swing/JFrame > > Running the application using java.exe it runs well. > > Is it possible to use Swing components in VxWorks PJWorks? If so, how can I > do it? > > Additional question: shell I use JDBC tecnology in PJWorks? > > Thanks in advance, bye > Romano Signorelli --------------------------- Newsgroups: comp.os.vxworks Subject: re: bootp port numbers Date: Wed, 20 Dec 2000 08:26:55 GMT From: jeremy_dexter@my-deja.com Organization: Deja.com Message-ID: <91pqgc$h6m$1@nnrp1.deja.com> References: <200012191712.RAA27660@dsl-2.tadpole.co.uk> David, Thanks for the reply! > The body of the code uses the global variables 'dhcpc_port' and 'dhcps_port'. > (The dhcp client, dhcp server, dhcp relay and bootp all use the same ones!) > These appear to only be present if you use INCLUDE_DHCPC to include the dhcp client code - I found no reference to these variables in the bootpLib.o file (which contains the bootp client), but they are present in dhcpcBootLib.o, for example. I will look into whether we can change our system to boot using DHCP rather than BOOTP. I did do a test using DHCP and setting the port numbers using the DHCPC_xPORT defines, but the DHCP message it sent on bootup crashed our DHCP server :-( Something is a bit fishy there. Regards Jeremy Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: debug 2 tasks Date: 20 Dec 2000 08:51:02 GMT From: slava@qualcomm.com (Izoslav Tchigevsky) Organization: Qualcomm Israel Message-ID: References: <91m4qq$2cei$1@news5.isdnet.net> <91naon$5oe$2@news1.xs4all.nl> Johan Borkhuis wrote in <91naon$5oe$2@news1.xs4all.nl>: >JJS wrote: >: Is it possible to debug maintask() and put a break at entry point of >: task1()? This breakpoint is bypassed after taskSpawn(). >: I have tried it with two Tornado but without success. This must be >: possible but what am I doing wrong? > >Try setting the breakpoint on the first executed statement in the >function. You should toggle "Global breakpoint" (in Tornado menu "Debug->Toggle Global Breakpoint" or Shift-F9. Then task that arrives to placement of such log point will be suspended. You may detach from previous task, attach to this one and continue debugging. Be preparied: you'll need a lot of luck and patience to use Tornado Debugger. > >Groeten, > Johan > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Realtime ORB Date: Wed, 20 Dec 2000 08:56:25 GMT From: albert.wijnja@meco.nl Organization: Deja.com Message-ID: <91ps7p$ich$1@nnrp1.deja.com> References: <91e66d$nc1$1@nnrp1.deja.com> <91otlk$r81$1@nnrp1.deja.com> Hi, We use ACE/TAO and have good results sofar. See http://www.cs.wustl.edu/~schmidt/corba.html Its an open source CORBA implementation with good support via the ACE/TAO community. Albert Wijnja In article <91otlk$r81$1@nnrp1.deja.com>, sam_snmp@my-deja.com wrote: > Have you had a look at Highlander? > http://www.highlander.com/products/vxworks.html > Cheers, > Sam> > > In article <91e66d$nc1$1@nnrp1.deja.com>, > jayantadas@my-deja.com wrote: > > Hi, > > > > Any help as to what are the commercially available ORBs out there that > > support PPC target as well as VxSim (in solaris) will be very helpful. > > > > Thanks. > > > > Sent via Deja.com > > http://www.deja.com/ > > > > Sent via Deja.com > http://www.deja.com/ > Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxVMI question ... Date: Wed, 20 Dec 2000 12:09:09 +0100 From: Ronny Meeus Organization: Alcatel Message-ID: <3A409355.9B979D63@alcatel.be> References: <3A3F7D6F.7CE16F83@alcatel.be> <3A402C8B.7F8C2DFE@yahoo.com> Pierre, what I want to achieve is that the memory of a certain task is protected against corruption by other tasks and this in a flat memory model (= only one address space is used). In this way it is possible to investigate after a crash what the content of the memory is without support of the MMU (the physical memory can be accessed after a crash directly and the pointers are still valid, they don't point to a not existing virtual address) I know that this is not the real purpose of virtual memory management but by using the VMI kit I thought it would be much easier to reach my goal. The Advanced Edition is not an option, since: + it is only in a beta state (and the final release is already delayed once) + it uses protection domains which are comparable to processes (MMU needed to access the memory). In this model it is certainly not supported that a pointer is unique in the full system, but only in one protection domain. I already read the chapter in the programmer's guide, but be reading that it is not clear for me whether the mode in which we want to use it is supported. (I think it is not possible) That's why I asked the opinion of people in this discussion group. Pierre Frigon wrote: > Based on your question I beleive that you are missing something > fondamental about virtual memory usage. There is a whole section in the > vxWorks programmer's guide on the subject. It will look painful but you > must understand the principles involved. As an alternative you could > enquire about the new version of vxWorks (I think they cal it vxWorks > AE). The memory protection features are much more sophisticated and > might be easier for you to get your hands around it. > > Ronny Meeus wrote: > > > Hello, > > > > I'm currently studying VxVMI. > > What I want to do is to make parts of the memory > > private to applications tasks, but keep the virtual > > address equal to the physical address. > > > > If I understood it well, the board starts with a default > > mapping for the full memory. (virtual address is > > equal to physical address). > > > > It possible for an application to create a virtual > > memory context, and map a physical page into its > > own context but then a different virtual address > > has to be specified. > > > > This is not what I want, I want to keep the mapping > > the same (virtual address equal to physical) , > > it this possible ? and how ? > > > > If it is not possible, is there another way to achieve > > the same goal ? > > > > Thanks, > > > > Ronny Meeus --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Backplane Sockets Communication and Task Priority Conflict Date: Tue, 19 Dec 2000 15:25:51 +0200 From: "Alex" Organization: NetVision Israel Message-ID: <91nnk8$kle$1@news.netvision.net.il> References: <3A3A0310.26C07E8E@gecm.com> The TCP/IP stack is driven by a task named "tNetTask", which runs at priority 50 by default. My guess will be that since the blocking task runs at priority 105, your problem is probably not with the stack mechanism (tNetTask), but with the client application or the driver's mode of operation. If playing with priorities (e.g. move the tight loop to priority 254 as you did) does not help, try: 1) Enabling round-robin scheduling (with kernelTimeSlice(1)), and/or 2) Check whether you use the driver in polling mode; I have been told that this might cause scheduling anomalies. In general, if your tasks are properly prioritised and you use your sockets in blocking mode, there should be no problem. If your problem persists, please give some more information on what your application is doing. Cheers, Alex. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Problem about TCP socket Date: Tue, 19 Dec 2000 15:30:16 +0200 From: "Alex" Organization: NetVision Israel Message-ID: <91nnsf$knk$1@news.netvision.net.il> References: <91buld$ssg$1@nnrp1.deja.com> Open your project's VxWorks tab (bottom of window). Then: VxWorks* => network components => networking protocols => core TCP/IP components => BSD SOCKET => (right-click, properties). See NUM_FILES. wrote in message news:91buld$ssg$1@nnrp1.deja.com... > How many TCP sockets can be opened simultaneously? > > > ellin > > > Sent via Deja.com > http://www.deja.com/ --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Wed Dec 20 05:50:31 2000 From: Gary LeVan Date: Wed Dec 20 05:50:33 PST 2000 Subject: RE: FTP server Hello Francois... Try this. At the ftp prompt change the directory to the target directory using the 'cd' command. Then create the new subdirectory. Also, don't use quotes. Good luck, hope this helps. VxWorks. -----Original Message----- From: the vxWorks Users Group Exploder [SMTP:vxwexplo@lbl.gov] Sent: Tuesday, December 19, 2000 9:12 AM To: vxworks_users@csg.lbl.gov Subject: FTP server Submitted-by vxwexplo-errs@csg.lbl.gov Tue Dec 19 05:56:28 2000 Submitted-by: f.pertin@staubli.com Hello VXWORKS and TORNADO guru, I include FTP server in my x86 target (my application need it). It works well except that I am not able to create directory to my local disk from a ftp connection (mkdir command from FTP prompt). I get the error: "500 Command not recognized' Please not that I am able to create directory from tornado shell so the problem comes from FTP server. Does anybody know a patch or a work around ?? Thanks a lot in advance .... Francois From vxwexplo-errs@csg.lbl.gov Wed Dec 20 06:50:31 2000 From: "Ben Kelly" Date: Wed Dec 20 06:50:33 PST 2000 Subject: RE: Mixing C and C++ code in vxworks I do not believe you can mix and match the two languages in this way. The C compiler does not know anything about the vtbl that is generated for polymorphic classes. In fact, I'm surprised your C compiler allowed you to reference a class at all. I believe what you really want to do is write your C function in C++. You can then compile it with C bindings and link it with the rest of your program. For example, if your function is called foobar() the code would look like: extern "C" void foobar(void *arg); void foobar(void *arg) { A *aPtr = static_cast(arg); // use the pointer to A.... } The extern "C" is what causes the function to be compiled with C bindings. This is also usefull for calling C++ functions from the VxWorks target shell. If you do the above and still get the error there are a few more things that could cause it. Make sure you declare and define a virtual destructor for class A. Also make sure the constructor/destructor for class A do not call any virtual methods. Since the object is not fully constructed at this point the vtbl will be pointing to A's implementation of the methods (even if it does not exist, like in the case of pure virtual methods). I hope that helps. - Ben > Hi, > I have a problem mixing C and C++ code in vxworks. I have a C > function that > expects void * as one of its parameters. In my C++ codebase, I have an > abstract base class A, and some derived classes B, C, and D. I have a > pointer to the derived class B, which I allocate and then pass > that to the C > function. > Inside the C function, I typecast the void * parameter to A *, the base > class pointer. The problem is, when I try to call any virtual > function (that > is declared in the abstract base class A and defined in all > derived classes > B, C, and D), it somehow calls A's routine and gives me an error > "Task called pure virtual function for which there is no definition" > > Has anybody faced this problem? Any kind of hint as to how to go about it > will be appreciated. > > Thanks and Regards, > Pradosh From vxwexplo-errs@csg.lbl.gov Wed Dec 20 12:03:41 2000 From: Bill Brown Date: Wed Dec 20 12:03:43 PST 2000 Subject: vxWorks Exploder Administration Every year LBNL shuts down over the Christmas/New Year holidays. Therefore today, 12/20/2000, will be the last day we'll be able to take of any administrative tasks until 1/2/2001 at the earliest. This includes requests for additions to and removal from the mailing list, which are done manually. Since our first priority will be to get the machine (Advanced Light Source) up and running, it may take us a couple of days to get caught on list administration. We expect the servers which support the vxWorks exploder to stay up during this period, assuming that we don't run out of electricity during the holidays. Best wishes to all, -bill From vxwexplo-errs@csg.lbl.gov Thu Dec 21 01:23:49 2000 From: Fiederling.Ulf@dornier.dasa.de Date: Thu Dec 21 01:23:52 PST 2000 Subject: Performance Problems Hi All We are porting a software package with a huge amount of floationg point operations and trigonometical calculations from NT to VxWorks. Unfortunately we have a performance difference between NT and VxWorks, performance under VxWorks is reduced by factor 2 (Tornado II, Target: Pentium). We assume the problem is located in the math library. Does anyone have a solution? Thanks Ulf Fiederling Dornier Dasa Gmbh, Germany From vxwexplo-errs@csg.lbl.gov Thu Dec 21 04:03:09 2000 From: Vxworks Exploder Date: Thu Dec 21 04:03:11 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Thu Dec 21 04:03:05 PST 2000 Subject: Re: It is possible to kinda simulate cc386 Subject: Re: Tools and OS ?? Subject: DHCP Client Subject: Re: boot pc486 over network- update Subject: RE: FTP server Subject: FTP server Subject: RE: Mixing C and C++ code in vxworks Subject: Real-Time software tutorial Subject: tffs Subject: Re: debug 2 tasks Subject: Re: postscript printing Subject: Re: tffs Subject: Re: VxWorks vs. Linux Subject: vxWorks Exploder Administration Subject: Re: tffs Subject: memPartFree: invalid block - purify'er needed Subject: Usage of CPU Subject: C++ in VxWorks - is it recommended Subject: VxWorks vs. Linux Subject: Re: Can't send correct data when using octet string with snmpv1 Subject: changing directory to a ramdisk in tornado shell Subject: flashing bootrom Subject: Re: C++ in VxWorks - is it recommended Subject: Re: Multi processors in VxWorks Subject: Re: boot pc486 over network- update Subject: Re: flash memory and PPC8260 - Tornado launch shell is unable to see the 1st MB of FLASH memory Subject: postscript printing Subject: dhcp client Subject: Multi processors in VxWorks Subject: targetshell vs windshell Subject: Re: VxWorks vs. Linux Subject: Getting Stack Traces Subject: timerLib calls don't work on VxWorks Simulator. Subject: Re: targetshell vs windshell Subject: OpenSSL on VxWorks? Subject: Re: flashing bootrom Subject: Performance Problems ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Re: It is possible to kinda simulate cc386 Date: Wed, 20 Dec 2000 07:26:41 -0500 From: Joe Durusau Message-ID: <3A40A581.E05AD32C@bellsouth.net> References: <91mjkl$u9l$1@nnrp1.deja.com> The cc386 that comes with Tornado is gcc. However, putting vxWorks on your old systems requires a license for each one. At one time, it was about $2K per target, but WRS could advise you of the exact charge. There will also be a license charge for the bootrom (per target) and you will have to pay for a tornado license for your hobby. (Tornado is usually licensed for a single project) If you talk to them, the sales folk may be willing to make a deal, then they may not. Speaking only for myself, Joe Durusau wv12@my-deja.com wrote: > > Hi > Is it possible to build gcc in such a way that you can get it > to generate the same code and binary formats (bootrom) as cc386 from > WindRiver. Reason I ask is that i got a few old 486s laying around, and > I would like to put VxWorks on them, just for my education. > Thank you > Will > > Sent via Deja.com > http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Tools and OS ?? Date: Wed, 20 Dec 2000 07:30:53 -0500 From: Joe Durusau Message-ID: <3A40A67D.5D24EDF0@bellsouth.net> References: <3A3FC575.8DBB9BDF@pliantsystems.com> Looseley speaking , yes to both your questions. Embedded tools usually refers to the stuff inside vxWorks that allows such things as monitoring behavior of tasks, tracking stack usage, etc, etc while a program is running on the target. Terms like this a re marketing terms, and can be used any way the slaes rep wishes, so long as the probability of a sale is increased. Note for the record the difference between a used car salesman and a computer software salesman: the used car salesman KNOWS when he is lying. Speaking only for myself, Joe Durusau Derek Lee wrote: > > Hello, > I have recently been studying an embedded system /real time operating system > text book inorder to enter the field of embedded systems programming. I have > some simple questions to start. > > VxWorks is actually a Real time embedded OS correct? > Tornado developement tools is basically a compiler / IDE for developing in > VxWorks right? > Lastly, I was at WindRivers web site and saw that there were various tools for > developemnet. What is the difference between the Tornado developement tools and > the Embedded developement tools? > > Any help to clearify is appreciated > thanks > > -- > ------------------------------------------------------------------ > ||||||| > | ||||||| > | ||||| > | || > | -' > |--- > ---| > .- | PLIANT SYSTEMS Inc. > || | Derek Lee > ||||| | dlee@pliantsystems.com > ||||||| | > ||||||| > ||||| > ------------------------------------------------------------------ --------------------------- Newsgroups: comp.os.vxworks Subject: DHCP Client Date: Wed, 20 Dec 2000 14:27:35 +0100 From: "Delsol Thomas(chez Tekelec Temex Telecom)" Organization: Tekelec Temex Telecom (http://www.temex-telecom.com) Message-ID: <3A40B3C7.6609CEC7@temex.fr> Reply-To: thomas.delsol@temex.fr Hello, I have realize a END soft driver for my application but I don't want fix the IP address. I want to install a DHCP client for assign an IP adress. I boot with a FEI END driver then I attach my END driver and I start it. However,it don't make requests for obtain an Ip address. I have include the DHCP runtime client in my workspace. Does anybody know how do it? Thanks a lot in advance .... Tom. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: boot pc486 over network- update Date: Wed, 20 Dec 2000 13:48:06 -0000 From: "Kelvin Lawson" Message-ID: <91qda6$4na0m$1@ID-56276.news.dfncis.de> References: <91li2f$45$1@nnrp1.deja.com> Your IO address is 0x300 in DOS, and 0x320 in VxWorks. wrote in message news:91li2f$45$1@nnrp1.deja.com... > I am at an impasse. The hardware is an Ampro PC104 4Ge board (pc486). > The host is a PC running NT 4.0. The software is the Tornado II BSP for > pc486. config.h has been modified with the following: > #define INCLUDE_ESMC > #define INCLUDE_NETWORK (preceeds #include configAll.h) > #undef INCLUDE_END > #define IO_ADRS_ESMC 0x320 (default for SMC9000) > #define INT_LVL_ESMC 0x2 (default for SMC9000) > #define DEFAULT_BOOT_LINE \ > "esmc(0,0)DRH2588LAB:vxworks h=140.102.48.90 e=140.102.48.58 u=r048058 > pw=target " > > The function ftpXfer which is invoked in bootConfig.c returns the error > 0xd0003. In short, there is no observable communication between the > host and target. It takes ftpXfer about 30 seconds before it returns > the error. > > I believe that the driver that is being included when I build the "boot > rom" is either the wrong one or is being improperly configured. Here is > why: > > 1. I have pinged the PC104 board with DOS running. It worked! The > driver I used was off of the Ampro Ethernet Driver Disc1, and was > SMC9000.dos. The part number that ISMC9000 displays is 91C94 ver 2.2a > 2. The default settings that worked were IO addrs= 0x300, int_lvl=2 > > Does anyone out there have any suggestions? > > TIA > > > > Sent via Deja.com > http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: RE: FTP server Date: Wed, 20 Dec 2000 07:21:14 -0500 From: Gary LeVan Organization: Lawrence Berkeley National Laboratory Message-ID: <91qev0$ic5$1@overload.lbl.gov> Hello Francois... Try this. At the ftp prompt change the directory to the target directory using the 'cd' command. Then create the new subdirectory. Also, don't use quotes. Good luck, hope this helps. VxWorks. - -----Original Message----- From: the vxWorks Users Group Exploder [SMTP:vxwexplo@lbl.gov] Sent: Tuesday, December 19, 2000 9:12 AM To: vxworks_users@csg.lbl.gov Subject: FTP server Submitted-by vxwexplo-errs@csg.lbl.gov Tue Dec 19 05:56:28 2000 Submitted-by: f.pertin@staubli.com Hello VXWORKS and TORNADO guru, I include FTP server in my x86 target (my application need it). It works well except that I am not able to create directory to my local disk from a ftp connection (mkdir command from FTP prompt). I get the error: "500 Command not recognized' Please not that I am able to create directory from tornado shell so the problem comes from FTP server. Does anybody know a patch or a work around ?? Thanks a lot in advance .... Francois --------------------------- Newsgroups: comp.os.vxworks Subject: RE: Mixing C and C++ code in vxworks Date: Wed, 20 Dec 2000 09:48:53 -0500 From: "Ben Kelly" Organization: Lawrence Berkeley National Laboratory Message-ID: <91qifg$l1e$1@overload.lbl.gov> I do not believe you can mix and match the two languages in this way. The C compiler does not know anything about the vtbl that is generated for polymorphic classes. In fact, I'm surprised your C compiler allowed you to reference a class at all. I believe what you really want to do is write your C function in C++. You can then compile it with C bindings and link it with the rest of your program. For example, if your function is called foobar() the code would look like: extern "C" void foobar(void *arg); void foobar(void *arg) { A *aPtr = static_cast(arg); // use the pointer to A.... } The extern "C" is what causes the function to be compiled with C bindings. This is also usefull for calling C++ functions from the VxWorks target shell. If you do the above and still get the error there are a few more things that could cause it. Make sure you declare and define a virtual destructor for class A. Also make sure the constructor/destructor for class A do not call any virtual methods. Since the object is not fully constructed at this point the vtbl will be pointing to A's implementation of the methods (even if it does not exist, like in the case of pure virtual methods). I hope that helps. - - Ben > Hi, > I have a problem mixing C and C++ code in vxworks. I have a C > function that > expects void * as one of its parameters. In my C++ codebase, I have an > abstract base class A, and some derived classes B, C, and D. I have a > pointer to the derived class B, which I allocate and then pass > that to the C > function. > Inside the C function, I typecast the void * parameter to A *, the base > class pointer. The problem is, when I try to call any virtual > function (that > is declared in the abstract base class A and defined in all > derived classes > B, C, and D), it somehow calls A's routine and gives me an error > "Task called pure virtual function for which there is no definition" > > Has anybody faced this problem? Any kind of hint as to how to go about it > will be appreciated. > > Thanks and Regards, > Pradosh --------------------------- Newsgroups: comp.realtime,comp.os.vxworks Subject: Real-Time software tutorial Date: Tue, 19 Dec 2000 22:34:48 +0200 From: Giora Unger Organization: NetVision Israel Message-ID: <3A3FC667.8478B2B3@netvision.net.il> Hi, As a newcomer to the real-time and embedded world, I'm looking for a (not-too-long) tutorial for the real-time software design and implementation beginner. I assume there is one such resource, or maybe several resources from which it'd be recommended to begin. Can anyone point me ? If possible, please CC also my e-mail address - giora@orikanetworks.com Thanks a lot in advance, Giora Unger giora@orikanetworks.com --------------------------- Newsgroups: comp.os.vxworks Subject: tffs Date: Wed, 20 Dec 2000 16:23:25 GMT From: "Kevin Dodd" Organization: Bell Solutions Message-ID: <12506.194614$UO.716976@news22.bellglobal.com> Does anyone know what is expected in the flash memory when it is done formatting. I can document where the chip is being written, what is being written. Each erase sector is 0x20000 large in our chip, yet it seems to skip around, and I do not understand this. Has anyone else had problems with the formatting routines. I am working with a CFI chip, got the CFI driver working, with no errors detected, yet it tells me it cannot create the device. Thanks for the help in advance. - -- Kevin Dodd SR System/Software Engineer Wescam Corp 707-473-1114 103 W North Street Healdsburg, Ca, 95448 --------------------------- Newsgroups: comp.os.vxworks Subject: Re: debug 2 tasks Date: 20 Dec 2000 12:23:39 -0500 From: vanbaren@falcon.si.com (vanbaren_gerald) Organization: Smiths Industries Message-ID: <3a40eb1b$1@news.si.com> References: <91m4qq$2cei$1@news5.isdnet.net> <91naon$5oe$2@news1.xs4all.nl> slava@qualcomm.com (Izoslav Tchigevsky) writes: >Johan Borkhuis wrote in ><91naon$5oe$2@news1.xs4all.nl>: >>JJS wrote: >>: Is it possible to debug maintask() and put a break at entry point of >>: task1()? This breakpoint is bypassed after taskSpawn(). >>: I have tried it with two Tornado but without success. This must be >>: possible but what am I doing wrong? >> >>Try setting the breakpoint on the first executed statement in the >>function. >You should toggle "Global breakpoint" (in Tornado menu "Debug->Toggle >Global Breakpoint" or Shift-F9. Then task that arrives to placement of such >log point will be suspended. You may detach from previous task, attach to >this one and continue debugging. >Be preparied: you'll need a lot of luck and patience to use Tornado >Debugger. >> >>Groeten, >> Johan >> There is also a configuration option (sorry, I don't have a running example handy and don't remember what the option is) that will automatically attach to the task that hits a breakpoint. This is quite a bit more intuitive: otherwise you remain attached to the current task which is still running, even though a breakpoint has been hit. It isn't obvious to the casual observer that you hit a breakpoint in that case. gvb - -- +---------------------------------------------------------------------------+ | Jerry Van Baren / vanbaren_gerald@si.com / Grand Rapids Mi / 616-241-7973 | | My employer is a company. Companies are artifacts of a legal system. | |________________Artifacts are incapable of having opinions.________________| --------------------------- Newsgroups: comp.os.vxworks Subject: Re: postscript printing Date: Wed, 20 Dec 2000 13:09:30 -0600 From: Andrew Johnson Organization: APS, Argonne National Laboratory Message-ID: <3A4103EA.8FE03A6@aps.anl.gov> References: Scott Smail wrote: > > I was hoping someone could answer this: > > If I have a LPT port on my target and a poscript printer attached to it, > what is the VxWorks function(s) to send a postscript file to my printer. There isn't one. I guess some BSPs may include a device driver for an onboard parallel port, but I've never seen one - you'll probably have to write your own (check the documentation that comes with your bsp). Once you can open the port as, say /lpt/0, sending a file to it should be as simple as something like -> copy "filename.ps", "/lpt/0" - - Andrew - -- Every great idea appears crazy to start with. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: tffs Date: Wed, 20 Dec 2000 19:14:16 GMT From: "Jim" Organization: Magma Communications Ltd. Message-ID: References: <12506.194614$UO.716976@news22.bellglobal.com> Here's a capture for you ... my flash start address is 0xff800000 ... you should see "CISF FTL100" at start of each file system block i think ... Jim - -> sysTffsFormat status == 0 value = 0 = 0x0 - -> d 0xff800000 ff800000: 1303 4349 5346 ff00 4654 4c31 3030 0001 *..CISF..FTL100..* ff800010: 0100 0000 0000 0912 0000 0400 00a8 0b00 *................* ff800020: 0000 0400 0c00 00ff 0000 0000 0000 0000 *................* ff800030: 4400 0000 ffff ffff ffff ffff ffff ffff *D...............* ff800040: ffff ffff 3000 0000 3000 0000 3000 0000 *....0...0...0...* ff800050: 3000 0000 3000 0000 40e8 ffff 40ea ffff *0...0...@...@...* ff800060: 40ec ffff 40ee ffff 40f0 ffff 40f2 ffff *@...@...@...@...* ff800070: 40f4 ffff 40f6 ffff 40f8 ffff 40fa ffff *@...@...@...@...* ff800080: 40fc ffff 40fe ffff 4000 0000 4002 0000 *@...@...@...@...* ff800090: 4004 0000 4006 0000 4008 0000 400a 0000 *@...@...@...@...* ff8000a0: 400c 0000 400e 0000 4010 0000 4012 0000 *@...@...@...@...* ff8000b0: 4014 0000 4016 0000 4018 0000 ffff ffff *@...@...@.......* ff8000c0: ffff ffff ffff ffff ffff ffff ffff ffff *................* ff8000d0: ffff ffff ffff ffff ffff ffff ffff ffff *................* ff8000e0: ffff ffff ffff ffff ffff ffff ffff ffff *................* ff8000f0: ffff ffff ffff ffff ffff ffff ffff ffff *................* value = 21 = 0x15 "Kevin Dodd" wrote in message news:12506.194614$UO.716976@news22.bellglobal.com... > Does anyone know what is expected in the flash memory when it is done > formatting. I can document where the chip is being written, what is being > written. Each erase sector is 0x20000 large in our chip, yet it seems to > skip around, and I do not understand this. > > Has anyone else had problems with the formatting routines. > > > I am working with a CFI chip, got the CFI driver working, with no errors > detected, yet it tells me it cannot create the device. > > Thanks for the help in advance. > > -- > Kevin Dodd > SR System/Software Engineer > Wescam Corp > 707-473-1114 > 103 W North Street > Healdsburg, Ca, 95448 > > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks vs. Linux Date: Wed, 20 Dec 2000 13:15:05 -0600 From: Andrew Johnson Organization: APS, Argonne National Laboratory Message-ID: <3A410539.67AB505E@aps.anl.gov> References: <3A3FBFFB.498C5FDD@netvision.net.il> Giora Unger wrote: > > We're currently considering a real-time OS for a large project - a > development of a high-capacity optical router. > It seems like the only 2 options are: > 1. VxWorks (the natural and safe choice) > 2. Linux (the Real-Time and Embedded Linux variants. There are handful > of them) There are other Open-Source RTOS's available that you might want to investigate as well - ECOS from Red Hat, and RTEMS (from http://www.oarcorp.com) are the main ones that I know of. - - Andrew - -- Every great idea appears crazy to start with. --------------------------- Newsgroups: comp.os.vxworks Subject: vxWorks Exploder Administration Date: Wed, 20 Dec 2000 12:03:39 -0800 From: Bill Brown Organization: Lawrence Berkeley National Laboratory Message-ID: <4.1.20001220120125.00bb2cc0@imap4.lbl.gov> Every year LBNL shuts down over the Christmas/New Year holidays. Therefore today, 12/20/2000, will be the last day we'll be able to take of any administrative tasks until 1/2/2001 at the earliest. This includes requests for additions to and removal from the mailing list, which are done manually. Since our first priority will be to get the machine (Advanced Light Source) up and running, it may take us a couple of days to get caught on list administration. We expect the servers which support the vxWorks exploder to stay up during this period, assuming that we don't run out of electricity during the holidays. Best wishes to all, - -bill --------------------------- Newsgroups: comp.os.vxworks Subject: Re: tffs Date: Wed, 20 Dec 2000 20:57:52 GMT From: "Jim" Organization: Magma Communications Ltd. Message-ID: References: <12506.194614$UO.716976@news22.bellglobal.com> ps my format was failing a first... because my call to flMap was not returning the correct location which to write to in flash ... so instead of calling flMap(offset) to calculate where the mtd should write too i simple hard coded my flash info ... ie to write to flash offset i just did writetoAdr = flashBase/*0xff800000 in my case*/+offset, instead of writetoAdr = flashBase+offset Jim "Jim" wrote in message news:cy706.1388$f5.319247@news... > Here's a capture for you ... my flash start address is 0xff800000 ... you > should see "CISF FTL100" at start of each file system block i think ... > > Jim > > -> sysTffsFormat > status == 0 > value = 0 = 0x0 > -> d 0xff800000 > ff800000: 1303 4349 5346 ff00 4654 4c31 3030 0001 *..CISF..FTL100..* > ff800010: 0100 0000 0000 0912 0000 0400 00a8 0b00 *................* > ff800020: 0000 0400 0c00 00ff 0000 0000 0000 0000 *................* > ff800030: 4400 0000 ffff ffff ffff ffff ffff ffff *D...............* > ff800040: ffff ffff 3000 0000 3000 0000 3000 0000 *....0...0...0...* > ff800050: 3000 0000 3000 0000 40e8 ffff 40ea ffff *0...0...@...@...* > ff800060: 40ec ffff 40ee ffff 40f0 ffff 40f2 ffff *@...@...@...@...* > ff800070: 40f4 ffff 40f6 ffff 40f8 ffff 40fa ffff *@...@...@...@...* > ff800080: 40fc ffff 40fe ffff 4000 0000 4002 0000 *@...@...@...@...* > ff800090: 4004 0000 4006 0000 4008 0000 400a 0000 *@...@...@...@...* > ff8000a0: 400c 0000 400e 0000 4010 0000 4012 0000 *@...@...@...@...* > ff8000b0: 4014 0000 4016 0000 4018 0000 ffff ffff *@...@...@.......* > ff8000c0: ffff ffff ffff ffff ffff ffff ffff ffff *................* > ff8000d0: ffff ffff ffff ffff ffff ffff ffff ffff *................* > ff8000e0: ffff ffff ffff ffff ffff ffff ffff ffff *................* > ff8000f0: ffff ffff ffff ffff ffff ffff ffff ffff *................* > value = 21 = 0x15 > > > > "Kevin Dodd" wrote in message > news:12506.194614$UO.716976@news22.bellglobal.com... > > Does anyone know what is expected in the flash memory when it is done > > formatting. I can document where the chip is being written, what is being > > written. Each erase sector is 0x20000 large in our chip, yet it seems to > > skip around, and I do not understand this. > > > > Has anyone else had problems with the formatting routines. > > > > > > I am working with a CFI chip, got the CFI driver working, with no errors > > detected, yet it tells me it cannot create the device. > > > > Thanks for the help in advance. > > > > -- > > Kevin Dodd > > SR System/Software Engineer > > Wescam Corp > > 707-473-1114 > > 103 W North Street > > Healdsburg, Ca, 95448 > > > > > > --------------------------- Newsgroups: comp.os.vxworks Subject: memPartFree: invalid block - purify'er needed Date: Wed, 20 Dec 2000 16:51:08 -0500 From: Al Johnston Organization: MindSpring Enterprises Message-ID: <3A4129CC.CED0162B@mindspring.com> We are getting a "invalid block" message when we go to free() a block of memory. My guess is we have screwed the memory tables some how. Can some one suggest a tool for vxworks/gcc that will monitory malloc/ calloc/free/etc and instrument these so we can look for our goof? Something along the lines of purify... thanks, - -al --------------------------- Newsgroups: comp.os.vxworks Subject: Usage of CPU Date: Wed, 20 Dec 2000 22:54:52 GMT From: bryan Organization: Deja.com Message-ID: <91rdbp$s9p$1@nnrp1.deja.com> Hi all, I am working with a ARM CPU target. I want to know that is there any VxWorks function that can check the usage of CPU?? Thanks Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: C++ in VxWorks - is it recommended Date: Tue, 19 Dec 2000 22:28:36 +0200 From: Giora Unger Organization: NetVision Israel Message-ID: <3A3FC4F4.C7B05C9D@netvision.net.il> Hello everybody, As you could learn from my previous two messages, I'm a newcomer to the real-time world, not to mention VxWorks. I'm currently involved in the early phases of designing a large embedded project - the development of a high-capacity optical router. I have a lot of experience in writing C++ applications, but so far mainly for Windows NT and UNIX only, not for embedded products. I strongly prefer C++ over C, and can tell many advantages of the former over the latter (standard libraries, templates, better memory management and more). My natural tendency is to craete an object-oriented design and to implement it with C++. However, I heard several people, with some real-time experience, who claim that in real-time applications, C should be chosen, and not C++. The arguments I've heard so far weren't convincing enough, but I'd like to collect some more opinions before taking the final decision. My questions are: 1. Should I prefer C ? 2. If so - why ? Should I prefer object-oriented design anyway, and merely force it on the C language ? 3. If C++ is superior, which features of the language should be neglected in a real-time product ? (I can tell that virtual functions should be avoided, as well as probably C++ exception). If anyone can point me to a resource containing alist of such "features to be avoided", I'd appreciate it. If possible, please CC also my e-mail address - giora@orikanetworks.com Thanks a lot in advance, Giora Unger giora@orikanetworks.com --------------------------- Newsgroups: comp.os.vxworks Subject: VxWorks vs. Linux Date: Tue, 19 Dec 2000 22:07:23 +0200 From: Giora Unger Organization: NetVision Israel Message-ID: <3A3FBFFB.498C5FDD@netvision.net.il> Hi, We're currently considering a real-time OS for a large project - a development of a high-capacity optical router. It seems like the only 2 options are: 1. VxWorks (the natural and safe choice) 2. Linux (the Real-Time and Embedded Linux variants. There are handful of them) While VxWorks really seems to be the safe choice, there are voices within the company which call to prefer the open-source Linux option. Any contribution of arguments will be appreciated. If an answer is something like "but Linux is not a real-time OS", I'll appreciate quantitative facts and measures, which will be of use for me in convincing my colleagues. I should also mention, that I'm a newcomer to the real-time world (and to the embedded world), so please don't hesitate to mention also facts you find trivial. If possible, please CC also my e-mail address - giora@orikanetworks.com Thanks a lot in advance, Giora Unger giora@orikanetworks.com --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Can't send correct data when using octet string with snmpv1 Date: Thu, 21 Dec 2000 00:49:26 GMT From: toomuchham@yahoo.com Organization: Deja.com Message-ID: <91rk2j$1qc$1@nnrp1.deja.com> Hi Randy! I recently encountered the same problem and came across your post while looking for a solution. I hope my reply’s not too late to give you another angle of attack against this problem. What worked for me was declaring a “char *string” in the calling function, strcpy-ing the desired string into *string, and then using *string as the string parameter in getproc_got_string(). For example, I’d try modifying your code as follows: static int configData_get_value ( OIDC_T lastmatch, SNMP_PKT_T *pktp, VB_T *vbp, STRUCT_configData *data /* !!! */ ) { extern STRUCT_configData configData; struct timespec elapsedTime; char *string = NULL; /* Add this! */ switch (vbp->vb_ml.ml_last_match) { case LEAF_adaptationFile: { memcpy ((char *) &(data->af), (char *)configData.af, sizeof (configData.af)); strcpy(string, data->af); /* Add this! */ getproc_got_string(pktp, vbp, strlen(string), string, 0, VT_STRING); /* Modify this! */ break; } . . . I don’t know why this works, but it does. Good luck, Randy! David David Downey Software Engineering Consultant toomuchham@yahoo.com * * * Randy Jones wrote: Agent host: PPC850 Agent OS: vxWorks 5.3 SNMP Version: SNMPv1 SNMP Mgr: PC running NT 4.0 When ever I try to do an snmpget to any variable of my MIB that is defined as an OCTET STRING, I get the wrong data. Even if the string length is just one character. If I perform an snmpget to a variable defined as a Display String, it works just fine. I am trying to access structures that contain binary data so I decided to use OCTET STRING. I am out of things to look for. The following is an example of my data structure: /* This is a structure we define to set and retrieve the prameters of the configData group */ typedef struct { char af[20]; char pf; char op; char iconStat; char pwrSrc; char pwrLvl; char audioVol; char ledBright; char lcdCon; char lcdBackLit; int totalUnitOnTm; } STRUCT_configData; Everything looks fine up to the getproc_got_string(). I cn't follow it any farther. The following is an examlple of my usage of Wind River's code. I think it is correct. static int configData_get_value(OIDC_T lastmatch, SNMP_PKT_T *pktp, VB_T *vbp, STRUCT_configData *data) /* !!! */ { extern STRUCT_configData configData; struct timespec elapsedTime; switch (vbp->vb_ml.ml_last_match) { case LEAF_adaptationFile: { memcpy ((char *) &(data->af), (char *) configData.af, sizeof(configData.af)); getproc_got_string(pktp, vbp, sizeof(data->af), data- >af, 0, VT_STRING); /* !!! */ break; } case LEAF_platform: { data->pf = (char) configData.pf; getproc_got_string(pktp, vbp, sizeof(configData.pf), data->pf, 0, VT_STRING); /* !!! */ break; } default: return GEN_ERR; } return NO_ERROR; } I could use some help. Thanks, Randy Jones Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: changing directory to a ramdisk in tornado shell Date: Thu, 21 Dec 2000 01:22:56 GMT From: bpatel Organization: Optimum Online Message-ID: <3A415B77.42C2B061@yahoo.com> greetings vxworker's, I having created a ramdisk with a device name of "RAM1" on the target est8260 board using vxworks5.4 in Tornado2.0 environment.When I execute "devs" on the tornado and target shell I can the ramdisk "RAM1:" listed. I have created subdirectories in this ramdisk thru' program. I try to cd to my subdirectory using the following command - - -> cd "RAM1:/nodesw/". I get the error " RAM1" not found. The question is how to do "cd" to this ramdisk subdirectory? Thanks for your help. bhavesh --------------------------- Newsgroups: comp.os.vxworks Subject: flashing bootrom Date: Wed, 20 Dec 2000 18:47:57 -0700 From: hari Message-ID: <3A41614D.581B5770@hotmail.com> Reply-To: kanigeri@hotmail.com hi i am flashing the boot rom using motorola ppc1- bug and after the niop command i am getting "error status :0018". do you know what is the reason for this. i will be very grateful for your help thank you this is the following information i am using. PPC1-Bug>niot Controller LUN =00? Device LUN =00? Node Control Memory Address =07F9E000? Client IP Address =129.123.4.127? Server IP Address =129.123.4.237? Subnet IP Address Mask =255.255.255.0? Broadcast IP Address =255.255.255.255? Gateway IP Address =129.123.4.254? Boot File Name ("NULL" for None) =? . PPC1-Bug>niop Controller LUN =00? Device LUN =00? Get/Put =G? File Name =? boot.bin Memory Address =00004000? 4100 Length =00000000? Byte Offset =00000000? Error Status: 0018 --------------------------- Newsgroups: comp.os.vxworks Subject: Re: C++ in VxWorks - is it recommended Date: Wed, 20 Dec 2000 09:10:42 -0800 From: Robert Blumberg Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A40E812.BFF56BC2@fake.com> References: <3A3FC4F4.C7B05C9D@netvision.net.il> This question reappears on a regular basis and can cause "religious wars." I believe that the consensus is that there is a stepping from assembly to C to C++ depending upon the increasing size and complexity of the problem, the increasing abilities of the CPU and platform design, and the accessibility to a competent compiler. Personally, I try to do everything in C++ and use a good compiler. I've had good luck so far. E.g., I programmed the the coin movement mechanism of the big green Coinstar coin counting machine that you may have seen in your local supermaket entirely in C++ -- the drivers, the real time scheduler, and the high level motor, solenoid and sensor controls were all C++. It turned out to be a great match. Giora Unger wrote: > > Hello everybody, > > As you could learn from my previous two messages, I'm a newcomer to the > real-time world, not to mention VxWorks. I'm currently involved in the > early phases of designing a large embedded project - the development of > a high-capacity optical router. > I have a lot of experience in writing C++ applications, but so far > mainly for Windows NT and UNIX only, not for embedded products. > I strongly prefer C++ over C, and can tell many advantages of the former > over the latter (standard libraries, templates, better memory management > and more). My natural tendency is to craete an object-oriented design > and to implement it with C++. > However, I heard several people, with some real-time experience, who > claim that in real-time applications, C should be chosen, and not C++. > The arguments I've heard so far weren't convincing enough, but I'd like > to collect some more opinions before taking the final decision. > My questions are: > 1. Should I prefer C ? > 2. If so - why ? Should I prefer object-oriented design anyway, and > merely force it on the C language ? > 3. If C++ is superior, which features of the language should be > neglected in a real-time product ? (I can tell that virtual functions > should be avoided, as well as probably C++ exception). If anyone can > point me to a resource containing alist of such "features to be > avoided", I'd appreciate it. > > If possible, please CC also my e-mail address - giora@orikanetworks.com > > Thanks a lot in advance, > > Giora Unger > giora@orikanetworks.com - -- Robert Blumberg Pintle & Gudgeon Robert dot Blumberg at PictureIQ dot Com Embedded System Software Development --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Multi processors in VxWorks Date: Wed, 20 Dec 2000 21:08:18 -0500 From: "Jeff Creem" Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <3A3FC1F7.DBFF26B3@netvision.net.il> The reply you got was basically correct. vxWorks does have support for multiple processors communicating in a backplane (to one extent or another) but the partitioning of the work among the processors is done at the application level. I've worked in a 9 processor system (5 somewhat tightly coupled loosely coupled to 4 somewhat tightly coupled processors) If you have specific questions feel free to send me a message. "Giora Unger" wrote in message news:3A3FC1F7.DBFF26B3@netvision.net.il... > Hi, > > During a consideration process of a real-time OS for a large project > (the development of a high-capacity optical router), we've got a > presentation of the WindRiver sales people. However, one fact indeed > surprised us very much - according to them VxWorks does NOT support > multiple processors (neither SMP - Symetric Multi Processing, nor any > other methodology). > The reply we fot was, that if we desire to have multiple processors, > we'll have to run multiple instances of the OS, and the parallelism > should be a burden of the application. Entirely, without any support of > the OS. > Our optical router will consist of many processors, there is no doubt in > this. > I must mention that I'm a newcomer to the real-time world, and to the > embedded world. > My questions are: > 1. Is the above reply about VxWorks support for multiple processors > correct ? > 2. What is the recommended approach for multiple-processors real-time > application ? If there is recommended literature on this, I'd love to > hear. > 3. What's the common prectice for multi-processing in VxWorks ? > 4. If there is anyone who has experience with multiple processors > application with VxWorks, I'd love to further correspond and exchange > advice and opinions. > > If possible, please CC also my e-mail address - giora@orikanetworks.com > > Thanks a lot in advance, > > Giora Unger > giora@orikanetworks.com > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: boot pc486 over network- update Date: Wed, 20 Dec 2000 14:48:11 GMT From: wgrigg@my-deja.com Organization: Deja.com Message-ID: <91qgr9$1m9$1@nnrp1.deja.com> References: <91li2f$45$1@nnrp1.deja.com> <91qda6$4na0m$1@ID-56276.news.dfncis.de> Well, as it turned out one main problem was that the IRQ HAD to be 9. When we got it to work with DOS, the IRQ was 9 and the IO address was 300. I do not believe this was the only issue, since I am fairly sure I tried that combo right after the DOS version worked. For instance, I also moved #define INCLUDE_NETWORK to preceed #include configAll.h in the config.h file. At any rate, after MUCH experimentation, it now can talk to the host with IO address 300 and IRQ 9. I would also like to offer the following advice to anyone trying to configure a similar system that has the "SMC9000" type ethernet controller chip- if you get your hand on a DOS untility called ISMC9000.exe, DON'T USE IT. In article <91qda6$4na0m$1@ID-56276.news.dfncis.de>, "Kelvin Lawson" wrote: > Your IO address is 0x300 in DOS, and 0x320 in VxWorks. > > wrote in message news:91li2f$45 $1@nnrp1.deja.com... > > I am at an impasse. The hardware is an Ampro PC104 4Ge board (pc486). > > The host is a PC running NT 4.0. The software is the Tornado II BSP for > > pc486. config.h has been modified with the following: > > #define INCLUDE_ESMC > > #define INCLUDE_NETWORK (preceeds #include configAll.h) > > #undef INCLUDE_END > > #define IO_ADRS_ESMC 0x320 (default for SMC9000) > > #define INT_LVL_ESMC 0x2 (default for SMC9000) > > #define DEFAULT_BOOT_LINE \ > > "esmc(0,0)DRH2588LAB:vxworks h=140.102.48.90 e=140.102.48.58 u=r048058 > > pw=target " > > > > The function ftpXfer which is invoked in bootConfig.c returns the error > > 0xd0003. In short, there is no observable communication between the > > host and target. It takes ftpXfer about 30 seconds before it returns > > the error. > > > > I believe that the driver that is being included when I build the "boot > > rom" is either the wrong one or is being improperly configured. Here is > > why: > > > > 1. I have pinged the PC104 board with DOS running. It worked! The > > driver I used was off of the Ampro Ethernet Driver Disc1, and was > > SMC9000.dos. The part number that ISMC9000 displays is 91C94 ver 2.2a > > 2. The default settings that worked were IO addrs= 0x300, int_lvl=2 > > > > Does anyone out there have any suggestions? > > > > TIA > > > > > > > > Sent via Deja.com > > http://www.deja.com/ > > Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: flash memory and PPC8260 - Tornado launch shell is unable to see the 1st MB of FLASH memory Date: Wed, 20 Dec 2000 10:02:48 -0500 From: "Michael Barker" Organization: Motorola Message-ID: <91qhls$o71$1@newshost.mot.com> References: <91lsq4$db2$1@bcarh8ab.ca.nortel.com> <91o3sr$iat$1@newshost.mot.com> Sorry, my mistake - this isn't necessarily true --> "Michael Barker" wrote > Keep in mind the 8260 BSP bootrom doesn't go into the first MB of FLASH. --------------------------- Newsgroups: comp.os.vxworks Subject: postscript printing Date: Wed, 20 Dec 2000 15:23:27 GMT From: "Scott Smail" Organization: Time Warner Road Runner - Rochester NY Message-ID: I was hoping someone could answer this: If I have a LPT port on my target and a poscript printer attached to it, what is the VxWorks function(s) to send a postscript file to my printer. thanks, - -Scott --------------------------- Newsgroups: comp.os.vxworks Subject: dhcp client Date: Wed, 20 Dec 2000 17:00:07 +0100 From: "Delsol Thomas(chez Tekelec Temex Telecom)" Organization: Tekelec Temex Telecom (http://www.temex-telecom.com) Message-ID: <3A40D787.577341F4@temex.fr> Reply-To: thomas.delsol@temex.fr Hello, I have realize a END soft driver for my application but I don't want to fix the IP address. I want to install a DHCP client for assign an IP adress. I boot with a FEI END driver then vxworks started, I attach my END driver and I start it in my application. However,it don't make requests for obtain an Ip address. I have include the DHCP runtime client in my workspace. I use tornado 2.0. Does anybody know how configure the dhcp client for attach an Ip address to an END driver. Thanks a lot in advance .... Tom. --------------------------- Newsgroups: comp.os.vxworks Subject: Multi processors in VxWorks Date: Tue, 19 Dec 2000 22:15:52 +0200 From: Giora Unger Organization: NetVision Israel Message-ID: <3A3FC1F7.DBFF26B3@netvision.net.il> Hi, During a consideration process of a real-time OS for a large project (the development of a high-capacity optical router), we've got a presentation of the WindRiver sales people. However, one fact indeed surprised us very much - according to them VxWorks does NOT support multiple processors (neither SMP - Symetric Multi Processing, nor any other methodology). The reply we fot was, that if we desire to have multiple processors, we'll have to run multiple instances of the OS, and the parallelism should be a burden of the application. Entirely, without any support of the OS. Our optical router will consist of many processors, there is no doubt in this. I must mention that I'm a newcomer to the real-time world, and to the embedded world. My questions are: 1. Is the above reply about VxWorks support for multiple processors correct ? 2. What is the recommended approach for multiple-processors real-time application ? If there is recommended literature on this, I'd love to hear. 3. What's the common prectice for multi-processing in VxWorks ? 4. If there is anyone who has experience with multiple processors application with VxWorks, I'd love to further correspond and exchange advice and opinions. If possible, please CC also my e-mail address - giora@orikanetworks.com Thanks a lot in advance, Giora Unger giora@orikanetworks.com --------------------------- Newsgroups: comp.os.vxworks Subject: targetshell vs windshell Date: Thu, 21 Dec 2000 10:57:54 +0530 From: "Phani Prakash" Organization: Lucent Technologies, Columbus, Ohio Message-ID: <91s454$l6u@nntpa.cb.lucent.com> Hi folks, I am new to vxworks. While working on the target, I confused with windShell and targetShell, both resides on the host. I am able to work some commands from both the shells. Then why target shell is required? Anyone please explain the functionality and difference of both the shells. Thank you in advance. Phani --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks vs. Linux Date: Thu, 21 Dec 2000 05:59:36 GMT From: Craig Vanderborgh Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: <3A419C47.7CADE5F5@voxware.com> References: <3A3FBFFB.498C5FDD@netvision.net.il> Hi Giora: We elected to use VxWorks last year after deciding that it was the "safe choice". VxWorks is expensive, and WRS works hard to trumpet the excellence of VxWorks and its tools and support. Unfortunately, none of it is worth much. We have had terrible problems with VxWorks (particularly the PersonalJava component) and have received unbelievably bad support from WRS. Their vaunted tools are so bug-ridden that they are virtually useless. Linux probably is the better option at this point. From what I've seen, it's just in better shape. It looks to be easier to get a product to market with embedded Linux, as long as Linux can meet your technical requirements. VxWorks is expensive, and not a particularly "safe choice" either. regards, craig vanderborgh Giora Unger wrote: > > Hi, > > We're currently considering a real-time OS for a large project - a > development of a high-capacity optical router. > It seems like the only 2 options are: > 1. VxWorks (the natural and safe choice) > 2. Linux (the Real-Time and Embedded Linux variants. There are handful > of them) > > While VxWorks really seems to be the safe choice, there are voices > within the company which call to prefer the open-source Linux option. > Any contribution of arguments will be appreciated. > If an answer is something like "but Linux is not a real-time OS", I'll > appreciate quantitative facts and measures, which will be of use for me > in convincing my colleagues. > I should also mention, that I'm a newcomer to the real-time world (and > to the embedded world), so please don't hesitate to mention also facts > you find trivial. > If possible, please CC also my e-mail address - giora@orikanetworks.com > > Thanks a lot in advance, > > Giora Unger > giora@orikanetworks.com --------------------------- Newsgroups: comp.os.vxworks Subject: Getting Stack Traces Date: Thu, 21 Dec 2000 06:03:05 GMT From: Craig Vanderborgh Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: <3A419D19.28DEE9@voxware.com> Hi all: Is there some way to get the stack trace of a thread from the target shell? I know how to do it with gdb, but I need to find some way to get thread stack traces from the target shell w/o anything else. Any ideas on how to do this would be appreciated since a prolonged RTFM exercise has yielded nothing. regards, craig vanderborgh voxware incorporated --------------------------- Newsgroups: comp.os.vxworks Subject: timerLib calls don't work on VxWorks Simulator. Date: Thu, 21 Dec 2000 06:43:49 GMT From: rahul_gauba@my-deja.com Organization: Deja.com Message-ID: <91s8r5$h19$1@nnrp1.deja.com> Hi!, Pl. look at the code shown below. .... timer_t timerid; itimerspec timer; void aplSmaInit(void ) { int retval; retval = timer_create( CLOCK_REALTIME, NULL, &timerid); timer.it_interval.tv_sec = 10; // 10secs retval = timer_connect(timerid, aplSmaFetchStatistics, 0); retval = timer_settime(timerid, 0, &timer, NULL); } void aplSmaFetchStatistics(timer_t timerid, int arg) { printf("\n\n function called \n\n"); } The return value of timer calls in aplSmaInit(..) indicate success. But aplSmaFetchStatistics(..) is never called. Can you think of any possible reason?? Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: targetshell vs windshell Date: Wed, 20 Dec 2000 23:37:30 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A41B33A.989E43F2@flashcom.net> References: <91s454$l6u@nntpa.cb.lucent.com> Reply-To: drdiags@flashcom.net Phani, The Target Shell is compiled into the Kernel and is actually running on the Target. The WindSh is running on the Host. To minimize footprint of the image loaded into the hardware, you can choose to remove the target shell, dynamically load symbol tables or build it into the Kernel image and so on. I believe the thinking was to move away from the target the overhead needed to provide services required to support various integration tasks. The problem is that when you are in WindSh and loading applications to debug, if the symbol table is not synchronize with the target, you will not see the symbol in the target shell. This also can lead to misunderstandings with regards to debugging and a host of other quirks. Just look at this newsgroup and where some people have problems with re-directing I/O on the Console. Target Shell I/O is usually (weasel wording here) through the serial ports. WindSh is through the WDB agent/target agent connection. The main difference between the two is that the Target shell is standalone, in other words, you do not need to have target server or Tornado WDB agent running to access routines on the target. Target shell predates Tornado Host tools and IDE. VxWorks 5.1 and 5.2 were my earliest experiences with the target shell. It was not until this year that I actually started to extensively use any of the Tornado Host products. I was part of a command line build paradigm, but then again, we used printf debugging pretty extensively. What a drag when we realized we shouldn't really be using that in an embedded system. WTX protocol support is available through the WindSh, thus you can execute Tcl commands from the Host. This is just my opinion and I am missing facts here and overstating others. Someone will be able to point you to documentation which will clear up this mystery. Look in the Tornado Users Guide Chap. 1 which gives a better picture of how these play together. Phani Prakash wrote: > Hi folks, > > I am new to vxworks. While working on the target, I confused with windShell > and targetShell, both resides on the host. I am able to work some commands > from both the shells. Then why target shell is required? Anyone please > explain the functionality and difference of both the shells. Thank you in > advance. > > Phani --------------------------- Newsgroups: comp.os.vxworks Subject: OpenSSL on VxWorks? Date: Thu, 21 Dec 2000 07:54:36 GMT From: mindtree01@my-deja.com Organization: Deja.com Message-ID: <91scvr$jvk$1@nnrp1.deja.com> Hi, Is there a VxWorks port of OpenSSL/SSLEay available anywhere on the Web? Does anyone have experience of doing this port? How easy or difficult is it? Thanks and regards Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: flashing bootrom Date: Thu, 21 Dec 2000 09:10:55 +0100 From: Marc Waber Organization: STS Switching Test Solutions Message-ID: <3A41BB0F.AFB59EC8@stest.ch> References: <3A41614D.581B5770@hotmail.com> hari wrote: > > hi > i am flashing the boot rom using motorola ppc1- bug and after the > niop command i am getting "error status :0018". do you know what is the > reason for this. i will be very grateful for your help > thank you > this is the following information i am using. > > PPC1-Bug>niot > Controller LUN =00? > Device LUN =00? > Node Control Memory Address =07F9E000? > Client IP Address =129.123.4.127? > Server IP Address =129.123.4.237? > Subnet IP Address Mask =255.255.255.0? > Broadcast IP Address =255.255.255.255? > Gateway IP Address =129.123.4.254? > Boot File Name ("NULL" for None) =? . > PPC1-Bug>niop > Controller LUN =00? > Device LUN =00? > Get/Put =G? > File Name =? boot.bin > Memory Address =00004000? 4100 > Length =00000000? > Byte Offset =00000000? > Error Status: 0018 Check the appendix of your ppc-bug users manual. There you will find a description of those error codes. Hope this helps, Marc --------------------------- Newsgroups: comp.os.vxworks Subject: Performance Problems Date: Thu, 21 Dec 2000 10:18:18 +0100 From: Fiederling.Ulf@dornier.dasa.de Organization: Lawrence Berkeley National Laboratory Message-ID: <91sl8v$l40$1@overload.lbl.gov> Hi All We are porting a software package with a huge amount of floationg point operations and trigonometical calculations from NT to VxWorks. Unfortunately we have a performance difference between NT and VxWorks, performance under VxWorks is reduced by factor 2 (Tornado II, Target: Pentium). We assume the problem is located in the math library. Does anyone have a solution? Thanks Ulf Fiederling Dornier Dasa Gmbh, Germany --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Thu Dec 21 07:43:25 2000 From: Christopher Slominski Date: Thu Dec 21 07:43:27 PST 2000 Subject: RE: C++ in VxWorks - is it recommended * VxWorks * Giora, I have had good luck with C++, developing in the Tornado II (VxWorks 5.4) environment. I don't believe the older VxWorks supported C++ as well. Efficiency can be achieved through careful use of the language. As you stated, exceptions can be costly. I see no reason to avoid virtual functions, because an indirect call to a function is not a lot of overhead. Be careful in using objects that are implemented using dynamic memory allocation. Dynamic memory is shared between tasks and mutual exclusion operations take place when allocated or freed. Try to instantiate complex objects, especially with dynamic memory, at start up. Chris _________________________________________________________________ Hello everybody, As you could learn from my previous two messages, I'm a newcomer to the real-time world, not to mention VxWorks. I'm currently involved in the early phases of designing a large embedded project - the development of a high-capacity optical router. I have a lot of experience in writing C++ applications, but so far mainly for Windows NT and UNIX only, not for embedded products. I strongly prefer C++ over C, and can tell many advantages of the former over the latter (standard libraries, templates, better memory management and more). My natural tendency is to craete an object-oriented design and to implement it with C++. However, I heard several people, with some real-time experience, who claim that in real-time applications, C should be chosen, and not C++. The arguments I've heard so far weren't convincing enough, but I'd like to collect some more opinions before taking the final decision. My questions are: 1. Should I prefer C ? 2. If so - why ? Should I prefer object-oriented design anyway, and merely force it on the C language ? 3. If C++ is superior, which features of the language should be neglected in a real-time product ? (I can tell that virtual functions should be avoided, as well as probably C++ exception). If anyone can point me to a resource containing alist of such "features to be avoided", I'd appreciate it. From vxwexplo-errs@csg.lbl.gov Fri Dec 22 04:03:09 2000 From: Vxworks Exploder Date: Fri Dec 22 04:03:12 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Fri Dec 22 04:03:05 PST 2000 Subject: RE: C++ in VxWorks - is it recommended Subject: Re: VxWorks vs. Linux Subject: a litany of problems Subject: Re: VxWorks vs. Linux Subject: Re: VxWorks vs. Linux Subject: Re: interrupt during downloading vxworks image Subject: Re: VxWorks vs. Linux Subject: Re: Getting Stack Traces Subject: Re: Usage of CPU Subject: Problem booting with Intel82559 driver + host on different subnet Subject: Re: VxWorks vs. Linux Subject: "new" and "delete" operator symbols undefined in vxWorks Subject: Re: debug 2 tasks Subject: Re: VxWorks vs. Linux Subject: About MPMC202 Subject: Re: Real-Time software tutorial Subject: PCI: flushing the posted write buffer Subject: interrupt during downloading vxworks image Subject: Re: OpenSSL on VxWorks? Subject: Re: flashing bootrom Subject: Re: VxWorks vs. Linux Subject: Re: changing directory to a ramdisk in tornado shell Subject: Re: VxWorks vs. Linux Subject: Help for using Timer! Subject: Re: how is this file "prjObjs.lst" created ?? Subject: Re: a litany of problems Subject: Re: OpenSSL on VxWorks? Subject: Forcing 'rebuild all' under Tornado 2.0 Subject: Re: PCI: flushing the posted write buffer ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: RE: C++ in VxWorks - is it recommended Date: Thu, 21 Dec 2000 10:42:51 -0500 From: Christopher Slominski Organization: Lawrence Berkeley National Laboratory Message-ID: <91tac0$sr2$1@overload.lbl.gov> * VxWorks * Giora, I have had good luck with C++, developing in the Tornado II (VxWorks 5.4) environment. I don't believe the older VxWorks supported C++ as well. Efficiency can be achieved through careful use of the language. As you stated, exceptions can be costly. I see no reason to avoid virtual functions, because an indirect call to a function is not a lot of overhead. Be careful in using objects that are implemented using dynamic memory allocation. Dynamic memory is shared between tasks and mutual exclusion operations take place when allocated or freed. Try to instantiate complex objects, especially with dynamic memory, at start up. Chris _________________________________________________________________ Hello everybody, As you could learn from my previous two messages, I'm a newcomer to the real-time world, not to mention VxWorks. I'm currently involved in the early phases of designing a large embedded project - the development of a high-capacity optical router. I have a lot of experience in writing C++ applications, but so far mainly for Windows NT and UNIX only, not for embedded products. I strongly prefer C++ over C, and can tell many advantages of the former over the latter (standard libraries, templates, better memory management and more). My natural tendency is to craete an object-oriented design and to implement it with C++. However, I heard several people, with some real-time experience, who claim that in real-time applications, C should be chosen, and not C++. The arguments I've heard so far weren't convincing enough, but I'd like to collect some more opinions before taking the final decision. My questions are: 1. Should I prefer C ? 2. If so - why ? Should I prefer object-oriented design anyway, and merely force it on the C language ? 3. If C++ is superior, which features of the language should be neglected in a real-time product ? (I can tell that virtual functions should be avoided, as well as probably C++ exception). If anyone can point me to a resource containing alist of such "features to be avoided", I'd appreciate it. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks vs. Linux Date: Thu, 21 Dec 2000 17:32:12 GMT From: "R&D" Organization: Sympatico Message-ID: References: <3A3FBFFB.498C5FDD@netvision.net.il> <3A419C47.7CADE5F5@voxware.com> <3a41d495.244329006@pubnews.netcom.net.uk> I personally have had excellent support from Wind River and I like the tools. What other company has local support people willing to visit you and help you install your tools properly (Microsoft?) If I were to wait for Linux to provide all of the same functionality and if I wanted to blow my budget on system testing and integrating components then I would pick some thing like Linux. If you look at the number of protocols, and variety of tools that you can purchase from Wind River you would see what cost savings you will have in the end. As for Java....do you know any other 'real-time systems that include a Java machine that does not pause the entire system while garbage collection is being done? I think Wind River was the first company to provide a Java environment on a real-time os in the first place. These days, 'its not the cost...its time to market'. I would not want to be the designer that had to write a protocol for my product if I could buy it off the shelf. I would prefer to use my time creating something new. Add up the human hours.... you will save in the end. I don't hear you complaining about the high cost of a new Pentium CPU, for example (which has about 2 cents material cost)? And if you are unhappy with the service of a company is offering why don't you give feedback to the people you worked with instead of everyone except the people that can make a difference?! Merry Christmas... R&D - ------------------------------------------ "Bill Pringlemeir" wrote in message news:ubsu5dcaq.fsf@yahoo.com... > > >>>> Craig Vanderborgh wrote: > > >> Unfortunately, none of it is worth much. We have had terrible > >> problems with VxWorks (particularly the PersonalJava component) > >> and have received unbelievably bad support from WRS. Their > >> vaunted tools are so bug-ridden that they are virtually useless. > > >>>>> "Mike" == Mike Davies writes: > > Mike> I can second all that. We use VxW**ks and it is extremely > Mike> highly priced for what it is. WRS support sucks farts from > Mike> dead cats. > > I would agree with these comments. I don't think that vxWorks is > anywhere as good as people think. I have used ucLinux and it is quite > effective and easy to use. You are in communication with the > developers and can get any problems resolve quickly. > > With vxWorks, they put you through the third degree to determine if > you have purchased every thing you should and that you are the > `designated person' to talk to them. After this, they take months to > tell you that this problem has already been fixed or that it has been > put in a massive queue. The last problem I reported was that the > debugger would GPF when you had mixed-mode assembler and `C' on. Why > do I have to have a license etc to report a basic flaw in their tools? > I am doing them a favor by testing their defective programs! > > One hint with open-source code/tools is to look around and make sure > that you have the latest (or second latest) stuff. Also get on any > and all mailing lists (and newsgroups) related to the particular > software that you are using. RTEMS is a very efficient and effective > operating system. It has some very nice features, like rate monotonic > scheduling that vxWorks does not. The base OS is probably more > sophisticated than vxWorks. However, click and drool GUI developers > may object to some of the tools. Of course, you can take the time and > configure DDD for them... > > The good thing about learning vxWorks is that you will have a job > because there are many pointer haired managers and legacy reason to > still use it. > > fwiw, > Bill > > -- > Do not drive today. Your finances will become financial in the next > several days. Your television will need to be removed this month. > You'll never be tired. --------------------------- Newsgroups: comp.os.vxworks Subject: a litany of problems Date: Thu, 21 Dec 2000 17:29:47 GMT From: wgrigg@my-deja.com Organization: Deja.com Message-ID: <91telv$eqm$1@nnrp1.deja.com> Below is a partial list of my current problems with VxWorks. I guess I do not expect anyone to really go through all of this (especially WRS support), but at least I feel a little better having posted this. . . . . 6 problems for 12/21/00 1. The target generates the following: Page Fault Program Counter: 0x001484af Status Register: 0x00010246 Error Code: 0x00140002 Task: 0x1fa2e54 "tNetTask" The target is not completely dead at this point because carriage return echoes in the HyperTerminal window. However, the target does not respond to a ping. I cannot tell if this happens whether or not I try to attach the target server, but I suspect it will occur after several minutes independent of any host <-> target communication. I do not think it will repeat 100% of the time. 2. The target server generates the following: failed. Connecting to target agent... Error: rpccore backend client Timed out This message keeps repeating in the target server window. 3. One variation of the target failing to boot successfully is shown below. This problem occurs roughly 20% of the time: CPU: PC 486 Version: 5.4 BSP version: 1.2/0 Creation date: Dec 18 2000, 17:07:08 Press any key to stop auto-boot... 0 auto-booting... Bootstring= esmc(0,0)DRH2588LAB:vxworks h=140.102.48.90 e=140.102.48.58:ffffff00 u=r048058 pw=target boot device : esmc unit number : 0 processor number : 0 host name : DRH2588LAB file name : vxworks inet on ethernet (e) : 140.102.48.58:ffffff00 host inet (h) : 140.102.48.90 host inet (h) : 140.102.48.90 ftp password (pw) : target flags (f) : 0x0 Finished netLibInit params.bootDev= esmc Checking DHCPC Finshed bootNetmaskExtract attached= 0 Call usrNetIfAttach usrNetIfAttach- 140.102.48.58 Attaching network interface esmc0... done. Start to configure device Host- esmc, 140.102.48.58, (null) buf= :ffffff00 bootaddr= 140.102.48.58:ffffff00 usrNetIfAttach- 127.0.0.1 Attaching network interface lo0... done. Host- lo, 127.0.0.1, localhost Loading... 140.102.48.90, vxworks, r048058, target Using ftpXfer 467984 + 9616 + 33084 Starting at 0x108000... Target Na That's it. The target simply stops at the point shown above. 4. At least 50% of the time when trying to launch the target server it generates the following: tgtsvr (Ampro4GE@drh2588lab): Thu Dec 21 11:54:19 2000 Wind River Systems Target Server: NT/Win95 version Connecting to target agent... succeeded. Attaching C++ interface... succeeded. Attaching a.out OMF reader for I80X86 CPU family... succeeded. Warning: Target checksum: 0xc43 (computed from 0x108340 to 0x17a410). Host checksum: 0xb4b4 (computed from 0xf70380 to 0xfe2450). Warning: Core file checksums do not match. However, the shell seems to be capable of successfully communicating with the target at this point, at least as shown below: - -> i NAME ENTRY TID PRI STATUS PC SP ERRNO DELAY - ---------- ------------ -------- --- ---------- -------- -------- ------ - - ----- tExcTask _excTask 1fe5b28 0 PEND 148314 1fe5a98 0 0 tLogTask _logTask 1fe3224 0 PEND 148314 1fe3190 0 0 tWdbTask _wdbCmdLoop 1f9df48 3 READY 147d95 1f9de04 0 0 tNetTask _netTask 1fa2e54 50 READY 11d723 1fa2dec 0 0 value = 0 = 0x0 5. When it appears that the target server/target are up and running as shown above, and I try to download my application, it kills the target, in that it no longer responds to pings. It does not seem to kill the target immediately because it will respond to pings up to the point that the target server times out. The shell is also, of course, dead. I have edited the configAll.h file so that the "memory pool for host tools" is twice as large as the default. Below is the edited line: #define WDB_POOL_SIZE ((sysMemTop() - FREE_RAM_ADRS)/8) /* memory pool for host tools */ In the target server configuration dialog box the following settings have been made: Back end: wdbrpc: timeout-100, retry- 2 Memory cache size 4096 Eventually the target server times out with the following: tgtsvr (Ampro4GE@drh2588lab): Thu Dec 21 12:03:28 2000 Error: rpccore backend client Timed out The target now no longer responds to pings. 6. I am weary of all of this! Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks vs. Linux Date: Thu, 21 Dec 2000 11:49:56 -0600 From: John McClenny Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <3A3FBFFB.498C5FDD@netvision.net.il> <3A419C47.7CADE5F5@voxware.com> In article <3A419C47.7CADE5F5@voxware.com>, craigv@voxware.com says... > Hi Giora: > > We elected to use VxWorks last year after deciding that it was the > "safe choice". VxWorks is expensive, and WRS works hard to trumpet > the excellence of VxWorks and its tools and support. Unfortunately, > none of it is worth much. We have had terrible problems with VxWorks > (particularly the PersonalJava component) and have received unbelievably > bad support from WRS. Their vaunted tools are so bug-ridden that they > are virtually useless. > > Linux probably is the better option at this point. From what I've > seen, it's just in better shape. It looks to be easier to get > a product to market with embedded Linux, as long as Linux can > meet your technical requirements. VxWorks is expensive, and not > a particularly "safe choice" either. > VxWorks is a layered solution. The core of the solution, the kernel, is actually pretty good. However, the closer you get to application programming the lower the quality. The quality of the BSPs ranges from ok to garbage. The TCP/IP stack is buggy and poorly tested. It lacks many features. PJava will start working any day now - sure it will. GUI tools suck if you need them. Development tools are pretty lame. Everything is expensive and you WILL get charged for everything - and I mean everything. You will spend a lot of time debugging VxWorks code. Linux is a better solution if you do not need hard real-time. If I were starting over my current (large) project, it would be Linux. Linux has more mature device drivers and has a lot more people beating on it every day to find bugs. John McClenny --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks vs. Linux Date: Thu, 21 Dec 2000 19:53:43 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <3A3FBFFB.498C5FDD@netvision.net.il> <3A419C47.7CADE5F5@voxware.com> <3a41d495.244329006@pubnews.netcom.net.uk> Sender: bpringlemeir@DeadDuck >>>>> "R&D" == R&D writes: R&D> I personally have had excellent support from Wind River and I R&D> like the tools. What other company has local support people R&D> willing to visit you and help you install your tools properly R&D> (Microsoft?) This is true, there are some good local apps people. There are some bad ones too. It seems that the good ones can be assigned permanently to a big company (ie Nortel). This is a complete gamble. Compare this to Usenet/mailing list support from developers if you develop with RTEMS or a Linux version. R&D> These days, 'its not the cost...its time to market'. I would R&D> not want to be the designer that had to write a protocol for my [snip] Exactly! Why is it that WRS demands that I have to gather all this information to report bugs in their product. Finding the bug and then reporting the bug has already cost me time, moreover time to market. They are not interested in bug fixes only sales! R&D> And if you are unhappy with the service of a company is offering R&D> why don't you give feedback to the people you worked with R&D> instead of everyone except the people that can make a R&D> difference?! Indeed I have! Perhaps many of the negative comments here would support my opinion. Is there anyone on comp.os.vxworks who will say that WRS provides the best tech support that they have ever seen? I am not saying a local apps person. Support should be centralized so that everyone in the world gets the same support. Support from WRS in California is horrendous. fwiw, Bill >>>>> Pringlemeir" wrote in message >> I would agree with these comments. I don't think that vxWorks is >> anywhere as good as people think. I have used ucLinux and it is >> quite effective and easy to use. You are in communication with >> the developers and can get any problems resolve quickly. >>>>> "Mike" == Mike Davies writes: Mike> I can second all that. We use VxW**ks and it is extremely Mike> highly priced for what it is. WRS support sucks farts from Mike> dead cats. - -- Kibology can teach us how to create. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: interrupt during downloading vxworks image Date: Thu, 21 Dec 2000 12:11:51 -0800 From: Melvin Gardipee <"> Organization: Raytheon Company Message-ID: References: <3A424405.4CB04F1B@hotmail.com> You need to get the patch for SPR#28573. The dec21x40End driver would generate this no carrier when connected using an ethernet crossover. I believe that the patch has been incorporated into T2CP3. best regards, Melvin Gardipee --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks vs. Linux Date: Thu, 21 Dec 2000 14:16:28 -0600 From: John McClenny Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <3A3FBFFB.498C5FDD@netvision.net.il> <3A419C47.7CADE5F5@voxware.com> <3a41d495.244329006@pubnews.netcom.net.uk> In article , uandme@cheerful.com says... > I personally have had excellent support from Wind River and I like the > tools. What other company has local support people willing to visit you and > help you install your tools properly (Microsoft?) If I were to wait for > Linux to provide all of the same functionality and if I wanted to blow my > budget on system testing and integrating components then I would pick some > thing like Linux. If you look at the number of protocols, and variety of > tools that you can purchase from Wind River you would see what cost savings > you will have in the end. As for Java....do you know any other 'real-time > systems that include a Java machine that does not pause the entire system > while garbage collection is being done? I think Wind River was the first > company to provide a Java environment on a real-time os in the first place. PJava just doesn't work very well and is slow when it does work. The Tao Group JVM runs a LOT faster on the same hardware. As to all of the components - bullshit. The kind of features I am asking for are STANDARD in any Linux distribution. Already integrated and working. With lots of people using them. I am soooo tired of getting yet another charge for $32k for another component that is standard in Linux. And then have it be buggy crap that we have to debug for WR. Note that I am not a Linux bigot, but am being pushed in that direction by WR. > > These days, 'its not the cost...its time to market'. I would not want to be > the designer that had to write a protocol for my product if I could buy it > off the shelf. I would prefer to use my time creating something new. Add > up the human hours.... you will save in the end. I don't hear you > complaining about the high cost of a new Pentium CPU, for example (which has > about 2 cents material cost)? > I selected WR to reduce my TTM. Instead, I am still waiting for a lot of 'any day now' releases and have had to slip schedule. I unfortunately believed what they were telling me. Bad choice. The cost is not related to the quality of the components and they cannot deliver to schedule. I can buy embedded Linux distributions for a smaller price than the core WR toolset and not have to pay for each component or a run-time license. > And if you are unhappy with the service of a company is offering why don't > you give feedback to the people you worked with instead of everyone except > the people that can make a difference?! Because we have and they are too unfocused to care. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Getting Stack Traces Date: Thu, 21 Dec 2000 14:39:38 GMT From: Lee DeRaud Organization: None to speak of Message-ID: References: <3A419D19.28DEE9@voxware.com> Sender: nntp@news.boeing.com (Boeing NNTP News Access) On Thu, 21 Dec 2000 06:03:05 GMT, Craig Vanderborgh wrote: >Hi all: > >Is there some way to get the stack trace of a thread from the target >shell? I know how to do it with gdb, but I need to find some way >to get thread stack traces from the target shell w/o anything else. >Any ideas on how to do this would be appreciated since a prolonged >RTFM exercise has yielded nothing. tt "taskname" Lee --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Usage of CPU Date: Thu, 21 Dec 2000 14:41:18 GMT From: Lee DeRaud Organization: None to speak of Message-ID: References: <91rdbp$s9p$1@nnrp1.deja.com> Sender: nntp@news.boeing.com (Boeing NNTP News Access) On Wed, 20 Dec 2000 22:54:52 GMT, bryan wrote: >Hi all, > > I am working with a ARM CPU target. I want to know that is there >any VxWorks function that can check the usage of CPU?? The functions in spyLib are a good start, assuming you have an otherwise-unused aux clock. Lee --------------------------- Newsgroups: comp.os.vxworks Subject: Problem booting with Intel82559 driver + host on different subnet Date: Thu, 21 Dec 2000 20:10:05 +0000 From: James Marshall Organization: Agilent Technologies UK Ltd Message-ID: <3A42639D.2F3B37B2@agilent.com> Hi Everyone. I'm using the Intel 82559ER-supporting VxWorks driver to boot a PC target from a host on a different subnet and getting nowhere. My target is on 10.225.0.158:ffffff00 (255.255.255.0) and the host is on 15.144.180.226:fffff000 (255.255.240.0). Both are subnetted Class A addresses. When I add the gateway parameter, g=10.225.0.1, the bootConfig.c code adds a route [with routeAdd()] to 15.0.0.0 through this gateway, ignoring the netmask. When I use the BSD/SENS variant of the driver (version 1.00.05) I just get the "Loading..." prompt and nothing else. The target doesn't respond to pings at any time. When I use the MUX/END variant of the driver (version 1.00.01) I get the "Loading..." prompt, the first number (text size) then nothing. The target responds to pings until the text size displays, then stops. I have to leave the network cable unplugged until "Loading..." appears (see also Further Info at the end) otherwise I get the message "Panic: where are those rfd buffers" printed out regularly. *Very occasionally* the pings continue to get through after the text size displays, but only every 4th ping comes back and with a response of about 1600ms instead of the usual 0-10ms. The two times that this happened, the TCP link used by rcmd() *eventually* loaded all the main image and started VxWorks. When the target and host are on the same subnet, booting over the LAN works fine as expected. Further Info: - - there is 30-50 packets/sec broadcast traffic on the LAN. - - the physical (ie. layer 2) network carries traffic for both logical (layer 3) IP networks. This means we can make the gateway parameter g=10.225.0.158 - the same as the target's IP address - so the correct 15.x.x.x packets are generated directly on the wire by the stack. But it's a shortcut and doesn't appear to affect the lack of bootloading. - - the symptoms are the same when using the same driver on an 82558 LAN controller. - - I can use the WindRiver FEI END driver with the 82558 and boot successfully with target and host on different subnets. - - although the main image is just over 2MB (2,122,344 bytes), it does boot successfully in other scenarios. - - I've tried replacing the routeAdd() used by bootConfig.c with mRouteAdd(). The behaviour with netmasks seems to be broken in different and confusing ways, but it still works with another driver so this shouldn't be stopping bootloading. I know it's close to Christmas but this scenario needs to work when we come back next year so if you're feeling bored over the next week... Best Regards James. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks vs. Linux Date: Thu, 21 Dec 2000 21:06:47 -0000 From: "Mike Davies" Organization: Customer of Energis Squared Message-ID: <91trf2$k4$1@newsg1.svr.pol.co.uk> References: <3A3FBFFB.498C5FDD@netvision.net.il> <3A419C47.7CADE5F5@voxware.com> <3a41d495.244329006@pubnews.netcom.net.uk> Reply-To: "Mike Davies" >As for Java....do you know any other 'real-time > systems that include a Java machine that does not pause the entire system > while garbage collection is being done? I think Wind River was the first > company to provide a Java environment on a real-time os in the first place. Does this mean that Wind Rivers' Java is suitable for hard real time applications ? I notice that you have not said so in so many words. > These days, 'its not the cost...its time to market'. I don't agree that my customers don't care about cost. Cost is crucial to the success of any product these days. In any case support that takes a month to come back with the response that there is indeed a problem but that no-one in the UK is qualified to diagnose it, and another month to say that a (year old) patch is available that fixes the problem does not help time to market in the slightest. > And if you are unhappy with the service of a company is offering why don't > you give feedback to the people you worked with instead of everyone except > the people that can make a difference?! WRS in the UK are well aware of my opinions about their support. I think that the fact that their email signature gives a UK address together with an 0800 number for tech support says it all. What ? You don't understand ? Oh... the 0800 number is only valid in the USA ... Bah ! Humbug ! :-) Mike Davies --------------------------- Newsgroups: comp.os.vxworks Subject: "new" and "delete" operator symbols undefined in vxWorks Date: Thu, 21 Dec 2000 21:05:05 GMT From: chansax@my-deja.com Organization: Deja.com Message-ID: <91tr9s$q10$1@nnrp1.deja.com> Hi All !! I am working with vxWorks on PPC architecture (PPC603). There is a bug in vxWorks 5.4 whereby "C++ symbols associated with operators "new" and "delete" are undefined in standalone symbol tables. However, these symbols are present if the symbol table is downloaded over the network." This is known problem (SPR 28187). It is claimed to be solved in cumulative patch 3 (T2CP3) available from windsurf. I have installed this patch but the problem still remains. Do any of you guys have some idea to fix this stuff. I am looking for a quickfix to this problem. I have juggled around with the *_SYM_TBL_* hash defs and loadLib things but without success. if somebody has some solution pl. let me know. thanks chandan Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: debug 2 tasks Date: Fri, 22 Dec 2000 00:24:37 +0100 From: "JJS" Organization: LT Message-ID: <91u5eh$1lsb$1@news5.isdnet.net> References: <91m4qq$2cei$1@news5.isdnet.net> <3a3f8469.2244637@news.det.ameritech.net> >>Hi, >> >>I tried to debug the simple code below >> >>maintask() >>{ >> >> ... >>taskSpawn("task1", ....) >>.... >>} >> >>task1() >>{ >> ... >>} Thanks for the responses. Finaly I used two solutions for my problems : Open two debuggers in two T2 Add a global breakpoint in task1() After taskspawn() attach task1 Then, it's possible to debug simultaneous maintask() and task1() Open one debugger Add a global breakpoint After taskspawn() detach maintask() and attach task1() Continue debugging task1() Jack --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks vs. Linux Date: Fri, 22 Dec 2000 01:06:46 GMT From: cwein@my-deja.com Organization: Deja.com Message-ID: <91u9f2$672$1@nnrp1.deja.com> References: <3A3FBFFB.498C5FDD@netvision.net.il> In article <3A3FBFFB.498C5FDD@netvision.net.il>, Giora Unger wrote: > Hi, > > We're currently considering a real-time OS for a large project - a > development of a high-capacity optical router. > It seems like the only 2 options are: > 1. VxWorks (the natural and safe choice) > 2. Linux (the Real-Time and Embedded Linux variants. There are handful > of them) I have seen some of the other posts on this topic and don't think they really address some of the issues you will face - specifically since you are doing a "telecom" type application which requires very high availability. - - WRS support sucks. This is generally true. If you have a moderate sized team working on it and are relying on it for your product then you MUST buy a source license. The source code is pretty readable. I used VxWorks for several years in a router type application (ATM/frame relay switch) and we made many modifications that would not be possible unless we had a source license (such as adding generation of warnings if we started to run out of heap etc.) - - VxWorks does not support memory protection between tasks/processes (well, sort of - I will get to that) whereas Linux does. This is a big deal for a high availability system. (I assume you have an MMU since you are considering Linux). The most recent version of VxWorks introduces a type of memory protection that is not exactly the same as the more standard "process model". It probably works but keep in mind that it might *never* have gone into a mass produced high availability system yet. In fact, WRS added memory protection specifically to keep/win more telecom designs. Call Nortel and see if they are using it yet :-) - - WRS Personal Java sucks. Ok. I am not sure you care about this. - - VxWorks does have a performance benefit over Linux in many areas due to its lightweight nature. However, since you are an optical router I doubt you are using the CPU on the datapath and instead are using it for command, control, configuration etc. where super hard realtime performance is not needed. In this case, it might not be an issue. Hope this helps, Chris Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: About MPMC202 Date: Fri, 22 Dec 2000 02:51:28 GMT From: ellin_lin@my-deja.com Organization: Deja.com Message-ID: <91ufjf$aq7$1@nnrp1.deja.com> Hi All, I just tried to implement a 2nd ethernet card on my mcp750, it is a MPMC202. I could see it with "ifShow" in target shell, and I could ping another computer via it, but it lost packets seriously. Does someone has experience with MPMC202? Thx in advance. ellin Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.realtime,comp.os.vxworks Subject: Re: Real-Time software tutorial Date: Thu, 21 Dec 2000 14:28:48 GMT From: realtime_developer@my-deja.com Organization: Deja.com Message-ID: <91t42q$583$1@nnrp1.deja.com> References: <3A3FC667.8478B2B3@netvision.net.il> Giora, You will find articles covering basics of Realtime time design at: http://www.eventhelix.com/RealtimeMantra/ You can go through the design of a few example systems at: http://www.eventhelix.com/ThoughtProjects/ Sandeep Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: PCI: flushing the posted write buffer Date: Thu, 21 Dec 2000 15:38:14 GMT From: dgiang1@my-deja.com Organization: Deja.com Message-ID: <91t855$8r1$1@nnrp1.deja.com> Paraphrasing some from PCI System Architecture: In PCI, if a bridge implements a posted write buffer, another bus master may initiate a posted read from the target of the posted write before the data is actually written to the target. The passage goes on to explain that a fix for this potential problem is in the device driver to perform a read on the device, which will flush all posted writes from the destination targets. My question is: does vxWorks have a call that does the "flushing" for you, or is there an inline assembly call I can implement into my C code? Thanks Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: interrupt during downloading vxworks image Date: Thu, 21 Dec 2000 10:55:17 -0700 From: hari Message-ID: <3A424405.4CB04F1B@hotmail.com> Reply-To: kanigeri@hotmail.com hi when i am booting my vxworks image i am getting messages saying interrupt:dc0 - no carrier. can you please tell me what is the possible reason for this and how to rectify this thank you hari [VxWorks Boot]: @ boot device : dc unit number : 0 processor number : 0 host name : U.S.U..usu.edu file name : c:\tornado\target\config\mtx603\vxworks inet on ethernet (e) : 129.123.4.127:ffff0000 host inet (h) : 129.123.4.237 user (u) : sl149 ftp password (pw) : goud flags (f) : 0x40 target name (tn) : tornado Attached TCP/IP interface to dc0. Getting boot parameters via network interface dc0interrupt: dc0 - no carrier Bootp Server:129.123.1.9 Boot file: c:\tornado\target\config\mtx603\vxworks interrupt: dc0 - no carrier Attaching network interface lo0... done. Loading... interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier 670192interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier logTask: 5 log messages lost. interrupt: dc0 - no carrier logTask: 16 log messages lost. interrupt: dc0 - no carrier logTask: 14 log messages lost. interrupt: dc0 - no carrier logTask: 16 log messages lost. interrupt: dc0 - no carrier logTask: 16 log messages lost. interrupt: dc0 - no carrier logTask: 17 log messages lost. interrupt: dc0 - no carrier logTask: 13 log messages lost. interrupt: dc0 - no carrier logTask: 6 log messages lost. interrupt: dc0 - no carrier logTask: 15 log messages lost. interrupt: dc0 - no carrier logTask: 15 log messages lost. interrupt: dc0 - no carrier logTask: 15 log messages lost. interrupt: dc0 - no carrier logTask: 15 log messages lost. interrupt: dc0 - no carrier logTask: 15 log messages lost. interrupt: dc0 - no carrier logTask: 17 log messages lost. interrupt: dc0 - no carrier logTask: 17 log messages lost. interrupt: dc0 - no carrier logTask: 14 log messages lost. interrupt: dc0 - no carrier logTask: 10 log messages lost. interrupt: dc0 - no carrier logTask: 16 log messages lost. interrupt: dc0 - no carrier logTask: 15 log messages lost. interrupt: dc0 - no carrier logTask: 15 log messages lost. Sinterrupt: tarting adct 0x0 - no carrier 100000logTask: 7 log messages lost. ...interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier interrupt: dc0 - no carrier Attached TCP/IP interface to dc unit 0 Attaching network interface lo0... done. interrupt: dc0 - no carrier NFS client support not included. VxWorks Copyright 1984-1998 Wind River Systems, Inc. CPU: Motorola MTX - MPC 603p VxWorks: 5.4 BSP version: 1.2/0 Creation date: Apr 21 1999 WDB: Ready. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: OpenSSL on VxWorks? Date: Thu, 21 Dec 2000 16:42:53 +0800 From: "Zhang Zhiqun" Organization: Bentium Ltd. Message-ID: <91sfp8$ccq$1@mail.cn99.com> References: <91scvr$jvk$1@nnrp1.deja.com> Wind River supply the Wind-ML 2.0 to support the multimedia including sound. - -- Thanks and best regards. Zhang Zhiqun (Bula Zhang) bula@guoguang.com.cn Guoguang Electronic Information Technology Co., Ltd. http://www.guoguang.com.cn 93 Qingtan Road, Changzhou, Jiangsu, 213015, China Tel: +86 519 697 0000 ext. 2372 Fax: +86 519 697 1140 wrote in message news:91scvr$jvk$1@nnrp1.deja.com... > Hi, > > Is there a VxWorks port of OpenSSL/SSLEay available anywhere on the Web? > > Does anyone have experience of doing this port? How easy or difficult > is it? > > Thanks and regards > > > Sent via Deja.com > http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: flashing bootrom Date: Thu, 21 Dec 2000 09:17:24 -0500 From: David Abbott Organization: Jefferson Lab Message-ID: <3A4210F2.CB0B908E@jlab.org> References: <3A41614D.581B5770@hotmail.com> You are using a very old version of PPCBug on your single board computer. The error (018) is basically a "no Link" error. It is almost certainly coming from the fact that you are connected to a 100 BaseT or 100/10 auto-sensing switch. The older versions of The Bug had a bug with the negotiation on the network. You must either reflash the SBC with an updated version of PPCBug or move your SBC to a fixed 10BaseT network connection to make the bootrom download. David Abbott Jefferson Lab abbottd@jlab.org hari wrote: > hi > i am flashing the boot rom using motorola ppc1- bug and after the > niop command i am getting "error status :0018". do you know what is the > reason for this. i will be very grateful for your help > thank you > this is the following information i am using. > > PPC1-Bug>niot > Controller LUN =00? > Device LUN =00? > Node Control Memory Address =07F9E000? > Client IP Address =129.123.4.127? > Server IP Address =129.123.4.237? > Subnet IP Address Mask =255.255.255.0? > Broadcast IP Address =255.255.255.255? > Gateway IP Address =129.123.4.254? > Boot File Name ("NULL" for None) =? . > PPC1-Bug>niop > Controller LUN =00? > Device LUN =00? > Get/Put =G? > File Name =? boot.bin > Memory Address =00004000? 4100 > Length =00000000? > Byte Offset =00000000? > Error Status: 0018 --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks vs. Linux Date: Thu, 21 Dec 2000 10:06:45 GMT From: mike@null.com (Mike Davies) Organization: (Posted via) GTS Netcom - Public USENET Service http://pubnews.netcom.net.uk Message-ID: <3a41d495.244329006@pubnews.netcom.net.uk> References: <3A3FBFFB.498C5FDD@netvision.net.il> <3A419C47.7CADE5F5@voxware.com> Sender: Mike@clockwork.freeserve.co.uk On Thu, 21 Dec 2000 05:59:36 GMT, Craig Vanderborgh wrote: >Hi Giora: > >We elected to use VxWorks last year after deciding that it was the >"safe choice". VxWorks is expensive, and WRS works hard to trumpet >the excellence of VxWorks and its tools and support. Unfortunately, >none of it is worth much. We have had terrible problems with VxWorks >(particularly the PersonalJava component) and have received unbelievably >bad support from WRS. Their vaunted tools are so bug-ridden that they >are virtually useless. I can second all that. We use VxW**ks and it is extremely highly priced for what it is. WRS support sucks farts from dead cats. If you are looking for a real-time unix alike then you can't do better than QNX imo. I have used their QNX 4.2x system, but they have a new kernal out called Neutrino that looks good. The development system for the Neutrino kernal is available at no cost, all you pay is royalties on the kernal. The Neutrino system is supposed to be close enough to Linux that porting Linux software is easy. It sounds to me like it may meet your requirements, worth a look anyway : http://www.qnx.com hth, Mike Davies --------------------------- Newsgroups: comp.os.vxworks Subject: Re: changing directory to a ramdisk in tornado shell Date: 21 Dec 2000 10:16:09 GMT From: Johan Borkhuis Organization: Lucent Technologies, Nieuwegein NL Message-ID: <91sl99$9br$1@news1.xs4all.nl> References: <3A415B77.42C2B061@yahoo.com> bpatel wrote: : -> cd "RAM1:/nodesw/". Try @cd, or run the command from the target shell instead of the host shell. Groeten, Johan - -- o o o o o o o . . . ______________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@lucent.com | >(________|__|_[_________]_|___________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks vs. Linux Date: Thu, 21 Dec 2000 15:26:40 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <3A3FBFFB.498C5FDD@netvision.net.il> <3A419C47.7CADE5F5@voxware.com> <3a41d495.244329006@pubnews.netcom.net.uk> Sender: bpringlemeir@DeadDuck >>>> Craig Vanderborgh wrote: >> Unfortunately, none of it is worth much. We have had terrible >> problems with VxWorks (particularly the PersonalJava component) >> and have received unbelievably bad support from WRS. Their >> vaunted tools are so bug-ridden that they are virtually useless. >>>>> "Mike" == Mike Davies writes: Mike> I can second all that. We use VxW**ks and it is extremely Mike> highly priced for what it is. WRS support sucks farts from Mike> dead cats. I would agree with these comments. I don't think that vxWorks is anywhere as good as people think. I have used ucLinux and it is quite effective and easy to use. You are in communication with the developers and can get any problems resolve quickly. With vxWorks, they put you through the third degree to determine if you have purchased every thing you should and that you are the `designated person' to talk to them. After this, they take months to tell you that this problem has already been fixed or that it has been put in a massive queue. The last problem I reported was that the debugger would GPF when you had mixed-mode assembler and `C' on. Why do I have to have a license etc to report a basic flaw in their tools? I am doing them a favor by testing their defective programs! One hint with open-source code/tools is to look around and make sure that you have the latest (or second latest) stuff. Also get on any and all mailing lists (and newsgroups) related to the particular software that you are using. RTEMS is a very efficient and effective operating system. It has some very nice features, like rate monotonic scheduling that vxWorks does not. The base OS is probably more sophisticated than vxWorks. However, click and drool GUI developers may object to some of the tools. Of course, you can take the time and configure DDD for them... The good thing about learning vxWorks is that you will have a job because there are many pointer haired managers and legacy reason to still use it. fwiw, Bill - -- Do not drive today. Your finances will become financial in the next several days. Your television will need to be removed this month. You'll never be tired. --------------------------- Newsgroups: comp.os.vxworks Subject: Help for using Timer! Date: Wed, 20 Dec 2000 15:33:32 +0800 From: "aha1973" Organization: Deja.com - Before you buy Message-ID: <003001c06a57$27f6ab30$5806000a@rd> Reply-To: "aha1973" hello all: how can i use timer(POSIX) in vxworks, who can give me a example? chat* thank all aha1973@ Sent via Deja.com http://www.deja.com/ Before you buy. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: how is this file "prjObjs.lst" created ?? Date: Fri, 22 Dec 2000 09:44:32 +0000 From: John Smith Organization: UUNET Canada News Reader Service Message-ID: <1i864tk49dv34ih1nuu3p7oeimd1cpq220@4ax.com> References: On Thu, 14 Dec 2000 01:27:12 GMT, "Jim" wrote: >Hello all, > >anyone know how/ or where the rule to create this file is placed ... > >Cheers, >Jim > These are created by prj_vxApp .tcl or prj_vxWorks .tcl and should be regenerated if you do a 'build all' --------------------------- Newsgroups: comp.os.vxworks Subject: Re: a litany of problems Date: 22 Dec 2000 09:50:34 GMT From: Johan Borkhuis Organization: Lucent Technologies, Nieuwegein NL Message-ID: <91v85a$9t6$1@news1.xs4all.nl> References: <91telv$eqm$1@nnrp1.deja.com> As a response to items 4 and 5 in your list: Make sure the VxWorks image on your target and the one your target server is referring to is the same image. This will probably solve both of the problems, because also the symbol information is in this file. As both files refer to different versions of the system also the loading of the object and execution of certain commands will cause the system to fail (compare with a "jmp rand()"). Groeten, Johan - -- o o o o o o o . . . ______________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@lucent.com | >(________|__|_[_________]_|___________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: Re: OpenSSL on VxWorks? Date: Fri, 22 Dec 2000 09:49:14 +0000 From: John Smith Organization: UUNET Canada News Reader Service Message-ID: References: <91scvr$jvk$1@nnrp1.deja.com> <91sfp8$ccq$1@mail.cn99.com> On Thu, 21 Dec 2000 16:42:53 +0800, "Zhang Zhiqun" wrote: >Wind River supply the Wind-ML 2.0 to support the multimedia including sound. I think they meant SSL as in Secure Socket Layer - encryption. --------------------------- Newsgroups: comp.os.vxworks Subject: Forcing 'rebuild all' under Tornado 2.0 Date: Fri, 22 Dec 2000 10:01:38 +0000 From: John Smith Organization: UUNET Canada News Reader Service Message-ID: Hi there We have a Tornado workspace with a lot of projects inside it, and I have implemented a 'make all' script to compile and link all the projects without having to go through each one individually. Has anyone found a way to force a 'rebuild all' from a secondary makefile ? My global makefile contains rules to this effect: @$(MAKE) -C $(PRJ1)/ppc860gnu -f ../makefile BUILD_SPEC=PPC860gnu archive @$(MAKE) -C $(PRJ2)/ppc860gnu -f ../makefile BUILD_SPEC=PPC860gnu archive : @$(MAKE) -C $(PRJn)/ppc860gnu -f ../makefile BUILD_SPEC=PPC860gnu archive My problem lies in the fact that I can't get the global makefile to regenerate the makefiles in the other projects from the project files (as 'buildall' does). I suspect that I need to invoke a Tcl script to do this - has anyone done this before ? Any help much appreciated. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: PCI: flushing the posted write buffer Date: Fri, 22 Dec 2000 10:28:51 +0000 From: James Marshall Organization: Agilent Technologies UK Ltd Message-ID: <3A432CE3.CB874847@agilent.com> References: <91t855$8r1$1@nnrp1.deja.com> The flushing of the posted write buffer is triggered by doing a read after you've completed your writes - that's the only software involvement. The read will be queued behind the writes and won't be initiated until all the writes complete. Any read to a target on the opposite side of a PCI-PCI bridge will cause the posted-write buffer on that target's side to be flushed. I don't think a "posted read" exists. Reads will stall the processor until they complete. Depending on the sophistication of your PCI devices the PCI bus may be blocked as well, but there is the Retry method where the PCI target tells the initiator to come back later for the data - it's conceptually similar to disconnect in SCSI - and it allows other bus masters like the LAN controller to grab the bus. James. dgiang1@my-deja.com wrote: > Paraphrasing some from PCI System Architecture: > > In PCI, if a bridge implements a posted write > buffer, another bus master may initiate a posted > read from the target of the posted write before > the data is actually written to the target. > > The passage goes on to explain that a fix for > this potential problem is in the device driver to > perform a read on the device, which will flush > all posted writes from the destination targets. > My question is: does vxWorks have a call that > does the "flushing" for you, or is there an > inline assembly call I can implement into my C > code? > > Thanks > > Sent via Deja.com > http://www.deja.com/ --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Sat Dec 23 04:03:07 2000 From: Vxworks Exploder Date: Sat Dec 23 04:03:09 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Sat Dec 23 04:03:04 PST 2000 Subject: Re: Problem booting with Intel82559 driver + host on different subnet Subject: DHCP client Subject: Re: Forcing 'rebuild all' under Tornado 2.0 Subject: Windshell symbol problem Subject: DiskOnChip2000 driver for PowerPC architecture ? Subject: MUX layer Subject: Re: Windshell symbol problem Subject: Re: DiskOnChip2000 driver for PowerPC architecture ? Subject: Installation of a protocol like udp on ip Subject: BSP Subject: Send Ethernet messages Subject: FTP server fails on larger files Subject: ROMRAM MODEL Subject: Ethernet cards ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Re: Problem booting with Intel82559 driver + host on different subnet Date: Fri, 22 Dec 2000 12:44:33 +0000 From: James Marshall Organization: Agilent Technologies UK Ltd Message-ID: <3A434CB1.AAA6248C@agilent.com> References: <3A42639D.2F3B37B2@agilent.com> Guess what? I went back to using WindRiver's FEI END driver and just added another line to sys557PciInit() so it accepts the 82559ER's PCI device ID (0x1209) as well as the 82557/8/9's (0x1229). And it just works! The answer seems to be do not use Intel's driver in the VxWorks boot image. Merry Christmas! James. James Marshall wrote: > Hi Everyone. > > I'm using the Intel 82559ER-supporting VxWorks driver to boot a PC target from a > host on a different subnet and getting nowhere. > > My target is on 10.225.0.158:ffffff00 (255.255.255.0) and the host is on > 15.144.180.226:fffff000 (255.255.240.0). Both are subnetted Class A addresses. > When I add the gateway parameter, g=10.225.0.1, the bootConfig.c code adds a > route [with routeAdd()] to 15.0.0.0 through this gateway, ignoring the netmask. > > When I use the BSD/SENS variant of the driver (version 1.00.05) I just get the > "Loading..." prompt and nothing else. The target doesn't respond to pings at any > time. > > When I use the MUX/END variant of the driver (version 1.00.01) I get the > "Loading..." prompt, the first number (text size) then nothing. The target > responds to pings until the text size displays, then stops. I have to leave the > network cable unplugged until "Loading..." appears (see also Further Info at the > end) otherwise I get the message "Panic: where are those rfd buffers" printed > out regularly. *Very occasionally* the pings continue to get through after the > text size displays, but only every 4th ping comes back and with a response of > about 1600ms instead of the usual 0-10ms. The two times that this happened, the > TCP link used by rcmd() *eventually* loaded all the main image and started > VxWorks. > > When the target and host are on the same subnet, booting over the LAN works fine > as expected. > > Further Info: > - there is 30-50 packets/sec broadcast traffic on the LAN. > - the physical (ie. layer 2) network carries traffic for both logical (layer 3) > IP networks. This means we can make the gateway parameter g=10.225.0.158 - the > same as the target's IP address - so the correct 15.x.x.x packets are generated > directly on the wire by the stack. But it's a shortcut and doesn't appear to > affect the lack of bootloading. > - the symptoms are the same when using the same driver on an 82558 LAN > controller. > - I can use the WindRiver FEI END driver with the 82558 and boot successfully > with target and host on different subnets. > - although the main image is just over 2MB (2,122,344 bytes), it does boot > successfully in other scenarios. > - I've tried replacing the routeAdd() used by bootConfig.c with mRouteAdd(). The > behaviour with netmasks seems to be broken in different and confusing ways, but > it still works with another driver so this shouldn't be stopping bootloading. > > I know it's close to Christmas but this scenario needs to work when we come back > next year so if you're feeling bored over the next week... > > Best Regards > James. --------------------------- Newsgroups: comp.os.vxworks Subject: DHCP client Date: Fri, 22 Dec 2000 14:09:38 +0100 From: "Delsol Thomas(chez Tekelec Temex Telecom)" Organization: Tekelec Temex Telecom (http://www.temex-telecom.com) Message-ID: <3A435292.6797B7D6@temex.fr> Reply-To: thomas.delsol@temex.fr Hello, I want to assign a dynamic IP adress to my ethernet Vxworks driver. My driver start when my application is started. When I call IfShow or muxShow, I see my driver but he don't send the request for the registration. It's the first time that I should install and configure a dhcp client. I have include DHCP client timestamp setup, DHCPv4 Client Lease Verification and DHCPv4 runtime client in my workspace. I have a DHCP server under Win Nt workstation on the same network. What's to be done??? Please help me. Tom --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Forcing 'rebuild all' under Tornado 2.0 Date: 22 Dec 2000 14:15:55 GMT From: Johan Borkhuis Organization: Lucent Technologies, Nieuwegein NL Message-ID: <91vnmr$fej$1@news1.xs4all.nl> References: John Smith wrote: : My problem lies in the fact that I can't get the global makefile : to regenerate the makefiles in the other projects from the project : files (as 'buildall' does). I suspect that I need to invoke a Tcl : script to do this - has anyone done this before ? Take a look at my VxWorks page, question 1.7-C. Groeten, Johan - -- o o o o o o o . . . ______________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@lucent.com | >(________|__|_[_________]_|___________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- Newsgroups: comp.os.vxworks Subject: Windshell symbol problem Date: Fri, 22 Dec 2000 10:17:39 -0500 From: "Mike Kordik" Message-ID: <3fK06.6$Xm3.126@client> In windshell the symbol addresses are a little off. That is they do not agree with the target shell. When I use the 'd' command to dump memory in both the windsh and target shell they do not agree. Has anyone seen this before? The target server is configured to synchronize both the host and target symbols. I also get a checksum mismatch with the vxworks image when the target server connects. WRS support thinks it may have something to do with the DosFS2.0. Thanks, Mike --------------------------- Newsgroups: comp.os.vxworks Subject: DiskOnChip2000 driver for PowerPC architecture ? Date: Fri, 22 Dec 2000 16:39:30 +0100 From: Rainer Stelzer Organization: Stoye GmbH, =?iso-8859-1?Q?K=F6ln?= Message-ID: <3A4375B2.963214B9@stoye.de> Hi vxworkers, I'm seeking for a disk on chip driver for PowerPC architecture . The m-systems people told me that there is only a Intel version of the DiskOnChip vxworks driver. The sourceode is only hand out to companys, that are planing to order more than 20000 pcs a year. Has somebody out there a link to a linux driver, chip's details or something like that ? Thanx in advance. regards R.Stelzer ===================================================== Gebrüder Stoye GmbH department: traffic control systems name: Rainer Stelzer adr: Longericher Strasse 177 city: Cologne, Germany zip: 50739 phone: ++49/221/1707019 fax: ++49/221/1707010 mailto: r.stelzer@stoye.de www: http://www.stoye.de ===================================================== --------------------------- Newsgroups: comp.os.vxworks Subject: MUX layer Date: Fri, 22 Dec 2000 12:29:08 -0500 From: "Me" Message-ID: Hi, Thanks for reading this! Can anyone explain what I am doing wrong in the following code (simplified)... I call "functionA" FROM THE TARGET SHELL OFF OF THE SERIAL CONSOLE. It binds in to the MUX, sends some type of request and waits 10 seconds for a response. If a response is received within this time, functionA continues. If not, it exits. (I also tried a ridiculously longer wait period) The code is not doing what I am expecting... I had a protocol analyser and I did see the request frame and the response frame go through. The problem I am seeing is that "myReceiveFunction" doesn't seem to be called (from the MUX) before functionA exits... which is too late because functionA needs the information received. Thank you very much for any help you can provide! Martin Mayer ************************************************************** Here is the code! ************************************************************** int received; void myReceiveFunction (... pMBlk) { printf("Received data from MUX\n"); received++; } void init (void) { printf("Initializing\n"); received=0; muxBind (...) /* bind "myReceiveFunction" as receive function */ } void functionA (void) { init(); sendRequest(...); /*Send a request that expects a response*/ printf("Request sent\n"); /*Wait 10 seconds for response*/ for (int i=0 ; i<10 , !received ; i++) { printf("%d\n",i); /*Sleep for one second*/ } if (received) printf("RECEIVED DATA\n"); else { printf("ERROR! DID NOT RECEIVE WITHIN APPRORIATE TIME\n"); return 0; } /*Continue with functionA*/ } ************************************************************** I see the following output to the console: ************************************************************** Initializing Request sent 0 1 2 3 4 5 6 7 8 9 ERROR! DID NOT RECEIVE WITHIN APPRORIATE TIME Received data from MUX --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Windshell symbol problem Date: Fri, 22 Dec 2000 18:48:23 GMT From: John Fusco Organization: Deja.com Message-ID: <9207lk$laf$1@nnrp1.deja.com> References: <3fK06.6$Xm3.126@client> A checksum error when you connect usually means that the kernel loaded by the target does not match the kernel that the target server is looking at. That would definitely explain the address mismatches. Did you check this already? In article <3fK06.6$Xm3.126@client>, "Mike Kordik" wrote: > In windshell the symbol addresses are a little off. That is they do not > agree with the target shell. When I use the 'd' command to dump memory in > both the windsh and target shell they do not agree. Has anyone seen this > before? > > The target server is configured to synchronize both the host and target > symbols. I also get a checksum mismatch with the vxworks image when the > target server connects. > > WRS support thinks it may have something to do with the DosFS2.0. > > Thanks, > Mike > > Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: DiskOnChip2000 driver for PowerPC architecture ? Date: Fri, 22 Dec 2000 19:08:21 -0000 From: "timallen" Organization: Tim Allen Ltd Message-ID: References: <3A4375B2.963214B9@stoye.de> Reply-To: "timallen" > I'm seeking for a disk on chip driver for PowerPC architecture . > The m-systems people told me that there is only a Intel version of the > DiskOnChip vxworks driver. > The sourceode is only hand out to companys, that are planing to > order more than 20000 pcs a year. I've used VxWorks TrueFFS on PowerPC, and I _thought_ that it included support for DiskOnChip, it's certainly there as an option, but I've never tried it. I don't recall seeing any Wind River documentaion saying that DiskOnChip support isn't available for PowerPC. Isn't that the bundled option now? Tim. --------------------------- Newsgroups: comp.os.vxworks Subject: Installation of a protocol like udp on ip Date: Fri, 22 Dec 2000 20:17:36 +0100 From: "Hans-Hermann.Krost" Organization: T-Online Message-ID: <920bq7$k11$03$1@news.t-online.com> Hi, how is it possible to install a new protocol, which is on the same level of UDP or TCP. After the installation of this new protocol, the TCP/IP and UDP/IP stack should still work Thank for your help Hans --------------------------- Newsgroups: comp.os.vxworks Subject: BSP Date: Fri, 22 Dec 2000 20:26:51 +0100 From: "Hans-Hermann.Krost" Organization: T-Online Message-ID: <920cbh$463$04$1@news.t-online.com> Hi, where can I find a complete list of all necessary BSP functions, which are required by VxWorks for a pentium based platform. Thanks for your help Hans --------------------------- Newsgroups: comp.os.vxworks Subject: Send Ethernet messages Date: Fri, 22 Dec 2000 20:47:23 GMT From: bmcgonig@my-deja.com Organization: Deja.com Message-ID: <920ekq$r2j$1@nnrp1.deja.com> Hi All: This may be a very simple question, I dunno.. as I dont have any experience dealing with the networking side of vxWorks. Im trying to develop a fast debug trace system that can capture the state of my system in real time (save in memory etc.. I dont use a file system). Then frequently, I'd like to send this data across the Ethernet port to a file on the Sun. Can this be easily done? Or does it take lower level Networking knowledge? Either way.. can someone point me in the best direction? Thanx a lot in advance.. and happy holidays all :) Brian Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: FTP server fails on larger files Date: Sat, 23 Dec 2000 00:04:35 +0100 From: "Jørgen Jakobsen" Organization: CyberCity Internet Message-ID: <920mpt$umc$1@news.cybercity.dk> Hi I'm writing a BSP for a StrongARM SA-1110 based board, using Tornado 2.0.1. As part of this, I'm also rewriting an old ethernet BSD driver for a SMSC 91C96 to an END driver. The driver and BSP are all working fine, but I experience, that if I try to download larger files to my target using FTP on a ftpd server in my target, the transfer fails on files above 5-10k in size. Small files goes well, and upload (from target to my NT host) works perfect. Any hints of where to look ? Best regards Jorgen Jakobsen --------------------------- Newsgroups: comp.os.vxworks Subject: ROMRAM MODEL Date: Sat, 23 Dec 2000 02:15:06 GMT From: "Kim, Jeong-Hwan" Organization: Dacom Message-ID: Hi, everyone I'm a novice in VxWorks and I have a very silly question to you. I'm making bootrom using motorola scout board. It's ROM_BASED_ADRS is defined in makefile as 0xFFF0_0000 if "RAM_BASED" is not defined and as 0x00F0_0000 if "RAM_BASED" is defined. When I executed "make bootrom_uncmp.bin", bootrom_uncmp.bin and bootrom_uncmp.hex was generated. Map file says the start of "romInit" was 0x00F0_0000. I guess I generated RAM_BASED code. How can I "ROM_BASED" boot code image? Thanks in advance. --------------------------- Newsgroups: comp.os.vxworks Subject: Ethernet cards Date: Sat, 23 Dec 2000 04:49:04 GMT From: wv12@my-deja.com Organization: Deja.com Message-ID: <921arv$fp0$1@nnrp1.deja.com> Are there support (drivers) for the following cards? - - SMC EZCARD 10/100 (PCI version) - - noname card based on PCnet-ISA AM79C961 Thanks Will Sent via Deja.com http://www.deja.com/ --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Sun Dec 24 04:03:06 2000 From: Vxworks Exploder Date: Sun Dec 24 04:03:08 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Sun Dec 24 04:03:03 PST 2000 Subject: Re: FTP server fails on larger files Subject: Terminal Input in VxWorks Subject: Re: DiskOnChip2000 driver for PowerPC architecture ? Subject: Jworks ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Re: FTP server fails on larger files Date: Sat, 23 Dec 2000 12:01:08 GMT From: George Varndell Organization: Deja.com Message-ID: <922465$f3$1@nnrp1.deja.com> References: <920mpt$umc$1@news.cybercity.dk> I've already done what you're doing and I had to rewrite the driver. This is somewhat like asking why your Grandmother, who has 12 fatal diseases, doesn't feel like playing tennis. Numerous race condition vulnerabilities and unprotected critical paths, coupled with a fundamentally flawed S/W design make the original driver a lost cause. However, I did this under contract and someone else owns the source code. The best advice I can give is to step back. Don't look at what you're doing as porting a working driver to END. You're not. Look at what you're doing from a designer's perspective. Regards, George Varndell - -- Embedded Systems Expertise http://www.varndellengineering.com In article <920mpt$umc$1@news.cybercity.dk>, "Jørgen Jakobsen" wrote: > Hi > I'm writing a BSP for a StrongARM SA-1110 based board, using Tornado 2.0.1. > As part of this, I'm also rewriting an old ethernet BSD driver for a SMSC > 91C96 to an END driver. > > The driver and BSP are all working fine, but I experience, that if I try to > download larger files to my target using FTP on a ftpd server in my target, > the transfer fails on files above 5-10k in size. Small files goes well, and > upload (from target to my NT host) works perfect. > > Any hints of where to look ? > > Best regards > Jorgen Jakobsen > > Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Terminal Input in VxWorks Date: Sat, 23 Dec 2000 22:54:25 GMT From: "gudes" Organization: Sympatico Message-ID: Greetings, I am working on a port from Solaris to VxWorks. I am tryinng to compile C code that runs on Solaris 2.5 onto VxWorks using 'cc386, cc486'. I came accros a problem when the compiler complainrd about Terminal Input Functions ( found in ) that are used in the code for User Password verification. My question is weather there are equivalent functions in VxWorks. The following are the functions and structures I am currently using in Solaris: - - struct termios from - - int tcgetattr (int fd, struct termios *termiosp); - - int tcsetattr (int fd, int action, const struct termios *termiosp); thanks for your help. Yaron. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: DiskOnChip2000 driver for PowerPC architecture ? Date: Sat, 23 Dec 2000 23:33:05 GMT From: andreyk@home.com (Andray Kaganovsky) Organization: @Home Message-ID: <9013BF3C3andreykhomecom@24.2.9.58> References: <3A4375B2.963214B9@stoye.de> timallen@ntlworld.com (timallen) wrote in : >> I'm seeking for a disk on chip driver for PowerPC architecture . >> The m-systems people told me that there is only a Intel version of the >> DiskOnChip vxworks driver. >> The sourceode is only hand out to companys, that are planing to >> order more than 20000 pcs a year. > >I've used VxWorks TrueFFS on PowerPC, and I _thought_ that it included >support for DiskOnChip, it's certainly there as an option, but I've never >tried it. I don't recall seeing any Wind River documentaion saying that >DiskOnChip support isn't available for PowerPC. Isn't that the bundled >option now? > >Tim. > [AndrayK]. Yes, DiskOnChip software for PPC is available from WindRiver. As far as I know, it is free (in contrast to the rest of TrueFFS which has a hefty price tag on it). This software supports most of the members of the DiskOnChip product line, with the exception of the latest ones. regards, Andray --------------------------- Newsgroups: comp.os.vxworks Subject: Jworks Date: Sun, 24 Dec 2000 10:12:49 +0200 From: "Lior Katzri" Message-ID: <3a45b098@news.barak.net.il> Hi all, We intend to develop with Personal Jworks 3.02 over PPC 750 / 7400 with Sun's Java Dynamic Management Kit (JDMK). Do you know of other Windriver customers that tried to do that and if so, can you give me a contact for more questions ? In particular, I need to get some feedback on performance / stability. A contact to a reference implementation for Jworks / PPC only can help me too. Thanks Lior --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Mon Dec 25 04:03:07 2000 From: Vxworks Exploder Date: Mon Dec 25 04:03:09 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Mon Dec 25 04:03:04 PST 2000 Subject: Re: tornado Subject: Re: tNetTask problem Subject: Re: VxWorks - Memory protection ??? Subject: Re: target name Subject: Re: VxWorks vs. Linux Subject: Re: Can LD from Shell but not ehen WDB enables?? Subject: Re: Can LILO boot a VxWorks image? ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Re: tornado Date: Sun, 24 Dec 2000 15:52:56 GMT From: "Dan Perlberger" Organization: Road Runner - EC Message-ID: References: <91oj6g$fpd$1@overload.lbl.gov> I had this same problem recently. I knew how to do it under T1.0.1, but not under T2. But we figured it out eventually reading the docs. The wvOn and wvOff routines are located in the usr_windview.c file. There are different ways to run wvOn (by passing in different arguments). I was running it by having it save the data to a file (do an "ls" command on your target shell to see where it will put the file...and of course you can specify a device location and directory when you name the file). But you can also pass it a host address, I believe (you can check the comments in usr_windview.c to see how to use it). But basically, here is how I ran it: wvOn(WV_LEVEL_2, /* windview logging type: context switching, task state * transitions, or all objects. */ "filename.wvr", /* file name to save data to on a continuous basis (it does it approx. every 0.6 seconds according to the windview logs) */ O_CREAT, /* Create the file if it does not exist */ 0); /* /* this parameter is not used */ And to run wvOff, you just type wvOff(). Also, I'm pretty sure wvOn() returns a status value (instead of being a void function like is shown above in my example). But don't quote me on that one...check the file to see if that is true. Hope this helps a little. Dan --------------------------- Newsgroups: comp.os.vxworks Subject: Re: tNetTask problem Date: Sun, 24 Dec 2000 16:04:39 GMT From: "Dan Perlberger" Organization: Road Runner - EC Message-ID: References: <91l72l$2c3$1@panther.uwo.ca> We were getting this message when a PC tried to communicate with our VxWorks box. This PC was set up with an IP address which was being used by another PC previously. They weren't running with the same IPs at the same time, but basically the person testing on these PCs set up the one PC with the IP, shut it down, then set up the next PC with the same IP address. This change in Ethernet addresses for that IP address (each PC had its own unique ethernet address on its network card) caused the "arp info overwritten" message to pop up. In our case, it wasn't a big deal. We tracked down the ethernet address (in your case 00.e0.16.66.96.52) to the office of the person who was doing the ol' switeraroo. Your network administrator should be able to track down your ethernet address to find out where this is originating from. Dan "harman bassan" wrote in message news:91l72l$2c3$1@panther.uwo.ca... > Hi everyone, > I am running tornado 2 and VME based pentium target. After the target > boots up and gets final image from the host, The target screen starts > displaying the following message and soon everything is crashed. > > 0x7F31990 (tNetTask): arp info overwritten for 8164de37 by 00.e0.16.66.96.52 > > Can any one guide me what might be wrong here and how could it be possibly > corrected. > > Thanks in advance, > Harman. > > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks - Memory protection ??? Date: Sun, 24 Dec 2000 16:14:59 GMT From: "Dan Perlberger" Organization: Road Runner - EC Message-ID: <7ip16.113285$4K4.19311618@typhoon.southeast.rr.com> References: <91e4pf$m8r$1@nnrp1.deja.com> VxWorks tasks all share the same memory space. So if you do something bad in your program (like overwriting an array past its limits), then you have a chance of corrupting your operating system. I know this for a fact, because I did this just last week! That was one of the coolest bugs I had ever seen. We have this data structure which stores a certain number of elements. I added 3 new elements, but forgot to increment the MAX number of elements. The program compiled and linked fine of course (C doesn't care about things like that). And it even ran just fine. The changes I made all worked. And the only reason I found the bug was by accident. I was doing a semInfo on a particular semaphore (to test another software change I was working on), and I did an "i" on the second task it listed. It came up with one of my tasks, but it didn't make sense that this task would be pended on that particular semaphore. And then I noticed that the task ID it listed was not the actual task ID of this task. So basically I was doing an "i" on a random number and it came up with this task. I then tried "i 0x1" just for kicks, and it came up with that task. I found out that running "i" on 0x1-0x8 and 0x10 produced the same results. And also, running "i" on every 4 bytes after 0x10 did the same thing. So to make a long story short (too late for that I guess), I had overwritten the task name of that task. VxWorks has a quirk in it, I found, that if you write a null character (0) in the first character of a task name, it will produce this strange effect. Basically, because I didn't set the max limit on that data structure, I had overwritten part of the TCB of this task. Dan --------------------------- Newsgroups: comp.os.vxworks Subject: Re: target name Date: Sun, 24 Dec 2000 16:19:29 GMT From: "Dan Perlberger" Organization: Road Runner - EC Message-ID: References: <3A392226.628DE8F9@hotmail.com> You assign the target name in the boot parameters. You can change the boot parameters by typing "bootChange" at the VxWorks prompt. Or when you boot your system, press any key when it counts down before booting (assuming you have the flag set in your boot parameters to do this). After pressing any key, you will be at the boot prompt. Type "p" to print out your boot parameters. Type "c" to change them. Dan "hari" wrote in message news:3A392226.628DE8F9@hotmail.com... > what is target name, how to find it, or can we give any random name to > it. > thank you > hari > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks vs. Linux Date: Sun, 24 Dec 2000 16:44:36 GMT From: "Dan Perlberger" Organization: Road Runner - EC Message-ID: References: <3A3FBFFB.498C5FDD@netvision.net.il> I like VxWorks as a RTOS, but if you stumble across a bug in their code, don't expect them to fix it anytime soon. We have had a TSR open with them for 6 months now and it still has not been resolved. This TSR was opened because tNetTask is crashing with an Access fault (which of course kills all of our network connectivity) and it is due to a bug in our ethernet driver (END 82596). It keeps getting reassigned to different people. Whenever we get a new person, they act like they are seriously working on it at first. But then after the 1st or 2nd week, we never hear from the support person. You can leave messages, leave emails, and we get nothing back. The last time we heard from our support person, he sent us a version of the ethernet driver code which was "unsupported and use at your own risk". He expects us to use an unsupported driver on our production systems...I don't think so! Especially after looking at the changes he made...which are ridiculous and potentially dangerous (in my opinion). The 2nd support guy we had did the same thing to us. He sent us a supposed fix to the problem. All it did was replace a few 0's with NULL's. That's it...nothing else!!!!! Was that guy kidding or what??? But to humor him, I tested the "fixed code" and of course it still crashed tNetTask. Yep their support is really bad. Wind River needs to invest some time and money into training their support people properly. Dan --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Can LD from Shell but not ehen WDB enables?? Date: Sun, 24 Dec 2000 21:23:20 GMT From: pwhicker@home.com (Paul Whicker) Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: References: <91m4jk$huq$1@nnrp1.deja.com> <91nahe$5oe$1@news1.xs4all.nl> <91nrkb$rlb$1@nnrp1.deja.com> <91ok41$cmo$1@news1.xs4all.nl> In addition you'll need symbol table synchronization included or the host won't see the symbols in the object you loaded on the target. Paul In article <91ok41$cmo$1@news1.xs4all.nl>, Johan Borkhuis wrote: >Wilhelm Duembeg wrote: > >: If I just do "ld < /usr/my/bsp/app.ilf" the it does download the app >: but it does so over serial SLOW!!! to slow for me over 10 min. > >Try "@ld" instead of "ld" in the above command. > >Groeten, > Johan > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Can LILO boot a VxWorks image? Date: Sun, 24 Dec 2000 21:28:27 GMT From: pwhicker@home.com (Paul Whicker) Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: <%Tt16.33112$A06.1131526@news1.frmt1.sfba.home.com> References: <91domh$b52$1@nnrp1.deja.com> <91drlc$qif$1@news8.svr.pol.co.uk> In article , "Martin Usher" wrote: >> >> That link doesn't even slightly answer the question. The question was : >> "can lilo boot vxworks ?". >> >VxWorks images are just program binaries that are self-contained. Wind River >is insistent that the VxW image makes no assumptions about the environment >when it starts so the user has to initialize that environment as part of the >support package for the build. That is not entirely true which is why vxWorks_rom uses romInit whereas vxWorks uses sysInit, the difference is that romInit initializes memory access whereas sysInit assumes it's already done, PCs with BIOS are acknowledged to be a special case. >I wouldn't build a 'Rom' image but just a standard image that will load at a >known (real) address in store. I don't know what that is for x86 units but >by convention its 0x10000 for the PowerPC. (Even this isn't cast in stone - >you can configure VxW to load pretty much anywhere you want.) The entry >point is the beginning of the image, so if LILO just copies the image to >memory and jumps to it VxW will start. The entry point to vxWorks is RAM_LOW_ADRS and that is a necessary amount about the start of physical memory and must be less than the size of text data and bss below RAM_HIGH_ADRS. You can play lots of games with multi stage loads if you know what you are doing. Paul --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Mon Dec 25 11:03:40 2000 From: "Ganesan, M" Date: Mon Dec 25 11:03:42 PST 2000 Subject: vxWorks Driver API calls This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C06EA7.57D34030 Content-Type: text/plain; charset="iso-8859-1" Hi , Now I am working on Vxworks for my board which has MPC8260 processor. I think the drivers for Fast Communication Controller , Serial Communication Controller in HDLC mode , and Multi Channel Controller in HDLC mode for MPC8260 processor are provided in vxworks in object code fomat. I need to write some simple applications over it. Previously I worked on pSOS where I use to write the applications using the de_init , de_open , de_cntrl , de_read , de_write , de_close . And used to pass the Device Number to it. So I want to know where can I find these API calls in VxWorks ? Can any one of you just give me a simple example of these API calls Or just a pointer to some document. thanx in advance regards Ganesan ------_=_NextPart_001_01C06EA7.57D34030 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable vxWorks Driver API calls

Hi ,

Now I am working on Vxworks for my = board which has MPC8260 processor.
I think the drivers for Fast = Communication Controller , Serial Communication Controller in HDLC = mode  ,
and Multi Channel Controller in HDLC = mode for  MPC8260 processor are provided in vxworks in object
code fomat. I need to write some simple applications over  = it.

Previously I worked on pSOS where I = use to write the applications using the de_init , de_open , de_cntrl = ,
de_read , de_write  , de_close . = And used to pass the Device Number to it.

So I want to know where can I find = these API calls in VxWorks ?
Can any one of you  just give me = a simple example of  these API calls Or just a pointer to some = document.

thanx in advance

regards
Ganesan

------_=_NextPart_001_01C06EA7.57D34030-- From vxwexplo-errs@csg.lbl.gov Tue Dec 26 04:03:06 2000 From: Vxworks Exploder Date: Tue Dec 26 04:03:08 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Tue Dec 26 04:03:03 PST 2000 Subject: VxWorks?? Subject: vxWorks Driver API calls Subject: Re: VxWorks?? Subject: MPC862T's code. Subject: Where to post messages? Subject: Re: VxWorks?? Subject: VxWorks?? ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: VxWorks?? Date: Tue, 26 Dec 2000 00:04:47 -0000 From: "Peter" Organization: IMS Netvigator Message-ID: <927r40$7a71@imsp212.netvigator.com> hello would you like to tell me where can i download VxWorks? and tell me what is it? thanks for your reply!! --------------------------- Newsgroups: comp.os.vxworks Subject: vxWorks Driver API calls Date: Mon, 25 Dec 2000 14:17:37 -0500 From: "Ganesan, M" Organization: Lawrence Berkeley National Laboratory Message-ID: <9286dd$c37$1@overload.lbl.gov> This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. - ------_=_NextPart_001_01C06EA7.57D34030 Content-Type: text/plain; charset="iso-8859-1" Hi , Now I am working on Vxworks for my board which has MPC8260 processor. I think the drivers for Fast Communication Controller , Serial Communication Controller in HDLC mode , and Multi Channel Controller in HDLC mode for MPC8260 processor are provided in vxworks in object code fomat. I need to write some simple applications over it. Previously I worked on pSOS where I use to write the applications using the de_init , de_open , de_cntrl , de_read , de_write , de_close . And used to pass the Device Number to it. So I want to know where can I find these API calls in VxWorks ? Can any one of you just give me a simple example of these API calls Or just a pointer to some document. thanx in advance regards Ganesan - ------_=_NextPart_001_01C06EA7.57D34030 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable vxWorks Driver API calls

Hi ,

Now I am working on Vxworks for my = board which has MPC8260 processor.
I think the drivers for Fast = Communication Controller , Serial Communication Controller in HDLC = mode  ,
and Multi Channel Controller in HDLC = mode for  MPC8260 processor are provided in vxworks in object
code fomat. I need to write some simple applications over  = it.

Previously I worked on pSOS where I = use to write the applications using the de_init , de_open , de_cntrl = ,
de_read , de_write  , de_close . = And used to pass the Device Number to it.

So I want to know where can I find = these API calls in VxWorks ?
Can any one of you  just give me = a simple example of  these API calls Or just a pointer to some = document.

thanx in advance

regards
Ganesan

- ------_=_NextPart_001_01C06EA7.57D34030-- --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks?? Date: Mon, 25 Dec 2000 15:43:48 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A47DBB4.D4565DE1@flashcom.net> References: <927r40$7a71@imsp212.netvigator.com> Reply-To: drdiags@flashcom.net Peter, Below is a very informative web site link to where you can download VxWorks prototyper and has a write-up on what is VxWorks and some of the problems faced in implementing the O/S. HTH. http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html Peter wrote: > hello > would you like to tell me where can i download VxWorks? > and tell me what is it? > thanks for your reply!! --------------------------- Newsgroups: comp.os.vxworks Subject: MPC862T's code. Date: Tue, 26 Dec 2000 12:11:09 +0900 From: "Ok, Eul-Seok" Organization: Korea Telecom Message-ID: <9292di$e3k$1@news1-2.kornet.net> I want to set RCCR(RISC Controller Configuration Register). I setted 0x3fd0 for RCCR at mpc860SAR. but NOW when I'll set 0x3fd0 for RCCR at mpc862T, system down. I saw 862 Errata. but no any solution. thanks for any reply. --------------------------- Newsgroups: comp.os.vxworks Subject: Where to post messages? Date: Tue, 26 Dec 2000 05:15:21 GMT From: Hans Ren Organization: Deja.com Message-ID: <9299h8$ntq$1@nnrp1.deja.com> Hi, All I usually read the messages of News Groups by using Outlook Express. But I find I can only read messages on the news server(news.cs.tu- berlin.de), but can not post. So, if I want to ask/answer a question, I had to go to www.deja.com. It's so unconvenient. Are there anybody know some popular news servers that allow both read and post? Thanks in advance Ren Hantao 2000/12/26 Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks?? Date: Tue, 26 Dec 2000 11:04:18 +0100 From: "Martin Raabe" Organization: T-Online Message-ID: <929qm1$rkf$03$1@news.t-online.com> References: <927r40$7a71@imsp212.netvigator.com> Hello Peter, you can download vxWorks a a product called: Tornado Prototyper to be found at: www.WindRiver.com It is an eval licence for 180 days, where you can use it on a simulated target board. Ciao Speaking for my own! - -- Martin Raabe - ----- Original Message ----- From: Peter Newsgroups: comp.os.vxworks Sent: Tuesday, December 26, 2000 1:04 AM Subject: VxWorks?? > hello > would you like to tell me where can i download VxWorks? > and tell me what is it? > thanks for your reply!! > > --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Wed Dec 27 04:03:07 2000 From: Vxworks Exploder Date: Wed Dec 27 04:03:09 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Wed Dec 27 04:03:04 PST 2000 Subject: Memory Consumption Subject: does Ctrl+D work for YOU? Subject: did you ever see something like this ? 7126 Subject: Re: Memory Consumption Subject: Re: Memory Consumption Subject: Re: Can't send correct data when using octet string with snmpv1 Subject: Re: Memory Consumption ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Memory Consumption Date: Tue, 26 Dec 2000 12:06:22 GMT From: wizsky@my-deja.com Organization: Deja.com Message-ID: <92a1ju$7ku$1@nnrp1.deja.com> Hi, I need to get some memory consumption figures. Code size, BSS & Data (static data), and dynamic data (Stack, heap). How can I get that type of information? I have a vxworks image (include the BSP) of the OS and my application (bootable project). I can creat a downloadable project of my application alone. How can I get that info from vxwork image, object (.o) file or .out file? Thanks, Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: does Ctrl+D work for YOU? Date: Tue, 26 Dec 2000 14:29:51 GMT From: p_lavarre@my-deja.com Organization: Deja.com Message-ID: <92aa0r$ctb$1@nnrp1.deja.com> Me, I find that the Ctrl+D of the Tornado 2 host shell can't read the last of: C:\Tornado\host\resource\synopsis\*.syn Anybody else here see this same behaviour? I tried WinMe and Win2K. Anybody here running something else? To give one specific example, here, the last file is wtxtcl.syn, the last synopsis in that is for wtxExecutableFind, and Ctrl+D can't find wtxExecutableFind. By contrast, typing "memmove " and pressing Ctrl+D does find the memmove synopsys of libc.syn. What I mean by "the last file" is the last of the folder if you list the folder content WITHOUT sorting it. I hear Dos "dir" does not sort by default - but may have been reconfigured for you. I hear Dos "attrib" does not sort. I hear Windows Find/Search does not sort. I trust those of you running elsewhere find enough clues here to understand what to try on your development platform. Please feel free to demand more clues if more clues are needed. Thanks in advance. Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: did you ever see something like this ? 7126 Date: Tue, 26 Dec 2000 16:09:44 GMT From: bob@lenaerts.org Organization: Pandora - Met vlotte tred op Internet Message-ID: take a look at http://www.webline.be and see the rates for hosting your site. Its almost for free. And you must check out its speed. WAAAAAUUUW. great. take a look rsjpcdowuglwdszkyyc --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Memory Consumption Date: Tue, 26 Dec 2000 10:11:16 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A48DF44.95B26F6E@flashcom.net> References: <92a1ju$7ku$1@nnrp1.deja.com> Reply-To: drdiags@flashcom.net wizsky, For each architecture, there are GNU tools, one of which is the size command. For example, PPC has the sizeppc DOS command (or UNIX). Look in your $(WIND_BASE)/host/$YOUR_HOST_PLATFORM/bin for the size* command available. This will give you what you want. wizsky@my-deja.com wrote: > Hi, > > I need to get some memory consumption figures. > > Code size, BSS & Data (static data), and dynamic data (Stack, heap). > > How can I get that type of information? > > I have a vxworks image (include the BSP) of the OS and my application > (bootable project). > I can creat a downloadable project of my application alone. > > How can I get that info from vxwork image, object (.o) file or .out > file? > > Thanks, > > Sent via Deja.com > http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Memory Consumption Date: Tue, 26 Dec 2000 14:11:36 -0500 From: "Jeff Creem" Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <92a1ju$7ku$1@nnrp1.deja.com> <3A48DF44.95B26F6E@flashcom.net> Close...The size tool will not tell you te dynamic data size (e.g. max stack, heap usage of the program).. This in general is not really possible for a static analysis tool to do. "DrDiags" wrote in message news:3A48DF44.95B26F6E@flashcom.net... > wizsky, > > For each architecture, there are GNU tools, one of which is the size > command. For example, PPC has the sizeppc DOS command (or UNIX). Look in > your $(WIND_BASE)/host/$YOUR_HOST_PLATFORM/bin for the size* command > available. This will give you what you want. > > wizsky@my-deja.com wrote: > > > Hi, > > > > I need to get some memory consumption figures. > > > > Code size, BSS & Data (static data), and dynamic data (Stack, heap). > > > > How can I get that type of information? > > > > I have a vxworks image (include the BSP) of the OS and my application > > (bootable project). > > I can creat a downloadable project of my application alone. > > > > How can I get that info from vxwork image, object (.o) file or .out > > file? > > > > Thanks, > > > > Sent via Deja.com > > http://www.deja.com/ > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Can't send correct data when using octet string with snmpv1 Date: Tue, 26 Dec 2000 11:27:12 -0800 From: "Randy Schafer" Message-ID: <3a48f007$1_2@news.pacifier.com> References: <91rk2j$1qc$1@nnrp1.deja.com> This cannot work properly. Your "string" variable is only a pointer and must point to valid memory before using it in strcpy(). - -- Randy Schafer Sr.Software Engineer Cinta Corportaion randy.schafer@cinta-corp.com wrote in message news:91rk2j$1qc$1@nnrp1.deja.com... > Hi Randy! > I recently encountered the same problem and came across your post > while looking for a solution. I hope my reply's not too late to give > you another angle of attack against this problem. > What worked for me was declaring a "char *string" in the calling > function, strcpy-ing the desired string into *string, and then using > *string as the string parameter in getproc_got_string(). > For example, I'd try modifying your code as follows: > > static int configData_get_value > ( > OIDC_T lastmatch, > SNMP_PKT_T *pktp, > VB_T *vbp, > STRUCT_configData *data /* !!! */ > ) > { > extern STRUCT_configData configData; > struct timespec elapsedTime; > > char *string = NULL; /* Add this! */ > > switch (vbp->vb_ml.ml_last_match) > { > case LEAF_adaptationFile: > { > memcpy ((char *) &(data->af), (char *)configData.af, sizeof > (configData.af)); > strcpy(string, data->af); /* Add this! */ > getproc_got_string(pktp, vbp, strlen(string), string, 0, > VT_STRING); /* Modify this! */ > break; > } > . > . > . > I don't know why this works, but it does. > Good luck, Randy! > David > > David Downey > Software Engineering Consultant > toomuchham@yahoo.com > > * * * > > Randy Jones wrote: > > Agent host: PPC850 > Agent OS: vxWorks 5.3 > SNMP Version: SNMPv1 > > SNMP Mgr: PC running NT 4.0 > > When ever I try to do an snmpget to any variable of my MIB that is > defined as an OCTET STRING, I get the wrong data. Even if the string > length is just one character. If I perform an snmpget to a variable > defined as a Display String, it works just fine. I am trying to access > structures that contain binary data so I decided to use OCTET STRING. > > I am out of things to look for. > > The following is an example of my data structure: > /* > This is a structure we define to set and retrieve the prameters of > the configData group > */ > typedef struct > { > char af[20]; > char pf; > char op; > char iconStat; > char pwrSrc; > char pwrLvl; > char audioVol; > char ledBright; > char lcdCon; > char lcdBackLit; > int totalUnitOnTm; > } STRUCT_configData; > > Everything looks fine up to the getproc_got_string(). I cn't follow it > any farther. The following is an examlple of my usage of Wind River's > code. I think it is correct. > > static int > configData_get_value(OIDC_T lastmatch, > SNMP_PKT_T *pktp, > VB_T *vbp, > STRUCT_configData *data) /* !!! */ > { > extern STRUCT_configData configData; > struct timespec elapsedTime; > > switch (vbp->vb_ml.ml_last_match) > { > case LEAF_adaptationFile: > { > memcpy ((char *) &(data->af), (char *) > configData.af, sizeof(configData.af)); > getproc_got_string(pktp, vbp, sizeof(data->af), data- > >af, 0, VT_STRING); /* !!! */ > break; > } > case LEAF_platform: > { > data->pf = (char) configData.pf; > getproc_got_string(pktp, vbp, sizeof(configData.pf), > data->pf, 0, VT_STRING); /* !!! */ > break; > } > default: > return GEN_ERR; > } > return NO_ERROR; > } > > I could use some help. > Thanks, > Randy Jones > > > Sent via Deja.com > http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Memory Consumption Date: Tue, 26 Dec 2000 13:37:10 -0800 From: DrDiags Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A490F86.8F5A8E33@flashcom.net> References: <92a1ju$7ku$1@nnrp1.deja.com> <3A48DF44.95B26F6E@flashcom.net> Reply-To: drdiags@flashcom.net You are correct sir. I forgot to add to my post that the tool would only cover static sizes. Plus, I probably didn't do justice in completely reading the post before answering. I stand corrected. Jeff Creem wrote: > Close...The size tool will not tell you te dynamic data size (e.g. max > stack, heap usage of the program).. > This in general is not really possible for a static analysis tool to do. > > "DrDiags" wrote in message > news:3A48DF44.95B26F6E@flashcom.net... > > wizsky, > > > > For each architecture, there are GNU tools, one of which is the size > > command. For example, PPC has the sizeppc DOS command (or UNIX). Look in > > your $(WIND_BASE)/host/$YOUR_HOST_PLATFORM/bin for the size* command > > available. This will give you what you want. > > > > wizsky@my-deja.com wrote: > > > > > Hi, > > > > > > I need to get some memory consumption figures. > > > > > > Code size, BSS & Data (static data), and dynamic data (Stack, heap). > > > > > > How can I get that type of information? > > > > > > I have a vxworks image (include the BSP) of the OS and my application > > > (bootable project). > > > I can creat a downloadable project of my application alone. > > > > > > How can I get that info from vxwork image, object (.o) file or .out > > > file? > > > > > > Thanks, > > > > > > Sent via Deja.com > > > http://www.deja.com/ > > --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Thu Dec 28 04:03:07 2000 From: Vxworks Exploder Date: Thu Dec 28 04:03:09 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Thu Dec 28 04:03:03 PST 2000 Subject: Re: Where to post messages? Subject: Re: Help for using Timer! Subject: Re: This is not comp.os.vxworks.jobs... Subject: Where is the FAQ ? Subject: Re: vxWorks Driver API calls Subject: Re: Realtime ORB Subject: CPCR CMD_FLAG.. Subject: BSP on VxWorks Subject: BSP Subject: Re: This is not comp.os.vxworks.jobs... Subject: Re: Where is the FAQ ? ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Re: Where to post messages? Date: Wed, 27 Dec 2000 18:24:39 -0000 From: "Dave Korn" Organization: Lumber Cartel (tinlc) Members #2234-2237 (owing to browser refresh) Message-ID: <4qq26.369$Mx3.424584@newsr1.u-net.net> References: <9299h8$ntq$1@nnrp1.deja.com> Hans Ren wrote in message <9299h8$ntq$1@nnrp1.deja.com>... >Hi, All > > I usually read the messages of News Groups by using Outlook Express. >But I find I can only read messages on the news server(news.cs.tu- >berlin.de), but can not post. So, if I want to ask/answer a question, I >had to go to www.deja.com. It's so unconvenient. > > Are there anybody know some popular news servers that allow both >read and post? Go to http://news.cis.dfn.de/ and sign up for an account on their public news server. It's very popular, has good retention and completeness and is open to anyone who registers. DaveK - -- They laughed at Galileo. They laughed at Copernicus. They laughed at Columbus. But remember, they also laughed at Bozo the Clown. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Help for using Timer! Date: Wed, 27 Dec 2000 18:38:40 -0000 From: "Dave Korn" Organization: Lumber Cartel (tinlc) Members #2234-2237 (owing to browser refresh) Message-ID: References: <003001c06a57$27f6ab30$5806000a@rd> aha1973 wrote in message <003001c06a57$27f6ab30$5806000a@rd>... >hello all: > >how can i use timer(POSIX) in vxworks, who can give me a example? RTFM. The section about timerLib in the VxWorks reference manual (libraries) should tell you what you need to know. Your question looks as if you are too lazy to do even the most basic investigation before expecting other people to solve all your problems for you. If there's a legitimate reason why you can't be expected to look things up for yourself, such as blindness or illiteracy, I apologise. However you come across as just lazy. DaveK - -- They laughed at Galileo. They laughed at Copernicus. They laughed at Columbus. But remember, they also laughed at Bozo the Clown. --------------------------- Newsgroups: comp.os.vxworks Subject: Re: This is not comp.os.vxworks.jobs... Date: Wed, 27 Dec 2000 18:41:51 -0000 From: "Dave Korn" Organization: Lumber Cartel (tinlc) Members #2234-2237 (owing to browser refresh) Message-ID: References: <3A24007F.B17CD9EE@eu.mascotsystems.com> >deb wrote in message ... >>"ganesh" wrote in message >>news:3A24007F.B17CD9EE@eu.mascotsystems.com... >> >>Ma[....SNIP!...] > >Well GANESH..... This is not >This is not comp.os.vxworks.jobs... > Handy hint #37: When complaining about spam, it looks pretty bad if you re-post the ENTIRE spam in your complaint. Why was it OK for *you* to post that text but not for Ganesh? It only takes a couple of seconds to cut out the quoted text from your reply. DaveK - -- They laughed at Galileo. They laughed at Copernicus. They laughed at Columbus. But remember, they also laughed at Bozo the Clown. --------------------------- Newsgroups: comp.os.vxworks Subject: Where is the FAQ ? Date: Wed, 27 Dec 2000 23:25:20 +0100 From: "Jørgen Jakobsen" Organization: CyberCity Internet Message-ID: <92dqb1$kdh$1@news.cybercity.dk> Where do I find the FAQ for this newsgroup ? /Jørgen --------------------------- Newsgroups: comp.os.vxworks Subject: Re: vxWorks Driver API calls Date: Wed, 27 Dec 2000 23:48:28 GMT From: q_chang@yahoo.com Organization: Deja.com Message-ID: <92dv4a$5en$1@nnrp1.deja.com> References: <9286dd$c37$1@overload.lbl.gov> You can check VxWorks Programmer's Guide. There is a chapter talking about i/o systems. Qing In article <9286dd$c37$1@overload.lbl.gov>, "Ganesan, M" wrote: > This message is in MIME format. Since your mail reader does not understand > this format, some or all of this message may not be legible. > > ------_=_NextPart_001_01C06EA7.57D34030 > Content-Type: text/plain; > charset="iso-8859-1" > > Hi , > > Now I am working on Vxworks for my board which has MPC8260 processor. > I think the drivers for Fast Communication Controller , Serial Communication > Controller in HDLC mode , > and Multi Channel Controller in HDLC mode for MPC8260 processor are > provided in vxworks in object > code fomat. I need to write some simple applications over it. > > Previously I worked on pSOS where I use to write the applications using the > de_init , de_open , de_cntrl , > de_read , de_write , de_close . And used to pass the Device Number to it. > > So I want to know where can I find these API calls in VxWorks ? > Can any one of you just give me a simple example of these API calls Or > just a pointer to some document. > > thanx in advance > > regards > Ganesan > > ------_=_NextPart_001_01C06EA7.57D34030 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > > > > charset=3Diso-8859-1"> > 5.5.2653.12"> > vxWorks Driver API calls > > > >

Hi , >

> >

Now I am working on Vxworks for my = > board which has MPC8260 processor. >
I think the drivers for Fast = > Communication Controller , Serial Communication Controller in HDLC = > mode  , >
and Multi Channel Controller in HDLC = > mode for  MPC8260 processor are provided in vxworks in object
> code fomat. I need to write some simple applications over  = > it.
>

> >

Previously I worked on pSOS where I = > use to write the applications using the de_init , de_open , de_cntrl = > , >
de_read , de_write  , de_close . = > And used to pass the Device Number to it. >

> >

So I want to know where can I find = > these API calls in VxWorks ? >
Can any one of you  just give me = > a simple example of  these API calls Or just a pointer to some = > document. >

> >

thanx in advance >

> >

regards >
Ganesan >

> > > > ------_=_NextPart_001_01C06EA7.57D34030-- > Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Realtime ORB Date: Thu, 28 Dec 2000 00:24:45 GMT From: bill.beckwith@realtime-corba.com (Bill Beckwith) Organization: Objective Interface Message-ID: <9017C5EBAbeckwbnewscom@cerf> References: <91e66d$nc1$1@nnrp1.deja.com> jayantadas@my-deja.com wrote in <91e66d$nc1$1@nnrp1.deja.com>: >Hi, > >Any help as to what are the commercially available ORBs out there that >support PPC target as well as VxSim (in solaris) will be very helpful. You might want to check out ORBexpress: http://www.ois.com It is a popular ORB in many telecom and defense systems because of its small size and small, predictable latency. Bill --------------------------- Newsgroups: comp.os.vxworks Subject: CPCR CMD_FLAG.. Date: Thu, 28 Dec 2000 15:18:45 +0900 From: "Ok, Eul-Seok" Organization: Korea Telecom Message-ID: <92em54$986$1@news1-2.kornet.net> I'm using mpc862T. and at last, I'll enable SAR channel TX Activate. so I set CPCR register as following 0123 4567 0123 4567 <- position "0000 1111 1100 0001" <-value first 0 : reset first 123 : TX Activate first 4567 : must be 1111 second 0123 : SCC4/UTOPIA second 7 : CMD FLAG but, at second 7. system down.. what problem? thanks.. for any answer.. --------------------------- Newsgroups: comp.os.vxworks Subject: BSP on VxWorks Date: Thu, 28 Dec 2000 17:03:41 +0800 From: Tony Cheung Organization: IMS Netvigator Message-ID: <3A4B01ED.4090604@asiayeah.com> Reply-To: ytcheung@technologist.com Hi All, I am looking for information on developing BSP for VxWorks. We are interested in all kinds of information, such as user guides and/or hands-on training laboratories for BSP. I only find the BSP reference from WRS, which does not seem a good starter to begin studying with. Does anyone know a good place to start with? Thanks a lot! Tony Cheung --------------------------- Newsgroups: comp.os.vxworks Subject: BSP Date: Thu, 28 Dec 2000 08:59:33 GMT From: dipalee@my-deja.com Organization: Deja.com Message-ID: <92evdl$tjn$1@nnrp1.deja.com> Hi All, Could anyone give me a clue about how to estimate the general hardware requirements that are needed for buiding a BSP? What about things like the amount of RAM/ROM needed on the board? Then there are interrupts/timers... The problem is before writing your application, you should have an idea of the number of tasks running so as to estimate the stack requirements and hence the memory requirements. How to estimate this right from the beginning? Can anyone give me pointers on how to arrive at these requirements? Thanks, Dipalee Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: This is not comp.os.vxworks.jobs... Date: Thu, 28 Dec 2000 11:34:28 +0200 From: "Pavius" Organization: Internet Gold, ISRAEL Message-ID: <92f1fl$b1p$1@news3.inter.net.il> References: <3A24007F.B17CD9EE@eu.mascotsystems.com> What's handy hint #36? --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Where is the FAQ ? Date: 28 Dec 2000 10:14:57 GMT From: Johan Borkhuis Organization: Lucent Technologies, Nieuwegein NL Message-ID: <92f3r1$j27$1@news1.xs4all.nl> References: <92dqb1$kdh$1@news.cybercity.dk> Jorgen Jakobsen wrote: : Where do I find the FAQ for this newsgroup ? Groeten, Johan - -- o o o o o o o . . . ______________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@lucent.com | >(________|__|_[_________]_|___________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Thu Dec 28 10:41:51 2000 From: Friedrich.Scheurer@t-online.de (Friedrich Scheurer / Goeppingen) Date: Thu Dec 28 10:41:54 PST 2000 Subject: Double Postings in VxWorks-UG Dear Admin, dear VxWorkers, I just wrote a message to the Admin with no response and no effect in the list until now, so I must ask that publicly: Since Dec 21st 2000 I get all postings of the VxW-Mail-Exploder twice. Am I the only one to see that phenomenon? Perhaps I am registered twice in the exploder or anything like that and something has been set up new at the mentionned date, if no one else sees that? Season greetings F. Scheurer -- +-------------------------------------------------+ | Dipl.-Ing. F. Scheurer | | c/o Zentrum Fertigungstechnik Stuttgart | | Nobelstrasse 15 | | D-70569 Stuttgart | | Telefon +49 711 13162-41(-0) | | Fax +49 711 13162-11 | | E-Mail scheurer@zfs.tz.uni-stuttgart.de | | WWW http://www.zfs.tz.uni-stuttgart.de | +-------------------------------------------------+ | privat: Waldeckstrasse 31 | | D-73035 Goeppingen | | Telefon +49 7161 686362 Fax +49 7161 686301 | | Mobil +49 170 31 77 539 | | E-Mail Friedrich.Scheurer@t-online.de | | oder Friedrich.Scheurer@lycosmail.com | | WWW http://members.tripod.de/machinist/ | | WWW http://www.friedrichscheurer.com/ | +-------------------------------------------------+ From vxwexplo-errs@csg.lbl.gov Fri Dec 29 04:03:08 2000 From: Vxworks Exploder Date: Fri Dec 29 04:03:11 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Fri Dec 29 04:03:04 PST 2000 Subject: Re: BSP on VxWorks Subject: vxWorks romresident link error for PPC target. Subject: Double Postings in VxWorks-UG Subject: error configuring WDB comm interface Subject: Batch Building a Project and BSP Subject: pentium/386 BSP question Subject: PJava Exception - Please Help! Subject: Re: pentium/386 BSP question Subject: Re: postscript printing Subject: Compact Flash ATA Driver Subject: Re: BSP Subject: Re: BSP Subject: Re: VxWorks?? Subject: muxDevLoad Subject: Re: Batch Building a Project and BSP Subject: Re: BSP Subject: Re: BSP on VxWorks Subject: Re: BSP Subject: UDP receive problem Subject: UDP receive problem Subject: UDP receive problem Subject: Re: This is not comp.os.vxworks.jobs... Subject: Re: muxDevLoad ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Re: BSP on VxWorks Date: Thu, 28 Dec 2000 13:47:25 GMT From: "Kelly Hornsby" Organization: AT&T Worldnet Message-ID: References: <3A4B01ED.4090604@asiayeah.com> I attended the BSP training class in Alameda. There's no "hands on" training lab for T2, but there was for T1 (68k based). As for the training material, it's all from the books, except it's condensed. I got no software template for the BSP (we have to purchase that ourselves), but the presentation material was very good, of which I made my own notes. The off-line discussions is where I got the most information. There's no video or audio recording of the sessions either. Overall, the material was not nearly good as the presented information. I'm afraid you'll not get much help from the two manuals. Why don't you purchase the template BSP and try that, or else go to the class if you are able. --------------------------- Newsgroups: comp.os.vxworks Subject: vxWorks romresident link error for PPC target. Date: Thu, 28 Dec 2000 14:30:14 GMT From: babacsa@my-deja.com Organization: Deja.com Message-ID: <92fipn$afv$1@nnrp1.deja.com> Hi, I've the following link error when I build romResident image (vxWorks+Appli): {ldppc -X -N -t -e _romInit -Ttext fff00000 -Tdata 00010000 \ dataSegPad.o romInit.o romStart.o \ partialImage.o -o vxWorks_romResident ldppc: mode elf32ppc dataSegPad.o romInit.o romStart.o partialImage.o vxWorks_romResident: Not enough room for program headers (allocated 2, need 3) ldppc: final link failed: Bad value make: *** [vxWorks_romResident] Error 0x1 Done.} I'm using GCC (cppc and ldppc) tool kit for MPC8240 processor under vxWorks kernel (T2 environment). I had no problem when generating the same image (vxWorks+Appli) for romCompress. Also, I had no problem when I build the vxWorks image only using romResident. Can someone give me any informations about this pb. (should I force the number of header and how can'i do that?) Thanks a lot Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Double Postings in VxWorks-UG Date: Thu, 28 Dec 2000 19:44:32 +0100 From: Friedrich.Scheurer@t-online.de (Friedrich Scheurer / Goeppingen) Organization: Lawrence Berkeley National Laboratory Message-ID: <92g3hc$4hh$1@overload.lbl.gov> Dear Admin, dear VxWorkers, I just wrote a message to the Admin with no response and no effect in the list until now, so I must ask that publicly: Since Dec 21st 2000 I get all postings of the VxW-Mail-Exploder twice. Am I the only one to see that phenomenon? Perhaps I am registered twice in the exploder or anything like that and something has been set up new at the mentionned date, if no one else sees that? Season greetings F. Scheurer - -- +-------------------------------------------------+ | Dipl.-Ing. F. Scheurer | | c/o Zentrum Fertigungstechnik Stuttgart | | Nobelstrasse 15 | | D-70569 Stuttgart | | Telefon +49 711 13162-41(-0) | | Fax +49 711 13162-11 | | E-Mail scheurer@zfs.tz.uni-stuttgart.de | | WWW http://www.zfs.tz.uni-stuttgart.de | +-------------------------------------------------+ | privat: Waldeckstrasse 31 | | D-73035 Goeppingen | | Telefon +49 7161 686362 Fax +49 7161 686301 | | Mobil +49 170 31 77 539 | | E-Mail Friedrich.Scheurer@t-online.de | | oder Friedrich.Scheurer@lycosmail.com | | WWW http://members.tripod.de/machinist/ | | WWW http://www.friedrichscheurer.com/ | +-------------------------------------------------+ --------------------------- Newsgroups: comp.os.vxworks Subject: error configuring WDB comm interface Date: Thu, 28 Dec 2000 20:52:10 GMT From: wgrigg@my-deja.com Organization: Deja.com Message-ID: <92g95m$u4a$1@nnrp1.deja.com> As a part of my ever growing list of unfathomable (by me at least) VxWorks integration problems, I am now getting the following: “Bind failed wdbConfig: error configuring WDB communication interface” when loading my VxWorks image over the network. I am running on an Ampro 4Ge (x86) board. Last week I managed to build an image that would download successfully (finally!), but was flacky and intermittent. This week I have obviously taken a big step backwards. I am hoping that there is something between config.h, configAll.h, pc.h and whatever that I have managed to screw up. Any thoughts out there? TIA Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Batch Building a Project and BSP Date: Thu, 28 Dec 2000 22:22:24 GMT From: "Adam Schondelmayer" Organization: @Work Internet powered by @Home Network Message-ID: Does anyone know how to launch a build from a batch file under Windows NT? I'd like to have a batch that builds my project, and the BSP that includes it without having to mouse all over the Tornado interface and click on 20 different things. Thanks, - -Adam --------------------------- Newsgroups: comp.os.vxworks Subject: pentium/386 BSP question Date: Thu, 28 Dec 2000 22:17:36 GMT From: wv12@my-deja.com Organization: Deja.com Message-ID: <92ge5q$28i$1@nnrp1.deja.com> Hi I have found out that fdDevCreate() followed by dosFsMkfs() will make a file system on the floppy. Unfortunately dosFsMkfs() will wipe out everything on the floppy. Is there a way to mount the floppy in such a way to preserve existing files. Also I need to see the floppy while ftping into the box. What is the path to the floppy in FTP? Thanks Huy Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: PJava Exception - Please Help! Date: Thu, 28 Dec 2000 22:43:36 GMT From: Craig Vanderborgh Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: <3A4BC218.F112E1D1@voxware.com> Hi: When trying to send a DatagramPacket on ad DatagramSocket, I get the following exception: java.io.IOException: errno = 0x2f This code works on "real" platforms (e.g. jdk 1.1.8/1.2 on unix) but not on VxWorks. Any ideas? I'm running VxWorks5.4/PJ3.02c1 Thanks! craig vanderborgh --------------------------- Newsgroups: comp.os.vxworks Subject: Re: pentium/386 BSP question Date: Thu, 28 Dec 2000 23:34:22 GMT From: wv12@my-deja.com Organization: Deja.com Message-ID: <92gilu$5vj$1@nnrp1.deja.com> References: <92ge5q$28i$1@nnrp1.deja.com> Never mind. Apparently the sequence of calls needed is if (usrFdConfig(0, 0, "/fd0/") == OK ) { if (ioDefPathSet("/fd0/") == OK) { ll("/fd0/"); /* directory listing..*/ /* etc... */ - -- Will In article <92ge5q$28i$1@nnrp1.deja.com>, wv12@my-deja.com wrote: > Hi > I have found out that > fdDevCreate() followed by dosFsMkfs() will make a file system > on the floppy. Unfortunately dosFsMkfs() will wipe out everything > on the floppy. Is there a way to mount the floppy in such a way > to preserve existing files. > Also I need to see the floppy while ftping into the box. What is > the path to the floppy in FTP? > Thanks > Huy > > Sent via Deja.com > http://www.deja.com/ > Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: postscript printing Date: Thu, 21 Dec 2000 17:34:55 -0800 From: "Patrick Mealey" Message-ID: References: <3A4103EA.8FE03A6@aps.anl.gov> My version of Tornado(2) has a parallel port driver. The documentation is in the file: C:\Tornado\docs\vxworks\ref\lptDrv.html The source code for the driver is in: C:\Tornado\target\src\drv\parallel The document file states that this is a "parallel chip device driver for the IBM-PC LPT." A postscript file is a text file. Most printers use some form of auto-detection to determine if the being received is truly postscript. So transmitting the postscript file directly (with no pre- or post-amble) should result in a postscript image. Patrick "Andrew Johnson" wrote in message news:3A4103EA.8FE03A6@aps.anl.gov... > Scott Smail wrote: > > > > I was hoping someone could answer this: > > > > If I have a LPT port on my target and a poscript printer attached to it, > > what is the VxWorks function(s) to send a postscript file to my printer. > > There isn't one. I guess some BSPs may include a device driver for an > onboard parallel port, but I've never seen one - you'll probably have to > write your own (check the documentation that comes with your bsp). Once > you can open the port as, say /lpt/0, sending a file to it should be as > simple as something like > -> copy "filename.ps", "/lpt/0" > > - Andrew > -- > Every great idea appears crazy to start with. --------------------------- Newsgroups: comp.os.vxworks Subject: Compact Flash ATA Driver Date: Fri, 29 Dec 2000 01:55:21 GMT From: deepandwise@hotmail.com Organization: Deja.com Message-ID: <92gqu7$ccf$1@nnrp1.deja.com> Hi VxWorks, I am configuring the ATA device driver for SanDisk 32MB CompactFlash in memory mode. I have set up address mapping, geometrical parameters , configured the control type to be PCMCIA, interrupt vectors and levels. I was wondering if there are other parameters that need to be set before call to ataDrv(). Also i am receving interrupts from compact flash during the call to ataDrv. In the interrupt handler i read the status register its value is indicating ERROR. Error register is indicating following errors -> Bad Block is detected -> Uncorrectable error is encountered -> Requested sector ID is in error or can not be found. But I have tried with another flash still it the errors are same. I am pretty sure there is some problem with driver. Can somebody tell me What could be the problem? OR I will appretiate if somebody can send me the working driver code or pointer to that. Mandeep Hughes Software Systems. Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: BSP Date: Fri, 29 Dec 2000 03:02:17 GMT From: "nazneen shaikh" Organization: Global Online Japan // Exodus Communications KK. Message-ID: References: <92evdl$tjn$1@nnrp1.deja.com> > Could anyone give me a clue about how to estimate the general > hardware requirements that are needed for buiding a BSP? What about > things like the amount of RAM/ROM needed on the board? Then there are > interrupts/timers... > The problem is before writing your application, you should have an > idea of the number of tasks running so as to estimate the stack > requirements and hence the memory requirements. How to estimate this > right from the beginning? very generic question ... also what it has to do with vxworks? --------------------------- Newsgroups: comp.os.vxworks Subject: Re: BSP Date: Fri, 29 Dec 2000 03:43:17 GMT From: dipalee@my-deja.com Organization: Deja.com Message-ID: <92h18j$hau$1@nnrp1.deja.com> References: <92evdl$tjn$1@nnrp1.deja.com> Hi Nazneen, I have gone through the list of things expected to be provided as a part of the syslib.c which is a part of BSP..It has functions for bus interrupts,timer interrupts and things like that...Now if its a requirement that all the functions listed in the syslib.c have to be provided, then your hardware should have the required support. About the estimation of memory, yes, that was a generic question not related to VxWorks in any way...but I am still looking for pointers. Any help out there? - -Dipalee In article , "nazneen shaikh" wrote: > > Could anyone give me a clue about how to estimate the general > > hardware requirements that are needed for buiding a BSP? What about > > things like the amount of RAM/ROM needed on the board? Then there are > > interrupts/timers... > > The problem is before writing your application, you should have an > > idea of the number of tasks running so as to estimate the stack > > requirements and hence the memory requirements. How to estimate this > > right from the beginning? > > very generic question ... also what it has to do with vxworks? > > Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks?? Date: Fri, 29 Dec 2000 03:48:32 GMT From: sg_arun@my-deja.com Organization: Deja.com Message-ID: <92h1id$hfs$1@nnrp1.deja.com> References: <927r40$7a71@imsp212.netvigator.com> First you want to know where to download vxworks, THEN you ask what it is.... In article <927r40$7a71@imsp212.netvigator.com>, "Peter" wrote: > hello > would you like to tell me where can i download VxWorks? > and tell me what is it? > thanks for your reply!! > > Sent via Deja.com http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: muxDevLoad Date: Thu, 28 Dec 2000 20:53:45 -0800 From: Organization: SBC Internet Services Message-ID: Well, I have a simple question and a simpler question. In studying the source for muxDevLoad in muxLib.c, I see that the endLoad function in my ethernet driver is called with two arguments like endLoad ( (char*)devName, NULL). When I look at the source for my ethernet driver itself, I see that its endLoad function expects one argument like endLoad (char * initString). So my question is, why is the stack not FUBAR and why does this code work at all? I thought that the number of arguments passed to a subroutine had to match what the subroutine expected. My simpler question is based on why I went looking for this in the first place, as a little later in muxDevLoad is the statement endLoad ( (char *)initString, pBSP) and I can't seem to figure out the significance of pBSP in the first place (pointer to my BSP?). --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Batch Building a Project and BSP Date: Fri, 29 Dec 2000 04:53:51 GMT From: pwhicker@home.com (Paul Whicker) Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: References: It's called make. Sorry but that's how serious folks build their applications instead of using all this IDE stuff :-) There's a macro called PRJ_BUILD or something of the same idea, perhaps if you defined that you could even build with the options you defined in the IDE? Paul In article , "Adam Schondelmayer" wrote: >Does anyone know how to launch a build from a batch file under Windows NT? >I'd like to have a batch that builds my project, and the BSP that includes >it without having to mouse all over the Tornado interface and click on 20 >different things. > >Thanks, >-Adam > > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: BSP Date: Fri, 29 Dec 2000 05:04:55 GMT From: pwhicker@home.com (Paul Whicker) Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: References: <92evdl$tjn$1@nnrp1.deja.com> vxWorks only demands one timer and some RAM and ROM, a minimum system could be built into much less than 128k of ROM and could do something useful with less than 32k of RAM. After that it's all up to the application. I typically have a fairly highly configured vxWorks and it tends to be 500-700k (target shell, networking, show routines and all that stuff). After that it depends what your target is. I would never build a target without a serial port dedicated to debug, life is much easier if you have a network interface for development if not for production, if you can choose a processor with JTAG that's even better but the serial port still helps when the BDM or JTAG dongle is somewhere else. Don't try to share the serial port with WDB serial, if the serial ports are your only link then have two of them. Timers are good, do the extra days of work to provide the auxiliary clock, if you are going to use WindView then provide a fast free running timer for that too. A nice cheap simple target to start with is some old PC with a crummy old disk and 4Mb of RAM... if you can find a SIM that small. Slap in a network card, plug in a monitor and away you go. Now back to appplication estimation. This is a different subject entirely. Check out software estimation programs like GECOMO and COCOMO, alternatively hire some people who really know their business and ask them :-) I hope that helps, unfortunately you seem to be at the clueless stage and there's a lot of ground between there and the end. Paul In article <92evdl$tjn$1@nnrp1.deja.com>, dipalee@my-deja.com wrote: >Hi All, > Could anyone give me a clue about how to estimate the general >hardware requirements that are needed for buiding a BSP? What about >things like the amount of RAM/ROM needed on the board? Then there are >interrupts/timers... > The problem is before writing your application, you should have an >idea of the number of tasks running so as to estimate the stack >requirements and hence the memory requirements. How to estimate this >right from the beginning? > Can anyone give me pointers on how to arrive at these requirements? >Thanks, >Dipalee > > >Sent via Deja.com >http://www.deja.com/ --------------------------- Newsgroups: comp.os.vxworks Subject: Re: BSP on VxWorks Date: Fri, 29 Dec 2000 05:06:43 GMT From: pwhicker@home.com (Paul Whicker) Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: References: <3A4B01ED.4090604@asiayeah.com> I did the course recently too, they are busy rewriting it, I think it actually covered the ground for those that have been doing it for a while but you had to be able to sort the wheat from the chaff. Paul In article , "Kelly Hornsby" wrote: >I attended the BSP training class in Alameda. There's no "hands on" >training lab for T2, but there was for T1 (68k based). As for the training >material, it's all from the books, except it's condensed. I got no software >template for the BSP (we have to purchase that ourselves), but the >presentation material was very good, of which I made my own notes. The >off-line discussions is where I got the most information. There's no video >or audio recording of the sessions either. > >Overall, the material was not nearly good as the presented information. I'm >afraid you'll not get much help from the two manuals. Why don't you purchase >the template BSP and try that, or else go to the class if you are able. > > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: BSP Date: Fri, 29 Dec 2000 05:31:13 GMT From: "nazneen shaikh" Organization: Global Online Japan // Exodus Communications KK. Message-ID: References: <92evdl$tjn$1@nnrp1.deja.com> <92h18j$hau$1@nnrp1.deja.com> > I have gone through the list of things expected to be provided as a > part of the syslib.c which is a part of BSP..It has functions for bus > interrupts,timer interrupts and things like that...Now if its a > requirement that all the functions listed in the syslib.c have to be > provided, then your hardware should have the required support. > About the estimation of memory, yes, that was a generic question not > related to VxWorks in any way...but I am still looking for pointers. > Any help out there? sorry i didnt mean to offend u. anyway, here it goes. i think you can refer to bsp developer's guide and a kit provided by wrs. basically u can start with a similar bsp. for ex. i have lsi mips core. i started with mips r4000 bsp, which came as a template in bsp dev.kit. you can ask wrs for an equivalent bsp. for rest of the stuff like timers, interrupts buses & memory etc. u can have a look at supported devices by wrs. they provide a pool of drivers w ofcourse source. so u can pick as per your requirement. for ex. pci bus, they have included pci configuration library, /drv/pci/pci*.c so on and so forth. this is if you are already familiar with vxworks. or else its bit triky to begin with bsp. but never mind, u can have a quick read through of vxworks programmer's guide. esp. chapter 8. it gives overall view of bsp. appendix of the same mannual gives you the architecture specific issues. wrs has many infact i can say almost all bsps. you can ask a list from your local FAE. but again as you might have understood...too late to say this...this is a generic info. shoudl you require specific information, keep posted. someone will surely help you. hth. --------------------------- Newsgroups: comp.os.vxworks Subject: UDP receive problem Date: Fri, 29 Dec 2000 15:27:15 +0800 From: "spine zhang" Organization: The news server of Changzhou TeleCom Message-ID: <92hehs$1l36$1@news.cz.js.cn> I've made very UDP simple, and found that vxWorks has a low-grade problem for UDP receiver. If you run the attached program on to target, one runs the SendTask as a sender. If the ReceiveTask on receiver has been run at first, all is ok, but if the other does not run the ReceiveTask, its network will be hung up. I don't know if it is a vxWorks bug or the configuration of my kernel has problem, I had test it on 3 different kernel. Is there anyone that has meet the same problem and know why? Thanks & best regards! Spine.zhang #include int g_iLocalAddr; int g_iTestPort = 5000; int g_iSendCount = 32; int g_iLocalId; int g_iReceiveCount = 0; struct sockaddr_in g_PeerAddr; void SendTask(void); void ReceiveTask(void); void Test(void) { char pLocalAddr[20] = {0}; struct sockaddr_in LocalAddr; if( 0 != gethostname(pLocalAddr, 20) ) { printf("Can not get host name!\n"); return; } g_iLocalAddr = hostGetByName(pLocalAddr); if( g_iLocalAddr == inet_addr("172.16.164.15") ) { g_PeerAddr.sin_addr.s_addr = inet_addr("172.16.164.16"); } else if( g_iLocalAddr == inet_addr("172.16.164.16") ) { g_PeerAddr.sin_addr.s_addr = inet_addr("172.16.164.15"); } g_PeerAddr.sin_family = AF_INET; g_PeerAddr.sin_port = htons(g_iTestPort); bzero((char *)&(g_PeerAddr.sin_zero), 8); LocalAddr.sin_family = AF_INET; LocalAddr.sin_addr.s_addr = g_iLocalAddr; LocalAddr.sin_port = htons(g_iTestPort); bzero((char *)&(LocalAddr.sin_zero), 8); if( (g_iLocalId =socket(AF_INET, SOCK_DGRAM, 0)) < 0 ) { printf("UDP socket for send create fail!\n"); return ; } if( bind(g_iLocalId, (struct sockaddr *)&LocalAddr, sizeof(struct sockaddr)) != OK ) { printf("UDP socket bind fail!\n"); close(g_iLocalId); return ; } } void SendTask() { char *pBuffer; int iSendCount = 0; pBuffer = (char *)malloc(g_iSendCount+1); if( NULL == pBuffer ) { printf("Can not malloc buffer for send udp data!\n"); return; } memset(pBuffer, 0, g_iSendCount+1); while( 1 ) { memset(pBuffer, (iSendCount%10) + '0', g_iSendCount); if( g_iSendCount != sendto(g_iLocalId, pBuffer,g_iSendCount,0,(struct sockaddr *)&g_PeerAddr,sizeof(struct sockaddr))) { printf("Send Data error!\n"); } taskDelay(2); iSendCount++; } } void ReceiveTask(void) { fd_set rset; int selectwide = 0; int fromlen; struct sockaddr from; char *pBuffer; struct sockaddr_in LocalAddr; pBuffer = (char *)malloc(1024); if( NULL == pBuffer ) { printf("Can not malloc buffer for receive udp data!\n"); return; } for(;;) { FD_ZERO(&rset); FD_SET(g_iLocalId, &rset); selectwide = g_iLocalId + 1; select(selectwide, &rset, NULL, NULL, NULL); if( FD_ISSET(g_iLocalId, &rset) ) { fromlen = sizeof(struct sockaddr); memset(pBuffer, 0, 1024); recvfrom(g_iLocalId, (char *)pBuffer, 1024, 0, &from, &fromlen); printf("%s\n", pBuffer); g_iReceiveCount++; printf("Received %d packet!\n", g_iReceiveCount); } } } begin 666 testSock.c M(VEN8VQU9&4@/&EN+F@^#0H-"FEN="!G7VE,;V-A;$%D9'([#0II;G0@9U]I M5&5S=%!O2 ]($%& M7TE.150[#0H)9U]0965R061DF5R;R@H8VAAF5R M;RDL(#@I.PT*#0H)3&]C86Q!9&1R+G-I;E]F86UI;'D@/2!!1E])3D54.PT* M"4QO8V%L061DPT*"0D) M<')I;G1F*")396YD($1A=&$@97)R;W(A7&XB*3L-"@D)?0T*"0ET87-K1&5L M87DH,BD[#0H)"6E396YD0V]U;G0K*SL-"@E]#0I]#0H-"G9O:60@4F5C96EV M951A Organization: The news server of Changzhou TeleCom Message-ID: <92hff5$1n4o$1@news.cz.js.cn> I've made very UDP simple, and found that vxWorks has a low-grade problem for UDP receiver. If you run the attached program on to target, one runs the SendTask as a sender. If the ReceiveTask on receiver has been run at first, all is ok, but if the other does not run the ReceiveTask, its network will be hung up. I don't know if it is a vxWorks bug or the configuration of my kernel has problem, I had test it on 3 different kernel. Is there anyone that has meet the same problem and know why? Thanks & best regards! Spine.zhang #include int g_iLocalAddr; int g_iTestPort = 5000; int g_iSendCount = 32; int g_iLocalId; int g_iReceiveCount = 0; struct sockaddr_in g_PeerAddr; void SendTask(void); void ReceiveTask(void); void Test(void) { char pLocalAddr[20] = {0}; struct sockaddr_in LocalAddr; if( 0 != gethostname(pLocalAddr, 20) ) { printf("Can not get host name!\n"); return; } g_iLocalAddr = hostGetByName(pLocalAddr); if( g_iLocalAddr == inet_addr("172.16.164.15") ) { g_PeerAddr.sin_addr.s_addr = inet_addr("172.16.164.16"); } else if( g_iLocalAddr == inet_addr("172.16.164.16") ) { g_PeerAddr.sin_addr.s_addr = inet_addr("172.16.164.15"); } g_PeerAddr.sin_family = AF_INET; g_PeerAddr.sin_port = htons(g_iTestPort); bzero((char *)&(g_PeerAddr.sin_zero), 8); LocalAddr.sin_family = AF_INET; LocalAddr.sin_addr.s_addr = g_iLocalAddr; LocalAddr.sin_port = htons(g_iTestPort); bzero((char *)&(LocalAddr.sin_zero), 8); if( (g_iLocalId =socket(AF_INET, SOCK_DGRAM, 0)) < 0 ) { printf("UDP socket for send create fail!\n"); return ; } if( bind(g_iLocalId, (struct sockaddr *)&LocalAddr, sizeof(struct sockaddr)) != OK ) { printf("UDP socket bind fail!\n"); close(g_iLocalId); return ; } } void SendTask() { char *pBuffer; int iSendCount = 0; pBuffer = (char *)malloc(g_iSendCount+1); if( NULL == pBuffer ) { printf("Can not malloc buffer for send udp data!\n"); return; } memset(pBuffer, 0, g_iSendCount+1); while( 1 ) { memset(pBuffer, (iSendCount%10) + '0', g_iSendCount); if( g_iSendCount != sendto(g_iLocalId, pBuffer,g_iSendCount,0,(struct sockaddr *)&g_PeerAddr,sizeof(struct sockaddr))) { printf("Send Data error!\n"); } taskDelay(2); iSendCount++; } } void ReceiveTask(void) { fd_set rset; int selectwide = 0; int fromlen; struct sockaddr from; char *pBuffer; struct sockaddr_in LocalAddr; pBuffer = (char *)malloc(1024); if( NULL == pBuffer ) { printf("Can not malloc buffer for receive udp data!\n"); return; } for(;;) { FD_ZERO(&rset); FD_SET(g_iLocalId, &rset); selectwide = g_iLocalId + 1; select(selectwide, &rset, NULL, NULL, NULL); if( FD_ISSET(g_iLocalId, &rset) ) { fromlen = sizeof(struct sockaddr); memset(pBuffer, 0, 1024); recvfrom(g_iLocalId, (char *)pBuffer, 1024, 0, &from, &fromlen); printf("%s\n", pBuffer); g_iReceiveCount++; printf("Received %d packet!\n", g_iReceiveCount); } } } begin 666 testSock.c M(VEN8VQU9&4@/&EN+F@^#0H-"FEN="!G7VE,;V-A;$%D9'([#0II;G0@9U]I M5&5S=%!O2 ]($%& M7TE.150[#0H)9U]0965R061DF5R;R@H8VAAF5R M;RDL(#@I.PT*#0H)3&]C86Q!9&1R+G-I;E]F86UI;'D@/2!!1E])3D54.PT* M"4QO8V%L061DPT*"0D) M<')I;G1F*")396YD($1A=&$@97)R;W(A7&XB*3L-"@D)?0T*"0ET87-K1&5L M87DH,BD[#0H)"6E396YD0V]U;G0K*SL-"@E]#0I]#0H-"G9O:60@4F5C96EV M951A Organization: The news server of Changzhou TeleCom Message-ID: <92hj3h$214g$1@news.cz.js.cn> I've made very UDP simple, and found that vxWorks has a low-grade problem for UDP receiver. If you run the attached program on to target, one runs the SendTask as a sender. If the ReceiveTask on receiver has been run at first, all is ok, but if the other does not run the ReceiveTask, its network will be hung up. I don't know if it is a vxWorks bug or the configuration of my kernel has problem, I had test it on 3 different kernel. Is there anyone that has meet the same problem and know why? Thanks & best regards! Spine.zhang #include int g_iLocalAddr; int g_iTestPort = 5000; int g_iSendCount = 32; int g_iLocalId; int g_iReceiveCount = 0; struct sockaddr_in g_PeerAddr; void SendTask(void); void ReceiveTask(void); void Test(void) { char pLocalAddr[20] = {0}; struct sockaddr_in LocalAddr; if( 0 != gethostname(pLocalAddr, 20) ) { printf("Can not get host name!\n"); return; } g_iLocalAddr = hostGetByName(pLocalAddr); if( g_iLocalAddr == inet_addr("172.16.164.15") ) { g_PeerAddr.sin_addr.s_addr = inet_addr("172.16.164.16"); } else if( g_iLocalAddr == inet_addr("172.16.164.16") ) { g_PeerAddr.sin_addr.s_addr = inet_addr("172.16.164.15"); } g_PeerAddr.sin_family = AF_INET; g_PeerAddr.sin_port = htons(g_iTestPort); bzero((char *)&(g_PeerAddr.sin_zero), 8); LocalAddr.sin_family = AF_INET; LocalAddr.sin_addr.s_addr = g_iLocalAddr; LocalAddr.sin_port = htons(g_iTestPort); bzero((char *)&(LocalAddr.sin_zero), 8); if( (g_iLocalId =socket(AF_INET, SOCK_DGRAM, 0)) < 0 ) { printf("UDP socket for send create fail!\n"); return ; } if( bind(g_iLocalId, (struct sockaddr *)&LocalAddr, sizeof(struct sockaddr)) != OK ) { printf("UDP socket bind fail!\n"); close(g_iLocalId); return ; } } void SendTask() { char *pBuffer; int iSendCount = 0; pBuffer = (char *)malloc(g_iSendCount+1); if( NULL == pBuffer ) { printf("Can not malloc buffer for send udp data!\n"); return; } memset(pBuffer, 0, g_iSendCount+1); while( 1 ) { memset(pBuffer, (iSendCount%10) + '0', g_iSendCount); if( g_iSendCount != sendto(g_iLocalId, pBuffer,g_iSendCount,0,(struct sockaddr *)&g_PeerAddr,sizeof(struct sockaddr))) { printf("Send Data error!\n"); } taskDelay(2); iSendCount++; } } void ReceiveTask(void) { fd_set rset; int selectwide = 0; int fromlen; struct sockaddr from; char *pBuffer; struct sockaddr_in LocalAddr; pBuffer = (char *)malloc(1024); if( NULL == pBuffer ) { printf("Can not malloc buffer for receive udp data!\n"); return; } for(;;) { FD_ZERO(&rset); FD_SET(g_iLocalId, &rset); selectwide = g_iLocalId + 1; select(selectwide, &rset, NULL, NULL, NULL); if( FD_ISSET(g_iLocalId, &rset) ) { fromlen = sizeof(struct sockaddr); memset(pBuffer, 0, 1024); recvfrom(g_iLocalId, (char *)pBuffer, 1024, 0, &from, &fromlen); printf("%s\n", pBuffer); g_iReceiveCount++; printf("Received %d packet!\n", g_iReceiveCount); } } } begin 666 testSock.c M(VEN8VQU9&4@/&EN+F@^#0H-"FEN="!G7VE,;V-A;$%D9'([#0II;G0@9U]I M5&5S=%!O2 ]($%& M7TE.150[#0H)9U]0965R061DF5R;R@H8VAAF5R M;RDL(#@I.PT*#0H)3&]C86Q!9&1R+G-I;E]F86UI;'D@/2!!1E])3D54.PT* M"4QO8V%L061DPT*"0D) M<')I;G1F*")396YD($1A=&$@97)R;W(A7&XB*3L-"@D)?0T*"0ET87-K1&5L M87DH,BD[#0H)"6E396YD0V]U;G0K*SL-"@E]#0I]#0H-"G9O:60@4F5C96EV M951A References: <3A24007F.B17CD9EE@eu.mascotsystems.com> <92f1fl$b1p$1@news3.inter.net.il> In article <92f1fl$b1p$1@news3.inter.net.il>, "Pavius" wrote: >What's handy hint #36? Why "Always use protection"... I suppose this refers to anti-static precautions ;-) Paul --------------------------- Newsgroups: comp.os.vxworks Subject: Re: muxDevLoad Date: Fri, 29 Dec 2000 09:55:59 GMT From: George Varndell Organization: Deja.com Message-ID: <92hn3e$1fv$1@nnrp1.deja.com> References: In article , wrote: > Well, I have a simple question and a simpler question. In studying the > source for muxDevLoad in muxLib.c, I see that the endLoad function in my > ethernet driver is called with two arguments like endLoad ( (char*)devName, > NULL). When I look at the source for my ethernet driver itself, I see that > its endLoad function expects one argument like endLoad (char * initString). > So my question is, why is the stack not FUBAR and why does this code work at > all? I thought that the number of arguments passed to a subroutine had to > match what the subroutine expected. > > My simpler question is based on why I went looking for this in the first > place, as a little later in muxDevLoad is the statement endLoad ( (char > *)initString, pBSP) and I can't seem to figure out the significance of pBSP > in the first place (pointer to my BSP?). The mux calls a wrapper load function -- external to the driver. The wrapper function calls the actual driver load function with just one argument -- a pointer to the load string. The pBSP argument is a optional, BSP-specific, argument that can be utilized by the above mentioned wrapper function in any way deemed useful by a BSP developer. It's value is taken from the endDevTbl array. Have a look at confignet.h and you'll see this field is NULL. Finally, if no wrapper function is provided, the extra argument supplied by the mux to the driver load function will do no harm on most (if not all??) architectures. Regards, George Varndell - -- Embedded Systems Expertise http://www.varndellengineering.com Sent via Deja.com http://www.deja.com/ --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Sat Dec 30 04:03:06 2000 From: Vxworks Exploder Date: Sat Dec 30 04:03:09 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Sat Dec 30 04:03:03 PST 2000 Subject: Re: BSP Subject: Re: Jworks Subject: ~~~Search for computer help (within text) Free!!! Subject: Re: Batch Building a Project and BSP Subject: debugger source search path Subject: Re: debugger source search path Subject: Re: debugger source search path Subject: Re: VxWorks vs. Linux Subject: does anybody know if there is an driver for vxfs ver.1.0 for linux/windows? Subject: Re: Batch Building a Project and BSP ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Re: BSP Date: Fri, 29 Dec 2000 15:08:46 GMT From: Bill Pringlemeir Organization: Factory of the mind Message-ID: References: <92evdl$tjn$1@nnrp1.deja.com> Sender: bpringlemeir@DeadDuck >>>>> "Paul" == Paul Whicker writes: Paul> vxWorks only demands one timer and some RAM and ROM, a minimum Paul> system could be built into much less than 128k of ROM and could Paul> do something useful with less than 32k of RAM. Paul has good advice and I have similar experience. I would just add that the code size can be very different depending on the processor. A PowerPC will take significantly more code than an x86 or 68k. I have had the kernel down to about 80k. This was excluding TCP/IP support. If you need this, the image will increase in size dramatically. Also, you can trade Flash/ROM for RAM by compressing the image and running from RAM. This is often quicker as most RAM is faster than Flash/ROM. (exceptional cases noted, like StrataFlash and 150 ns DRAM) hth, Bill - -- When you get your PH.D. will you get able to work at BURGER KING? --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Jworks Date: Fri, 29 Dec 2000 16:57:04 GMT From: Craig Vanderborgh Organization: Excite@Home - The Leader in Broadband http://home.com/faster Message-ID: <3A4CC25F.9BD9D377@voxware.com> References: <3a45b098@news.barak.net.il> Lior Katzri wrote: > > Hi all, > We intend to develop with Personal Jworks 3.02 over PPC 750 / 7400 > with Sun's Java Dynamic Management Kit (JDMK). > Do you know of other Windriver customers that tried to do that and if so, > can you give me a contact for more questions ? > In particular, I need to get some feedback on performance / stability. > A contact to a reference implementation for Jworks / PPC only can help me > too. > > Thanks > > Lior Hi Lior: We are using PJ 3.02 and are having a great deal of trouble with it. In particular, PJ does not allow us to concurrently perform socket operations on different threads. Also, PJ is unable to acquire a URL w/HTTP about 1 time in 100. Although there are other serious problems with PJ, these two problems are causing us enormous grief. We have not received adequate support from Wind River on these issues. PJ is slow, very slow. Also, it supports only JDK1.1.8, so all of the new features available in JDK1.2+ are simply not available with PJ. We're currently looking at the Intent JVM from the Tao Group. [http://tao-group.com]. We've received reports that Intent is working a lot better right now, and is vastly faster. You might want to check it out. regards, craig vanderborgh voxware incorporated --------------------------- Newsgroups: comp.os.vxworks Subject: ~~~Search for computer help (within text) Free!!! Date: Fri, 29 Dec 2000 19:31:54 GMT From: support@callowco.com Organization: WebUseNet Corp http://www.usenetserver.com - Home of the fastest NNTP servers on the Net. Message-ID: Search this group within text at: www.callowco.com/helpdesk.asp Note; You must use internet explorer to view the page correctly Thank you for trying it. support@callowco.com --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Batch Building a Project and BSP Date: Fri, 29 Dec 2000 20:20:00 GMT From: "Adam Schondelmayer" Organization: @Work Internet powered by @Home Network Message-ID: References: Well, make is all fine and dandy if you have all the variables defined that Tornado usually sets up for you. And there's also the question of how you automate updating dependencies without the IDE. Could you indulge me and explain a little further how these "serious folks" build not only a VxWorks project, but also a BSP using make? thanks, Adam "Paul Whicker" wrote in message news:zNU26.52993$A06.1570100@news1.frmt1.sfba.home.com... > It's called make. Sorry but that's how serious folks build their applications > instead of using all this IDE stuff :-) > > There's a macro called PRJ_BUILD or something of the same idea, perhaps if you > defined that you could even build with the options you defined in the IDE? > > > Paul > > In article , "Adam > Schondelmayer" wrote: > >Does anyone know how to launch a build from a batch file under Windows NT? > >I'd like to have a batch that builds my project, and the BSP that includes > >it without having to mouse all over the Tornado interface and click on 20 > >different things. > > > >Thanks, > >-Adam > > > > --------------------------- Newsgroups: comp.os.vxworks Subject: debugger source search path Date: Fri, 29 Dec 2000 12:50:33 -0800 From: Organization: SBC Internet Services Message-ID: First, thank you to George for answering my previous question. Now let me pose a new one. I am tracing through the vxWorks source trying to understand how things fit together and I find that whenever I have a call in tracing with the debugger, that I have to move that source file to my BSP directory and add it in with MACH_EXTRA. I have tried the IDE's drop down for Debug->Source Search Path and find the debugger cannot find the file in question with either a directory or a fully qualified file name. This occurs with all files. Only if I move the file to my BSP directory and add it in the make file and rebuild can I then trace through the source instead of the just dropping into assembler. Can anyone help me understand how to use the Debug->Source Search Path successfully? --------------------------- Newsgroups: comp.os.vxworks Subject: Re: debugger source search path Date: Fri, 29 Dec 2000 21:51:27 +0100 From: "Martin Raabe" Organization: T-Online Message-ID: <92itov$q4a$07$1@news.t-online.com> References: Hello cfk, the question is: Did you switch on the debug information generation (-g) in your BSP? Speaking for my own, not my employer! Ciao - -- Martin Raabe schrieb in im Newsbeitrag: EK636.65103$Wq1.24366320@nnrp5-w.sbc.net... > First, thank you to George for answering my previous question. Now let me > pose a new one. I am tracing through the vxWorks source trying to understand > how things fit together and I find that whenever I have a call in tracing > with the debugger, that I have to move that source file to my BSP directory > and add it in with MACH_EXTRA. I have tried the IDE's drop down for > Debug->Source Search Path and find the debugger cannot find the file in > question with either a directory or a fully qualified file name. This > occurs with all files. Only if I move the file to my BSP directory and add > it in the make file and rebuild can I then trace through the source instead > of the just dropping into assembler. Can anyone help me understand how to > use the Debug->Source Search Path successfully? > > --------------------------- Newsgroups: comp.os.vxworks Subject: Re: debugger source search path Date: Fri, 29 Dec 2000 13:30:13 -0800 From: Organization: SBC Internet Services Message-ID: References: <92itov$q4a$07$1@news.t-online.com> Well, yes, actually there is a '-g' in my compiler invocation line so I think I am past that issue. I can debug from source and see symbols, its just that in order to debug into the source file instead of having the debugger show me assembler only, I have to add the file to the BSP directory and rebuild with it as one of the MACH_EXTRA arguments. "Martin Raabe" wrote in message news:92itov$q4a$07$1@news.t-online.com... > Hello cfk, > the question is: > Did you switch on the debug information generation (-g) in your BSP? --------------------------- Newsgroups: comp.os.vxworks Subject: Re: VxWorks vs. Linux Date: Sat, 30 Dec 2000 04:58:43 GMT From: "Martin Usher" Organization: EarthLink Inc. -- http://www.EarthLink.net Message-ID: <7Yd36.47215$RC1.1805767@newsread1.prod.itd.earthlink.net> References: <3A3FBFFB.498C5FDD@netvision.net.il> <3A419C47.7CADE5F5@voxware.com> <3a41d495.244329006@pubnews.netcom.net.uk> Reply-To: "Martin Usher" > > > > The good thing about learning vxWorks is that you will have a job > > because there are many pointer haired managers and legacy reason to > > still use it. > > Its sold to pointy haired managers, not engineers. That's a dead giveaway, if ever there were one. I'm relatively new to Vxworks (1 yr) but not to operating systems, development, network stacks and so on. I got involved with VxW out of curiousity since "everyone was using it". What I found was what looked like a vintage BSD stack grafted on a fairly ho-hum kernel. Nothing special. What I didn't like was being knocked thousands every time I turn around. This gets a bit old very quickly. I didn't like being quizzed by no less than two gatekeepers the one time I did try to contact customer service (and I never got my question answered). I did get into their Windsurf site to look for problems and got nothing new, certainly nothing of the calibire of the information I get off the net. I've also been using Linux off and on for a couple of years. I tend to call it a "System V knockoff" - it reminds me of the Xenix/SysV systems I used to use in the '80s - but I suspect its innards are a lot neater than the originals. Its a really nice system to use - its smooooth, flexible, reliable with a huge base of available components and a knowledge base of users out there and the ability, when things get desperate to pop that hood and look inside. I'm not sure what's not available to run on it but I suspect than anything that finds its way to VxW these days probably started life on Linux first. The Linux kernel's about as real-time as VxWorks's - that is, not that deterministic - but there's RT/Linux available from several suppliers which is a very fine, sharp, kernel with a generic Linux parked on top of it. There are a few things that I have in VxW which I'd miss, such as the Target Shell, but I daresay that the only reason why I haven't found either these items or something similar is that I haven't been looking too hard. I'm trying not to be a Linux bigot, but the more I use this system the less interest I have in anything else (except maybe the FreeBSD development effort). In fact I'm starting to find myself using the thing for day to day tasks instead of my Windows environment. Maybe I should just give up and admit that I'm now one of the pod people after all. As for the future - VxW or Linux - the answer is simple. If the company I'm working for has a significant percentage of point-hairs and a big budget then its VxW. The default will be Linux, though. --------------------------- Newsgroups: comp.os.vxworks Subject: does anybody know if there is an driver for vxfs ver.1.0 for linux/windows? Date: Sat, 30 Dec 2000 10:38:09 GMT From: "smasher" Organization: Customers chello Austria Message-ID: we have an embedded vxworks controller (r5000 platform) that uses this filesystem --------------------------- Newsgroups: comp.os.vxworks Subject: Re: Batch Building a Project and BSP Date: Sat, 30 Dec 2000 10:48:44 GMT From: wv12@my-deja.com Organization: Deja.com Message-ID: <92keib$2oi$1@nnrp1.deja.com> References: I dont consider myself very serious. I am simply sick and tired the Windows NT IDE, and have decided to move my development onto Linux, after hacking a cross compiler. If you are looking for a way to generate dependencies, try "gcc -M -MG yourfile.c" inside target/config/yourbsp Will In article , "Adam Schondelmayer" wrote: > Well, make is all fine and dandy if you have all the variables defined that > Tornado usually sets up for you. And there's also the question of how you > automate updating dependencies without the IDE. > > Could you indulge me and explain a little further how these "serious folks" > build not only a VxWorks project, but also a BSP using make? > > thanks, > Adam > > "Paul Whicker" wrote in message > news:zNU26.52993$A06.1570100@news1.frmt1.sfba.home.com... > > It's called make. Sorry but that's how serious folks build their > applications > > instead of using all this IDE stuff :-) > > > > There's a macro called PRJ_BUILD or something of the same idea, perhaps if > you > > defined that you could even build with the options you defined in the IDE? > > > > > > Paul > > > > In article , "Adam > > Schondelmayer" wrote: > > >Does anyone know how to launch a build from a batch file under Windows > NT? > > >I'd like to have a batch that builds my project, and the BSP that > includes > > >it without having to mouse all over the Tornado interface and click on 20 > > >different things. > > > > > >Thanks, > > >-Adam > > > > > > > > Sent via Deja.com http://www.deja.com/ --------------------------- End of New-News digest ********************** From vxwexplo-errs@csg.lbl.gov Sun Dec 31 04:03:06 2000 From: Vxworks Exploder Date: Sun Dec 31 04:03:09 PST 2000 Subject: comp.os.vxworks newsdigest Comp.Os.Vxworks Daily Digest Sun Dec 31 04:03:04 PST 2000 Subject: Re: Batch Building a Project and BSP Subject: VPN ------------------------------------------------------- Newsgroups: comp.os.vxworks Subject: Re: Batch Building a Project and BSP Date: Sat, 30 Dec 2000 12:34:00 -0000 From: "Bill Boumphrey" Message-ID: <978179714.22117.0.nnrp-07.9e9898e4@news.demon.co.uk> References: > It's called make. Sorry but that's how serious folks build their applications > instead of using all this IDE stuff :-) Specifically, use make to call the makefile in the project directory. If you want to build the system in the same way that the IDE builds (i.e, for the object files to be built in the 'default ' directory under the project directory) then call make from a batch file in the default directory but use the -C option (i.e make -C../ -fmakefile). This means that the actual build takes place in the default directory but changes directory to the one below (i.e, the project directory). > There's a macro called PRJ_BUILD or something of the same idea, perhaps if you > defined that you could even build with the options you defined in the IDE? The project's makefile defines this as one of the compiler flags. He's right, though - if this is defined then the project options that are defined in prjparams.h and prjcomps.h are picked up. If these are not present in the project directory then one of the tcl scripts will be called to make them. You don't, of course, have to use the IDE at all (not even under windows NT. We use the IDE to configure our system (it's a lot quicker!) then we use a batch file to do the main building. The IDE uses the prject file (.wpj in the project directory) to build the makefile and the include files. Yoiu could just start from these as a basis, throw away the IDE completely and just edit the project files directly 9but it will be difficult to get back to the IDE unless you keep the project file in line with any components that you add/delete/alter the parameters of) Bill Boumphrey vxWorks@heavenly.demon.co.uk --------------------------- Newsgroups: comp.os.vxworks Subject: VPN Date: Sun, 31 Dec 2000 08:14:16 GMT From: wizsky@my-deja.com Organization: Deja.com Message-ID: <92mpsm$noq$1@nnrp1.deja.com> Hi, I would like to know if any of you guys implemented/ported a VPN client package to VxWorks, and if so, if you can give a bit information about it. Whose package is it. How complicated it was. Memory footprint. Etc. Thanks, Wiz Sent via Deja.com http://www.deja.com/ --------------------------- End of New-News digest **********************