Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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
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 :(
 

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
 

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
https://www.xilinx.com/support/docu...13_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.
 

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
 

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.
 

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[/QUOT
i find the error is the choice of my flsh PROM , i have to choose the SPI flash which is presnt in my Kit , after that it wok it
yess ,
thank you a lot for your help :) and i m sorry i m begginer in FPGA

- - - Updated - - -

i have another problem , after using my spi flash and loaded the program there , i try to use the ST debugger to flash the other projetct in STM32 , mesg of error is shown that core is held in reset , i interrupt the voltatge but it still the same problem core is held in reset ?


if i erase the spi flash i can flash in stm32 :/
what is the problem ? any help any suggestion please !!

- - - Updated - - -

i have another problem , after using my spi flash and loaded the program there , i try to use the ST debugger to flash the other projetct in STM32 , mesg of error is shown that core is held in reset , i interrupt the voltatge but it still the same problem core is held in reset ?


if i erase the spi flash i can flash in stm32 :/
what is the problem ? any help any suggestion please !!
 

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[/QUOT
i find the error is the choice of my flsh PROM , i have to choose the SPI flash which is presnt in my Kit , after that it wok it
yess ,
thank you a lot for your help :) and i m sorry i m begginer in FPGA

- - - Updated - - -

i have another problem , after using my spi flash and loaded the program there , i try to use the ST debugger to flash the other projetct in STM32 , mesg of error is shown that core is held in reset , i interrupt the voltatge but it still the same problem core is held in reset ?


if i erase the spi flash i can flash in stm32 :/
what is the problem ? any help any suggestion please !!

- - - Updated - - -

i have another problem , after using my spi flash and loaded the program there , i try to use the ST debugger to flash the other projetct in STM32 , mesg of error is shown that core is held in reset , i interrupt the voltatge but it still the same problem core is held in reset ?


if i erase the spi flash i can flash in stm32 :/
what is the problem ? any help any suggestion please !!

you probebly need to set the fpga m0-2 pins to spi mode instead of jtag mode.
 

i m sorry i didn't see what i can do , it not by default this connexion of SPI after using the PROM file ?

it is actually depend on impact version and device it is written in documentation.
i guess you must set this pins for the spartan 6. you usualy have dip switches for that on the board.
m1- 0
m0 -1
 


thanks for your reply
may be it depends to the impact version or hardware , but there are only two switch in the my kit one is for reset the stm and the 2nd is SW200 FPGA FSM2JMATR from Pull up to GND
i copy the link of my kit
https://www.silica.com/fileadmin/02...Silica_ST_Xilinx_Xynergy_board_flyer_2011.pdf
https://www.silica.com/product/silica-xynergy-board-stm32-meets-spartan-6.html

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) 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.
 
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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top