2010-09-15 03:24 AM
is there a way to debug with RS232 ?
2011-05-17 05:07 AM
If you have a good simulator and a patient and persistant attitude you should be able to develop programs with just RS232. I'm designing my boards to only require rs232 for development (no space for anything else). You should use a few pins to flash leds or toggle etc. for diagnostics and timing measurements with an oscilloscope. Ideally break the program into routines that can be tested individually (if necessary). The bootloader is a luxury compared to the days of having to erase and program an EPROM every test run.
Greg.2011-05-17 05:07 AM
thank you for your advices
I was asking if we can debug with RS232 as if we use a JTAG emulator2011-05-17 05:07 AM
Well it won't provide you with JTAG type function and visibility.
The RS232/serial connection has been used classically by those of us who used to burn EPROMs, to provide debug and monitor functions, and output debugging messages, and instrumentation within the code. It's relatively easy to write a monitor that can download and run hex files produced by the compiler, or provide X/Y Modem and terminal functions. JTAG is useful for single stepping code when you can't figure out what's going on, but it's not nearly as useful for understanding the real time behaviour of a system in a working environment.2011-05-17 05:07 AM
''I was asking if we can debug with RS232''
Go to your local library, and search for 20 year old books on computer development - RS232 was the way to debug! The term you're looking for is ''Debug Monitor''eg, ''as if we use a JTAG emulator'' An RS232 Debug Monitor has many drawbacks & limitations - that's why JTAG was invented! And, of course, how would you debug your Monitor...?! See: