New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberry Pi 1 nonfunctional #140
Comments
Can you try to make a diff between both commits? |
Unfortunately I didn't keep all the old builds. So will have to rebuild and bisect all commits until we know which one caused this. Maybe someone reading this has some free time and can do this somewhat tedious task? |
I "might" give it a go, I'll try to get on of the old ones and try with a DAC I have, that doesn't use GPIO pins (in the meantime, does anyone have the proper pinout for I2S in Raspberry Pi one? |
Also those on the master branch #140 (comment)
That'd be super useful. You can use the headphone output with pwm for this purpose.
We had started to brainstorm a pinout that works for all RPi models including 1 but never concluded the brainstorming: So if you'd like to propose one, that would be cool. Now that more than just 3 people are building MiniDexed rigs we should come up with the default pinout sooner rather than later. |
oh well, I2S connections are done outside standard GPIO, and only available for the SECOND rpi1 release as seen here: https://blog.sengotta.net/connecting-a-pcm5102a-breakout-board-to-a-raspberry-pi/ |
Luckily almost no one has the first RPi 1 release. |
I think I still have some, let me check :P |
yup, have at least two of them (I'm a collector) |
Wow. You must have been a very early bird on the RPi train then 👍 |
* Keep all build artifacts Also those on the master branch #140 (comment) * Include git hash in filename
yeah, I've met one of the developers (Rob Bishop) in a conference here in Portugal |
back in 2012 |
Getting back to debugging, I've just connected my Raspi 1 to an HDMI display Doesn't make a sound but it's also NOT locked up |
How do you know? |
with full debug, if you have a midi keyboard connected, pressing keys show them on screen |
Interesting, it didn't seem to do that for me... are you sure you have configured pwm output on yours? (For the headphone jack). In case your HDMI screen has speakers, try that as well please. |
PWM is selected, HDMI screen does not have speakers |
Looks like it is |
yes, bisecting to that produces sound indeed (on PWM) |
To ease your pain, I am working on netbooting the MiniDexed firmware :-) |
networking is neat for syslog debugging but if you want me to bisect to another point, I'l test it |
"Bisect" means:
|
that only works once, next boot is done using uploaded kernel file |
Correct. But you can replug power and then upload another one. Saves dealing with the SD card. |
ok, gotcha (now I'll need a reset button) |
yeah, THANKS this works so much better!!! also this? a VERY nice touch! |
I "know" I'm doing things wrong. However, I think that bisecting to an earlyer build would require "submodule clean and recompile" and I might been doing this wrong so, after an hour of tests, I didn't come to any conclusion |
no, not really you see, sometimes when I "git bisect bad" and it goes to another commit, it gives out compile errors. my solution for now is to "git submodule update --init --recursive" but even that fails sometime so, unless I'm being VERY dumb, I don't get it why going back in time makes compiles to fail... |
You must make sure that the git submodules get up/downgraded to match what the respective version of MiniDexed needs. https://github.com/HaxeFoundation/haxe/wiki/Finding-breaking-commits-with-git-bisect |
help is apprece git submodule update ated |
restarting the process :) |
well, you know what? it now works with teh most recent commit, can you test with yours? |
yup, it works in RPI1 (PWM) using TFTP booted kernel file |
HDMI too? |
maybe, let me test (it's a pain to setup) |
yes, HDMI also produces sound whatever it was, it was fixed... did we have a Synth_Dexed update in the meantime? |
I am puzzled. Can it be that only our self-compiled ones work but the downloaded compiled ones don't? |
And does it make a difference wheher you load it via Ethernet or SD card? |
dunno, will test that later |
Starting to consider that I might have fried 2 RPI 1s... |
I've not really followed the versions and thrust of this conversation in detail, so apologies if this is irrelevant, but it if is any help, release MiniDexed_2022-04-16 is working fine on my Raspberry Pi Model B V1 using built-in PWM, LCD 1602 display and a rotary encoder. I've had to move the encoder to GPIO pins 9-11 of course; I've moved LCD RS to GPIO 4 and am not using the LCD RW link (it is just set to GND)... But from booting off SD card, I'm selecting voices, have working USB MIDI (I've not tried serial MIDI), and the encoder, display and sound all seem fine for me? If it is useful and you want me to test a specific downloaded version/build just let me know and I can give it a go... |
Thanks for your help testing this. Raspberry Pi Model B V2 using built-in PWM/HDMI, LCD 1602 display and a rotary encoder also working well. Cannot reproduce anymore. Perhaps I had a bad SD card? Tested using the build from Apr 23 2022. |
Can I ask what the conclusion was to this problem? I have a Pi 1 and the build from Apr 30, 2022, 20:52:10 that I downloaded exhibits the same problem as the first message in this issue:
I don't have an LCD or Encoder connected and I'm using PWM audio for a quick performance test on my Pi 1. I'm using an M-Audio Keystation Mini 32 and I have Is it worth me trying my own build rather than using the downloaded one? |
Have you tried a recent build? I helped testing this and did not come to any conclusion, all home built versions worked fine. Then I tested a new build, about when MicroDexed was updated and apparently (to me at least) it seemed to be the root cause. But I might be totally wrong and the problem may persist, haven't retested for a while |
The latest version from 9th May does the same thing. Sorry if this is a stupid question but the "Building locally" page of the wiki refers only to the Pi 4. Is there an equivalent for the Pi 1? Alternatively is there a way of running the |
I just "export RPI=1" and run "./build.sh" on my Linux desktop |
OK, thanks. I did the following, starting from a clean install:
I then copied |
yup, it does look like, you've compiled it correctly I can't test it today, will try to do it tomorrow |
Just some ideas since when I had tested this the last time I came to the conclusion that it was not a software issue but I wasn't able to reproduce the issue anymore.
|
Raspberry Pi 1 seems to be nonfunctional since at least 2022-04-05:
The last message is
minidexed: Serial MIDI interface enabled
, thereafter it seems frozen.On 2022-02-28 it was definitely working:
#12 (comment)
Raspberry Pi Zero continues to work, also in the latest builds.
What gives?
The text was updated successfully, but these errors were encountered: