V
Vanheesbeke Stefaan
Guest
Hello,
I did a lot of work since the begining of NIOS(1) to put some libraries
toghether with stuff that wasn't supported those days. Now with Nios2 it
seems to be impossible to make your own library? Or do I miss something. I
can generate syslibs and other things I dont'really need, but not an
ordenary archive (that is of course linked in before the standard C (or is
it newlib now)).
Is Altera planning to change over the whole system again for NIOS 3 ?
I tried also the 'legacy' way of doing it, but then the linker generates an
error on cpp files (something with the destructors?), even with the simples
example where I putted a class in.
Something else about interrupt latency, has anyone already found a way to
reduce it further than 2 to 4 microseconds running from external SRAM and
50Mc?
I think jumping to a single interrupt-service address is somewhere the most
stupid thing to do?
It's just a question, but is the battle for the smallest core between Xilinx
and Altera so overwhelming, that a decent interrupt controller was not
allowed in NIOS2?
For someones interest, if you are using the uart with NIOS2. Look at the
signals and see that the promised 'fast printf' is sitting waiting till all
characters are sent out. The nice thing about the bug is that the printf is
OK, but all possible cycles are eaten up by the interrupt service routine
that is not doing the correct things. To correct, change : copy
altera_avalon_uart.c to your project dir, change TMT (line 613) to TRDY and
recompile.
Hope this can be a usefull help for someone.
Stefaan
I did a lot of work since the begining of NIOS(1) to put some libraries
toghether with stuff that wasn't supported those days. Now with Nios2 it
seems to be impossible to make your own library? Or do I miss something. I
can generate syslibs and other things I dont'really need, but not an
ordenary archive (that is of course linked in before the standard C (or is
it newlib now)).
Is Altera planning to change over the whole system again for NIOS 3 ?
I tried also the 'legacy' way of doing it, but then the linker generates an
error on cpp files (something with the destructors?), even with the simples
example where I putted a class in.
Something else about interrupt latency, has anyone already found a way to
reduce it further than 2 to 4 microseconds running from external SRAM and
50Mc?
I think jumping to a single interrupt-service address is somewhere the most
stupid thing to do?
It's just a question, but is the battle for the smallest core between Xilinx
and Altera so overwhelming, that a decent interrupt controller was not
allowed in NIOS2?
For someones interest, if you are using the uart with NIOS2. Look at the
signals and see that the promised 'fast printf' is sitting waiting till all
characters are sent out. The nice thing about the bug is that the printf is
OK, but all possible cycles are eaten up by the interrupt service routine
that is not doing the correct things. To correct, change : copy
altera_avalon_uart.c to your project dir, change TMT (line 613) to TRDY and
recompile.
Hope this can be a usefull help for someone.
Stefaan