Skip to content
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

Micro:bit V2 #1

Open
ctmalan opened this issue Jun 21, 2022 · 3 comments
Open

Micro:bit V2 #1

ctmalan opened this issue Jun 21, 2022 · 3 comments

Comments

@ctmalan
Copy link

ctmalan commented Jun 21, 2022

I have started a little project on the micro:bit. It is a slow WIP at https://makeprojects.com/project/get-the-bbc-microbit-to-speak-mecrisp-forth-over-bluetooth.

Did you build your try for the micro:bit V1?

Did you need to change anything to get it working on V2?

c-:

@wa1tnr
Copy link
Owner

wa1tnr commented Jun 21, 2022

I was pleasantly surprised to find how well mecrisp worked on a target I already owned (V1.5). I really like this implementation. ;)

Only V 1.5 has been used here (in my 'lab') - that's the only micro:Bit hardware I own.

V2.0 won't work, to my knowledge. Or, it'll work without modification of mecrisp working on V1.5.

I think I saw a fundamental reason why V2.0 won't work but I don't remember the details.

I looked over this repository (just now, using 'gitk') - I changed only one line of code from the upstream version; that one line was cosmetic (I wanted it to print a message letting me know I was using my local copy of it, with possible changes) (there aren't any, yet).

Adafruit sent V1.5 which turns out to be fortunate - it's the only version I know that works with mecrisp.

I may have seen something telling me V1.0 would work with mecrisp (not necessarily the version in this very repository).

Pretty sure I've seen nothing to suggest new work was done to let V2.0 work.

The reason I say that (that V2.0 is a non-starter here) is I had it in mind to buy up more instances of V1.5 since that one does work, and I wanted backup. I only have the one target board I got from Adafruit (probably > 1 year ago now).

OTOH it could have been a supply chain issue - maybe I did think V2.0 would work! Just don't remember.

refs

upstream - the code in my repository came from here:

https://github.com/juju2013/mecrisp-stellaris.git

cosmetic change (one line only):

 git show 6ec0c7f

commit 6ec0c7f9693b5339ab734bc0a05451bcd96c3796
Author: wa1tnr
Date:   Sun Mar 20 00:23:57 2022 +0000

    writeln cosmetic change only

diff --git a/mecrisp-stellaris/mecrisp-stellaris-source/microbit-ra/mecrisp-stellaris-microbit.s b/mecrisp-stellaris/mecrisp-stellaris-source/microbit-ra/mecrisp-stellaris-microbit.s
index 4bfe65a..e055179 100644
--- a/mecrisp-stellaris/mecrisp-stellaris-source/microbit-ra/mecrisp-stellaris-microbit.s
+++ b/mecrisp-stellaris/mecrisp-stellaris-source/microbit-ra/mecrisp-stellaris-microbit.s
@@ -75,7 +75,7 @@ Reset: @ Einsprung zu Beginn
    .include "../common/catchflashpointers.s"
 
    welcome " with M0 core for Microbit by Matthias Koch"
-   writeln "Modified for nRF51822 by John Huberts (JIB)"
+   writeln "Modified for nRF51822 by John Huberts (JIB) built 19 Mar 2022 by wa1tnr"

END.

@RandoSY
Copy link

RandoSY commented Oct 25, 2023

Is there any more progress on getting v2 to work? thanks!

@wa1tnr
Copy link
Owner

wa1tnr commented Oct 29, 2023

Have not looked at it lately. I'm not working on it (I don't have the hardware; v1.5 was working when I used it last).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants