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

Issue Monterey MacOS 12.x, most recent release #16

Open
RandoSY opened this issue Jan 23, 2023 · 12 comments
Open

Issue Monterey MacOS 12.x, most recent release #16

RandoSY opened this issue Jan 23, 2023 · 12 comments

Comments

@RandoSY
Copy link

RandoSY commented Jan 23, 2023

Speaking of rp2040

Builds fine, loads OK except for complaining about being unmounted improperly, but I can't see new usb serial device in ls /dev?

Latest micropython installs, runs fine.

Thanks, great tool!

@RandoSY RandoSY changed the title Issue Monterey MacOS 12.x, most recent releasw. Issue Monterey MacOS 12.x, most recent release Jan 23, 2023
@RandoSY
Copy link
Author

RandoSY commented Jan 23, 2023

Seems to build OK? Sorry messy listing. 23 JAN 2023

`(base) admin@admins-Mac-mini zeptoforth % make device=rp2040

much ...

arm-none-eabi-objdump -D ../../zeptoforth.rp2040.elf > ../../zeptoforth.rp2040.list
arm-none-eabi-objcopy ../../zeptoforth.rp2040.elf ../../zeptoforth.rp2040.bin -O binary
arm-none-eabi-objcopy ../../zeptoforth.rp2040.elf ../../zeptoforth.rp2040.ihex -O ihex
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C boot
arm-none-eabi-as -g -o ../../../obj/boot.rp2040.o boot.s
arm-none-eabi-ld ../../../obj/boot.rp2040.o -T boot.ld --cref -Map ../../../boot.rp2040.map -o ../../../boot.rp2040.elf
arm-none-eabi-objdump -D ../../../boot.rp2040.elf > ../../../boot.rp2040.list
arm-none-eabi-objcopy ../../../boot.rp2040.elf ../../../boot.rp2040.bin -O binary
arm-none-eabi-objcopy ../../../boot.rp2040.elf ../../../boot.rp2040.ihex -O ihex
./boot_with_checksum.py ../../../boot.rp2040.bin ../../../boot_with_checksum.rp2040.bin
./make_uf2.py ../../boot_with_checksum.rp2040.bin ../../`

@RandoSY
Copy link
Author

RandoSY commented Jan 23, 2023

Window 11 machine doesn't see it either ... wondering where *.uf2 binary is?

@RandoSY
Copy link
Author

RandoSY commented Jan 23, 2023

@tabemann
Copy link
Owner

tabemann commented Jan 23, 2023

The UF2 file is in the release tarball at zeptoforth-VERSION/bin/VERSION/rp2040/zeptoforth_full-VERSION.uf2 where VERSION is the version of the release you downloaded. Once you use the USB Mass Storage device to upload the UF2 file, use a USB serial device connected to pins 1 (GPIO 0, UART0 TX) and 2 (GPIO 1, UART0 RX) and use a terminal emulator (I recommend zeptocom.js, if you have access to Chrome or Chromium; as a web terminal it is online at https://tabemann.github.io/zeptocomjs/zeptocom.html) to connect to the resulting USB CDC device.

As for building zeptoforth by yourself, by default it puts the UF2 image at zeptoforth.rp2040.uf2 at the base directory path. However I do not recommend this approach unless you plan on creating a new release on top of it as that is just the zeptoforth kernel alone, which is not very functional by itself.

@RandoSY
Copy link
Author

RandoSY commented Jan 23, 2023

OK thanks, I got it. I need to use an additional USB2TLL converter to talk serial, I naively assumed that an usb instance would be created as it is in Micro and Circuit python. :)

@RandoSY
Copy link
Author

RandoSY commented Jan 23, 2023

I was able to apply this easily to the Cytron Maker Pi: rp2040 ... and it will be nice for robotic experiments.

IMG_0287

Can you point me to a simple Getting Started document ... I think I have a sane install??? Thanks again!

Screen Shot 2023-01-23 at 4 55 31 PM

@RandoSY
Copy link
Author

RandoSY commented Jan 23, 2023

This is the zeptoforth_full-0.59.3.uf2 image from today. I'm sure there is much to learn here.

Screen Shot 2023-01-23 at 5 19 37 PM

@RandoSY RandoSY closed this as completed Jan 23, 2023
@tabemann tabemann reopened this Jan 23, 2023
@tabemann
Copy link
Owner

@RandoSY I should note that zeptoforth is meant to be used with a terminal that supports ANSI colors, such as zeptocom.js, or picocom on top of a typical terminal program such as Terminal.app. That is why you were seeing such ugly garbage, because the terminal program you were using clearly does not support ANSI colors.

@RandoSY
Copy link
Author

RandoSY commented Jan 24, 2023

Yes, I see that, really neat project ... shows a tremendous amount of thought.

@tabemann
Copy link
Owner

Thank you!

@tabemann
Copy link
Owner

I hope you find zeptoforth useful - while, as the say, free software projects are typically written for their own authors first and foremost, I always hope that someone else will get some use out of zeptoforth. If you have any comments or suggestions, or run into any issues, feel free to bring them up here. (Yes, there's the first and foremost suggestion that I have gotten, which is adding USB CDC console support, and that will happen someday, I know...)

@RandoSY
Copy link
Author

RandoSY commented Jan 25, 2023

There is a very nice blend of the past and future, block editor on one hand, all kinds of support for multiprocessing/tasking, and message passing on the other. Be happy to share what I learn, I have a lot of various rp2040 hardware as they are not expensive, and still easy to get.

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

2 participants