|
RE: 80c400 rom error codes: msg#00633hardware.microcontrollers.tini
John, I just noticed another cause of syn_connect problems: I had been using task_wait() in one task (and only in one task since it is non-reentrant) with no problems. Yesterday I downloaded the latest rom_task library and decided to try out the new task_synch_wait() routine. Using task_synch_wait() in one task appears to cause syn_connect errors in another task. -Bob -----Original Message----- From: tini-admin-6tN4nzCoH/hBDgjK7y7TUQ@xxxxxxxxxxxxxxxx [mailto:tini-admin@xxxxxxxxxxx]On Behalf Of Bob Heise Sent: Wednesday, June 25, 2003 5:06 PM To: 'john bogus'; tini-6tN4nzCoH/hBDgjK7y7TUQ@xxxxxxxxxxxxxxxx Subject: RE: [TINI] 80c400 rom error codes John, This does not answer your question but... Two things you should try that might eliminate those errors. 1) Do not use "init_rom(RAM_START, RAM_END);". Use the following instead: init_clearXSEG(); init_copyivt(); init_redirect(); init_clearSystemRAM(); init_mm(RAM_START, RAM_END); kmem_init(ROM400_KMEM_MODEL_SMALLEST + 2); init_ow(INIT_DIVISOR_28MHZ); init_network(); init_eth(); init_sockets(); init_tick(); task_genesis(ROM_SAVESIZE); init_enableinterrupts(); task_settickreload(RELOAD_14_746); // Necessary for accurate timing. clear_param_buffers(); // Necessary to make the network stack behave. 2) When you call task_fork() use a number larger than 384 (which is ROM_SAVESIZE) for the second parameter. Try 768 or even 1024. I was having problems with 512. eg: task_fork(NORM_PRIORITY, 1024); Regards, Bob Heise -----Original Message----- From: tini-admin-6tN4nzCoH/hBDgjK7y7TUQ@xxxxxxxxxxxxxxxx [mailto:tini-admin@xxxxxxxxxxx]On Behalf Of john bogus Sent: Wednesday, June 25, 2003 1:10 PM To: tini-6tN4nzCoH/hBDgjK7y7TUQ@xxxxxxxxxxxxxxxx Subject: [TINI] 80c400 rom error codes We have been developing 'C' code for the 80c400 and have been getting some unkown errors (non 0 return values) back from from the rom calls (in particularly the "connect" and "send" functions). Does anyone know what the error codes (return values) for these functions mean? Thanks __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com _______________________________________________ TINI mailing list TINI-6tN4nzCoH/hBDgjK7y7TUQ@xxxxxxxxxxxxxxxx To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini _______________________________________________ TINI mailing list TINI-6tN4nzCoH/hBDgjK7y7TUQ@xxxxxxxxxxxxxxxx To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini _______________________________________________ TINI mailing list TINI-6tN4nzCoH/hBDgjK7y7TUQ@xxxxxxxxxxxxxxxx To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: RF in TINI: 00633, Marc Nicholas |
|---|---|
| Next by Date: | Re: FW: Datagram stuck and then sent twice: 00633, Aaron Minor |
| Previous by Thread: | RE: 80c400 rom error codesi: 00633, Bob Heise |
| Next by Thread: | Re: 80c400 rom error codes: 00633, Kris Ardis |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |