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
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 youi 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.
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
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[/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 helpand 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 helpand 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.
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 ?
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.
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
thanks a lot for your help1. 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.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?