Hi,
I finely found out. The clock speed that i specified for the nios clock was different from the clock that used. And that's why the UART didnt work!! pretty simple right ! ?
oh well ..
--- Quote Start ---
originally posted by linearb@Feb 11 2006, 03:29 AM
hi,
im using the apex20ke (ep20k600ebc652) board and i wanted to get familiar with the nios 1. so i create a nios processor and i added to it a rom for germs on chip mem and a ram on chip mem for the program. and i added two uarts rs232 uarts, a debug uart and one for the std.io. for this part i followed step by step the nios tutorial tt_nios_hw_apex_20k200e.pdf.
so first question is : in my board i have just one rs232 dte how can use it for the both uarts ?
my second consern is when i tried just to use the debug uart (nios tx to the pin af34 and nios rx to the pin ae34) and i typed the follwing:
nb -b0x4000 hello_world.c
and then
nr -d hello_world.srec
and after that i pressed the button mapped to the nios reset, i didnt get anything it seems that i couldnt upload the program to the board. it keeps displaying the dots.......
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=12684)
--- quote end ---
--- Quote End ---