problem runnning 2.7.0 demo on STM32F429 Discovery Board

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
jayk
Posts: 3
Joined: Mon May 19, 2014 4:54 pm

problem runnning 2.7.0 demo on STM32F429 Discovery Board

Post by jayk »

Pulled 2.7.0 off github over the weekend and it built just fine (using arm-none-eabi-gcc 4.7.3). I have an STM32F429I discovery board, so I built demos/ARMCM4-STM32F429-DISCOVERY-SDRAM and loaded it into my board using OpenOCD. The command shell comes up fine, and 'info' returns:

ch> info
Kernel: 2.7.0unstable
Compiler: GCC 4.7.3 20130312 (release) [ARM/embedded-4_7-branch revision 196615]
Architecture: ARMv7-ME
Core Variant: Cortex-M4
Port Info: Advanced kernel mode
Platform: STM32F429/F439 High Performance with DSP and FPU
Board: STMicroelectronics STM32F429I-Discovery
Build time: May 18 2014 - 02:51:00
ch>

But when I run 'test', it gets to 11.4 and dies (see below). Is this normal? Should I be building a different version of the demo? I don't have a debugger running yet that I can use to see where it's dying, but I'll work on that next.

- Jay



ch> test

*** ChibiOS/RT test suite
***
*** Kernel: 2.7.0unstable
*** Compiled: May 18 2014 - 02:50:55
*** Compiler: GCC 4.7.3 20130312 (release) [ARM/embedded-4_7-branch revision 196615]
*** Architecture: ARMv7-ME
*** Core Variant: Cortex-M4
*** Port Info: Advanced kernel mode
*** Platform: STM32F429/F439 High Performance with DSP and FPU
*** Test Board: STMicroelectronics STM32F429I-Discovery

----------------------------------------------------------------------------
--- Test Case 1.1 (Threads, enqueuing test #1)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.2 (Threads, enqueuing test #2)
--- Result: SUCCESS
.
.
.
--- Test Case 11.3 (Benchmark, messages #3)
--- Score : 63472 msgs/S, 126944 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.4 (Benchmark, context switch)
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: problem runnning 2.7.0 demo on STM32F429 Discovery Board

Post by Giovanni »

Hi,

Could you try the demo in the official 2.6.4 release? the 2.7.0 is a dead branch now. You may also give a try to version 3.0.0 which is the current trunk in the SVN repository.

Giovanni
jayk
Posts: 3
Joined: Mon May 19, 2014 4:54 pm

Re: problem runnning 2.7.0 demo on STM32F429 Discovery Board

Post by jayk »

Sure. I'm kind of new to git... I did 'git clone https://github.com/ChibiOS/ChibiOS-RT-Community.git chibios' and 2.7 is what I got. I'll pull the other versions and try them.
jayk
Posts: 3
Joined: Mon May 19, 2014 4:54 pm

Re: problem runnning 2.7.0 demo on STM32F429 Discovery Board

Post by jayk »

Just tried 3.0.0 and it worked fine on the STM32F429 board. I got the code by doing this: 'git clone https://github.com/ChibiOS/ChibiOS-RT chibios2'. Would someone mind explaining the difference between this and what I did previously: 'https://github.com/ChibiOS/ChibiOS-RT-Community.git'?
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: problem runnning 2.7.0 demo on STM32F429 Discovery Board

Post by Giovanni »

I am not sure, those repositories are community-maintained, the official repository is the subversion one on the SourceForce project page. https://github.com/ChibiOS/ChibiOS-RT is a clone of the official repository and so far always worked very well.

Giovanni
mobyfab
Posts: 484
Joined: Sat Nov 19, 2011 6:47 pm
Has thanked: 21 times
Been thanked: 31 times

Re: problem runnning 2.7.0 demo on STM32F429 Discovery Board

Post by mobyfab »

jayk wrote:Just tried 3.0.0 and it worked fine on the STM32F429 board. I got the code by doing this: 'git clone https://github.com/ChibiOS/ChibiOS-RT chibios2'. Would someone mind explaining the difference between this and what I did previously: 'https://github.com/ChibiOS/ChibiOS-RT-Community.git'?


The community repo has some extra patches, like more drivers.
However I see it's not been updated since December.
User avatar
TexZK
Posts: 57
Joined: Sat Sep 22, 2012 7:06 pm

Re: problem runnning 2.7.0 demo on STM32F429 Discovery Board

Post by TexZK »

Try the DMA2D demo if you are looking for an advanced ChibiOS 2.X demo from the community repository.
The SDRAM demo was experimental and I remember I had the same problem, perhaps because of my own graphics drivers, but it was months ago and I don't remember how I solved it. The DMA2D demo should run fine.
Post Reply