Search found 53 matches

by ceremcem
Tue Feb 26, 2019 9:19 pm
Forum: STM32 Support
Topic: STM32F030F4 minimal example is not working Topic is solved
Replies: 5
Views: 873

Re: STM32F030F4 minimal example is not working Topic is solved

Giovanni wrote:Apparently there Is a mismatch try defining both x4 and x6.


I've set both. However, GDB hits the same point:

Code: Select all

Temporary breakpoint 8 at 0x8000900: file /home/ceremcem/ChibiOS/os/hal/ports/STM32/STM32F0xx/hal_lld.c, line 233.
by ceremcem
Tue Feb 26, 2019 8:58 pm
Forum: STM32 Support
Topic: STM32F030F4 minimal example is not working Topic is solved
Replies: 5
Views: 873

Re: STM32F030F4 minimal example is not working Topic is solved

I've set all pins to their default (reset) states: https://github.com/ceremcem/chibios-stm32f030f4-example/blob/ccafaaf29e2c507ae7bdaac59932a22d13066596/cfg/board.h#L82-L144 External clocks are already disabled and internal clocks are already enabled . (I'm not sure what else to check for clock sett...
by ceremcem
Tue Feb 26, 2019 6:58 pm
Forum: STM32 Support
Topic: STM32F030F4 minimal example is not working Topic is solved
Replies: 5
Views: 873

STM32F030F4 minimal example is not working Topic is solved

Hi, I'm trying to use my STM32F030F4 board with ChibiOS 18 Stable. The simple app can be compiled, but is not running when flashed to the board. Here is the code: https://github.com/ceremcem/chibios-stm32f030f4-example/tree/b8a72f7cf Board is simplest possible breakout board (built by me and known t...
by ceremcem
Thu Jan 18, 2018 3:40 am
Forum: General Support
Topic: Transient threads: How to release allocated memory automatically?
Replies: 1
Views: 445

Transient threads: How to release allocated memory automatically?

In the docs, it's clearly stated that `chThdCreateFromHeap()` does not release the allocated memory to the heap but it's a mandatory action if I don't design the application in a wrong way. There is a `blink()` function that receives a message, turns an output on, waits a little bit and then turns t...
by ceremcem
Wed Jan 03, 2018 8:50 pm
Forum: Development and Feedback
Topic: How do you manage ChibiOS dependency of your project between breaking changes?
Replies: 6
Views: 1054

Re: How do you manage ChibiOS dependency of your project between breaking changes?

Thank you for answers. I think writing down the X.Y version would work well enough, I'll stick to this approach.
by ceremcem
Wed Jan 03, 2018 12:57 pm
Forum: Development and Feedback
Topic: How do you manage ChibiOS dependency of your project between breaking changes?
Replies: 6
Views: 1054

Re: How do you manage ChibiOS dependency of your project between breaking changes?

Let me clarify the problem and the proposal. Problem: A ChibiOS dependent project (any project that depends any other library/libraries in general) may become broken not only between major version transitions (eg. 2.x to 3.x) but also between minor version changes (eg. 3.0 to 3.1), even between some...
by ceremcem
Tue Jan 02, 2018 3:17 pm
Forum: Development and Feedback
Topic: How do you manage ChibiOS dependency of your project between breaking changes?
Replies: 6
Views: 1054

How do you manage ChibiOS dependency of your project between breaking changes?

Hi, We have a few hardware products built with ChibiOS. Some of them are using 2.x version and the others are using 3.x. There were some minor changes that broke our applications (which I can not recall right now but related with STM32F0 and STM32F103 series and unrelated with 2.x to 3.x transition,...
by ceremcem
Mon Feb 15, 2016 12:33 am
Forum: User Projects
Topic: USART Code-snippets
Replies: 12
Views: 11575

Re: USART Code-snippets

I wonder why there is no sample code other than `sdStart(&SD1, NULL);` on anywhere. I can not figure out how to setup serial port other "8N1" configuration.
by ceremcem
Thu Aug 27, 2015 11:53 pm
Forum: STM32 Support
Topic: How to generate HF clock output?
Replies: 4
Views: 715

Re: How to generate HF clock output?

As per question, that would be a sensible option, but I omitted to say that I needed that kind of variable frequency. Since I was pretty sure about the code block that generates the squarewave, I thought I might change the sleep time as I wish at the end of this issue, but pwm driver does exacly wha...

Go to advanced search