DSPRelated.com

view LOG_printf in a host

Started by Alexandre Freire da Silva Osorio in TMS320c6x20 years ago 9 replies

Hi, I'm looking for a way to get the contents of the log buffer filled by LOG_printf in a host processor. Please, anyone knows...

Hi, I'm looking for a way to get the contents of the log buffer filled by LOG_printf in a host processor. Please, anyone knows a way to do this? I think that it would be a kind of library that contains functions to read the log buffer from DSP via, for example, XBUS port.


Using va_list for debug

Started by Giovanni Parodi in TMS320c6x18 years ago

Hello everybody, I would like to replace the LOG_printf messages that I inserted in the development version of my code with sprintf calls I...

Hello everybody, I would like to replace the LOG_printf messages that I inserted in the development version of my code with sprintf calls I tried to perform this operation writing #define LOG_printf(x,y, ...) sprintf(msg_buffer[(msg_index++)%MESSAGE_BUFFER],y,__VA_ARGS__) where msg_buffer, msg_index are global variables. However this code doesn't work. At compile time I receive th...


LOG_printf

Started by Nir Drang in TMS320c6x20 years ago 4 replies

LOG_printf Hi, maybe someone can help me on this one. i call t

LOG_printf Hi, maybe someone can help me on this one. i call t


LOG_printf ( float )

Started by gary21uk2002 in TMS320c6x22 years ago 1 reply

Hi, I have a library that is used on two different hardware platforms - one is big-endian, the other little endian. I compile...

Hi, I have a library that is used on two different hardware platforms - one is big-endian, the other little endian. I compile two libraries using CCS 2.1 and the only difference in the CDB config file is big/little endian. When I look at LOG_prinf output when a fl


Debugging and reading file from HD

Started by Giovanni Parodi in TMS320c6x19 years ago 1 reply

Hello everybody, I'm trying to test my application on DM642 board. I have to use a number of file access subroutines and printf to read...

Hello everybody, I'm trying to test my application on DM642 board. I have to use a number of file access subroutines and printf to read the configuration file and help me in the debug process, and this seems to create a lot of problem. In fact the programs locks without evident motivation; I've read that it is better to use LOG_printf, and I w


LOG_printf and printf

Started by goelhss in TMS320c6x22 years ago 2 replies

Hi, I am using EVM 6201, with CCS 2.0 Problem I am facing is related to printf. My code uses printf and FILE I/O. Mostly it...

Hi, I am using EVM 6201, with CCS 2.0 Problem I am facing is related to printf. My code uses printf and FILE I/O. Mostly it is working perfectly, but then some times the printf in the begining do not print result properly, looks like it's having problem in using bu


SDRAM

Started by Arun Kumar in TMS320c6x18 years ago

My SDRAM is working correctly with BIOS file, particularly to say, SDRAM is working only with LOG_printf option and not with printf one. While...

My SDRAM is working correctly with BIOS file, particularly to say, SDRAM is working only with LOG_printf option and not with printf one. While the TI-Strater Kit is working with both the printf's Please Suggest anything -- World Belongs to few enthusiasts who keeps kool


using bios to measure time

Started by fedelegger in TMS320c6x23 years ago 1 reply

Hi, I'm trying to profile my code with bios, since the profiler seems to be heavely bugged. So I tried to use ...

Hi, I'm trying to profile my code with bios, since the profiler seems to be heavely bugged. So I tried to use LOG_printf(&Debug, "time = %d", CLK_gethtime()); in various places in my code, but the problem is that CLK_gethtime returns always the same v


memory allocate

Started by fx-7413 in TMS320c6x14 years ago 1 reply

hello! i'm using CCS3.1 and C6416, in my project, i want to allocate space for each pointer of a ' **g_apbyTxBuf ' tpye array, i did like...

hello! i'm using CCS3.1 and C6416, in my project, i want to allocate space for each pointer of a ' **g_apbyTxBuf ' tpye array, i did like this: Uint8 *g_apbyTxBuf[40]; ......... Bool AllocateTxBuf() { int i,j; for(i = 0; i < TX_BUF_NUM; i++) { g_apbyTxBuf[i] = NULL; g_apbyTxBuf[i] = (Uint8 *)malloc(TX_BUF_LEN * sizeof(Uint8)); j = sizeof(g_apbyTxBuf[i]); LOG_printf(&trace,"%d",j); if(


DSP/BIOS with C6416 TEB

Started by Kevin Howson in TMS320c6x22 years ago 2 replies

Hi, We have a customer using the C6416 TEB with an emulator and CCS. He is trying to run the first simple DSP/BIOS example and...

Hi, We have a customer using the C6416 TEB with an emulator and CCS. He is trying to run the first simple DSP/BIOS example and use Log_printf() to print "Hello World". The code seems to run OK but nothing is printed to the Message Log. Has anyone got any ideas


printf

Started by Roger Kingsley in TMS320c6x20 years ago 4 replies

printf 1.  For real-time debugging, use LOG_printf 2.  Even if it isn't a timing issue, if you have opti

printf 1.  For real-time debugging, use LOG_printf 2.  Even if it isn't a timing issue, if you have opti


Problem with DSP/BIOS tools

Started by Ramkumar R in TMS320c6x19 years ago

Hi   I was trying to use the Message LOG tool using the LOG_printf function. My code compiles without any error, but when...

Hi   I was trying to use the Message LOG tool using the LOG_printf function. My code compiles without any error, but when I try opening Message LOG, I am getting the following error.


Clarifications on DSP/BIOS with CCS

Started by Ramkumar R in TMS320c6x19 years ago 2 replies

Hi grp,   I do face the following problems when working with CCS for 64x BIOS features:   1. When...

Hi grp,   I do face the following problems when working with CCS for 64x BIOS features:   1. When LOG_printf