Kit d'evalution FPGA et STM32

Status
Not open for further replies.

hannachifaten

Member level 2
Joined
May 1, 2013
Messages
44
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Visit site
Activity points
1,769
hello ,
i'm working with xynergy kit , i'write two differets programs in STM32 in keil and the other with VHDL code in XILINX enviromment ,
but the probleme i can't use the two code with their emulators in the KIt ie once i charge the FPGA and i want to charge the STM32f in the same kit usually makes reset , the programme in FPGA did't save so i could't communicate with STM32


So my question is : how can i charge the program in FPGA and save it for communicate with the other project in STM32 ,,????
neeeeeeeeeeed help pleaaaase
 


The easy solution i guess is to configure a xilinx prom that will init the fpga.
 

The easy solution i guess is to configure a xilinx prom that will init the fpga.

have you any way how to create this prom , i must create a new ip core type memory ?
could you clarify your idea please ,

- - - Updated - - -

i find this guid : thank you i ll get it
http://www.xilinx.com/support/documentation/sw_manuals/xilinx13_1/pim_p_creating_prom_file_xilinx_prom.htm
 


1/ you need to check that you actually have a prom connectedt to your FPGA (probebly yes).
2/ you need to use a tool call "impact". that connect with xilinx jtag cable.
3/ it will show you if xilinx and its prom are connectd.
4/ you can create a ".mcs" prom file from impact. you just need to add the bit file, and press the "generate prom"
5/ then you can use impact to program prom file.
 


so ,
i generate bit file of my project
after that i open the IMPACT , and i create a PROM after that i add the bit file but i didn' find how i generate this prom in my device i didn find any press generate
 

so ,
i generate bit file of my project
after that i open the IMPACT , and i create a PROM after that i add the bit file but i didn' find how i generate this prom in my device i didn find any press generate

if you press on the menu "operation" then you press "program" but your prom need to assign the mcs file.
if you didn't asign mcs file to your prom it will be in "bypass" status, and you will not be able to program the prom.
 

first i genrate the prom in IMPACT after that i generate file
i open boundary scan intialze chain and charge the bit file
i add the flash prom
i program the fpga device it is ok but once i charge the PROM with its MCS file it doesn't work and failed and errors are shown like this :

'1': Errors encountered while loading microprogram.
INFO:iMPACT - Failed to query common flash interface.
 

are you sure you generate file to the right prom ?
when you make a prom file you need to specify the prom you are using. sometimes there is more then one prom in your chain also.
so keep that in mind.
 

are you sure you generate file to the right prom ?
when you make a prom file you need to specify the prom you are using. sometimes there is more then one prom in your chain also.
so keep that in mind.

really i m not sure because i select the flash prom after that in selection family there are many device but i don't know what can i choose for spartan 6 , and question comes in mind first of all i must have a physical componnent before creating a flash prom file ?

because my kit is SPARTAN 6 Xynergy , may the configuration of this kit causes problems ((

and my fpga is XC6SLX16
 


you might see pro version when you initialise the chain.
just look at your documentatio : bom , schematics.
 

 

 

 



this are not helpfull - you need to look at your schematics, check m0 is '1'.
check if you have prog switch.
did you verified that prom was programmed.
 

this are not helpfull - you need to look at your schematics, check m0 is '1'.
check if you have prog switch.
did you verified that prom was programmed.

1) yes i find in my schematic this but i don't know what can i do with it :

M0 => always PU
M1 => PD = SPI-Konfiguration
=> PU = Slave Serial
2) Yes i programmed the prom i choose that spi and i select the M25P128 after that i charge it in kit and the programm is succeed but the problem once i come to charge the STM it must be erase this program in the SPI FLASH
 


1. if you put M1=PD the the fpga should be programmed from the flash.
2. check you have LED "done" indicationg FPGA has been configured.
3. you can also try manual loading if you have push button on your "PROG".
4. you can write protect the spi flash buy keeping W/VPP in high state.
5. if you can post your schematics/documentation it would be helpfull.
 
thanks a lot for your help

the problem that i can't attach any think from this post ( security or something like this for the campany ) only from my personel laptop at night if you want

i'm asking if i do this in the configuration instruction with IMPACT tool or not
 

As far as I understand it M0 and M1 are the configuration pins on your fpga. So read the above again, while keeping in mind that M1=PD means 'pulldown M1 aka M1=0' and M1=PU means 'pullup M1 aka M1=1'.

Put another way, no you cannot do this from impact. M0 and M1 are hardware pins so you will probably have to change some jumper settings. At the very least follow the M0/M1 in your schematics to see how they are connected.
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…