MUFF WIGGLER Forum Index
 FAQ & Terms of UseFAQ & Terms Of Use   Wiggler RadioMW Radio   Muff Wiggler TwitterTwitter   Support the site @ PatreonPatreon 
 SearchSearch   RegisterSign up   Log inLog in 
WIGGLING 'LITE' IN GUEST MODE

DIY 4ms SMR
MUFF WIGGLER Forum Index -> Music Tech DIY Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next [all]
Author DIY 4ms SMR
AlanP
What was the issue?
GaloBa
the issue was the stlink to 4-pin(SWD) plugging.
3.3 V to Vcc.
SWDCLK to Pin 9 (TCLK).
GND to Pin 6 (GND).
SWDIO to Pin 7 (TMS)

Unfortunatily, now I have another issue. https://www.youtube.com/watch?v=RrMg6glKSwc

As u can see at the video, the flashing process is apparently OK. But unplugging STLink and Power (12V), and repowering the module, it seems like the program flies away.... hmmm..... hmmm..... hmmm..... hmmm.....
GaloBa
IT is alive It's peanut butter jelly time! It's peanut butter jelly time! It's peanut butter jelly time! It's peanut butter jelly time! It's peanut butter jelly time!
https://www.facebook.com/galoternura69/videos/1175298325914678/
mattfearsatan
GaloBa wrote:
the issue was the stlink to 4-pin(SWD) plugging.
3.3 V to Vcc.
SWDCLK to Pin 9 (TCLK).
GND to Pin 6 (GND).
SWDIO to Pin 7 (TMS)


Thank you so much! I don't know what weird pin connections I was using previously, but this one is right. Yay, now I have a working SMR (apart from the LED on the sixth slider doesn't come on, but I can live with that/figure out what I've messed up)
Delabelle
Hello everybody, can somebody tell me which sliders i need now for the smr. On the github BOM there are 50K sliders and on the BOM here there is mentionned 100K sliders? And what do you know, I ordered parts like on Github.
danielanez
WOW, just read the whole thread. Thanks everyone for all your information and comments, and even the disagreements on licencing where very informative!

Wanted to hear back from successful builders about two issues in the thread:
1. the Knightbright LED: are they the right ones, or have they inverted corners?

2. Swapping of values of r124 and r126? Can anyone besides ishkabbible confirm?

Crossing my fingers not to screw up this one. It would be a 200$ fail!!!!
Stobbert
Is there a chance to download the combo.hex file somewhere? thx
gwpt
Hi, I know this thread is old but hoping someone can help

I've partially finished building my SMR (nothing top side yet) and wanted to give programming it a bash.

I've create the combo.hex file and I've made an SWD adapter cable for my ST-LINK v2

When I try and connect to the device (circuit powered and voltages seem ok) I get the following error in the STM32 ST-LINK Utilty app:

>> ST-Link/V2 device detected
>> Target voltage detected: 3.205748
>> Error getting target IDCODE: if SWD, check SWD connection
>> Error (4) while initializing ST-Link in SWD mode

Any tips or pointers would be appreciated.

Should I be holder down the S1 (Boot0) when I apply the power?
Do I need to do any other button presses (reset?) after power up?
Should I connect the +12v/-12v power or is it powered from the programmer?
Should the SWD frequency be 4mhz?
Should the programmer mode be 'normal / software system reset'?

Thanks
zorglub76
@gwpt, you only need to connect the module to eurorack PSU, connect SWD to ST-Link and flash the bin (or hex - I have no idea what's the difference) file. No buttons needed.

Or at least I think so. I flashed the firmware that way, I can see the lights, rotate them using encoder, spread them using the pot, slow them down using the morph pot. I can light the ENV leds using "freq nudge" pots.

My problem is that ENV leds stay off, and I can't hear any sound (no white noise when I make that most basic patch). I think that output is ok, but something that makes those ENV leds off, also prevents any sound escaping the chip.

Any ideas, anyone?
sillyhatsclub
question for any of y'all kind enough to lend a hand:

i just picked up a DIY SMR built by someone else and when i try to update the firmware to v5, the process appears to work but then once i go to use the SMR, the rotate knob becomes almost totally unresponsive as do the morph/spread. I bumped it back down to v4 and everything seems to be working fine again, but i'm wondering if anyone knows why v5 might be having an issue and if there are any steps i can take to try and solve this?
danielanez
I started my SMR today, soldering only the power section. Tomorrow I'll check my voltages and continue with CPU. I see the last 3 questions in this forum have gone mostly unanswered, and that posts stopped happening regularly in 2017... Hopefully, if I ever need any of you, you'll happen to be checking out this thread for old times sake...
veets
danielanez wrote:
I started my SMR today, soldering only the power section. Tomorrow I'll check my voltages and continue with CPU. I see the last 3 questions in this forum have gone mostly unanswered, and that posts stopped happening regularly in 2017... Hopefully, if I ever need any of you, you'll happen to be checking out this thread for old times sake...


I'm glad you posted this. I didn't even know there was such a project, though now I see there are occasional SMR assembly workshops sponsored by 4MS. Did you have any trouble sourcing parts?
danielanez
veets wrote:
Did you have any trouble sourcing parts?


Up to now, no. But I'm building it little by little and ordering little by little. I'm building two at the same time. So for the moment, I bought only the components for the Power and the CPU sections, which are 17. I did the power section of one two days ago and I have to spend some time checking the voltages before I do the other one.

Right now, I'm reading through this thread and wondering where the Kingbright LED issue ended. Are they the good ones? Or do they have the colours inverted? Or the anode? Anyhow, I won't worry about that for the moment. Anyhow, I'm going to try mine to have the right colours. I took out the BOM from the content of this thread. In the BOM I took, there was no Mouser number for the USB port, but I looked the reference given in the BOM, and found that Mouser had it. It's:

200-MUSB05FBSMATR

But up to now, everything seems a Mouser thing, excepting the Thonk jacks and the headers.
veets
Best of luck to you. Please keep us updated on your progress.
jonbutler88
Sorry to necro this thread (again), but could anyone give any more details about the debugging process for a factory SMR unit using the ST-Link v2 programmer? I'm using the pinout mentioned further up this thread:

3.3 V to Vcc.
SWDCLK to Pin 9 (TCLK).
GND to Pin 6 (GND).
SWDIO to Pin 7 (TMS)

I'm using pin 19 for the Vcc as it's marked as 3.3v, and using this I can power up the SMR board from the ST-Linkv2 with no problem, but I can't get either the St-Link utility or Keil to recognise the board or break and halt the CPU. I have a few specific questions:

* Do you have to power the module from the eurorack PSU to program and debug the STM32 chip on the SMR? If so, do you also connect the 3.3v Vcc and GND pins during this process?
* Does anyone have the set of correct configurations for the ST-Link utility to talk to the chip? E.g. Modes, speeds, Normal / Hotplug / Connect under reset?
jonbutler88
Answering my own question - the pinout I was using was almost correct, except I should have been using Pin 1 or 2 for Vcc instead of Pin 19. This won't actually power the SMR from the programmer, but it will detect power (and the programmer needs this signal to work). As a result, the module also needs to be powered on from the standard eurorack power supply.

After connecting things up correctly, the programmer recognised the chip with no problem in the standard configurations in both ST-Link Utility and Keil.
jgoney
I have a couple questions for those of you have have built this or have a retail one. Just trying to clarify whether mine is working correctly, or if I need to revisit my build for debugging:

1. I used this encoder, and when I rotate it, it double triggers, i.e., it skips two notes instead of just one. I don't guess this is normal, so does anyone have any idea why this might happen?

2. Channels 1, 3, and 5 are a bit sharp with nothing patched and the nudge pot at minimum. I've seen other posts about this. Could it just be poor tolerance of the nudge pot creating a voltage offset at the ADC? Is there any way to calibrate this to compensate for this?

3. The output of this (with nothing patched in the inputs) and even with Q at maximum seems low (~2Vpp) compared to other Eurorack modules. Is this normal or is it possible I have a problem with the build somewhere?

Thanks!
duno
Does anyone have a front panel layout by any chance?
j450nn014n
duno wrote:
Does anyone have a front panel layout by any chance?


There's a Facebook group SMR group buy. The person running that may have info on panel layout.
Altitude909
attached.
duno
Altitude909 wrote:
attached.


Thanks!
rthorntn
Hi All,

To the people who have built this, did you go in a particular order of components and what type of soldering tip did you use?

I have soldered the CPU, DAC, LED drivers and Opamps under a stereo microscope with a hoof tip.

I ordered the SMT power module by mistake and so I'm waiting for the PTH.

What soldering order worked for you all, diodes, caps then resistors?

I'm tempted to solder an area at a time (diodes, caps, resistors), sort of soldering in a circle around the IC's, so that I can leave some space for the tip, thoughts?

Has anyone just done say all 114 of the 1K resistors one after the other and then moved on to all of another value?

Any other tips?

It's going to be a very slow build.

Thanks.

Richard

PS: I have smr_rear27.jpg as my desktop background, using some of that Sun Tzu wisdom.
d.simon
rthorntn wrote:


Any other tips?



I've heard during debug with continuity check...some people fry the MCU with a voltmeter - something like the continuity check from the multimeter output too high a voltage...like 3.3v vs 5v?

rthorntn wrote:

PS: I have smr_rear27.jpg as my desktop background, using some of that Sun Tzu wisdom.


Yeah ... I like that 4ms has those back shots of their modules. some sort of engineering/gear porn for a certain segment of the population.
rthorntn
Thanks d.simon.

It seems the "google" consensus is a cheap DMM would do that, if you have a good DMM with low voltage and current for continuity checks then its more likely to be ESD, no?

Update - I checked and my 121GW continuity mode is 2.5V open and 0.57mA shorted. Modern IC's should have basic clamping diode protection on I/O ports the web says that's good up to at least 2kV and 5mA.
danielanez
Hello rthorntn,

I'm also building one myself at this time. I finished soldering Power and CPU sections, and I'm waiting for a friend's help to upload the firmware. I'm building two at the same time, one for him, one for me.
MUFF WIGGLER Forum Index -> Music Tech DIY Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next [all]
Page 9 of 10
Powered by phpBB © phpBB Group