Altera_Forum
Honored Contributor
13 years agoJTAG UART slowness
Hi All,
I am trying to write a file from the PC into SDRAM through the JTAG UART, and have found that it is quite slow. I only see about 1KB/s, and need to transfer files that are about 10-20MB. At first I was using system console to write directly into SDRAM using the "master_write_32" commands. I thought maybe system-console is slow because it needs to control the nios processor in some way. I then tried using the nios2-terminal with the command "cat file | nios2-terminal", and simple software to continually read the UART, but didn't find any improvement. Next I tried using code included with the high speed image to transfer data (specifically to send data from the PC), but unfortunately didn't fix the problem. I see that when I download the elf file speeds of 60KB/s are reported. Assuming that's true, then I don't think its my byte-blaster or cable etc. Has anyone experienced something similar to this? Any help/suggestions would be greatly appreciated. Thanks!