Chibi dont run after reset

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
as9993
Posts: 2
Joined: Sat Oct 04, 2014 11:57 am

Chibi dont run after reset

Post by as9993 »

Hello!

My compiler version is "gcc version 4.8.4 20140725 (release) [ARM/embedded-4_8-branch revision 213147]" and it's run under Ubuntu 14.04. The dev board is STM32F3 Discovery.
For example i compile project that is located in /ChibiOS-RT/testhal/STM32/STM32F30x/UART. I type "make" and source compilation ended without any error or warning. Makefile isn't changed. And after all finish, with command

Code: Select all

st-flash write buid/ch.bin 0x8000000
i write binary file to flash.
First time all work fine, i use USB<->TTL cable and if terminal program is open, i view "Hello world" message.
But if i restart microcontroller with black button on board, Chibi stop work. I haven't any other respond from chip. The same thing is if i unplug usb cable and then plug in board. It's same with any other example under /testhal or under /demos/STM32/RT-STM32F303-DISCOVERY
The chip don't run anymore with Chibi example, before i upload my own .bin file from my other project, where i use standard STM library and same compiler, and try again to upload .bin file from Chibi UART example. If i reset board, i must again upload my bin file, and upload again ch.bin...
I attach ch.bin form UART folder.
Attachments
ch.zip
(4.92 KiB) Downloaded 281 times
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Chibi dont run after reset

Post by Giovanni »

Your executable does not work here too.

Probably you have a problem with the toolchain, have you tried ChibiStudio? it includes everything required and is free.

Giovanni
as9993
Posts: 2
Joined: Sat Oct 04, 2014 11:57 am

Re: Chibi dont run after reset

Post by as9993 »

Hello Giovanni!

The ChibiStudio is amazing, pure professional IDE and it's free as beer and as freedom, not as TI and other company! Now all work fine! Thank you.
Post Reply