- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Booting from On-Chip Memory On Stand Alone mode. Created a NIOS Processor with Reset Vector Pointing to On-Chip Memory Whose base address is 0x04004000 and end address is 0x040067ff. On-Chip Mem is initialized with boot_rom.hex I have a written a Counter LED Code has follows # include <stdio.h> # include <unistd.h> # include "system.h" # include "alt_types.h" # include "altera_avalon_pio_regs.h" int main (void) __attribute__ ((weak, alias ("alt_main"))); int alt_main(void) { int data=0; while(1) { //3 bit Counter usleep(5000000); //wait for 5 sec IOWR_ALTERA_AVALON_PIO_DATA(LED_PIO_BASE, data++); if(data>=8) data=0; } } When i Run In NIOS II EDS > Run On Hardware it works fine. Now problem in Standalone. I follow 5 steps- Open NIOS II Console
- Type "
- Copy that in my project location
- Open Quartus > Settings>> Compilation Process Settings >> Use Smart Compilation and then Compile. During Compilation it detects the boot_rom.hex and compiles.
- Now when i dump the sof and keep the fpga in standalone mode, NIOS Starts but my counter LED does not execute I Checked whether NIOS Started via NIOS II EDS>> Run Hardware then program runs but automatically it does not start
Link 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