Search found 23 matches

by louis
Wed Jul 20, 2016 3:57 pm
Forum: ChibiOS/RT
Topic: CW files
Replies: 32
Views: 7191

Re: CW files

hello Giovanni, I changed my strategy. I used now your IVORs (from ivor.s) and I modified my scheduler. I created my task. But I have still problems with interruptions (IVOR don't work). My program is blocked inside " _idle_thread() " (well it is normal, if IVORs don't work :D ). I would l...
by louis
Tue Jul 12, 2016 9:27 am
Forum: ChibiOS/RT
Topic: CW files
Replies: 32
Views: 7191

Re: CW files

Hi,

Yes I checked. Your IVOR10 calls chSchIsPreemptionRequired(), and chSchDoReschedule()(when it is required)

Enclosed, you can see my IVOR10 & IVOR4 implementations.
For IVOR10, the value which is returned by chSchIsPreemptionRequired() is always false.

Louis
by louis
Mon Jul 11, 2016 3:42 pm
Forum: ChibiOS/RT
Topic: CW files
Replies: 32
Views: 7191

Re: CW files

Thank Giovanni, I forget to tell you that I desactivated the IVOR (PPC_SUPPORTS_IVORS & PPC_SUPPORTS_DECREMENTER = FALSE ) because it was alrealdy handled by my CPU driver. The tick handler ( chSysTimerHandlerI() from IVOR10) is normally called. So the fact to desactivate the IVOR on your ChibiO...
by louis
Mon Jul 11, 2016 9:12 am
Forum: ChibiOS/RT
Topic: CW files
Replies: 32
Views: 7191

Re: CW files

Hi,

Yes exactly, I don't exit chThdSleepMilliseconds(). But when I debug, the tick handler (chSysTimerHandlerI) is called. Then, do you know which kind of problems (on the tick) can be the origin of this problem?

Louis
by louis
Fri Jul 08, 2016 11:19 am
Forum: ChibiOS/RT
Topic: CW files
Replies: 32
Views: 7191

Re: CW files

hi Giovanni, Thank you for your answer. I succeeded to port your ChibiOS/RT. Now, I am creating a task (flashing led). But the problem is that the task is executed only 1 time. I initialize the ChibiOS in my main() , and I create my thread. After I enter in the main loop (the main loop is also execu...
by louis
Fri Jul 01, 2016 9:52 am
Forum: ChibiOS/RT
Topic: CW files
Replies: 32
Views: 7191

Re: CW files

Hello,

Thank you Giovanni for this instructive answer.
Then, my handler for IVOR4 should do exactly the same than yours in ivor.s, isn't it?

For the startup file, should I do also exactly the same as you do?

Louis
by louis
Thu Jun 30, 2016 10:17 am
Forum: ChibiOS/RT
Topic: CW files
Replies: 32
Views: 7191

CW files

Hello, I am porting ChibiOS/RT on my project using CW. But I encore difficulties with the integration of files from "rt/port/compiler/CW". You could find enclosed my project-zip (some private files had been deleted). The chibiOS code source are in "/source/BSP/CORE/ChibiOS_rt" pa...
by louis
Fri Jun 17, 2016 4:21 pm
Forum: ChibiOS/RT
Topic: Hardware Timer
Replies: 7
Views: 1862

Re: Hardware Timer

Hi,

Thank you. I will do it. I already checked your test and there is one for my PowerPC (SPC564A80). But the compiler is not CW.
But if I take the test of SPC56EC (which uses CW) and I change/edit some files, it should work, isn't it?

Louis
by louis
Thu Jun 16, 2016 10:49 am
Forum: ChibiOS/RT
Topic: Hardware Timer
Replies: 7
Views: 1862

Re: Hardware Timer

In our project, we didn't use a RTOS. So, we created a scheduler named task_manager. Now, we decided to use another scheduler (with a new clock) from a RTOS. We chose yours :D The file which initalizes my clock is in the HAL component, and the scheduler is in ChibiOS/RT. So my questions is : which f...
by louis
Thu Jun 16, 2016 10:10 am
Forum: ChibiOS/RT
Topic: Hardware Timer
Replies: 7
Views: 1862

Re: Hardware Timer

Thank you Giovani,

If I only want to change my sequencor by your scheduler of your RTOS with your clock, which files should I take?

Louis

Go to advanced search