Page 1 of 1

Chibi dont run after reset

Posted: Sat Oct 04, 2014 12:41 pm
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.

Re: Chibi dont run after reset

Posted: Sat Oct 04, 2014 1:13 pm
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

Re: Chibi dont run after reset

Posted: Sat Oct 04, 2014 3:03 pm
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.