Comments (16)
Resolved this issue, reference the first problem with openocd repo being down: #22
Once re-installing openocd from the secondary source within the makefile, I was able to execute 'make install' and received the same error code as @panfriedcharlie ...
Then after inspecting the PCB I found that the STM chip pin 1 is not located to the upper-left when facing text on the IC. Instead, it is registered with the indentation. After rotating the chip on the board I was able to flash the firmware.
I'm all set!
from open-nsynth-super.
The default user is pi , and the password is raspberry.
from open-nsynth-super.
In the lite image the directory was also /home/pi/open-nsynth-super/firmware/src
The -master would only be relevant if you were downloading the source files on a fresh image as that is what the guide seems to be based on.
A problem may be that you must run make before make install?
$ cd /home/pi/open-nsynth-super/firmware/src
$ make
$ make install
from open-nsynth-super.
@KyleWerle thanks so much for your reply. I tried running "make" and I get:
make: Nothing to be done for 'all'.
I tried the lite build this time and still got after I tried "make install":
Error: Could not initialize the debug port
TargetName: stm32f0x.cpu
Type: cortex_m
Endian: little
TapName: stm32f0x.cpu
State: unkown
adapter speed: 1001 kHz
Info: SWD DPIDR 00000000
Error: Could not initialize the debug port
Error: Target not examined, will not halt after reset!
TARGET: stm32f0x.cpu - Not halted
in procedure 'reset' called at file 'openocd.cfg", line 22
in procedure 'ocd_bouncer'Makefile:40: recipe for target 'install' failed
make: *** [install] Error 1
Any thoughts? A few notes:
I see a lightning bolt in the upper right-hand corner of the screen. I'm using a pi 3 specific power adapter. Could that cause such an issue?
Also, should the OLED light up at all when plugged into HDMI before firmware install? It does not, does that mean something is screwy or does it need the firmware and hardware controllers to work?
Thanks again!
from open-nsynth-super.
The STM firmware is what connects all the controls and oled screen to the rPi. To utilize all of those you will need to write the STM firmware.
It sounds like you are having a connection issue between the STM board and your rPi. Possibly double check the board? Is it the correct STM chip? Solder bridges? There are 2 STM chips that should be compatible.
from open-nsynth-super.
Thanks @KyleWerle! I reflowed the ICs and Pi socket. Still no luck. Time to sit down and have a really close look at everything! Thanks again for the advice.
from open-nsynth-super.
Good luck!
from open-nsynth-super.
@KyleWerle Okay, yeah, my dumb fault. After another reflow and some fastidious cleaning I was able to write the firmware. Seems to be working okay now...
from open-nsynth-super.
I'm at the same step now and having difficulty with the make process as well. I'm also using the lite image. I was able to successfully run make, when invoking make install I receive an error:
BCM2835 GPIO nums: swclk = 25, swdio = 24
BCM2835 GPIO config: srst = 23
srst_only separate srst_gates_jtag srst_push_pull connect_deassert_srst
srst_only separate srst_nogate srst_push_pull connect_deassert_srst
adapter_nsrst_delay: 100
adapter_nsrst_assert_width: 100
Info: BCM2835 GPIO JTAG/SWD bitbang driver
Info: SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode)**Error: An adapter speed is not selected in the init script. Insert a call to adapter_khz or jtag_rclk to proceed.
Makefile:40: recipe for target 'install' failed
make: *** [install] Error 1**
So, after some Googling, I added the line into the openocd.cfg file...
adapter_khz 1001
From looking at the post above and seeing that 1001kHz was the selected adapter speed. But still, no dice... It's now exiting with:
_BCM2835 GPIO nums: swclk = 25, swdio = 24
BCM2835 GPIO config: srst = 23
srst_only separate srst_gates_jtag srst_push_pull connect_deassert_srst
srst_only separate srst_nogate srst_push_pull connect_deassert_srst
adapter_nsrst_delay: 100
adapter_nsrst_assert_width: 100
Info: BCM2835 GPIO JTAG/SWD bitbang driver
Info: SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode)
Info: clock speed 1001 kHzError: BUG: current_target out of bounds
Makefile:40: recipe for target 'install' failed
make: *** [install] Error 255_
Long story short, would someone on this thread who had a successful firmware flash care to show me what the openocd.cfg file looked like? To my eyes it looks like it's simply not the right *.cfg that I'm using as the TargetName: stm32f0x.cpu isn't being found??
from open-nsynth-super.
I'm wondering if this is any way related to the fact that I had to use a mirror site for installing openocd yesterday.... The version I am using is Open On-Chip Debugger 0.10.0 -- Could someone confirm which version of openocd ended up working?
from open-nsynth-super.
@SarahHopeB I almost had that same issue. I second-guessed myself and zoomed waaay in on the build photos to check the dot orientations. Still too lazy to look up the pins and check the schematics. Glad you were able to solve the problem!
from open-nsynth-super.
I ended up lining the dot / orientation marker on all the parts with the very small extra line on the silkscreen for the ICs.
from open-nsynth-super.
from open-nsynth-super.
We just need open source telescopic retinal enhancements and we'd be good.
from open-nsynth-super.
Hey. So I used this image and it is asking for a login and password. Any ideas?
from open-nsynth-super.
from open-nsynth-super.
Related Issues (20)
- Struggling to compile Pi3b+ HOT 4
- broken voltage regulators (U4-U5-U6) (bad Tindie batch) - FIXED HOT 2
- The following libraries were not found:
- Silkscreen for the GPIO Header is on top rather than the bottom
- MIDI notes issues
- Make install stm32x device protected error HOT 1
- nsynth_generate fails due to wrong shape - "Encoding file should have 2 dims [time, channels], not 3" HOT 4
- why the mp3 conversion? HOT 3
- all controller is ok , but no sound HOT 3
- Audio Pipeline Bazel Build HOT 1
- nice-to-have: 3D printable enclosure
- Contents of OLED too far left - first column of pixels missing
- Upgrading hardware to 1.2 - wire encoder switches HOT 3
- Raspberry Pi 3B image
- Black OLED screen and no sound
- Rasberry pi 4 HOT 1
- NSynth Samples lib HOT 3
- NSynth not receiving MIDI?? HOT 1
- where i cant find the version of the Nsynth with touchscreen
- @magenta/music sun
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-nsynth-super.