Message Edited by BugMan on 2006-10-2010:47 AM
Hi,
I found that you were working on FreeRTOS. So it would be great if you have idea on this.
I am using coldfire mcf52259 demo kit. I have tried running the examples with MQX and it is working fine.
Now i want to port the FreeRTOS using Code Warrior5.9.0 on this demo kit. I am able to compile the program. But when I press debug(F5), I get this error
"Cold fire PE Protocol: No USB connection found".
Has anyone used FreeRTOS in mcf52259. I used the rtosdemo project available in Freertos for coldfire mcf52259 demo kit.
Can we use tools--->flashprogrammer---->program to download the program.
I tried that though it didn't work.
Any suggestions would be very helpful.
Thank you.
First of all, why do you hijack a 4 year old thread and not just start one with your question?
It is unlikely that the OP is going to jump in and help now.
>Has anyone used FreeRTOS in mcf52259.
Since there is an official port for the part, I think the answer might be yes.
If you used the zip file from this thread, it is way out of date. FreeRTOS is at like 7.4 now.
Codewarrior 5.9.0? I think that is the IDE not the version of codewarrior.
You should be able to debug the project, if the project is set up correctly. Try downloading the latest version of FreeRTOS and try the ColdFire_MCF52259_CodeWarrior project. Perhaps you have already done that, but then I ask again why the 4 year old thread?
Hi,
Thanks for replying.
I should have created a new post. My bad. I will post it again in a new post.
I have already tried the ColdFire_MCF52259_CodeWarrior project in FreeRTOS 7.4. It didn't work .
Message Edited by BugMan on 2006-10-2011:28 AM
Hello,
I forgot in the previous release, to managed nesting critical sections.
Sorry
Emmanuel
*pxTopOfStack = ( portSTACK_TYPE ) 0xA6; /* A6 / FP */ pxTopOfStack--;// *pxTopOfStack = ( portSTACK_TYPE ) 0xA5; /* A5 */ *pxTopOfStack = ( portSTACK_TYPE )&_SDA_BASE; /* keep data pointer!!! used by CW7.1 compiler */ pxTopOfStack--; *pxTopOfStack = ( portSTACK_TYPE ) 0xA4; /* A4 */ pxTopOfStack--; *pxTopOfStack = ( portSTACK_TYPE ) 0xA3; /* A3 */
Addressing: The libraries are built with A5-relative addressing for data, this setting limits to 64K the amount of global data accessible. From the compiler perspective using the sdata (A5-relative) setting makes initialized data assigned to .sdata sections and uninitialized (or set to zero) data to .sbss sections. Using the far declaration specifier makes the compiler use 32-bits absolute addressing, the near specifier makes the compiler use 16-bits absolute addressing. Note that these near and far specifiers apply to declarations since they affect relocations, whereas definitions select a section.
// xTaskWokenByPost = xQueueSendFromISR( xRxedChars, ( void * ) &ucByte, pdFALSE ); xQueueSendFromISR( xRxedChars, ( void * ) &ucByte, &xTaskWokenByPost );
#define _MSL_FLOATING_POINT 1//#define _MSL_NO_MATH_LIB #undef _MSL_NO_MATH_LIB #endif#define _MSL_C_TINY_IO 0 #define _MSL_TINY_FILE_IO 0#define _MSL_FLOATING_POINT_IO 1