porting iar 430F449 example to 430FG461 mcu

gloin34 wrote on Tuesday, June 22, 2010:

Could someone give me some hints that how to port an existing project to another mcu? any help will be apreciated.

gloin34 wrote on Tuesday, June 22, 2010:

I want to port iar 430F449 example to 430FG4619 mcu

gloin34 wrote on Wednesday, June 23, 2010:

I corrected all errors for the msp430fg4619, can compile without a problem but now I m taking this error when I run the code;

"Wed Jun 23 15:25:23 2010: The stack ‘Stack’ is filled to 100% (80 bytes used out of 80). The warning threshold is set to 90.% "

Both MCUs are x4xx family, but when I run the code, the scheduler can not start and giving this error. Is there any advice?

gloin34 wrote on Wednesday, June 23, 2010:

when I put a breakpoint in tasks.c file, my code is stopping this line

/* Just to help debugging. */
memset( pxNewTCB->pxStack, tskSTACK_FILL_BYTE, usStackDepth * sizeof( portSTACK_TYPE ) );

Why is it happening?

davedoors wrote on Wednesday, June 23, 2010:

Are you using the MSP430X port? The port in the FreeRTOS download is not going to work on that part.

when I put a breakpoint in tasks.c file, my code is stopping this line

/* Just to help debugging. */
memset( pxNewTCB->pxStack, tskSTACK_FILL_BYTE, usStackDepth * sizeof( portSTACK_TYPE ) );

Why is it happening?

Is that the line you put the break point on?

gloin34 wrote on Thursday, June 24, 2010:

I m using freertos 6.0.5 and the Demo application is called msp430_IAR, it was ported for msp430f449 and I d like  to port it to msp430fg4619.

I changed the header file for new mcu from “msp430x44x.h” to “msp430xG46x.h” inside the “freertos_config.h” and corrected the errors regarding register differences.

I think I should correct heap or stack size but I can not find a solution.

Is that the line you put the break point on?

Yes I put a breakpoint on this line and after this line. After one step from this line, I see this image below;

rtel wrote on Thursday, June 24, 2010:

As DaveDoors said - the port in the FreeRTOS download is not going to work on that part.  You need an MSP430X port, the best source for which (currently) is http://www.westmorelandengineering.com.

Regards.

gloin34 wrote on Thursday, June 24, 2010:

thank you all, I ve just requested the password from that site, I hope he would send soon.

Regards

gloin34 wrote on Friday, June 25, 2010:

Up to now, there is no response from him, does anyone know the password of the zip file for msp430X port?

pvadim wrote on Tuesday, June 29, 2010:

check the last  at  http://www.westmorelandengineering.com, there you will find an active mail.