Forum Discussion
Altera_Forum
Honored Contributor
14 years agoThe polled implementation will be sending characters through the JTAG uart as fast as it is possible to do so - spinning waiting for transmit space.
The larger driver will copy data into a memory buffer and take an interrupt when there is transmit space, this allows you main program to continue execution while waiting for transmit space. So unless you have code to execute while waiting for data to transmit it won't make any difference. Since you seem to want to write a lot of data, I suspect you have no other work - so the 'full' driver won't help. Actually, since the JTAG uart is really a debug console, provided it has a small fifo, synchronous operation is exactly what you need - then you see all the output the code generates before it crashes and locks solid! Implementing a large fifo is software (which is what the 'full' driver will be doing) is probably often pointless - just add an M9K (or M4K) memory block as a hardware fifo instead (probably shared with the rx side).