Need some help with the TINI EVAL Kit
"Desai, Sohail" <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <D89F42ED0D2D4140999736DFB93542B410A2D7@chopin.endo.strykercorp.com> |
Hello, I am working with the TINI400 eval. boards trying to create a HTTP client using Keil's uvsion 2. I have one question and one issue that I need help with. Q. There are 2 SRAM chips (512kB each) and one Flash chip (512kB or 1MB) connected to the DS80C400 on CE0, CE1 and CE2 respectively. Each CE is configured for 2MB blocks so the memory map should be as follows: SRAM1 (CE0) - 0x000000 to 0x1FFFFF SRAM1 (CE1) - 0x200000 to 0x3FFFFF FLASH (CE2) - 0x400000 to 0x?????? depending on (512k or 1MB flash). Now why is it that the dallas app. note on getting started with Keil says to put 0x10000 as off-chip RAM start and length 0x3FFF in the target options dialog box and not the SRAM configuration mentioned above? Also, why is that for the init_rom(RAM_START,RAM_END) function most of the sample programs have RAM_START ->0x14000 and RAM_END -> 0x5FFFF. This is very confusing and an explanation would be much appreciated. The issue: I am using code from the DHCP sample application to do the following (using the application note settings for keil): 1. Get an IP from the DHCP server (works fine). 2. Get an IP address from the DNS server based on a www address. (works fine) 3. Create a socket to the above address. (doesn't work most of the time.. function times out). 4. Send HTTP GET,POST etc. commands to the server. (never reach this point). I have followed the sample socket app and the rom400_sock.h file documentation on using the socket creation commands but my program never creates a socket successfully. Once again I would appreciate any help in figuring out this problem. Thanks. Sohail _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini