- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Cannot program Spartan 3. Only SSEG lights up
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-14-2012 07:37 PM
I just got a used xilinx spartan 3 fpga and am having problems programming it.
The code I am using is the code I have used on several fpga's at school.
So when I try to downlaod a program on the SSEG lights up. I don't think the setting are wrong. and I am not getting an error message when programming. So I am wondering if there is anything that I am missing like a setting or something.
All the initial setting in the design properties are correct for this board.
When initially powered up the 7 LED's come on. when I program it with any code all SSEG lights up and nothing else works buttons, switch, etc.
I am using the USB jtag cable and drivers have been installed for it.
Im programming to the xc3s200 and not the second one xcf02s.
Re: Cannot program Spartan 3. Only SSEG lights up
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-15-2012 08:57 PM
You bought a used chip?
Did you design the board upon which it's mounted?
----------------------------------------------------------------
Yes, I do this for a living.
Re: Cannot program Spartan 3. Only SSEG lights up
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-16-2012 12:19 PM
yes, it was used. got a good deal so I thought I would risk it.
Otherwise all programs being loaded are known and working programs that I use all the time at school. So I know they work.
I guess I will bring the board to school and see if I can get it to work using their computer/jtag. maybe I can narrow the problem that way. I'm hoping it's just a setting or something small. I don't have a reason to believe the board is faulty, but I can never be to sure.
Re: Cannot program Spartan 3. Only SSEG lights up
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-16-2012 05:10 PM
henryg46 wrote:
yes, it was used. got a good deal so I thought I would risk it.
I'll ask again, in English this time: you bought a used chip?
Did you design a PCB to attach this chip to?
----------------------------------------------------------------
Yes, I do this for a living.
Re: Cannot program Spartan 3. Only SSEG lights up
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-16-2012 05:51 PM - edited 04-16-2012 05:52 PM
Let me help...
> you bought a used chip?
Chip: 
> Did you design a PCB to attach this chip to?
PCB (or board): 
-- Bob Elkind
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369
Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
Re: Cannot program Spartan 3. Only SSEG lights up
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-16-2012 07:54 PM
answer: No and No
Re: Cannot program Spartan 3. Only SSEG lights up
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-16-2012 08:32 PM
answer: No and No
This helps!
Can you identify the used board which you purchased? Are the schematics available online?
-- Bob Elkind
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369
Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
Re: Cannot program Spartan 3. Only SSEG lights up
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-17-2012 06:50 PM
So I am assuming that I can't just name spartan 3 and assume it's the board I have. It seems like it could be anything or any type of configuration and have it custom made.
so my applogies for assuming only one type existed.
But here is what I have. It's the same fpga we have at school. so all (i'm assuming) all setting are the same. I haven't had a chance to run the board at school. So I'll see if I can download onto the fpga over there. Or maybe try their jtag cable or something.
Otherwise programming should be pretty basic.
Here is what I have.
Re: Cannot program Spartan 3. Only SSEG lights up
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-17-2012 07:08 PM
So I am assuming that I can't just name spartan 3 and assume it's the board I have.
Correct. Spartan 3 is a device family, not a board design, (unless you work for Digilent, apparently).
But here is what I have. It's the same fpga we have at school. so all (i'm assuming) all setting are the same. I haven't had a chance to run the board at school. So I'll see if I can download onto the fpga over there. Or maybe try their jtag cable or something.
Before you hook up your board, verify that the school "setup" works OK with the school's board. If your board doesn't respond correctly, at least you know that the host PC and download cable and software are working.
Also, there are a number of similar-looking "Starter Kit" boards for Spartan-3, Spartan-3A, Spartan-3AN, and Spartan-3E. You may want to check closely -- your board and the school's board may not be identical, despite appearances.
Otherwise programming should be pretty basic.
Here is what I have.
The board is called Spartan 3 Starter Kit.
-- Bob Elkind
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369
Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
Re: Cannot program Spartan 3. Only SSEG lights up
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-19-2012 12:40 PM
So the board works. I used the schools JTAG cable and everything downloaded and worked perfectly. So the board is good.
So I then tried my JTAG cable and for security reasons would not let me download the driver for my USB JTAG cable onto the school computer.
So I am left to believe that there maybe a JTAG or driver problem on my computer. So far the only thing I have done when I hooked it up is let it automatically install the driver that window's provided. (standard plug and play method).
Is there any specific driver download from somewhere I can use for the JTAG, because even though my JTAG kind of works it doesn't seem to fully work. As mentioned probably missing a few more drivers.
This is all I can think of possible problems. Either the cable or drivers or both. Not sure how else to troubleshoot the cable problem.











