Author Topic: FV-1 and Mac  (Read 6616 times)

rockola

Re: FV-1 and Mac
« Reply #20 on: April 23, 2020, 02:15:52 AM »
I've not seen an assembly language that uses floating point before
Common in DSP processors. Did a DSP course where we used TMS320x processors back in the 90s. Had to write a pink noise generator in assembly. Don't remember much of it but I do remember there were lots of instructions for floating point arithmetics.

ElectricDruid

Re: FV-1 and Mac
« Reply #21 on: April 23, 2020, 04:13:00 PM »
I've not seen an assembly language that uses floating point before
Common in DSP processors. Did a DSP course where we used TMS320x processors back in the 90s. Had to write a pink noise generator in assembly. Don't remember much of it but I do remember there were lots of instructions for floating point arithmetics.

Fair enough. Just shows I've been at the bottom of the DSP food chain and only seen integer stuff!

Any least that means FV-1 SpinASM is a step *up*! Lol!


Edit: Using a floating point DSP for pink noise generation is cracking a nut with a sledgehammer. Here it is on a 8-bit integer chip: https://electricdruid.net/noise2-white-pink-noise-source/

« Last Edit: April 24, 2020, 07:23:44 PM by ElectricDruid »
  • SUPPORTER

pruttelherrie

Re: FV-1 and Mac
« Reply #22 on: April 24, 2020, 01:13:17 PM »
Hey guys, I packaged the pk2cmd with the Platypus tool ( https://sveinbjorn.org/platypus ). Platypus created a simple drop-app for flashing hex files. At the moment it only works with 24LC32A chips, that's hardcoded for now. Tested by patrick398 and myself, seems to work. Future work includes EEPROM-chip-selector. Maybe  ;)

* Download here: https://www.dropbox.com/s/qyj9vtmetj6s0m9/Pk2mac.app.zip?dl=0
* Unzip
* Right-click -> Open (since it's not a signed app)
* Drop hex files on window

That's it!

bartimaeus

Re: FV-1 and Mac
« Reply #23 on: June 19, 2020, 02:09:27 AM »
if anyone else wants to program a 24lc32 on mac without a pickit2, i'll second vigilante397 about those $10 ch341 programmers on ebay. real easy once you have the libraries installed. worth noting that the pedalpcb fv1 flash tool is this free software from github, since you can find some extra info at the source: https://github.com/stefanct/ch341eepromtool

and thanks for sharing that tool, pruttelherrie! i'm planning to pick up a pickit2 to mess with, so i'm interested to see if that's even easier to use than the ch341 (which does require the terminal).

patrick398

Re: FV-1 and Mac
« Reply #24 on: June 26, 2020, 05:37:12 PM »
if anyone else wants to program a 24lc32 on mac without a pickit2, i'll second vigilante397 about those $10 ch341 programmers on ebay. real easy once you have the libraries installed. worth noting that the pedalpcb fv1 flash tool is this free software from github, since you can find some extra info at the source: https://github.com/stefanct/ch341eepromtool

and thanks for sharing that tool, pruttelherrie! i'm planning to pick up a pickit2 to mess with, so i'm interested to see if that's even easier to use than the ch341 (which does require the terminal).

The programme pruttelherrie made is fantastic, really makes it so simple. Just just export the hex from spincad and drag it in the programme and it works like a charm every time

DoppelM

Re: FV-1 and Mac
« Reply #25 on: March 06, 2021, 08:26:06 AM »
Hi all!

Just found this older thread when researching how to start tinkering with FV1 / SpinCAD-Designer on Mac.
I'm just not shure if I missed something - I understood from Larry's readme that you can run SpinCAD-Designer directly, and was able to launch it, but my Mac froze when I tried to load one of the patches that comes with the git

I wasn't shure if the Git build and commons-io-2.4-bin.zip and elmgen-05.jar are necessary on top if you only want to use the SpinCAD-Designer? For some reasons, the build didn't seem to work completely.

Digital Larry

Re: FV-1 and Mac
« Reply #26 on: March 06, 2021, 10:25:51 AM »
I'm pretty sure you don't need to separately download those libraries unless you are planning to build the application.  Depending on the vintage of the spcd or spbk file there may be incompatibilities which cause the application to crash.

I just tried running the 1027 build on Big Sur 11.12.1, made a patch, saved it, loaded it in another slot, all good (didn't freeze my Mac anyway).

Check how to run the application in debug mode here:
https://github.com/HolyCityAudio/SpinCAD-Designer/blob/master/docs/running-spincad-designer-in-debug.mode.pdf

Tell me what you find out.  I don't promise to fix anything but I am curious.  I mostly use it on Windows but at least I have a Mac now to check.
« Last Edit: March 06, 2021, 10:32:13 AM by Digital Larry »
Digital Larry
Want to quickly design your own effects patches for the Spin FV-1 DSP chip?
https://github.com/HolyCityAudio/SpinCAD-Designer

DoppelM

Re: FV-1 and Mac
« Reply #27 on: March 06, 2021, 11:17:03 AM »
Awesome, thanks Larry!
It actually froze also when I tried to build a simple in-out-patch, but will check again and try debug mode :)

Digital Larry

Re: FV-1 and Mac
« Reply #28 on: March 06, 2021, 11:53:19 AM »
What do you get for your Java version?  It might want updating.

I get:

Larrys-MacBook-Air-2:~ larry$ java -version
java version "12.0.1" 2019-04-16
Java(TM) SE Runtime Environment (build 12.0.1+12)
Java HotSpot(TM) 64-Bit Server VM (build 12.0.1+12, mixed mode, sharing)
Larrys-MacBook-Air-2:~ larry$
Digital Larry
Want to quickly design your own effects patches for the Spin FV-1 DSP chip?
https://github.com/HolyCityAudio/SpinCAD-Designer