Dave

Show:

What's happening?

  • Followup: RE: LPC23xx port problem

    Correction - it loads the bytes starting from the address held in the Supervisor mode link register into the System/User mode registers r0 to r14.

    2009-11-26 13:18:44 UTC in FreeRTOS Real Time Kernel

  • Followup: RE: FreeRTOS on cortex M1

    pxCurrentTCB points to the task control block of the currently running task. In the tick interrupt, or when a task yields or blocks, vTaskSwitchContext() is called and this sets pxCurrentTCB to a new (or maybe the same) TCB. Look at the tick interrupt handler for any of the many existing ports and you will see they all call vTaskIncrementTick() then vTaskSwitchContext(). Just copy that. The...

    2009-11-26 13:10:43 UTC in FreeRTOS Real Time Kernel

  • Followup: RE: LPC23xx port problem

    http://www.freertos.org/FAQHelp.html . Its number 4 ;-) The instruction you reference is the expanded version of ldm lr, {r0-r14}^ which loads r0 to r14 from the Supervisor mode link register into the System/User mode link register. Assuming the LPC is already in Supervisor mode.

    2009-11-26 13:04:34 UTC in FreeRTOS Real Time Kernel

  • Followup: RE: FreeRTOS on cortex M1

    This page provides basic information on how to setup the directory structure and which files are needed [http://www.freertos.org/FreeRTOS-porting-guide.html][1] As far as the actual port goes, that is completely dependent on the architecture. Each architecture behaves differently and provides different features. Yes you need a tick interrupt and from there you call vTaskIncrementTick(...

    2009-11-24 13:35:08 UTC in FreeRTOS Real Time Kernel

  • Followup: RE: using isr before vTaskStartScheduler() starte

    Interrupts will be enabled automatically when the first task starts running (assuming the FreeRTOS code is unchanged) so you don't need to do anything from the application code. If you want the interrupt handler to only execute when the scheduler is running then testing xSchedulerRunning is a good method, but be careful as some ports require the task context to be saved before any C code...

    2009-11-24 13:31:13 UTC in FreeRTOS Real Time Kernel

  • Followup: RE: using isr before vTaskStartScheduler() starte

    Normally interrupts will be disabled before the scheduler is started. If you do use interrupts before the scheduler is started then you must ensure that no interrupt service routines try and perform a context switch, as to do so before the scheduler was initialized would cause a crash.

    2009-11-24 13:15:26 UTC in FreeRTOS Real Time Kernel

  • Followup: RE: FreeRTOS on cortex M1

    The source code is the best documentation. There are 23 architectures supported, each one is implemented differently. The book is a users guide, not a porters guide and there is a TOC available on the WEB site.

    2009-11-24 13:10:04 UTC in FreeRTOS Real Time Kernel

  • Followup: RE: What is happening, When queue is overflow?

    I don't understand your point here, but my previous answer still holds.

    2009-11-24 08:56:17 UTC in FreeRTOS Real Time Kernel

  • Followup: RE: FreeRTOS on STR750 for GCC

    This is not a FreeRTOS problem and probably not a makefile problem, but a linker script problem. Either the linker script does not correctly describe the memory map of your microcontroller, or the built code size is too big to fit in the microcontroller flash. Check the linker script is correct. It looks like you are already removing unreferenced code so the other option to reduce the built...

    2009-11-24 08:41:05 UTC in FreeRTOS Real Time Kernel

  • Followup: RE: AT91SAM: data abort starting first task

    I presume you are creating the queue before using it?.

    2009-11-23 15:54:33 UTC in FreeRTOS Real Time Kernel

About Me

  • 2007-05-21 (3 years ago)
  • 1798168
  • davedoors (My Site)
  • Dave

Send me a message