Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - guibiao

Pages: [1]
1
µTasker general / bug in fnHandleIP
« on: April 02, 2013, 12:02:35 AM »
Hi, Mark. I use uTasker TCP/IP stack in my project. in the function fnHandleIP of file ip.c, the last part of the codes list like this:

if (uMemcmp(received_ip_packet->source_IP_address, cucBroadcast, IPV4_LENGTH)) { // Add the address to ARP cache as long as not broadcast
        fnAddARP(received_ip_packet->source_IP_address, frame->ptEth->ethernet_source_MAC, ARP_TEMP_IP);
    }   
       
    if (received_ip_packet->fragment_offset[0] & (IP_MORE_FRAGMENTS>>8)) return(0); // fragmented packets not supported
    *usTotalLength = tLen;     
    return (IP_MIN_HLEN + olen);                                         // return length of IP header

Do you think in the first line, it should be
received_ip_packet->destination_IP_address,

instead of

received_ip_packet->source_IP_address



Thanks,

Guibiao

2
STTM STM32 and STR91XF / RIDE7
« on: September 30, 2009, 12:50:23 AM »
Hi, Mark. Did you ever try to use RIDE7 to compile the STR91XF project? I cannot seem to enable the system tick INT with RIDE7. Thanks!

Guibiao

3
µTasker general / Proxy support
« on: September 28, 2009, 06:55:24 PM »
Hi, Mark. Does the uTasker has Proxy support? How does it work. If not, do you have any experience on Proxy support on uTasker? Thanks

Guibiao

Videx, Inc.

4
STTM STM32 and STR91XF / Watchdog control
« on: July 25, 2008, 04:48:57 PM »
Hi, I try to use the watchdog on the STR912. I init it by
             
SCU_PRR1  &=~WATCHDOG;
SCU_PRR1  |=WATCHDOG;
WDG_PR = 0xFF;                                                         
WDG_VR = 0x027B;
WDG_CR = WATCHDOG_EE;

then, enable it

WDG_CR |= WATCHDOG_WE;

It loads the settings, and starts to count down till reset. When I try to reload the prescale and count by

WDG_KR = 0xA55A;//WDT_FEED1;
WDG_KR = 0x5AA5;//WDT_FEED2;

I could not prevent the wdt from resetting. Please help!

Guibiao

Pages: [1]