Giter Site home page Giter Site logo

Comments (16)

SarahHopeB avatar SarahHopeB commented on June 26, 2024 1

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.

KyleWerle avatar KyleWerle commented on June 26, 2024 1

The default user is pi , and the password is raspberry.

from open-nsynth-super.

KyleWerle avatar KyleWerle commented on June 26, 2024

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.

panfriedcharlie avatar panfriedcharlie commented on June 26, 2024

@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.

KyleWerle avatar KyleWerle commented on June 26, 2024

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.

panfriedcharlie avatar panfriedcharlie commented on June 26, 2024

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.

KyleWerle avatar KyleWerle commented on June 26, 2024

Good luck!

from open-nsynth-super.

panfriedcharlie avatar panfriedcharlie commented on June 26, 2024

@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.

SarahHopeB avatar SarahHopeB commented on June 26, 2024

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 kHz

Error: 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.

SarahHopeB avatar SarahHopeB commented on June 26, 2024

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.

panfriedcharlie avatar panfriedcharlie commented on June 26, 2024

@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.

KyleWerle avatar KyleWerle commented on June 26, 2024

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.

SarahHopeB avatar SarahHopeB commented on June 26, 2024

from open-nsynth-super.

KyleWerle avatar KyleWerle commented on June 26, 2024

We just need open source telescopic retinal enhancements and we'd be good.

from open-nsynth-super.

USERxUNKNOWN avatar USERxUNKNOWN commented on June 26, 2024

Hey. So I used this image and it is asking for a login and password. Any ideas?

from open-nsynth-super.

SarahHopeB avatar SarahHopeB commented on June 26, 2024

from open-nsynth-super.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.