print debug values

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

print debug values

1,174 Views
makuz
Contributor I
hi,

i'm a beginner trying to program the motorola 56f8300demo board using codewarrior 7.0 for freescale 56800/e hybrid controllers.
i'm trying to experiment with the demo example applications and i would like to print out the values read back from the e-field sensor of the board.
i only found a way using log messages to achieve this. i put a log eventpoint after the command that reads the e-field value. the problem is that the execution becomes very slow, probably because the printing of the log messages halt the microcontroller. i also tried the data visualization of codewarrior, but it is even slower. is there any other way to do this in a more clever, faster way or this is the usual way to do it?

any help would be appreciated.

thanks in advance,
gabor
Labels (1)
0 Kudos
1 Reply

382 Views
makuz
Contributor I
i realized i could use printf, but the linker gives an error:

Segment overflow: .x_internal_ROM
Reserved size is 0x00002000 -- Overflow 0x00000174
Link failed.

is there a way i can incread this size? i'm not very familiar with codewarrior yet.
0 Kudos