Search found 10 matches

by Erikk
Tue Feb 27, 2018 7:32 pm
Forum: STM32 Support
Topic: MAC/LWIP problems on STM32F4
Replies: 4
Views: 2576

Re: MAC/LWIP problems on STM32F4

Just a quick follow-up, if someone stumbles into the same problem.

It was indeed a faulty MCU.
I replaced the chip today and everything is up and running.
by Erikk
Sat Nov 04, 2017 11:34 pm
Forum: STM32 Support
Topic: MAC/LWIP problems on STM32F4
Replies: 4
Views: 2576

Re: MAC/LWIP problems on STM32F4

Working late on a saturday night?!

Disco-A works with both of the DIS-BB-boards.
Disco-B doesnt work with any of the DIS-BB-boards.
So it follows the STM32 MCU.

I have also checked the continuity from the used MCU-pins down to the Embest-board. All good.

The MCUs has the same revision-stamping ...
by Erikk
Sat Nov 04, 2017 11:00 pm
Forum: STM32 Support
Topic: MAC/LWIP problems on STM32F4
Replies: 4
Views: 2576

MAC/LWIP problems on STM32F4

Hi.

Im trobleshooting the MAC of an STM32F407VGT6.

I have two STM32F4Discovery boards with Embest STM32F4DIS-BB base boards.
Lets call them Disco-A, Disco-B and DIS-BB-A, DIS-BB-B.

Im running the same software on both devices, chibios and lwip.
Disco-A connects to my network and I´m able to ping ...
by Erikk
Sat Apr 04, 2015 7:01 pm
Forum: STM32 Support
Topic: InputCapture referenced to Systick timer
Replies: 1
Views: 1615

InputCapture referenced to Systick timer

In chibios 3, is it possible to use the Systick timers spare channels for inputcapture without distrubing the OS ?
It would be nice as the inputs would be perfectly synced to system time, allowing low prio threads to schedule future events.
by Erikk
Sat Mar 21, 2015 5:26 pm
Forum: STM32 Support
Topic: System dies after several days - system tick problem?
Replies: 19
Views: 8171

Re: System dies after several days - system tick problem?

After adding some more code to the program it hangs up even with -O0.

Only way to make it work is to make the thread sleep for a certain time instead of using a virtual timer to release a semaphore.
by Erikk
Sat Mar 21, 2015 2:13 pm
Forum: STM32 Support
Topic: System dies after several days - system tick problem?
Replies: 19
Views: 8171

Re: System dies after several days - system tick problem?

Im also getting errors when working with Virtual Timers on a Stm32f4-discovery.
Im using the chibios 3.0 release inside the latest Chibistudio and compiling with -O2.


Setting timer Virtualtimer for the first time, inside a normal thread:

chSysLock();
chVTDoSetI(&vt_can_broadcast, MS2ST(2000 ...
by Erikk
Fri Jan 09, 2015 6:27 pm
Forum: Development and Feedback
Topic: [NEWS]Very High Resolutions in Tickless Mode
Replies: 4
Views: 3968

Re: [NEWS]Very High Resolutions in Tickless Mode

Which ChibiOs v3 revision is included in Chibistudio Preview 8 ?

Thanks
by Erikk
Tue Feb 04, 2014 11:56 am
Forum: Development and Feedback
Topic: High resolution event scheduling in tickless-mode?
Replies: 4
Views: 3531

Re: High resolution event scheduling in tickless-mode?

Hi and thanks for the super-quick reply!

Is this a proper way to deal with something like this?
I´ll also have to check how close together two events can be scheduled without the next one getting dropped.


Image



Thanks again!
by Erikk
Tue Feb 04, 2014 11:22 am
Forum: Development and Feedback
Topic: High resolution event scheduling in tickless-mode?
Replies: 4
Views: 3531

High resolution event scheduling in tickless-mode?

Will the tickless mode in Chibios 3.0 enable virtual timers and delays/etc with 1usec resolution?

Like configuring CH_CFG_ST_FREQUENCY to 1000000 ?

I have a STM32F4-project where i want to schedule events with down to 1-2usec resolution.

It could be done with hardware timers, OutputCompare and ...