- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I'm a newbie with NIOS II IDE development. I have a strange problem during debugging of the following simple code with the following System Properties: "Program never exist" Turned ON "Small C Library" Turned ON each other checkbox is deactivated. OnChip Memory for all memory Types. No kind of RTOS implemented. Stdout, stderr, stdin set to JTAG # include <stddef.h># include <stdio.h># include <sys/alt_irq.h># include <sys/alt_alarm.h># include "alt_types.h" alt_u32 my_alarm_callback (void* context) { printf ("Timer Callback"); return alt_ticks_per_second(); } int main() { static alt_alarm alarm; printf("Hello from Nios II!\n"); printf("Init Timer\n"); if (alt_sysclk_init (1) < 0) printf ("No system clock available\n"); if (alt_alarm_start (&alarm,alt_ticks_per_second(),my_alarm_callback,NULL) < 0) printf ("No system clock available\n"); return 0; } When I start a debug session I come to the first printf command, stepping over I come to the next printf command. When I try now, to step over this printf command, the IDE jumps to the alt_alarm.h file, in a row where no commands are written. I have never seen a such behavior. Anyone knows what could cause this strange behavior? ThxLink Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page