Search found 5 matches

by dhq
Sun Jul 03, 2016 4:47 pm
Forum: STM32 Support
Topic: LWIP multiple netif
Replies: 2
Views: 4900

Re: LWIP multiple netif

I looked a bit further and here's what I found:

1. LWIP does not seem to have any internal interface routing algorithm unless I am missing something

2. I created two interfaces inside the lwip thread and the last interface is the one that always gets the packets.


IP4_ADDR(&dhcp_ip, 0, 0, 0, 0 ...
by dhq
Sun Jul 03, 2016 12:18 am
Forum: STM32 Support
Topic: LWIP multiple netif
Replies: 2
Views: 4900

LWIP multiple netif

Hi,

I am trying to set up LWIP so that it uses two netif simultaneously.
One is used for a static IP and the other one starts a DHCP client.

I already set up a simple webserver demo.
The DHCP would have all ip, netmask ,gateway set to zero.

The issue is , after I poked around a bit , I see that ...
by dhq
Thu Jun 16, 2016 1:44 am
Forum: STM32 Support
Topic: Serial on Mikromedia Plus STM32
Replies: 7
Views: 4968

Re: Serial on Mikromedia Plus STM32

:o Major facepalm.

That was it. It is working right now. Thank you very much.
I had exactly the same program on STM32 discovery with the exception of the pin names.
by dhq
Mon Jun 13, 2016 2:03 pm
Forum: STM32 Support
Topic: Serial on Mikromedia Plus STM32
Replies: 7
Views: 4968

Re: Serial on Mikromedia Plus STM32

Hi,

@Giovanni

Thanks, I changed the clock settings by using the ST Excel sheet.

#define STM32_NO_INIT FALSE
#define STM32_HSI_ENABLED FALSE
#define STM32_LSI_ENABLED FALSE
#define STM32_HSE_ENABLED TRUE
#define STM32_LSE_ENABLED TRUE
#define STM32_CLOCK48_REQUIRED TRUE
#define STM32_SW STM32_SW ...
by dhq
Sun Jun 12, 2016 10:12 pm
Forum: STM32 Support
Topic: Serial on Mikromedia Plus STM32
Replies: 7
Views: 4968

Serial on Mikromedia Plus STM32

Hi,

I am using a Mikromedia Plus for STM32. I managed to get two LED's to blink using ChibiOS. The timing is correct

I have been trying to get the serial driver working on it by adapting the demo code for STM32F4 discovery but it's not working.
(I have tested the HAl test code on the Discovery ...