Search found 9 matches

by stinkytiger
Mon Jan 27, 2014 1:36 pm
Forum: STM32 Support
Topic: Clock speed settings: Olimex STM32-E407 board
Replies: 3
Views: 5300

Re: Clock speed settings: Olimex STM32-E407 board

Thank you Giovanni. That is very helpful and I managed to dig up the pages in the STM32F4 reference manual. That manual sure is a long one!!!!

Best, Mike.
by stinkytiger
Sun Jan 26, 2014 3:23 am
Forum: STM32 Support
Topic: Clock speed settings: Olimex STM32-E407 board
Replies: 3
Views: 5300

Clock speed settings: Olimex STM32-E407 board

Hi,

I have a Olimex board with a STM32F4 chip on it. In the documents it says it can run at 168Mhz. But I understand that this is configurable by changing / setting some registers. I have the following newbie questions:

1) The Olimex STM32-E407 board has a "Canned" set up in Chibios 2.6.2. Does ...
by stinkytiger
Sun Jul 07, 2013 2:23 pm
Forum: STM32 Support
Topic: LWIP netconn_new returns null
Replies: 5
Views: 7048

Re: LWIP netconn_new returns null

Hi,

Success!!! I now see:


[papa@calvin2 woofie2]$ nc -p 50000 -luvv
Listening on any address 50000
Received packet from 192.168.1.44:49153 -> 192.168.1.42:50000 (local)
��PK|8E5�8��,��*��P!�This is the UDP message
��PK|8E5�8��,��*��P!�This is ...
by stinkytiger
Sat Jul 06, 2013 11:11 pm
Forum: STM32 Support
Topic: LWIP netconn_new returns null
Replies: 5
Views: 7048

Re: LWIP netconn_new returns null

Hi,

Made some more progress. I think I am now sending out some UDP messages using this code:


/*
*
*
*/

#include "ch.h"
#include "hal.h"
#include "chprintf.h"
#include <string&#46;h>

#include <lwip/netif&#46;h>
#include <lwip/ip_addr&#46;h>
#include <lwip/tcpip&#46;h>
#include ...
by stinkytiger
Thu Jul 04, 2013 11:58 am
Forum: STM32 Support
Topic: LWIP netconn_new returns null
Replies: 5
Views: 7048

Re: LWIP netconn_new returns null

Hi,

You are correct. I made a bit more progress and the thing I needed was to use tcpip_init(). This solved the issue. lwip_init() is called by tcpip_init. I was using UDP so thought that I did not have to use any calls to tcpXXX. But this is not the case. I also think that other users may not ...
by stinkytiger
Thu Jul 04, 2013 1:39 am
Forum: STM32 Support
Topic: LWIP netconn_new returns null
Replies: 5
Views: 7048

LWIP netconn_new returns null

Hi,

I am trying to send a short message via UDP as a broadcast message. However my call to netconn_new returns a null. I traced it through and it fails in Chibios sys_arch.c line 189 which is the check to see if the mbox is valid.


int sys_mbox_valid(sys_mbox_t *mbox) {
return *mbox != SYS_MBOX ...
by stinkytiger
Sat Jun 29, 2013 11:58 pm
Forum: STM32 Support
Topic: Olimex UEXT RS 232 newbie print to screen
Replies: 6
Views: 6392

Re: Olimex UEXT RS 232 newbie print to screen

Hi,

Success!!!!

Thank you for all your kind help. I think the issue was I had my Mincom looking at /dev/ttyUSB0 when I should have had it look at /dev/ttyUSB1.

Warmest regards, Mike.

This is what I get out of my Minicom:

Welcome to minicom 2.3

OPTIONS: I18n
Compiled on Aug 19 2010, 05:50:19 ...
by stinkytiger
Fri Jun 28, 2013 12:03 pm
Forum: STM32 Support
Topic: Olimex UEXT RS 232 newbie print to screen
Replies: 6
Views: 6392

Re: Olimex UEXT RS 232 newbie print to screen

Hi,

Thank you for your kind help. I think I am making progress. I went home and gave it a go. I think that the Serial Driver on SD6 definately does something. The reason I know is that on my Linux box I see /dev/ttyUSB0, then when I start the program Minicon complains that this device does not ...
by stinkytiger
Thu Jun 27, 2013 1:01 pm
Forum: STM32 Support
Topic: Olimex UEXT RS 232 newbie print to screen
Replies: 6
Views: 6392

Olimex UEXT RS 232 newbie print to screen

Hi,

I am a complete Newbie to ChibiOS and hope this question makes some sense.

I have a Olimex STM32F4-E407 board and I also have a Olimex MOD-RS232. The
Olimex MOD-RS232 is a board that converts 3.3v to 5 volts for RS232 signals.
The MOD-RS232 I have connected to a Flyswatter2 OpenOCD interface ...