Search found 53 matches

by ceremcem
Sat Mar 16, 2019 10:05 pm
Forum: Bug Reports
Topic: [PATCH] added missing STM32F103x8 definition Topic is solved
Replies: 4
Views: 483

Re: [PATCH] added missing STM32F103x8 definition Topic is solved

Hi, Usually we do not fix vendor files, the fix would be lost next time we update the headers. Giovanni That's reasonable. Perhaps the best workaround is to define the x8 as an xB in board.h. Current examples in ChibiOS/demos stick to this approach. However, I find that quite confusing because it b...
by ceremcem
Tue Mar 12, 2019 8:51 am
Forum: STM32 Support
Topic: chThdSleepX stucks while debugging on STM32F030x4 Topic is solved
Replies: 19
Views: 2397

Re: chThdSleepX stucks while debugging on STM32F030x4 Topic is solved

Hi mobyfab I used "DBGMCU->APB1FZ |= DBGMCU_APB1_FZ_DBG_TIM3_STOP;" as I'm using TIM_3 as System Timer . However, when I disconnect the NRST pin from the debugger, this setup doesn't work as expected (It only reaches first breakpoint, when I continue it stucks). Here is the reproduction st...
by ceremcem
Sat Mar 09, 2019 6:42 pm
Forum: STM32 Support
Topic: chThdSleepX stucks while debugging on STM32F030x4 Topic is solved
Replies: 19
Views: 2397

Re: chThdSleepX stucks while debugging on STM32F030x4 Topic is solved

Above trick (restarting GDB) is unnecessary since this commit because apparently there is "monitor jtag_reset" command available. Adding this "reset" command inside "reload" command made this issue almost invisible since it resets the board on every "reload". ...
by ceremcem
Fri Mar 08, 2019 10:27 pm
Forum: STM32 Support
Topic: chThdSleepX stucks while debugging on STM32F030x4 Topic is solved
Replies: 19
Views: 2397

Re: chThdSleepX stucks while debugging on STM32F030x4 Topic is solved

electronic_eel wrote:Do you activate any powersaving mode in the idle thread or somewhere else?


No, I do nothing consciously. CH_CFG_IDLE_ENTER_HOOK is empty, as it can be seen here.
by ceremcem
Fri Mar 08, 2019 4:07 pm
Forum: User Projects
Topic: ChibiOS Project Boilerplate for Linux
Replies: 0
Views: 1490

ChibiOS Project Boilerplate for Linux

Hi, I'm not a user of Chibios Studio because I prefer command line tools. Since a ChibiOS project requires special attention, especially in a production environment, I created a boilerplate: https://github.com/ceremcem/chibi-project Benefits are as follows: 1. Takes care of separate inclusion folder...
by ceremcem
Thu Mar 07, 2019 11:33 am
Forum: STM32 Support
Topic: chThdSleepX stucks while debugging on STM32F030x4 Topic is solved
Replies: 19
Views: 2397

Re: chThdSleepX stucks while debugging on STM32F030x4 Topic is solved

Hi Giovanni, Setting CH_CFG_ST_TIMEDELTA to zero didn't help in the first attempt and then, it magically started working as expected while debugging. Currently leaving CH_CFG_ST_TIMEDELTA as is has no effect. It turns out the original code works without any modification but needs an interesting tric...
by ceremcem
Thu Mar 07, 2019 12:57 am
Forum: STM32 Support
Topic: chThdSleepX stucks while debugging on STM32F030x4 Topic is solved
Replies: 19
Views: 2397

chThdSleepX stucks while debugging on STM32F030x4 Topic is solved

In this example , I'm experiencing a strange issue: 1. [PROBLEM] When a breakpoint is put on app/main.c:44, GDB stops at the breakpoint, when I "continue" it continues and and never reaches to app/main.c:44 again, the application "crashes". I would expect GDB to stop at the same ...
by ceremcem
Wed Mar 06, 2019 1:36 pm
Forum: Bug Reports
Topic: [PATCH] added missing STM32F103x8 definition Topic is solved
Replies: 4
Views: 483

[PATCH] added missing STM32F103x8 definition Topic is solved

Regarding to the comment , I'm providing the patch here: From 6bc2bd8fc3871dea3c6410587b9ee4966096e15a Mon Sep 17 00:00:00 2001 From: Cerem Cem ASLAN <cem@aktos.io> Date: Wed, 6 Mar 2019 15:29:32 +0300 Subject: [PATCH] added missing STM32F103x8 definition --- os/common/ext/ST/STM32F1xx/stm32f1xx.h |...
by ceremcem
Fri Mar 01, 2019 3:39 pm
Forum: Bug Reports
Topic: Missing STM32F030x4 declaration Topic is solved
Replies: 1
Views: 417

Missing STM32F030x4 declaration Topic is solved

Patch provided for the issue: http://www.chibios.com/forum/viewtopic.php?f=16&t=5018#p34978 From b84f4a6193d73b234083ac3adb74012eefc7cf7b Mon Sep 17 00:00:00 2001 From: Cerem Cem ASLAN <cem@aktos.io> Date: Fri, 1 Mar 2019 17:34:48 +0300 Subject: [PATCH] fixed STM32F030x4 declaration See http://w...
by ceremcem
Fri Mar 01, 2019 1:35 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

Solved by this commit. The "MCU=cortex-m3" setting was mistakenly forgotten while switching to F0 mcu.

Go to advanced search