Console using debugging port

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Console using debugging port

965 Views
Ardoster
Contributor III

Hi

 

I'm using a M5229DEMOKit with a Developpment Studio CodeWarrior.

 

I would like to redirect the printf output to the usb port used for debugger (OSBDM), but I have no idea to do this. Is this possible? I think is possible, because when I create a Coldfire proyect without using MQX, is disposable a target called CONSOLE_INTERNAL_RAM, which redirect my printf outuput to an internal console in my coldfire. But this target is not disposable when I create a MQX project.

 

Do you have any suggestion?

 

Thanks you in advance.

0 Kudos
Reply
1 Reply

366 Views
Ardoster
Contributor III

Hi

 

I've found this another thread (http://forums.freescale.com/freescale/board/message?board.id=CFCOMM&message.id=2864&query.id=32052#M...) where its explained how redirect the printf output via OSBDM port, using a little console opened in Codewarrior. I've tested it with a basic coldfirer project (no MQX) and it runs correctly.

 

But, How I could adapt it to an MQX projec, where I don't have for example an exceptions.c file, like in a basic coldfire project?

 

Thanks you in advance

Message Edited by Ardoster on 2009-09-08 09:46 AM
0 Kudos
Reply