Search found 417 matches
- Wed Oct 19, 2011 9:30 pm
- Forum: Development and Feedback
- Topic: Another interesting Discovery kit from ST
- Replies: 36
- Views: 23113
Re: Another interesting Discovery kit from ST
Today I also got my F4 discovery board. Will see how to program it under Linux. At the moment it looks like it still has some problems: https://github.com/texane/stlink/issues/10
- Wed Oct 19, 2011 8:29 am
- Forum: Development and Feedback
- Topic: STM32 Ethernet Demo
- Replies: 259
- Views: 158908
Re: STM32 Ethernet Demo
Hi Giovanni, i think it's a great idea to move it into os/various. I also found something which might be of interest to you: http://lwip.wikia.com/wiki/Writing_a_device_driver There is also a chapter about zero copy implementations. What's about the STM32 MAC driver? Do you have any timetable on tha...
- Wed Oct 19, 2011 7:34 am
- Forum: Development and Feedback
- Topic: STM32 Ethernet Demo
- Replies: 259
- Views: 158908
Re: STM32 Ethernet Demo
Hello Brian, Interesting, I did not notice that, as I assumed that this would be done by an upper layer, specifically the lwipthread.c adapter code. And indeed there is the following code in it: while (TRUE) { eventmask_t mask = chEvtWaitAny(ALL_EVENTS); if (mask & PERIODIC_TIMER_ID) (void) macP...
- Tue Oct 11, 2011 12:23 pm
- Forum: General Support
- Topic: NUC120 port CM0 -> error compiling LPC11xx CM0 demo
- Replies: 9
- Views: 7514
Re: NUC120 port CM0 -> error compiling LPC11xx CM0 demo
Use Linux There are beautiful crosscompiler scripts. No, honestly - I will never understand why programmers use Windows with GNU tools. It's just so limited.
(Sorry, I could really not resist... - I mean no offense)
(Sorry, I could really not resist... - I mean no offense)
- Mon Oct 10, 2011 3:34 pm
- Forum: Development and Feedback
- Topic: STM32 Ethernet Demo
- Replies: 259
- Views: 158908
Re: STM32 Ethernet Demo
I wished you'd have your proper code ready yet... I ran into a strange problem and wonder if anybody has experienced similar problems: I have a SNTP server running which queries the time from my laptop every 5 seconds or so. Everything seems to work fine but sometimes the MAC does not send the outgo...
- Sun Oct 09, 2011 3:14 pm
- Forum: Development and Feedback
- Topic: The RTC driver topic
- Replies: 228
- Views: 95721
Re: RTC driver
Hey, thanks for the RTC driver. Works fine for me :) Just some curious questions though: Couldn't it happen that seconds wrap just after the ms are read? Also, the same problem applies for the DIVH register. Could rtc_lld_get_time be adapted to handle such problems like void rtc_lld_get_time(RTCDriv...
- Fri Oct 07, 2011 9:06 am
- Forum: Development and Feedback
- Topic: STM32 Ethernet Demo
- Replies: 259
- Views: 158908
Re: STM32 Ethernet Demo
I updated the ethernet wrapper to check for link state. It's an ugly hack and somewhen it should really be replaced by a proper ChibiOS driver. (I saw that there is some work in the repository already). This driver should work with the most recent ChibiOS trunk and was tested with revision 3425.
- Thu Oct 06, 2011 10:05 pm
- Forum: Development and Feedback
- Topic: STM32 Ethernet Demo
- Replies: 259
- Views: 158908
Re: STM32 Ethernet Demo
Hey santatanta, I was curious how ST does it and basically they do the same thing: diff -C 3 -b -w -B -E -d -t -r -N -- lwip-1.3.1/src/core/ipv4/icmp.c lwip-1.3.1-st/src/core/ipv4/icmp.c *** lwip-1.3.1/src/core/ipv4/icmp.c Tue Aug 18 14:54:17 2009 --- lwip-1.3.1-st/src/core/ipv4/icmp.c Fri Nov 20 17...
- Tue Oct 04, 2011 9:12 am
- Forum: Development and Feedback
- Topic: STM32 Ethernet Demo
- Replies: 259
- Views: 158908
Re: STM32 Ethernet Demo
According to the STM32 manual: Note that: for ICMP-over-IPv4 packets, the checksum field in the ICMP packet must always be 0x0000 in both modes, because pseudo-headers are not defined for such packets. If it does not equal 0x0000, an incorrect checksum may be inserted into the packet. Setting the ch...
- Tue Oct 04, 2011 7:08 am
- Forum: Development and Feedback
- Topic: STM32 Ethernet Demo
- Replies: 259
- Views: 158908
Re: STM32 Ethernet Demo
Hellp santatanta, I made a quick test as well, and you are right - the ICMP checksum field is zero (see attachment). I wonder why you don't have this problem; doesn't your switch/network card care about the wrong checksum? The ICMP checksum is above the network layer of switch/network card and there...