MARF 248r source code available

Discussing some incredible modules that don't quite fit into the other forum categories.

Moderators: Joe., lisa, luketeaford, Kent

User avatar
Drillionaire
Wiggling with Experience
Posts: 344
Joined: Mon Jan 26, 2015 7:35 pm

Re: MARF 248r source code available

Post by Drillionaire » Sat Feb 22, 2020 11:24 am

If a build for the Rev1 units gets made I would be happy to help test and contribute to the code base.

maxl0rd
Learning to Wiggle
Posts: 48
Joined: Mon Aug 05, 2013 1:51 pm

Re: MARF 248r source code available

Post by maxl0rd » Sat Feb 22, 2020 11:30 am

Hey Drills

We don’t really have any show stopper bugs for v1, so the focus is on v2. But if you think there’s something that can be improved, let us know about it. We have a v1 branch as well and the power to fix...

jimfowler
Veteran Wiggler
Posts: 505
Joined: Mon Feb 22, 2016 1:13 pm
Location: New York
Contact:

Re: MARF 248r source code available

Post by jimfowler » Sat Feb 22, 2020 2:03 pm

This is so awesome. So much of the missing functionality has been restored. Steve has done a bang-up job here so massive thanks to him for taking up the mantle.

As has been mentioned, you have to bridge pins 60 and 64 on the microcontroller card but once you've got Steve's firmware loaded future updates do NOT require the pin bridging so updating is as easy as pulling the module, connecting and updating. I've attached a picture of my very elegant bridging mechanism mainly to clarify which pins are 60 and 64 in case anybody needs to know.

- Jim
You do not have the required permissions to view the files attached to this post.

User avatar
stevenb
Common Wiggler
Posts: 134
Joined: Wed Dec 18, 2013 11:16 pm
Location: Nirvana Silly, California

Re: MARF 248r source code available

Post by stevenb » Sat Feb 22, 2020 5:39 pm

Drillionaire wrote:
Sat Feb 22, 2020 11:24 am
If a build for the Rev1 units gets made I would be happy to help test and contribute to the code base.
I can try and build it and see if it succeeds...

architexture
Learning to Wiggle
Posts: 21
Joined: Fri Nov 30, 2018 2:59 pm

Re: MARF 248r source code available

Post by architexture » Sat Feb 22, 2020 9:49 pm

I would love to help you with the testing on this.

I don't have an ST-Link programmer however. Would you be able to recommend one?

@weedywhiz ?

User avatar
ArguZ
Wiggling with Experience
Posts: 431
Joined: Sat Jun 06, 2015 7:03 am
Location: Copenhagen
Contact:

Re: MARF 248r source code available

Post by ArguZ » Sun Feb 23, 2020 4:10 am

My weapon of choice
Almost all Mutables need one
https://www.mouser.dk/ProductDetail/STM ... Ixq36q1BfC

weedywhizz
Super Deluxe Wiggler
Posts: 1127
Joined: Wed Oct 20, 2010 3:51 pm
Contact:

Re: MARF 248r source code available

Post by weedywhizz » Sun Feb 23, 2020 4:11 am

Yepp, exactly what I‘m using here
Buchla format cases & parts - www.samodular.com

User avatar
stevenb
Common Wiggler
Posts: 134
Joined: Wed Dec 18, 2013 11:16 pm
Location: Nirvana Silly, California

Re: MARF 248r source code available

Post by stevenb » Sun Feb 23, 2020 7:44 am

That's what I'm using too!

architexture
Learning to Wiggle
Posts: 21
Joined: Fri Nov 30, 2018 2:59 pm

Re: MARF 248r source code available

Post by architexture » Sun Feb 23, 2020 11:40 am

Awesome!! Thanks so much guys, I'll snag one and report back.

User avatar
stevenb
Common Wiggler
Posts: 134
Joined: Wed Dec 18, 2013 11:16 pm
Location: Nirvana Silly, California

Re: MARF 248r source code available

Post by stevenb » Sun Feb 23, 2020 12:36 pm

architexture wrote:
Sun Feb 23, 2020 11:40 am
Awesome!! Thanks so much guys, I'll snag one and report back.
Don’t forget
jimfowler wrote:
Sat Feb 22, 2020 2:03 pm
As has been mentioned, you have to bridge pins 60 and 64 on the microcontroller card but once you've got Steve's firmware loaded future updates do NOT require the pin bridging so updating is as easy as pulling the module, connecting and updating. I've attached a picture of my very elegant bridging mechanism mainly to clarify which pins are 60 and 64 in case anybody needs to know.

- Jim

architexture
Learning to Wiggle
Posts: 21
Joined: Fri Nov 30, 2018 2:59 pm

Re: MARF 248r source code available

Post by architexture » Sun Feb 23, 2020 1:57 pm

BTW I opened a couple of Pull Requests that I think might help.

;)

jimfowler
Veteran Wiggler
Posts: 505
Joined: Mon Feb 22, 2016 1:13 pm
Location: New York
Contact:

Re: MARF 248r source code available

Post by jimfowler » Sun Feb 23, 2020 2:29 pm

Anybody know of an easy-for-somebody-who-is-borderline-computer-illiterate way to load the firmware via MacOS? I've tried both versions of the official ST program and both install but neither will load/run.

User avatar
ArguZ
Wiggling with Experience
Posts: 431
Joined: Sat Jun 06, 2015 7:03 am
Location: Copenhagen
Contact:

Re: MARF 248r source code available

Post by ArguZ » Sun Feb 23, 2020 3:25 pm

Yeah, don't....use windows...parallels will work just fine

User avatar
cygmu
Super Deluxe Wiggler
Posts: 1452
Joined: Mon Feb 15, 2016 3:33 pm
Location: UK

Re: MARF 248r source code available

Post by cygmu » Sun Feb 23, 2020 3:37 pm

jimfowler wrote:
Sun Feb 23, 2020 2:29 pm
Anybody know of an easy-for-somebody-who-is-borderline-computer-illiterate way to load the firmware via MacOS? I've tried both versions of the official ST program and both install but neither will load/run.
Do you mean the new STM32CubeProgrammer software? I have used that quite happily on my Macs. I haven't built my MARF yet so can't tell you if it works on that but I don't see why not: it's programmed everything else I've connected it to. I'm on OS 10.14.6 and STM32CubeProgrammer 1.4.

architexture
Learning to Wiggle
Posts: 21
Joined: Fri Nov 30, 2018 2:59 pm

Re: MARF 248r source code available

Post by architexture » Sun Feb 23, 2020 3:39 pm

It looks as if some dependencies that are not included under the hood in MacOS need to be installed through homebrew.

I can let you know once my ST-link comes in (I refuse to use windows for anything, whether in a vm or not)

architexture
Learning to Wiggle
Posts: 21
Joined: Fri Nov 30, 2018 2:59 pm

Re: MARF 248r source code available

Post by architexture » Sun Feb 23, 2020 4:14 pm

Also @jimfowler did you see the comments in this thread about needing to jumper two of the pins on the board to program the firmware? It's a known issue.

User avatar
msprigings
Veteran Wiggler
Posts: 556
Joined: Sun Oct 09, 2011 2:06 pm
Location: Virginia

Re: MARF 248r source code available

Post by msprigings » Sun Feb 23, 2020 6:37 pm

Drillionaire wrote:
Sat Feb 22, 2020 11:24 am
If a build for the Rev1 units gets made I would be happy to help test and contribute to the code base.
The bugs for v1 are related to saving correct?

User avatar
stevenb
Common Wiggler
Posts: 134
Joined: Wed Dec 18, 2013 11:16 pm
Location: Nirvana Silly, California

Re: MARF 248r source code available

Post by stevenb » Sun Feb 23, 2020 9:54 pm

architexture wrote:
Sun Feb 23, 2020 3:39 pm
It looks as if some dependencies that are not included under the hood in MacOS need to be installed through homebrew.

I can let you know once my ST-link comes in (I refuse to use windows for anything, whether in a vm or not)
STM32cubeprogrammer, https://my.st.com/content/my_st_com/en/ ... eprog.html requires java version 1.8.0_241 to run properly. I had to remove the version of java that was on my Mac (v 13 something I believe) and download and install the proper version from the oracle website : https://www.oracle.com/java/technologie ... loads.html

jimfowler
Veteran Wiggler
Posts: 505
Joined: Mon Feb 22, 2016 1:13 pm
Location: New York
Contact:

Re: MARF 248r source code available

Post by jimfowler » Sun Feb 23, 2020 10:21 pm

architexture wrote:
Sun Feb 23, 2020 4:14 pm
Also @jimfowler did you see the comments in this thread about needing to jumper two of the pins on the board to program the firmware? It's a known issue.
Yeah, I’m the one who posted a picture of this a few posts up...

Steve swooped in and helped me get my programming program set up. I never would have figured it out (java something something) but thanks to him now I no longer have to schlep my work computer home.

Electrostatic
Veteran Wiggler
Posts: 544
Joined: Sat Aug 04, 2012 4:45 pm
Location: UK

Re: MARF 248r source code available

Post by Electrostatic » Wed Feb 26, 2020 6:28 am

Have just updated my REV 2.1s with the new firmware and just done a very quick check on the advance issue and clocking using stop (not firing gates) and they both work... Absolutely made up. :banana:
Will give it an in-depth test tonight or tomorrow.
Thanks so much to stevenb for tackling this. It's very much appreciated. :hail:

mestlick
Common Wiggler
Posts: 89
Joined: Mon Nov 23, 2015 11:33 am
Location: Colorado

Re: MARF 248r source code available

Post by mestlick » Wed Feb 26, 2020 3:18 pm

I must have a Rev 1, because I can program stop on every step and externally clock and use the pulse outputs.

What does the "ref." output do on Rev 2 when a stage hits a programmed stop?
On Rev 1, the ref output falls from high to low during the time programmed, but then goes fully high once the stage stops.
This makes it all but useless when programming all stages to stop, and clocking externally.

I would love it if the ref output would stay low when a stage hits stop. Then the ref output could be used as an envelope when clocking externally.

User avatar
mutierend
Veteran Wiggler
Posts: 543
Joined: Tue Jan 24, 2017 12:21 pm
Location: Seattle, WA

Re: MARF 248r source code available

Post by mutierend » Thu Feb 27, 2020 9:02 pm

Never mind, I can't read. ;)

User avatar
stevenb
Common Wiggler
Posts: 134
Joined: Wed Dec 18, 2013 11:16 pm
Location: Nirvana Silly, California

Re: MARF 248r source code available

Post by stevenb » Fri Feb 28, 2020 5:24 am

Here's the latest alpha build. This one fixes a problem where the programmed pulse from AFG2 was incorrectly being sent to the AFG1 spigots instead. This build comes from the code in the MARF v2.5 repository located at https://github.com/wir35/marf/tree/v2.5

Enjoy,
Steven
MARF_v2.5a7.hex.zip
You do not have the required permissions to view the files attached to this post.

jimfowler
Veteran Wiggler
Posts: 505
Joined: Mon Feb 22, 2016 1:13 pm
Location: New York
Contact:

Re: MARF 248r source code available

Post by jimfowler » Sun Mar 01, 2020 7:24 am

Working well here. Anybody else wanna confirm?

User avatar
batchas
Super Deluxe Wiggler
Posts: 4552
Joined: Wed Nov 09, 2011 2:51 pm

Re: MARF 248r source code available

Post by batchas » Sun Mar 01, 2020 12:47 pm

msprigings wrote:
Sun Feb 23, 2020 6:37 pm
Drillionaire wrote:
Sat Feb 22, 2020 11:24 am
If a build for the Rev1 units gets made I would be happy to help test and contribute to the code base.
The bugs for v1 are related to saving correct?
Exactly.
Save is not working. Sometimes all LEDs will lit on when loading a preset. Sometimes you'll be able to go back to where you were (last settings), sometimes not.
I tried also with B248-v1.2.hex version. Same issue. Such a shame.

Is save/recall working on Rev 2? Is it something changed in the circuit, or is it solved via firmware if it works in Rev 2? If solved via firmware, than it should be easy to implement for Rev 1 248r.
FS: New Orgone Accumulator MK2 for BugBrand/FRAC
-----------------------------------
www.batchas.com

Post Reply

Return to “Buchla, EMS & Serge”