EmbeddedRelated.com
Forums
Memfault Beyond the Launch

printf() through Spy-Bi-Wire hangs [MSP430, CCStudio]

Started by Nick Alexeev February 19, 2013
Colleagues,

I can't seem to make the printf() to work through Spy-Bi-Wire (SBW)
in CCStudio. The program execution just hangs, when it gets to
printf().

My setup consists of:
* MSP430FR5739
* MSP-FET430UIF
* Code Composer Studio 5.3.0.00090

To try to enable the printf(), I've changed these settings in
Project->Properties:
* Console I/O (CIO) enabled
* Stack size 768, heap size 1024
* printf() support minimal

I can post my small test code if needed. Most of it was generated by
Grace. I only wrote a small loop, to blink an LED and print.

Any suggestion, insight or reference is really appreciated!

Cheers,
- Nick



Beginning Microcontrollers with the MSP430

On 2/19/2013 3:12 PM, Nick Alexeev wrote:
> * printf() support minimal
Try turning the printf() from minimal to full or what ever the max is
and try again.
At one point, I though that there's a problem with me CCStudio installation. Initially, I've installed 5.3 on top of 4. I've installed CCStudio 5.3 on another computer (virgin one, on the 1st computer, I've installed ). I'm seeing exactly the same problem.

Come to think of it, I'm using the same FET430. May be, the problem is in my FET430 or it's firmware.

Have anyone else had problems like this?

- Nick

--- In m..., "Nick Alexeev" wrote:
> Colleagues,
>
> I can't seem to make the printf() to work through Spy-Bi-Wire (SBW)
> in CCStudio. The program execution just hangs, when it gets to
> printf().
> My setup consists of:
> * MSP430FR5739
> * MSP-FET430UIF
> * Code Composer Studio 5.3.0.00090
> To try to enable the printf(), I've changed these settings in
> Project->Properties:
> * Console I/O (CIO) enabled
> * Stack size 768, heap size 1024
> * printf() support minimal
>
> I can post my small test code if needed. Most of it was generated by
> Grace. I only wrote a small loop, to blink an LED and print.
>
> Any suggestion, insight or reference is really appreciated!
>
> Cheers,
> - Nick
>

Sorry this is on a different topic , but i really wanted to note
that CCStudio's version of printf (is that TI's C compiler and library?) seems to be insanely large, i was not able to fit even the minimal printf version into a 4k msp430 ..

--- In m..., "Nick Alexeev" wrote:
>
> At one point, I though that there's a problem with me CCStudio installation. Initially, I've installed 5.3 on top of 4. I've installed CCStudio 5.3 on another computer (virgin one, on the 1st computer, I've installed ). I'm seeing exactly the same problem.
>
> Come to think of it, I'm using the same FET430. May be, the problem is in my FET430 or it's firmware.
>
> Have anyone else had problems like this?
>
> - Nick
>
> --- In m..., "Nick Alexeev" wrote:
> >
> >
> > Colleagues,
> >
> > I can't seem to make the printf() to work through Spy-Bi-Wire (SBW)
> > in CCStudio. The program execution just hangs, when it gets to
> > printf().
> >
> >
> >
> >
> > My setup consists of:
> >
> >
> > * MSP430FR5739
> > * MSP-FET430UIF
> > * Code Composer Studio 5.3.0.00090
> >
> >
> >
> >
> > To try to enable the printf(), I've changed these settings in
> > Project->Properties:
> >
> >
> > * Console I/O (CIO) enabled
> > * Stack size 768, heap size 1024
> > * printf() support minimal
> >
> > I can post my small test code if needed. Most of it was generated by
> > Grace. I only wrote a small loop, to blink an LED and print.
> >
> > Any suggestion, insight or reference is really appreciated!
> >
> > Cheers,
> > - Nick
>


Memfault Beyond the Launch