- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
preface: I currently have a design that runs great on a NiosII CycloneII Dev Board. I am trying to port my design over to the NiosII StratixII Dev Board, but was running into problems (those problems are probably for a different thread). I decided that I should first try to program a simple design to the StratixII Dev Board, just to build up my confidence of the Board. problem: Every time I try to program my design to the FPGA on the NiosII StratixII Dev Board, it programs the device "successfully" but then loads the factory default design. question: What am I doing wrong? My design has one top level block that takes in Clock (on pin B13) and Reset (on pin C5) and outputs a counter value on the Proto1 pins. Please help!!! Thanks, -BenLink Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What are you using to program the part? Are you programming the FPGA directly or a flash?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to program the FPGA directly through the JTAG port. The FPGA is "successfully" programmed and then it runs for about half a second and then the board stops and programs itself with the factory configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dumb question, are you using J24 as the JTAG header?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I am using J24 as the JTAG header.
Do you think it is something with my clock or reset pin? I will try to program the same design onto the old CycloneII Dev Board that I use, just to make sure my simple code works.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I know that dev. board has a MAX device that loads the configuration from flash. Is that defeating your load? Maybe it triggers off of the JTAG signals. Seems unlikely but you never know.
The Quartus project must be setup properly since it thinks it programs successfully.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I looked at the link that stefan__ posted with a possible solution to this problem. His suggested solution was to make this change:
--- Quote Start --- quartus menu assignments > device > device and pin options... > unused pins > Reserve all unused pins: As input tri-stated --- Quote End --- as opposed to leaving the pins as output driving ground. I made this change, but the configuration problem still remained. My solution was to program my FPGA configuration into the Factory Configuration space of the Flash (offset 0x00C00000) instead of the User Application Space (offset 0x00000000). This way when the Flash Programming fails to load the User Design from the User Application Space and it defaults to loading the Factory Configuration, it loads the User Application ;)
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