wa1tnr / try_mbit-a

mecrisp-stellaris Forth on micro:bit nRF51822 may 18 2022 uploading and sample forth source - personal experimentation wa1tnr March 2022
0 stars 0 forks source link

Micro:bit V2 #1

Open ctmalan opened 2 years ago

ctmalan commented 2 years ago

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 commented 2 years ago

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 commented 1 year ago

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

wa1tnr commented 1 year ago

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