Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHello everybody,
thanks for all your advice! I finally got the superloop running!!! :D @jens: yes, I made changes to my create-this-app script simular to your example. The reason for the error mentioned before was indeed that the nios system was not able to use assembler code as dsl mentioned. in cksum.c a C-or assembler routine is chosen depending on C_CHECKSUM. I defined C_CHECKSUM, then it worked with ccksum(..) which is a C-routine. --- Quote Start --- unsigned short cksum (void *ptr, unsigned count) { switch (cksum_select) { case 1: default: return (ccksum(ptr, count)); # ifndef C_CHECKSUM case 2: return (asm_cksum(ptr, count));# endif --- Quote End --- What I still do not understand is, why your example worked withoud choosing the c-function...? However thanks once more for your valuable help!!! br Frank