cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
7,613 Views
Registered: ‎05-24-2013

Programming ML507 Platform Flash using iMPACT

Hello,

 

I have a xc3s1500 FPGA and a xcf32p platform flash. I want to program the FPGA and then I want to write to the Flash. So I have:

 

1) 

 

setMode -bs
setCable -port usb21 -esn 0000171741D601 -baud 6000000
Identify
identifyMPM
assignFile -p 2 -file "download_sdk.bit"
program -p 2
cleancablelock
exit

 

and

 

2)

 

setMode -bs
setCable -port usb21 -esn 0000171741D601 -baud 6000000
Identify
identifyMPM
assignFile -p 1 -file "flash.mcs"
Program -p 1 -e -defaultVersion 0
cleancablelock
exit

 

FPGA programming works and I see the outputs on the console.

For Flash programming, I also see in impact log "Programming completed successfully." However nothing comes to the console when I power-cycle my board. 

 

If I execute the second script alone, everything is fine. 

 

My question is: Could it cause a disturbance during the Flash programming, if the FPGA is not empty?

 

Thanks,

Berk

0 Kudos
2 Replies
Highlighted
Adventurer
Adventurer
7,612 Views
Registered: ‎05-24-2013

Re: Programming ML507 Platform Flash using iMPACT

Sorry for the topic. I made a typo. Please ignore the "ML507".

0 Kudos
Highlighted
Moderator
Moderator
7,596 Views
Registered: ‎01-15-2008

Re: Programming ML507 Platform Flash using iMPACT

could you share the status registers of the fpga when it fails to configure from flash after power cylcing of the board.

 

--Krishna

0 Kudos