Build file output, how do i get this??

Software questions and issues with the FV-1

Moderator: frank

Post Reply
youngpedals
Posts: 7
Joined: Fri May 08, 2009 10:05 am

Build file output, how do i get this??

Post by youngpedals »

Hi all,

I have it in mind to load a program via EEPROM onto the FV-1, but how would i get the necessary .hex or .bin files from the program i wrote in SpinAsm IDE? i looked and looked but all i could find was an "A" icon on the tool bar which says "Assemble to program 0 of EEPROM," but i can't tell if it generates anything (besides the "program stats" pop-up window). Is there any setting that can also "Assemble to program 1, 2, etc." of EEPROM as well?

Thanks
frank
Posts: 1281
Joined: Wed Oct 19, 2005 12:26 pm
Contact:

Post by frank »

You need to create a project in this case.

Click the "Open project dialog" icon (just to the right of the Spin logo icon)
(See pages 8-9 of SpinASM pdf for icon images and descriptions and pages 16-20 for more detail on creating/using a project)

Double click the program slot that you want to put the program in

Use the file browser to select the program

After selecting the programs (you don't need to fill all slots but best to start at 0 then 1, 2, ...)

Select your output type (Intel Hex for use in a programmer)

Click "Build", it will put the hex file in the hex output dir (you can set the directories to use by click on the "Setup directories for all file types" icon to the right of the "Open project dialog" icon)

Save your project by click "Save" so in the future you can call it up to rebuild the hex file.
Frank Thomson
Experimental Noize
youngpedals
Posts: 7
Joined: Fri May 08, 2009 10:05 am

Post by youngpedals »

Awesome, thanks Frank. I never found the manual before, guess i should go through it! But i got the .hex file i needed, well see how this thing sounds now.
youngpedals
Posts: 7
Joined: Fri May 08, 2009 10:05 am

Post by youngpedals »

one more thing i just thought about; if i were to do in-circuit EEPROM programming, would i need to hold the FV-1 in reset so it doesn't interfere?
frank
Posts: 1281
Joined: Wed Oct 19, 2005 12:26 pm
Contact:

Post by frank »

No, you don't. The FV-1 will only read from the EEPROM when you change an external program so as long as no program changes occur or you are in internal mode, you should be fine.
Frank Thomson
Experimental Noize
Post Reply