Programming ROM chip (EPCS)

(Read 2835 times)
Programming ROM chip (EPCS) on: May 29, 2020, 08:05:22 AM
I followed the blink tutorial for the storm iv board, it works.
However, when I reset my board it goes back to the default design that it came with (the 7 segment displays counting from 0 to 9)
How can I flash the little ROM chip on the board so that my design stays when I reset it?

Thanks!
« Last Edit: June 02, 2020, 04:53:10 PM by Noob 2174 »



Re: Ptogramming ROM chip Reply #1 on: May 29, 2020, 08:40:43 AM
Yes, FPGAs will loose the synthesis when you rebgoot. You have to make a code taht will automatically get the synthesis from a flash memory. Placing the code into the flash memory of the FPGA is a bit tricky. Is usaully different for each chip. Maybe you can find a YouTube tutorial because I still don't have a video about that...



Re: Ptogramming ROM chip Reply #2 on: May 29, 2020, 09:10:06 AM
Yes, FPGAs will loose the synthesis when you rebgoot. You have to make a code taht will automatically get the synthesis from a flash memory. Placing the code into the flash memory of the FPGA is a bit tricky. Is usaully different for each chip. Maybe you can find a YouTube tutorial because I still don't have a video about that...

Alright I thought I would at least ask you about it since I have the exact same storm iv board as you.

I don't have this issue with my lattice boards. Their tool chain also seems to be a bit friendlier than the altera stuff.
I have a few "tiny FPGA" boards and they are very very easy to use. I personally would recommend those for beginners.

I have the AX2 and BX boards which I got from sparkfun

https://tinyfpga.com/
https://discourse.tinyfpga.com/

Thanks anyway!
If I figure it out I will share what I learned.



Re: Ptogramming ROM chip Reply #3 on: May 29, 2020, 10:07:09 AM
Thanks for sharing!



Re: Ptogramming ROM chip Reply #4 on: May 29, 2020, 02:51:21 PM
What is up my friend! I figured it out!

I have been researching all night trying to figure out which chip stores the configuration in other fpga boards, and then trying to find it on this storm iv board. well looking at the board didnt help, but, looking at the block diagram gave me the answer I was looking for. This board uses an EPCS4 chip!

Here is the process I went through to program this chip:
(A process I learned from watching Ben Heck! https://www.youtube.com/watch?v=0zrqYy369NQ)

after compiling your design into a ".sof" file
click file, convert programming files, opening the convert programming files window
click the "programming file type" drop down and select "JTAG indirect configuration file (.jic)"
click the "..." icon next to the configuration device dropdown, opening a configuration device window
under device family select Cyclone IV E
in the configuration device tab select the "EPCS4" device and click OK
next, under input files to convert, click on "flash loader", then to the right, click on add device, which opens the "select devices" window
under device family again select Cyclone IV E
then select our specific cyclone device version under device name, "EP4CE6", click OK
next click "SOF Data" inside input files to convert, and click add file
choose the .sof file you want
click on the "yourdesign.sof" item under SOF data, and click the properties button
check the compression checkbox, click ok
finally, click generate!

now we need to open the programmer and upload this new file to our board!

click tools, programmer
first, delete any item that is already in here, we want it empty
click add file, find your ".jic" file, it should just be in the same place as your .sof file
click the "program/configure" checkbox
then click start

and that's it! you can now power cycle your device and your design will remain!
;)  8)
« Last Edit: May 30, 2020, 06:39:03 AM by Noob 2174 »



Re: Ptogramming ROM chip Reply #5 on: May 29, 2020, 02:57:58 PM
Thank you! Glad you found a solution and also poste here!



Re: Programming ROM chip (EPCS) Reply #6 on: August 23, 2023, 10:35:33 AM
To make your custom design persist on the Storm IV board even after resetting it, you need to program the non-volatile memory (NVM) chip on the board. The NVM chip stores the configuration information that is loaded during the boot process. Whenever I have free time, I do not forget to experience the fascinating levels in Geometry Dash World. It makes me feel happier after playing.




Top Product Info Reply #7 on: October 06, 2023, 08:05:07 AM
Please try Google before asking about Useful Product Website 0b59a70



Recommended Product Tips Reply #8 on: October 06, 2023, 12:08:14 PM
Please try Google before asking about Useful Product Website f6c4aa0



Top Business Massage Guide Reply #9 on: October 06, 2023, 08:33:35 PM
To the guy inquiring about massage business start up cost, serenity therapeutic massage llc, marketing a massage therapy business, justin shelley licensed massage therapist, imperial studio massage llc, massage shop for sale, foot massage business, mobile massage set up, profit power mini massager, massage therapy business plan powerpoint, owning a massage business, zen massage spa llc, business plan for massage business, massage therapy practice, starting a massage business from home, starting my own massage therapy business, open massage shop, ezekiel's massage studio llc, charlene's massage and spa llc, slabway out of business,  I suggest this 출장 for tracy pieper licensed massage therapist, zen massage spa llc, massage marketing, elements therapeutic massage llc, starting a massage therapy business, magic feet reflexology llc, hand & stone corporate office, massage therapy business for sale, imperial studio massage llc, massage envy business model, starting my own massage therapy business, massage clinic for sale, mobile massage therapy business, anointed hands massage and wellness llc, cityhall massage, business plan for massage business, mobile massage company, massage shop for sale, ag massage company, boon thai massage & bodywork llc, also. See More Best Business Massage Guide 023d94c



Re: Programming ROM chip (EPCS) Reply #10 on: August 28, 2024, 11:42:09 AM
Get ready for some explosive kart racing action with Smash Karts ! Customize your ride, collect weapons, and dominate the arena. It’s free to play, so jump in and start your adventure now!