File system & networking problems
Mark Underwood <basicmark-/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am developing a custom board using the DS80C400 based on the networked speaker and TINI dev board schematics. I have downloaded the example programs for developing in C using keils uVision2 and have modified the start up file to run from bank 20 (512K of RAM). My aim is to get the TINI to request files from a TFTP server running on a windows PC, store them in its file system, and host them on its HTTP server (basically a cut down version of the time server example). Unfortunately I am having a few problems :-( and would appreciate any help. Problem 1 File system problem When I first power up my board and give it ONE reset (the power-on reset doesnt work at the moment) I download the file system example program and run it. The program gets as far as initialising the file system and then freezes. Upon a reset I run the code again and the example works fine (with the result from finit being 0 so it looks like the first time the program ran it created the file system). Problem 2 Network problem When I first power up my board and give it ONE reset (the power-on reset doesnt work at the moment) I download the TFTP example program and run it. The program runs through correctly, getting the files and printing their contents. Upon a reset I run the code again, but this time the TFTP program prints Error in TFTP_FIRST. Both setftfpserver and tftp_init return 0. I had Analyzer running to sniff any MAC traffic and both times I saw an ARP request but they where different. Fist time (when it worked) In the ARP packet the destination MAC address was FFFFFF-FFFFFF and destination IP address was 169.254.100.2 (which is the correct IP address of the windows machine) Second time (when it didnt work) In the ARP packet the destination MAC address was FFFFFF-FF6402 and destination IP address was 0.0.0.0 Any pointers much appreciated, Mark ___________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini