Starting to work with this a little. I haven't gotten it running yet though.
Perhaps I am more lost than I thought. The component doesn't seem to do much with the LCF file, and as such doesn't hard-locate the bootloader code. So, does this component let me add the bootloader to an application, or does it need to be built as a separate project (as just a bootloader)?
I have worked with both types of bootloader:
AN2295, serial bootloader is a separate project, and is flashed into the CPU. Then the application is downloaded in.
The OSBDM has an internal USB bootloader that I successfully ported to a couple HCS08JM projects and is embedded in the application.
Let me know if I am way off-base,
Thanks!!
Bob
The bootloader is a separate project, and then the application is downloaded in.
There are memory ranges restricted in the CPU component of Processor Expert (which then generates the .lcf file).
BK
-----Mensaje original-----
De: Rene Trenado [mailto:rene.trenado@embeddia.com]
Enviado el: sábado, 08 de abril de 2006 2:28
Para: mcolina@aimme.es
Asunto: Re: FreeRTOS on HC(S)08
Hi,
Sorry for the late response. Here is the CW project that implements FreeRTOS to the HC08 / S08. The project was meant to be used for a S08 GB60/GT60 board with an 32kHz xtal. Please disregard the initialization of PORTF and the ICG on main.c
The sample application just creates two tasks (plus the IDLE task used by the RTOS). Each of them go to "sleep" at a different frequency. This is the simplest example I could think of (I have others of course).
To use the code I am sending to you just cut and past the FreeRTOS folder and GT60 HAL under sources of your project root folder. Rename the GT60 HAL folder to GP32 or whatever and provide your own TickTimer.h and TickTimer.c files (the Timer used by the RTOS to generate the tick interrupts). You just have to provide the following timer functions:
TickTimer_SetFreqHz( configTICK_RATE_HZ );
TickTimer_Enable();
which are called by port.c by the way...
If you have any questions or comments please let me know.
Saludos y que estes bien
(tambien hablo castellano)
Rene Trenado
I have a version of FreeRTOS for both the HC08 and S08. For the HC08 you just have to be careful on the ASM code that makes the context switch since that can be optimized using S08 instructions. Other than that, the code is very similar. Let me know if you are interested I can post it here.
RT.
Dear RT:
I'm interested in your FreeRTOS for HC08. I'm currently working on a project with the MC68HC908GP32 and would like to review your FreeRTOS for HC08 in order to consider using it on this chip. Could you please post your FreeRTOS for HC08? Thank you very much.
Best regards,
Miguel
I was wondering if you had ever posted the HC08 version of this RTOS on the forum? The link states it is for the HCS08. Are they the same?
Thanks!
Brian