Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20875 Discussions

nios is slow when running with jtag

taojinyong
Beginner
582 Views

我写了一个闪烁LED的程序,该程序看起来应该闪烁250ms,但在我的FPGA上,它闪烁了大约2.5S,我的nios频率为80MHz。我不知道出了什么问题。我将UART配置为仅以19200的波特率运行,即使在更改了qsys或system.h文件之后也是如此!

而(1)
{
if (TIME_SLICE >= 250000)
{
TIME_SLICE = 0;
IOWR_ALTERA_AVALON_PIO_DATA(LED_O_BASE,led_flag);
led_flag = ~led_flag;
}
 
TIME_SLICE++;
睡眠(1);
}
0 Kudos
3 Replies
KellyJialin_Goh
Employee
562 Views

Hi,

Greetings and welcome to Intel's forum.


You may refer to this NIOS II software tutorial example on debugging the application and refer to more information on the LED Blinking: https://www.intel.com/content/dam/support/us/en/programmable/support-resources/bulk-container/pdfs/literature/tt/tt-my-first-nios-sw.pdf


Thank you.


Regards,

Kelly Jialin, GOH


0 Kudos
KellyJialin_Goh
Employee
520 Views

Hi,

Any updates from your end whether the information provided was useful?


Thank you.


Regards,

Kelly


0 Kudos
EBERLAZARE_I_Intel
465 Views

Hi,


I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.



p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.


0 Kudos
Reply