RE: Modem Dialing
"Saurabh" <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Please download PPPClient from dalsemi site which does logging in to ISP by passing username and password...This will serve your purpose.. - Saurabh -----Original Message----- From: tini-admin-6tN4nzCoH/[email protected] [mailto:[email protected]]On Behalf Of tini-request-6tN4nzCoH/[email protected] Sent: Thursday, April 15, 2004 10:38 PM To: tini-6tN4nzCoH/[email protected] Subject: TINI digest, Vol 1 #1829 - 22 msgs Send TINI mailing list submissions to tini-6tN4nzCoH/[email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.dalsemi.com/mailman/listinfo/tini or, via email, send a message with subject or body 'help' to tini-request-6tN4nzCoH/[email protected] You can reach the person managing the list at tini-admin-6tN4nzCoH/[email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of TINI digest..." Today's Topics: 1. Re: question = app in TINI flash or SRAM (Bryan Armstrong) 2. Re: Code Startup (Bryan Armstrong) 3. Re: NullPointerException (Wes Stupar) 4. Re: Interface with TINIM400 (Bryan Armstrong) 5. Re: More Externals Interrupts (Bryan Armstrong) 6. Re: CAN startup problems (Bryan Armstrong) 7. Startup problem with 1.12 (Ron) 8. RE: [TINI]SLush and File Writing (Lorne Smith) 9. Re: Problem with FTP downloading (Bryan Armstrong) 10. Re: Bug in synchronized() ? (Bryan Armstrong) 11. Re: Strange double ACK in TCP/IP (Robert Muchsel) 12. Re: Strange double ACK in TCP/IP (Barry Demchak) 13. ICMP disabling (Desai, Sohail) 14. Memory overflow or API difference? Plus TINI os is 1.12 + 400 (Cory Hu) 15. Re: How does rw-access to my flashes during high speed 75 MHZ work?? (Peter in Afrika) 16. DS80C400 Firmware Version (Saurabh) 17. RE: Code Startup (Saurabh) 18. Converting HelloWeb.class to HelloWeb.tini (Michael Dawe) 19. Re: Bug in synchronized() ? (rumi) 20. Re: How do I get rw-access to my flashes during high speed 75 MHZ?? (Bryan Armstrong) --__--__-- Message: 1 Date: Wed, 14 Apr 2004 13:48:32 -0500 From: Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]> To: =?GB2312?B?zrC08w==?= <zhbnzz-9Onoh4P/[email protected]> CC: tini-6tN4nzCoH/[email protected] Subject: Re: [TINI]question = app in TINI flash or SRAM ΰ´ó wrote: > public static void main(String[] args) > { > new Slush(); > new MyApp(); > } Does this mean that the MyApp constructor includes code that writes the "datafile"? You might also consider calling the function directly (e.g. MyApp.functionName()) instead of creating a new MyApp object. -- -- Bryan Armstrong bryan.armstrong-6tN4nzCoH/[email protected] --__--__-- Message: 2 Date: Wed, 14 Apr 2004 13:51:08 -0500 From: Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]> To: Saurabh <[email protected]> CC: tini-6tN4nzCoH/[email protected] Subject: Re: [TINI]Code Startup Saurabh wrote: > while other board has DS80C400 0336B1 0261A FNY, which at power on, doesn't > execute the PPPClient..I have to invoke the bootloader, select respective > bank (B 40) and then issue execute command (X) through boot loader...Then > only TINIOS starts and application starts runining...After invoking boot > loader (by default Bank selected is C0), if exit command (E) is issued, code > halts and gives error message no User application found.. Since you have a 2MByte flash, you should check and make sure no flash banks are used above 47. Clear the other flash banks and see if it fixes the problem. -- -- Bryan Armstrong bryan.armstrong-6tN4nzCoH/[email protected] --__--__-- Message: 3 Date: Wed, 14 Apr 2004 11:41:36 -0700 From: Wes Stupar <[email protected]> To: Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]> CC: TINI <TINI-6tN4nzCoH/[email protected]> Subject: Re: [TINI]NullPointerException I am running TINI1.12. Since posting this message I found some synchronization errors in the program. Monitor is a producer of status information. Method sendR1200InfoMessage gets called to use that status information. There is another thread that can also invoke sendR1200InfoMessage asynchronously. I wonder if the NullPointerException can be caused by this error. Bryan Armstrong wrote: > Wes Stupar wrote: > >> My TINI400 program has a nasty bug that causes the >> NullPointerException. Here is an example of the stack trace: >> java.lang.NullPointerException >> in com.iqstor.IQcom.unitInformationMessage.<init>(@JPC=43) >> in com.iqstor.IQcom.r1200InformationBroadcastMessage.<init>(@JPC=2) >> in com.iQstor.esp2r12.UDPCom.sendR1200InfoMessage(@JPC=35003a) >> in com.iQstor.esp2r12.Monitor.run(@JPC=22029a) >> in java.lang.Thread.run(@JPC=22001a) >> in com.iQstor.esp2r12.TCPCom.run(@JPC= >> Can someone help me interpret this trace? It was truncated, >> presumeably due to the crash. It seems to have been in the TCPCom >> thread (there are 6 threads running plus slush) and the Monitor >> thread. Is this a normal trace, to show two threads? Does the <init> >> mean that it is in the constructor of the class? The class >> r1200InformationBroadcastMessage extends unitInformationMessage. >> >> I have not been able to spot a place in the constructor for >> unitInformationMessage that could give rise to a null pointer. Any >> ideas would be appreciated. > > > This looks like a dump from the Monitor thread, see the run() method. > Then, the function sendR1200InfoMessage was called. Then two > constructors were called. > > What TINI version are you using? > --__--__-- Message: 4 Date: Wed, 14 Apr 2004 13:45:43 -0500 From: Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]> To: Theeraputh Mekathikom <thonelix-/[email protected]> CC: tini-6tN4nzCoH/[email protected] Subject: Re: [TINI]Interface with TINIM400 Theeraputh Mekathikom wrote: > Dear all, > I'm about to communicate with Tini board. First, I > tried serial port but it seems that 115200 baud is not > enough for my application. I wonder is there any other > way to interface faster with TINIM400 (i.e. parallel) > ? or can I simply increase baud rate? Theeraputh, You can attach your device to the /PSEN, /WR, data, and a chip enable (/CE4-/CE7) and move data as fast as a movx instruction will allow which at ~29MHz is 1.8Mbytes/sec. -- -- Bryan Armstrong bryan.armstrong-6tN4nzCoH/[email protected] --__--__-- Message: 5 Date: Wed, 14 Apr 2004 13:58:36 -0500 From: Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]> To: Dozio <[email protected]> CC: tini-6tN4nzCoH/[email protected] Subject: Re: [TINI]More Externals Interrupts Dozio wrote: > Hi, I have to manage 2 interrupt signals in the Evaluation Board DSTINIs400. > The uP has 6 interrupts sources (INT0-5) but only the external interrupt > INT0 is not used on the evaluation board. > I dont want to share the same interrupt for 2 sources reading 2 I/O bits to > know which one generated the interrupt. Gian, Consider ANDing the two input sources and output to /INT0. Also, run each source to an available port pin (port 5.4-5.7). When you receive an interrupt, you can read the port pins to determine which interrupts are involved. -- -- Bryan Armstrong bryan.armstrong-6tN4nzCoH/[email protected] --__--__-- Message: 6 Date: Wed, 14 Apr 2004 12:40:44 -0500 From: Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]> To: kic-P0R/[email protected] CC: tini-6tN4nzCoH/[email protected] Subject: Re: [TINI]CAN startup problems Karsten Christensen wrote: > The only problem occurs when i let the PC communicate to the system > during powerup or reset. > I look like the DSTINIm400 module pulls down the CAN RX-pin if it > receives to many CAN messages during start of the TINIOS, even this pin > is an input on the DS80C400 CANBus! The CAN RX pin is driven by the CAN transceiver (e.g. 82C250) and is a wired product of the CAN TX pin of the CPU and the CAN Bus. If the line is going low, either the CAN TX is low, or the CAN Bus is low. > When my own aplication then starts after the TINIOS finishes > initializing, it initializes the CANBus and everything seems to be > initialized ok (no exeptions or anything). BUT no telegrams are > received, and the input pin is still pulled down by the DS80C400!! Hmm, what are the signals on the differential side of the CAN transceiver? -- -- Bryan Armstrong bryan.armstrong-6tN4nzCoH/[email protected] --__--__-- Message: 7 From: "Ron" <[email protected]> To: <tini-6tN4nzCoH/[email protected]> Date: Wed, 14 Apr 2004 10:40:46 -0500 charset="iso-8859-1" Subject: [TINI]Startup problem with 1.12 I have a 390 that I loaded with TINIOS1.12. The load went normally and works ok. I compiled my Java app that has been running with TINIOS 1.02f for months... I am compiling with JDK 1.4 using the -target 1.1 and building the app with the BuildDependency in 1.12. The build runs without errors. After ftping it to the tini I start it from a telnet session. After about 2 seconds I get back the prompt; no error messages, not even the println I have as my first line of code, nothing. I made a Hello World program and it works fine, so the JVM on the tini seems to be intact. Any idea of what may be happening? --__--__-- Message: 8 From: Lorne Smith <Lorne.Smith-6tN4nzCoH/[email protected]> To: tini discussion forum <tini-6tN4nzCoH/[email protected]> Subject: RE: [TINI][TINI]SLush and File Writing Date: Wed, 14 Apr 2004 09:52:57 -0500 charset="gb2312" You probably do not have write permissions to the root directory of the file system. The main slush thread runs with guest privileges. You can change this by adding the following line to the end of the slush constructor: userIDByThreadID.put(Thread.currentThread(), new Byte((byte)adminUID)); --Lorne > -----Original Message----- > From: tini-admin-6tN4nzCoH/[email protected] > [mailto:tini-admin-6tN4nzCoH/[email protected]]On Behalf Of [email protected] > Sent: Tuesday, April 13, 2004 4:09 AM > To: shawn silverman; swami venkataramani > Cc: tini discussion forum > Subject: [TINI][TINI]SLush and File Writing > > > Dear Shawn > > code: > //-------------------------------------------------- > FileOutputStream ffout; > try > { > ffout= new FileOutputStream("datafile"); > ffout.write((new String("12345\r\n")).getBytes()); > ffout.write((new String("67890\r\n")).getBytes()); > ffOut.flush(); > ffout.close(); > }catch(IOException e) > { > } > //--------------------------------- > in myApp. > > If only myApp in flash,¡°datafile¡± can found in SRAM. > If new slush(=myApp+slush) in flash,¡°datafile¡± cannot found in SRAM? > but other funtions in myApp in newSlush work good! > why? > > //------------------ > about new slush: > In com.dalsemi.slush.java, I make Changes: > import MyPackage.MyApp; > ¡ > public static void main(String[] args) > { > new Slush(); > new MyApp(); > } > > //------------------------- > > Best regards, > zhbnzz > > > ======================================================== > ¡°ÏÆÆðÄãµÄ¸ÇÍ·À´£¬AOCÐÂ×±ö¦Àö½¡¿µÐ㡱£¡ > http://design.163.com/aocmonitor/index.html > > ÊÇÓʼþÄãÊÕ Óв¡¶¾ÎÒÉÏ£¡VIPÓÊÏä È«Ãæ±£»¤£¡ http://vip.163.com > > Öйú×î´óµÄÃâ·ÑÓÊÏäÔÚµÈÄã 25Õ׿ռä4Õ׸½¼þ£¡¡¡¡¡¡¡¡¡¡¡ http://mail.163.com > > µã»÷ÍøÒ×ÅÝÅݾªÏ²ÎÞÏÞ È«Ãâ·ÑÊÖ»ú¶ÌÐÅÈÎÄã·¢!¡¡¡¡¡¡¡¡¡¡¡¡http://popo.163.com > _______________________________________________ > TINI mailing list > TINI-6tN4nzCoH/[email protected] > To UNSUBSCRIBE, edit your profile, or see list archives: > http://lists.dalsemi.com/mailman/listinfo/tini > --__--__-- Message: 9 Date: Wed, 14 Apr 2004 12:44:07 -0500 From: Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]> To: Qaisar Ahsan <[email protected]> CC: tini-6tN4nzCoH/[email protected] Subject: Re: [TINI]Problem with FTP downloading Qaisar Ahsan wrote: > My IE settings ensure that cache is bypassed and i gets a fresh copy each time. > Still I am getting the old data. Is there any cache in TINI from which FTP > server is sending me the old data. What should I do to get new data everytime. TINI has no caching of files. What happens when you use a command line FTP utility? -- -- Bryan Armstrong bryan.armstrong-6tN4nzCoH/[email protected] --__--__-- Message: 10 Date: Wed, 14 Apr 2004 12:43:17 -0500 From: Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]> To: rumi <rumi_smieci-h7QdYz1kt/[email protected]> CC: tini-6tN4nzCoH/[email protected] Subject: Re: [TINI]Bug in synchronized() ? rumi wrote: > One question still is unsolved: how to serve static files (for example > unchangeable graphical files) without synchronization? Maybe serve files > acceleration isn't worth of trouble - and it may be good answer :). One could rewrite the server to only synchronize on specific files that are known to change. How does the Apache web server do this? I'm under the impression that it does not do file locking by default. -- -- Bryan Armstrong bryan.armstrong-6tN4nzCoH/[email protected] --__--__-- Message: 11 Subject: Re: [TINI]Strange double ACK in TCP/IP From: Robert Muchsel <robert.muchsel-6tN4nzCoH/[email protected]> To: Barry Demchak <[email protected]> Cc: TINI Mailing List <tini-6tN4nzCoH/[email protected]> Organization: Date: 14 Apr 2004 16:49:12 -0500 > The main difference between the ACKs appears to be in the window frame > size. The second one always appears to be a window frame size of 4096, and > the first one appears to be the 4096 less the size of the packet actually > sent (roughly). > > Based on this, I would speculate that TINI does an ACK immediately when it > receives the packet, telling the sender how much buffer the TINI has left. > And then, when my application reads the buffer, TINI sends another ACK to > say that it has more buffer space available. > > Is this what's going on?? Why is the second ACK necessary or desirable??? Since the TINI's TCP buffers are so small, it is highly desirable to let the other end of the connection know immediately when there is more room in the input buffer. We found that this behavior increases TCP throughput when talking to the TINI. -- Robert Muchsel - Dallas Semiconductor - http://www.maxim-ic.com/TINI/ --__--__-- Message: 12 Date: Wed, 14 Apr 2004 15:02:40 -0700 To: Robert Muchsel <robert.muchsel-6tN4nzCoH/[email protected]> From: Barry Demchak <[email protected]> Subject: Re: [TINI]Strange double ACK in TCP/IP Cc: TINI Mailing List <tini-6tN4nzCoH/[email protected]>, Ted Staros <[email protected]>, Sid Price <[email protected]> <1081979351.29468.1443.camel-tdX1HspRmLwwuWPeX+aCsFaTQe2KTcn/@public.gmane.org> OK ... thanks ... I gather then, that you've affirmed my speculation, and that this is not an erroneous behavior. At 04:49 PM 4/14/2004 -0500, Robert Muchsel wrote: > > The main difference between the ACKs appears to be in the window frame > > size. The second one always appears to be a window frame size of 4096, and > > the first one appears to be the 4096 less the size of the packet actually > > sent (roughly). > > > > Based on this, I would speculate that TINI does an ACK immediately when it > > receives the packet, telling the sender how much buffer the TINI has left. > > And then, when my application reads the buffer, TINI sends another ACK to > > say that it has more buffer space available. > > > > Is this what's going on?? Why is the second ACK necessary or desirable??? > >Since the TINI's TCP buffers are so small, it is highly desirable to let >the other end of the connection know immediately when there is more room >in the input buffer. We found that this behavior increases TCP >throughput when talking to the TINI. > > >-- > Robert Muchsel - Dallas Semiconductor - http://www.maxim-ic.com/TINI/ vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv : Barry Demchak : : Torrey Pines Software, Inc. : : http://www.tpsoft.com/ : : (858) 452-8700 : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --__--__-- Message: 13 charset="us-ascii" Date: Wed, 14 Apr 2004 15:34:25 -0700 From: "Desai, Sohail" <[email protected]> To: <tini-6tN4nzCoH/[email protected]> Subject: [TINI]ICMP disabling Will placing the DS80C400's MAC in loopback mode prevent it from responding to an ICMP ping? I am trying to figure out a way of disabling ICMP responses on the MAC by setting some bits in the CSR/BCU registers, since there is nothing in the TCP/IP built-in stack that allows this. I am working in Keil's C platform by the way. Thanks. Sohail. --__--__-- Message: 14 Date: Wed, 14 Apr 2004 18:12:35 -0700 (PDT) From: Cory Hu <cory_hu-/[email protected]> To: tini-6tN4nzCoH/[email protected] Subject: [TINI]Memory overflow or API difference? Plus TINI os is 1.12 + 400 After I run the command It seems OK, print a system status, but afterward, a overflowerror was reported, I tried to shut down the ftp server to see if it can go further, it still got the same result, is it a memory problem or API difference? tini00e5e1 /> java Hello.tini SIPSTackImpl, setPort(), WE set the port:5060 java.lang.StackOverflowError in java.lang.reflect.Method.invoke(@JPC=140151) > in > java.lang.reflect.Constructor.newInstance(@JPC=f0021) > in java.lang.Class.newInstance(@JPC=2c001b) > in javax.siplite.Factory.getSIPStack(@JPC=b0004) > in test.jain.Test.<init>(@JPC=2a) > in java.lang.System.??? > > thanks > Cory > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online by April 15th > http://taxes.yahoo.com/filing.html > __________________________________ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html --__--__-- Message: 15 Date: Thu, 15 Apr 2004 00:38:03 +0200 From: Peter in Afrika <peterw-/[email protected]> To: tini-6tN4nzCoH/[email protected] Subject: Re: [TINI]How does rw-access to my flashes during high speed 75 MHZ work?? Hello everybody, I wanted to use a fast 75 Mhz clock for my tini (DS80C400). Therefore I use the networkcamera design as a basic schematic. On Bank CE4- CE7 I wanted to put on each two AM29LV081-70EC (1Mx8Bit, 70ns) Flashes for data storage purposes. If I want to have access to that flashes after booting, how do I do that from JAVA? I only want to know that before I create my pcb... regards Peter --__--__-- Message: 16 From: "Saurabh" <[email protected]> To: <tini-6tN4nzCoH/[email protected]> Cc: <Kristopher.Ardis-6tN4nzCoH/[email protected]>, <[email protected]>, <bryan.armstrong-6tN4nzCoH/[email protected]> Date: Fri, 16 Apr 2004 09:55:02 +0530 charset="iso-8859-1" Subject: [TINI]DS80C400 Firmware Version Hi, It has been found that there are several DS80C400 chipsets released which contains different firmware inside the ROM. I have got the DS80C400 whose internal Boot loader fails to detect the user application at startup...where as i have another chipset which is able to find user application... Is there anyway internal or external which defines the internal ROM version of DS80C400...This is very critical for procurement...i believe.. Please help... Saurabh -----Original Message----- From: tini-admin-6tN4nzCoH/[email protected] [mailto:[email protected]]On Behalf Of tini-request-6tN4nzCoH/[email protected] Sent: Wednesday, April 14, 2004 10:35 PM To: tini-6tN4nzCoH/[email protected] Subject: TINI digest, Vol 1 #1828 - 11 msgs Send TINI mailing list submissions to tini-6tN4nzCoH/[email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.dalsemi.com/mailman/listinfo/tini or, via email, send a message with subject or body 'help' to tini-request-6tN4nzCoH/[email protected] You can reach the person managing the list at tini-admin-6tN4nzCoH/[email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of TINI digest..." Today's Topics: 1. Re: URL problem in firmware 1.12 (Kris Ardis) 2. Re: (no subject) (Robert Muchsel) 3. Re: SRAM Ethernet RAM (Mr Wallace Lages) 4. Re: RE: SRAM Ethernet RAM (Mr Wallace Lages) (Mr Wallace Lages) 5. Strange double ACK in TCP/IP (Barry Demchak) 6. CAN startup problems (Karsten Christensen) 7. Re: URL problem in firmware 1.12 (Jac Kersing) 8. Re: Bug in synchronized() ? (rumi) 9. Problem with TiniHttpServer (Doc Gloumy) 10. Modem Dialing (Joseph Standish) 11. RE: Problem with TiniHttpServer (Kelly Smith) -- __--__-- Message: 1 From: "Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]> To: "Jac Kersing" <j.kersing-9+7/[email protected]>, <[email protected]> Subject: Re: [TINI]URL problem in firmware 1.12 Date: Tue, 13 Apr 2004 10:54:04 -0500 charset="iso-8859-1" This problem has been found and fixed for future releases. Thanks for the concise bug report...it made it very easy to fix. This issue can be worked around for 1.12 with either an updated file from 'modules.jar' or a full pre-release. Please contact me off-list for details. Kris ----- Original Message ----- From: "Jac Kersing" <j.kersing-9+7/[email protected]> To: <tini-6tN4nzCoH/[email protected]> Sent: Friday, April 09, 2004 6:02 AM Subject: [TINI]URL problem in firmware 1.12 > Hi, > > After questions on the JXME list I decided to run some simple tests to > find why JXME doesn't run on TINI. It seems to boil down to a rather fatal > flaw (for JXME at least) in the URL parsing for HTTP connections. > > When TINI is parsing URLs the parameters for GET are being included in the > parsing. The parse results are unusable when the parameters for the get > include ':' as TINI expects to find a port number after it. > > See the output and test code below. > > DalSemi, could I get a bugfix release for this issue??? > > Regards, > > Jac > > Output from TINI: > janeway /> java T.tini > protocol: http > host : > 172.16.1.2:9700/unknown-unknown?2000,-1,http://172.16.1.2:9700/EndpointServi ce > port : -1 > file : /uuid-DEADBEEFDEAFBABAFEEDBABE0000000F05/pid > ref : null > > Output from PC (java 1.3.1): > protocol: http > host : 172.16.1.2 > port : 9700 > file : > /unknown-unknown?2000,-1,http://172.16.1.2:9700/EndpointService:jxta-NetGrou p/uuid-DEADBEEFDEAFBABAFEEDBABE0000000F05/pid > ref : null > > The code: > import java.net.URL; > import java.net.MalformedURLException; > > public class T { > > public static void test(String url) { > try { > URL u = new URL(url); > > System.out.println("protocol: "+u.getProtocol()); > System.out.println("host : "+u.getHost()); > System.out.println("port : "+u.getPort()); > System.out.println("file : "+u.getFile()); > System.out.println("ref : "+u.getRef()); > } catch (MalformedURLException e) { > System.out.println("Exception: "+e.getMessage()); > e.printStackTrace(); > } > } > > public static void main(String[] a) { > > test("http://172.16.1.2:9700/unknown-unknown?2000,-1,http://172.16.1.2:9700/ EndpointService:jxta-NetGroup/uuid-DEADBEEFDEAFBABAFEEDBABE0000000F05/pid"); > } > } > > > -- > Jac Kersing Technical Consultant The-Box Development > j.kersing-9+7/[email protected] http://www.the-box.com > _______________________________________________ > TINI mailing list > TINI-6tN4nzCoH/[email protected] > To UNSUBSCRIBE, edit your profile, or see list archives: > http://lists.dalsemi.com/mailman/listinfo/tini > -- __--__-- Message: 2 Subject: Re: [TINI](no subject) From: Robert Muchsel <robert.muchsel-6tN4nzCoH/[email protected]> To: "Desai, Sohail" <[email protected]> Cc: tini-6tN4nzCoH/[email protected] <D89F42ED0D2D4140999736DFB93542B410A2E6-WMSfXiZwWcHsLobpkwt06PCUV6ezcBOaQQ4Iyu8u01E@public.gmane.org> Organization: Date: 13 Apr 2004 10:43:12 -0500 This is not implemented in the current version of the network stack/firmware. Future versions will support this functionality. > Is there a way to disable ICMP, (ie. Response to a ping) on the > DS80C400. I am trying to make my system more secure by preventing a > denial of service attack on the system. Any help would be extremely > appreciated. -- Robert Muchsel - Dallas Semiconductor - http://www.maxim-ic.com/TINI/ -- __--__-- Message: 3 Date: Tue, 13 Apr 2004 09:32:28 -0700 (PDT) From: Mr Wallace Lages <wallacesantos-/[email protected]> Subject: Re: [TINI]SRAM Ethernet RAM To: Robert Muchsel <robert.muchsel-6tN4nzCoH/[email protected]> Cc: tini-6tN4nzCoH/[email protected] Hi, I'm using them, however I am not sure if it will know where in the memory map the 8K memory is (since I can change it via MCON reg in startup code). --- Robert Muchsel <robert.muchsel-6tN4nzCoH/[email protected]> wrote: > > I'm developing a networked application on > > the 80DSC400 in C using Keil. > > I would like to set the 8K internal SRAM > > as ethernet buffers. What should I do ? > > When you use the Keil C libraries we provide > (ftp://ftp.dalsemi.com/pub/tini/ds80c400/c_libraries/index.html), > the > Ethernet driver automatically uses 2Kx32 (8 KB) for > frame buffers. > > Robert > > -- > Robert Muchsel - Dallas Semiconductor - > http://www.maxim-ic.com/TINI/ > > _______________________________________________ > TINI mailing list > TINI-6tN4nzCoH/[email protected] > To UNSUBSCRIBE, edit your profile, or see list > archives: > http://lists.dalsemi.com/mailman/listinfo/tini __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ -- __--__-- Message: 4 Date: Tue, 13 Apr 2004 10:06:25 -0700 (PDT) From: Mr Wallace Lages <wallacesantos-/[email protected]> Subject: Re: [TINI]RE: SRAM Ethernet RAM (Mr Wallace Lages) To: tini-6tN4nzCoH/[email protected] Just a question: Keil will only use the memory specified under project settings to allocate xdata variables right ? Since I didn't specify any of the memory locations where internal SRAM can be mapped I don't expect Keil to use this memory in any way. Assuming this, do I still need to reserve the memory in the startup code ? Thanks! Wallace --- Mark Underwood <basicmark-/[email protected]> wrote: > In your startup400.a51 > > Just before > name ?C_STARTUP > > add the following > > XSEG AT 00E000H > ethernetmem: DS 8192 > > so it no looks like > > > XSEG AT 00E000H > ethernetmem: DS 8192 > > name ?C_STARTUP > > This reserves the 8K so keil will not use it. > > Cheers, Mark __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ -- __--__-- Message: 5 Date: Tue, 13 Apr 2004 11:15:29 -0700 To: TINI Mailing List <tini-6tN4nzCoH/[email protected]> From: Barry Demchak <[email protected]> Subject: [TINI]Strange double ACK in TCP/IP Hi -- I have been tracking a TCP/IP stream that's going between a TINI (192.168.1.250) and a Win2K machine (192.168.1.100). Strangely, it appears that when the TINI ACKs a packet from the PC, it ACKs twice ... once immediately after receiving the PC's packet, and another a short while later. The main difference between the ACKs appears to be in the window frame size. The second one always appears to be a window frame size of 4096, and the first one appears to be the 4096 less the size of the packet actually sent (roughly). Based on this, I would speculate that TINI does an ACK immediately when it receives the packet, telling the sender how much buffer the TINI has left.... And then, when my application reads the buffer, TINI sends another ACK to say that it has more buffer space available. Is this what's going on?? Why is the second ACK necessary or desirable??? The latest version of Ethereal (v10) seems to complain about this behavior. What's the scoop? Thanks. vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv : Barry Demchak : : Torrey Pines Software, Inc. : : http://www.tpsoft.com/ : : (858) 452-8700 : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- __--__-- Message: 6 Reply-To: kic-P0R/[email protected] From: "Karsten Christensen" <karsteningemanchristensen-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> To: tini-6tN4nzCoH/[email protected] Date: Tue, 13 Apr 2004 19:06:31 +0000 Subject: [TINI]CAN startup problems Hi, I am making an application based on the DSTINIm400 board with firmware 1.12. Everything is programmed in JAVA, and I use the CANBus interface for controlling the system. I have a PC with CANBus interface that i use for testing my application, and everything seems to works just fine! The only problem occurs when i let the PC communicate to the system during powerup or reset. I look like the DSTINIm400 module pulls down the CAN RX-pin if it receives to many CAN messages during start of the TINIOS, even this pin is an input on the DS80C400 CANBus! When my own aplication then starts after the TINIOS finishes initializing, it initializes the CANBus and everything seems to be initialized ok (no exeptions or anything). BUT no telegrams are received, and the input pin is still pulled down by the DS80C400!! If the module is started up WITHOUT any messages being received on the CANBus, everythings works always. _________________________________________________________________ Få alle de nye og sjove ikoner med MSN Messenger http://www.msn.dk/messenger -- __--__-- Message: 7 Date: Tue, 13 Apr 2004 22:36:35 +0200 (CEST) From: Jac Kersing <j.kersing-9+7/[email protected]> To: Technoid <[email protected]> cc: tini-6tN4nzCoH/[email protected] Subject: Re: [TINI]URL problem in firmware 1.12 <[email protected]> <[email protected]> On Mon, 12 Apr 2004, Technoid wrote: > > I'm testing jxme on Tini too.The problems seem to be the > > HttpMessenger class in the jxta-cdc.jar Like you ,i 've created a > > work around for the parsing Url issue.I modifiied the > > HttpMessenger.poll(int timeout, Message outgoing) method to avoid the > > IllegalArgument Exception like this : There is no problem in the HttpMessenger class, there is a problem in the TINI 1.12 firmware. I've created a work-around for this issue (and will test the fix DalSemi send me asap), but there is another problem lurking in the code as well. I think I've worked around both issues as I've been able to run ChatBot for a couple of hours over the weekend, but I want to make sure everything is alright before commiting the new code to teh JXME code base. As I too busy to look at it this week it will have to wait for the week-end. BTW, constructURL needs to be fixed to work around the current firmware problem. From what I've seen you will not be able to fix it anywhere else. If you're interrested I could sent you the fixed files, drop me a message at the address listed below if you want them before I finalized testing. Regards, Jac -- Jac Kersing Technical Consultant The-Box Development j.kersing-9+7/[email protected] http://www.the-box.com -- __--__-- Message: 8 Date: Tue, 13 Apr 2004 22:39:21 +0200 From: rumi <rumi_smieci-h7QdYz1kt/[email protected]> To: Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]> Cc: tini-6tN4nzCoH/[email protected] Subject: Re: [TINI]Bug in synchronized() ? Bryan Armstrong wrote: > > Rumi, > > The synchronized problem turned out to be that the content size header > was calculated and sent outside the synchronized block. So, if the file > was written to after the content size was sent, but before the sync > block was entered and the data sent, you would have a mismatch. The > HTTP client would close the connection as soon as it received what it > thought was all the data. > > This will be fixed in the next full release. However, the source to > HTTPWorker.java is available in src/ModulesSrc.jar and can be modified > and added to bin/modules.jar for a quick fix. > > -Bryan > Hello Bryan, Your patch doesn't work but it wasn't difficult to move synchronized block by hand. Thank you very much for your help. It works great of course! One question still is unsolved: how to serve static files (for example unchangeable graphical files) without synchronization? Maybe serve files acceleration isn't worth of trouble - and it may be good answer :). Thank you again! brgds rumi -- __--__-- Message: 9 Date: Tue, 13 Apr 2004 22:35:28 +0200 From: Doc Gloumy <[email protected]> To: tini-6tN4nzCoH/[email protected] Subject: [TINI]Problem with TiniHttpServer I have a directory with all my needed files, and when i run ant in dos mode, it returns me this line : C:\ant141\bin\build.xml:133: Could not find BuildDependency. Make sure you have it in your classpath But i have this line in my build.properties : dependency.classpath=C:\ant141\bin\BuildDependencySrc.jar Wath os the BuildDependency. ? the file BuildDependencySrc.jar is in the Tini Firmware Package, is it the good ? Thx for help -- /************************************************** GARCIA Patrick alias Doc Gloumy BTS Informatique et Reseaux pour l'Industrie et les Services Port : 06-89-51-54-01 Tel : 05-61-07-65-58 Trésorier, electricien, Responsable logistique et materiel de PcRézoo www.pcrezoo.net [email protected] ICQ : 94469133 MSN : [email protected] **************************************************/ -- __--__-- Message: 10 From: "Joseph Standish" <josephstandish-3nDt598S20JWk0Htik3J/[email protected]> To: <tini-6tN4nzCoH/[email protected]> Date: Tue, 13 Apr 2004 15:42:59 -0700 charset="koi8-r" Subject: [TINI]Modem Dialing Quick question-- Does anyone have code that can simply the make the TINI connect to the internet by dialing an ISP (with an attached modem) and providing the username and password? I am not good with Java and need something to move forward on a project. Any pointers would also be appeciated. Thanks for sharing, Joe S. -- __--__-- Message: 11 From: "Kelly Smith" <[email protected]> To: "TINI" <tini-6tN4nzCoH/[email protected]>, "Doc Gloumy" <[email protected]> Subject: RE: [TINI]Problem with TiniHttpServer Date: Tue, 13 Apr 2004 17:45:37 -0700 charset="iso-8859-1" Dear Doc Gloumy - Re: "But i have this line in my build.properties : dependency.classpath=C:\ant141\bin\BuildDependencySrc.jar" Whooops! You don't want, or need a path to (example), C:\Tini\tini1.12\src\BuildDependencySrc.jar. You need to be point your classpath into the \bin directory. "BuildDependency", allows for all kinds of user-specified dependent files to be built into the TINI application (typically 1-Wire devices), as used in TiniHttpServer as "examples". Read BuildDependency.txt for details. And example compile command line would be something like: java BuildDependency -f ReadClock.class -o clock.tini -d tini.db -add OneWireContainer04;OneWireContainer21 -x owapi_dep.txt If the build fails or to see more of what BuildDependency is doing, add the '-debug' switch. In the TINI SDK's \bin directory, is tini.jar which contains BuildDependency.class. DalSemi lets you have the Java source to ADD YOUR DEPENDENCYS, that may be unique to you. Sooo...(Given all that): Make sure that you have your PCs environment variables setup, something like this (what I use on Windoze 2000)... watchout for "line-wrap" on the email...some of these "strings" are long!. ANT_HOME C:\ant JAVA_HOME C:\j2sdk1.4.1_01 classpath C:\ant\lib\TiniAnt.jar;C:\ant\lib\ant.jar;C:\j2sdk1.4.1_01\bin;C:\j2sdk1.4.1 _01\jre\lib\rt.jar;C:\j2sdk1.4.1_01\lib\tools.jar;C:\j2sdk1.4.1_01\lib\comm. jar;C:TINI\tini1.02\bin\tini.jar;JavaKit Path C:\;C:\ant\bin;C:\j2sdk1.4.1_01\bin\;%SystemRoot%\system32;%SystemRoot%;%Sys temRoot%\System32\Wbem Make sure that the build.properties file is something similar, to this: # Set "tini.dir" to your TINI installation directory. # # NOTE: Be sure to use forward slashes (as shown) even on Windows! tini.dir=C:/Tini/tini1.12 ################ # # Set "servlet.jar" to the absolute name of the servlet.jar file from JSDK 2.2. # # NOTE: Be sure to use forward slashes (as shown) even on Windows! servlet.jar=C:/j2sdk1.4.2_01/lib/servlet.jar Best regards, Kelly Smith -----Original Message----- From: tini-admin-6tN4nzCoH/[email protected] [mailto:[email protected]]On Behalf Of Doc Gloumy Sent: Tuesday, April 13, 2004 1:35 PM To: tini-6tN4nzCoH/[email protected] Subject: [TINI]Problem with TiniHttpServer I have a directory with all my needed files, and when i run ant in dos mode, it returns me this line : C:\ant141\bin\build.xml:133: Could not find BuildDependency. Make sure you have it in your classpath But i have this line in my build.properties : dependency.classpath=C:\ant141\bin\BuildDependencySrc.jar Wath os the BuildDependency. ? the file BuildDependencySrc.jar is in the Tini Firmware Package, is it the good ? Thx for help -- /************************************************** GARCIA Patrick alias Doc Gloumy BTS Informatique et Reseaux pour l'Industrie et les Services Port : 06-89-51-54-01 Tel : 05-61-07-65-58 Trésorier, electricien, Responsable logistique et materiel de PcRézoo www.pcrezoo.net [email protected] ICQ : 94469133 MSN : [email protected] **************************************************/ _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini -- __--__-- _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini End of TINI Digest_______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini **************************************************************************** ********************** The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies. ** eSafe scanned this email for viruses, vandals and malicious content. ** **************************************************************************** ********************** --__--__-- Message: 17 From: "Saurabh" <[email protected]> To: "Bryan Armstrong" <bryan.armstrong-6tN4nzCoH/[email protected]> Cc: <tini-6tN4nzCoH/[email protected]> Subject: RE: [TINI]Code Startup Date: Fri, 16 Apr 2004 09:57:08 +0530 charset="iso-8859-1" Hi Bryan, Yes we have cleared the entire bank of 2MBytes flash above 47...But still problem persist...We removed DS80C400 from that board and replaced with a newer one...Where it works perfectly... Is there way to find the internal version of ROM..If not then would suggest to have..so that ppl like us can easily find..or can be a part of procuring chipsets.. Saurabh -----Original Message----- From: Bryan Armstrong [mailto:bryan.armstrong-6tN4nzCoH/[email protected]] Sent: Thursday, April 15, 2004 12:21 AM To: Saurabh Cc: tini-6tN4nzCoH/[email protected] Subject: Re: [TINI]Code Startup Saurabh wrote: > while other board has DS80C400 0336B1 0261A FNY, which at power on, doesn't > execute the PPPClient..I have to invoke the bootloader, select respective > bank (B 40) and then issue execute command (X) through boot loader...Then > only TINIOS starts and application starts runining...After invoking boot > loader (by default Bank selected is C0), if exit command (E) is issued, code > halts and gives error message no User application found.. Since you have a 2MByte flash, you should check and make sure no flash banks are used above 47. Clear the other flash banks and see if it fixes the problem. -- -- Bryan Armstrong bryan.armstrong-6tN4nzCoH/[email protected] **************************************************************************** ********************** The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies. ** eSafe scanned this email for viruses, vandals and malicious content. ** **************************************************************************** ********************** --__--__-- Message: 18 Date: Thu, 15 Apr 2004 13:45:23 +0100 From: "Michael Dawe" <eeyvmrd-QabDm/[email protected]> To: <TINI-6tN4nzCoH/[email protected]> Subject: [TINI]Converting HelloWeb.class to HelloWeb.tini Hi, I'm having a bit of trouble with the above (converting .class to .tini) I initially tried the conversion using the template from Dan Loomis but came up with the error as shown below ///////////////////////////////////////////////////////////////////////// C:\>java -classpath c:\tini\bin\tini.jar TINIConvertor -f HelloWeb.class -d c:\t ini\bin\tini.db -o HelloWeb.tini TINIConvertor (KLA) Version 1.31 for TINI 1.1 Built on or around August 27, 2003 Copyright (C) 1996 - 2003 Dallas Semiconductor Corporation. Loading class HelloWeb.class from file C:\\HelloWeb.class Could not finish loading: java.lang.ClassNotFoundException: Could not find the c lass com/dalsemi/tininet/http/HTTPServer Exception caught: java.lang.RuntimeException: Could not finish loading: java.lan g.ClassNotFoundException: Could not find the class com/dalsemi/tininet/http/HTTP Server java.lang.RuntimeException: Could not finish loading: java.lang.ClassNotFoundExc eption: Could not find the class com/dalsemi/tininet/http/HTTPServer at com.dalsemi.system.classloader.TINIClassLoader.beginLoading(TINIClass Loader.java:142) at com.dalsemi.TINIConvertor.go(TINIConvertor.java:725) at com.dalsemi.TINIConvertor.main(TINIConvertor.java:324) at TINIConvertor.main(TINIConvertor.java:16) Exception in thread "main" java.lang.RuntimeException: Could not finish loading: java.lang.ClassNotFoundException: Could not find the class com/dalsemi/tininet/ http/HTTPServer at com.dalsemi.system.classloader.TINIClassLoader.beginLoading(TINIClass Loader.java:142) at com.dalsemi.TINIConvertor.go(TINIConvertor.java:725) at com.dalsemi.TINIConvertor.main(TINIConvertor.java:324) at TINIConvertor.main(TINIConvertor.java:16) C:\> ///////////////////////////////////////////////////////////////////// I had noticed that some people on the list had had this problem in the past and had solved it using BuildDependancy So I tried this...as shown below \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ C:\>java BuildDependency -f HelloWeb.class -o HelloWeb.tini -d tini.db -addHTTPS ERVER -p c:\tini\bin\modules.jar Exception in thread "main" java.lang.NoClassDefFoundError: BuildDependency C:\> /////////////////////////////////////////////////////////////////////// But to no avail All of the other basic conversions from .java to .class to .tini have worked without a hitch (ie helloworld and blinky) Do i need to add something to my class path? If so, where, and how? Where is BuildDependency located? Am using a Tini400, tstick.72 Hoping you can help out Cheers Mike --__--__-- Message: 19 Date: Thu, 15 Apr 2004 15:11:00 +0200 From: rumi <rumi_smieci-h7QdYz1kt/[email protected]> To: Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]> Cc: tini-6tN4nzCoH/[email protected] Subject: Re: [TINI]Bug in synchronized() ? Bryan Armstrong wrote: > One could rewrite the server to only synchronize on specific files > that are known to change. How does the Apache web server do this? > I'm under the impression that it does not do file locking by default. > Apache serves static fiales or generates files on demand - it is normal in web world. I've noticed autoregenerate html file (every 5 seconds) in TINIWebServer. That example is very bad and every new web tini programmer will copy this pattern (so do I). The first dynamic view for pages should use post method where in serve method the page is generate (and/or cached for near future use). brgds rumi --__--__-- Message: 20 Date: Thu, 15 Apr 2004 09:02:45 -0500 From: Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]> To: Peter in Afrika <peterw-/[email protected]> CC: tini-6tN4nzCoH/[email protected] Subject: Re: [TINI]How do I get rw-access to my flashes during high speed 75 MHZ?? Peter in Afrika wrote: > I wanted to use a fast 75 Mhz clock for my tini (DS80C400). Therefore I > use the networkcamera design as a basic schematic. > On Bank CE4- CE7 I wanted to put on each two AM29LV081-70EC (1Mx8Bit, > 70ns) Flashes for data storage purposes. If I want to have access to > that flashes after booting, how do I do that from JAVA? > > Is the > public void setStretchCycles(byte stretch) throws IllegalArgumentException > public int getStretchCycles() > > commands decribed in the tini-spec on page 189 the right command to do > set the delay? They only mentioned stretch cycles for the databus, but I > also need valid data for the address bus. Is this done by this command, > too. Or if not, what is the alternative way in getting access read and > write during high speed?? The stretch cycles stretch the read and write strobes which occur after the address lines have been set. This allows slow memory devices time to propagate the input signals and output the data. You can use the com.dalsemi.system.DataPort class to set the stretch cycles and read/write your data in the upper flash memories. -- -- Bryan Armstrong bryan.armstrong-6tN4nzCoH/[email protected] --__--__-- _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini End of TINI Digest_______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini ************************************************************************************************** The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies. ** eSafe scanned this email for viruses, vandals and malicious content. ** ************************************************************************************************** _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini