What simple method can I use to debug the embedded processor without a serial port or video?

We have a small embedded system without any video or serial ports (i.e. we cannot output text via printf).
We would like to track the progress of our code through an initialization sequence.
Are there any simple things we can do to help with this. It does not start any OS, and the hardware platform is somewhat configurable.

+5
source share
8 answers

The simplest and most scalable solution is status LEDs. Switch LEDs based on actions, either in binary form, or when certain actions occur, if you can narrow the focus.

JTAG. - . , "" , . ( 10- 1 ), ( ), , , .

+10

, , :

, ( ) / , , .
, 1 , 2 foozbar, 3 ...

, 7- (/ ).

RAM, sprint , printf, / .

+5

, - , , ( ).

, (, jtag) . , , , , .

, , , -, . (DSO) . , , DSO.

, , . , , RS232.

, . , , . , , "" .

+2

(UART), - IO . RS232 ( TTL RS232 ), .

+2

JTAG , .

0

JTAG, , , - - , , /, .

, , - bash . .

0

, , , . , ( , BDM ). , .

0

- UART , , . - (SPI, I2C,..), . RS-232.

-, , .

0

All Articles