Page 1 of 1

SPN file to Arduino

Posted: Thu Mar 21, 2019 1:56 pm
by caspercody
Hello

First post here. I just used a Arduino Uno to burn a file created by someone else onto a 24LC32A/P EEPROM chip, and it works on my FV1 board.

My question is, how do I convert SPN files to be veired in the Arduino software to burn another chip?

I see the code on this forum for a Shimmer effect and want to try this out.

Thanks
Rob

Re: SPN file to Arduino

Posted: Fri Mar 22, 2019 4:45 am
by igorp
download spinasm and compile

Re: SPN file to Arduino

Posted: Fri Mar 22, 2019 8:18 am
by caspercody
I do have the Spinasm program, and started to work with it.

Where is the compile function located?

Can I order this, and be able to burn the EEPROM using the Spinasm program?

https://www.amazon.com/gp/product/B017I ... S4NJ57G45G

Thanks for your reply!!

Rob

Re: SPN file to Arduino

Posted: Sat Mar 23, 2019 6:17 am
by ice-nine
In the Spinasm program

1. click 'open project'
2. add you program to one of the 8 slots for effects.
3. Save project. (for future use)
4. make sure the box labelled 'intel hex' is ticked.
5. Press the 'build' button. It will save you file ready to flash to the EEPROM in the path you select or the default spinasm hex folder 'Documents\SpinAsm IDE\hexout'

Re: SPN file to Arduino

Posted: Sun Mar 24, 2019 6:37 pm
by caspercody
Thanks for the replies!!!

After working on it for a little bit, I got it to work. Now I can take a SPN file, convert it to a HEX file and load it onto my EEPROM chip using a Arduino Uno board.

I have a PedalPCB pedal I built and I can swap out the EEPROM chip with different programs.

This is so much fun (for now).

Thanks
Rob

Re: SPN file to Arduino

Posted: Sun Apr 05, 2020 11:58 pm
by charonme
caspercody wrote: Sun Mar 24, 2019 6:37 pm convert it to a HEX file and load it onto my EEPROM chip using a Arduino Uno board.
what do you use to load a hex file into arduino?

Re: SPN file to Arduino

Posted: Wed Apr 08, 2020 7:42 am
by DrAlx
Look at what I posted here...

https://www.diystompboxes.com/smfforum/ ... msg1156740

Included in the zip is the Arduino program to write to EEPROM and instructions on how to use with output from SpinASM. Note that to use it you must make SpinASM output a header file, rather than a HEX file. You also need to make some text edits to the header file. The instructions are in the comments in the Arduino program (MyEEPROMBurner.ino).