- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
DONE pin did not go high while programmin g the FPGA (spartan 3an)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-06-2012 04:10 AM
HI,
hello
I'm new with the FPGA and i've already looked for a solution to my problem in the forum but i couldn't find any.
I'm using the spartan 3an XC3S50AN-144 and i'm using the IMPACT to program the FPGA.
When I'm trying to "program the Flash and FPGA" the process begin and DONE pin go to HIGH (osciloscope)immediately. the process continues till 58 percent and then stop. The second it stops DONE ping go to LOW and after 30 seconds I get FAILED message about the programming:
"configuration data download to FPGA was not successful. DONE did not go high, please check your configuration setup and spi mode settings"
DONE pin is floating at my board. PROG_B is pulled up with 4.7K ohm. we have other designs with the same connections and it works good.
I tried the "program the FPGA only" and the program succeeded. I also checked the logic and it worked fine.
any ideas ??
THANKS,
DROR
Problem with programmin g Spartan-3A N SPI memory
[ Edited ]
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-06-2012 07:22 AM - edited 05-06-2012 10:27 AM
dror,
Here is a simplification of what you wrote.
- Spartan-3AN FPGA configuration from iMPACT works reliably.
- Indirect programming of internal SPI flash memory from iMPACT does not work.
- Other similar (but not identical) board designs work fine.
Do you have more than one copy of this same board? If so, are the programming results identical?
-- 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: Problem with programmin g Spartan-3A N SPI memory
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-06-2012 09:40 PM
Hi Bob,
Thanks for your answer.
Unfortunately i don't have other copies of my board. Is it normal that when i'm programming the Flash and FPGA the DONE go to high immediately ?
Do you have any suggestions ?
Thanks,
Dror
Re: Problem with programmin g Spartan-3A N SPI memory
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-06-2012 11:29 PM
Hi Dror
My understanding of the issue is you are able to program the flash but after that the
FPGA is not able to load from Flash?
Can you cross check the Mode Pin settings?
Re: Problem with programmin g Spartan-3A N SPI memory
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-07-2012 12:48 AM
Hi,
I'll try to explain myself (sorry for my english...... :) )again.
I'm using the IMPACT to program the spartan 3an. after the step of "Initial Chain" I have some options on the left bar of the IMPACT page. The first two options are:
1. Program the Flash and FPGA (the FPGA has inside FLASH)
2. Program the FPGA only
The second option works OK and the program process was succeeded.
When i'm trying to program the inside flash (first option) the process begin and everytime it stops at 58% and I get message about DONE pin do not go HIGH.
I checked the DONE pin with the scope and i see that the pin go to high immediately i'm starting the program process. when the process stop at 58% the pin go to LOW.
I hope my explanation is more clear.... :))
any ideas ??
thanks for your help
DROR
Re: Problem with programmin g Spartan-3A N SPI memory
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-07-2012 01:35 AM
Hi Dror,
Does the Done pin is externally pulled up? If not during the bit generation did you enable Drive_done option ?
Again what is the MODE pin settings?
Can you cross check if the flash got written by doing a readback?
Re: Problem with programmin g Spartan-3A N SPI memory
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-07-2012 03:23 AM
HI,
The MODE pin settings are:
M2= '0'
M1= '1'
M0 = '1'
The same setting works good with other board we have (not the same one).
The DONE pin is not externally pulled up.In the bit generation the "configuration pin done" value is pull up.
I did the readback, it worked fine but i'm not sure what i have on this file.
thanks,
DROR
Re: Problem with programmin g Spartan-3A N SPI memory
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-07-2012 03:51 AM
I'm using the IMPACT to program the spartan 3an. after the step of "Initial Chain" I have some options on the left bar of the IMPACT page. The first two options are:
1. Program the Flash and FPGA (the FPGA has inside FLASH)
2. Program the FPGA only
The second option works OK and the program process was succeeded.
What you and gurupra overlook is that option #1 is a two step process, where the first step includes option #2. iMPACT programs the SPI flash memory by first configuring the FPGA with a special-purpose interface design. This design includes the interface to the SPI flash memory.
Because the FPGA is configured by iMPACT, you will see the DONE pin go high (reflecting successful FPGA configuration).
It is unclear to me what operation is failing.
- Is the erasure of the SPI flash memory failing?
- Is the programming of the SPI flash memory failing?
- Is the verification of the SPI flash memory failing?
- Is the self-configuration of the FPGA from SPI flash memory failing?
-- 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: Problem with programmin g Spartan-3A N SPI memory
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-07-2012 04:31 AM
Can I check it ? to figure out what is the operation that cause the failure ?
Thanks,
Dror
Re: Problem with programmin g Spartan-3A N SPI memory
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-07-2012 04:35 AM
Can I check it ? to figure out what is the operation that cause the failure ?
Yes, you can perform these operations separately.
-- 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.











