print debug values

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

print debug values

1,696件の閲覧回数
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
ラベル(1)
0 件の賞賛
返信
1 返信

904件の閲覧回数
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 件の賞賛
返信