# Programming the FV-1 EEPROM with your code

Maybe you've already figured out how to do this, but there are two main ways to get from SpinCAD Designer to the EEPROM connected to your FV-1.

#### **Export Bank to Spin Project**

The first method I'll describe is to use the Spin Development Board with the Spin IDE.  When choosing this route, you will go through the intermediate stage of Spin ASM.  This approach may be useful if you are having to optimize programs to make them fit or otherwise modifying them in ways the SpinCAD can't do.

The first step will be to go through all 8 patches and choose "Save Patch As" to give each patch a unique name.  This is used to create a .spcd file which can be read by SpinCAD Designer, and also later to name a .spn file which can be read by the IDE.

![](https://c10.patreonusercontent.com/4/patreon-media/p/post/68885010/06862bf00f70444da331527a24d70d21/eyJ3ZWJwIjowfQ%3D%3D/1.jpg?token-time=1687564800\&token-hash=loWdRMYNKfUu-pw7srrxABgd22hS6GkfHJCQ_bKCN8M%3D)

Next, choose "Save Bank As" just to make sure you've got the group of patch saved.

![](https://c10.patreonusercontent.com/4/patreon-media/p/post/68885010/26166e0f233a4b9ca0306d0e554d3c15/eyJ3ZWJwIjowfQ%3D%3D/1.jpg?token-time=1687564800\&token-hash=TJ8wsbz6mW-ZjDLQwr1d0VNHoLfBOcFFy23eDmcYUWU%3D)

Next, "File->Export Bank to Spin Project"

![](https://c10.patreonusercontent.com/4/patreon-media/p/post/68885010/c3950021d54e470b8b3cd9065ca455fb/eyJ3ZWJwIjowfQ%3D%3D/1.jpg?token-time=1687564800\&token-hash=UdBlVVwSsMGUGIp3G9t4PbU-vo9zSDFetwB7CChMOI0%3D)

Choose a folder for your Spin Projects and ASM files to be saved.

![](https://c10.patreonusercontent.com/4/patreon-media/p/post/68885010/71deb4fb89a04c988e3ec3cc9198be44/eyJ3ZWJwIjowfQ%3D%3D/1.jpg?token-time=1687564800\&token-hash=ijIGCb0diQdtS0YqO5jq7nexqk4eUIuaXrbKeSgQx2M%3D)

Now, open the Spin IDE and click on the "Project Folders" icon.

![](https://c10.patreonusercontent.com/4/patreon-media/p/post/68885010/9892d4aad67449fe8f1b5c3f7f1cc6ca/eyJ3ZWJwIjowfQ%3D%3D/1.jpg?token-time=1687564800\&token-hash=BsFLjiXBHc7mQ_Ge0PMNwu6_qnZNLNskBl1dAcFIi4o%3D)

Set all folders to the folder you just saved your project to.

![](https://c10.patreonusercontent.com/4/patreon-media/p/post/68885010/0367264a6126457e83fd2f2e0c291c28/eyJ3ZWJwIjowfQ%3D%3D/1.jpg?token-time=1687564800\&token-hash=QpCyXZFUTXoB29qDwuH6bkSFLRWS2EGs09fbJ1V1G6o%3D)

Click on the Project icon to open the Spin ASM Project Dialog.

![](https://c10.patreonusercontent.com/4/patreon-media/p/post/68885010/f6c2ab8bca794fa3b4eeead56f31f926/eyJ3ZWJwIjowfQ%3D%3D/1.jpg?token-time=1687564800\&token-hash=nx5OdL_EF-9ruNA-9l7lEuNAMfUIHAiw5gz6l9w4AdQ%3D)

Click on "Open" and load the Spin project file you saved from SpinCAD Designer.

Confirm that there is a file name for each of the 8 patches.  Select the desired options.  To program the EEPROM in a Spin Development Board, all you need is to choose "Write EEPROM".

![](https://c10.patreonusercontent.com/4/patreon-media/p/post/68885010/719ad4851f914ea9980c0a11b059c19d/eyJ3ZWJwIjowfQ%3D%3D/1.jpg?token-time=1687564800\&token-hash=t6a5LYfG4sjXnLpWj_Fby-PRK72tFd7IEPIyfH9yofA%3D)

Make sure your Spin Development Board shows "Online".

![](https://c10.patreonusercontent.com/4/patreon-media/p/post/68885010/da7c60801bcd4ec3808138ed2cf15b78/eyJ3ZWJwIjowfQ%3D%3D/1.jpg?token-time=1687564800\&token-hash=fjYah3lt1LZRoddKWpvldix4Lwtu8vcEsqfsrO1KQ_Y%3D)

Click on "Build".  You'll see some flashing while the programs are assembled and the EEPROM is built.

![](https://c10.patreonusercontent.com/4/patreon-media/p/post/68885010/71833226c3b943d78baa499286bf3ada/e30%3D/1.gif?token-time=1687564800\&token-hash=05rxUb96d-SZpWKBPHIDy9v5IkWr_SOtg4eO0K1vDIk%3D)

Unplug the Spin Development Board's USB.  Now you can move the EEPROM to your board.

**Export to HEX**

The second way assumes that you have some other way to program the EEPROM - whether separately or in circuit using I2C.

Choose "File->Export Bank to Hex":

![](https://c10.patreonusercontent.com/4/patreon-media/p/post/68885010/12bb480c973548ceaafc94529de1e9d4/eyJ3ZWJwIjowfQ%3D%3D/1.jpg?token-time=1687564800\&token-hash=ArNvBEG6Z9mPLnCYYBqhsYIjl3jFsPqPjSiARzx5H5M%3D)

and save the HEX file to a location where you can use it with whatever you are using to program the EEPROM.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://holy-city-audio.gitbook.io/spincad-designer/tips-and-tricks/programming-the-fv-1-eeprom-with-your-code.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
