-
Notifications
You must be signed in to change notification settings - Fork 13
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
Zeotoforth on the #18
Comments
You gave me the idea to buy three WIO RP2040 mini Dev Boards in hopes that I manage to not break one of them when soldering them (I'm terrible at killing boards while soldering). I note from your posts on Forth2020 that you got zeptoforth running on one of your WIO RP2040's. Once I get my boards I will try to get the WiFi radio on it working with zeptoforth (it does not support it as of yet, but does have SPI support that can be used with it). |
OK! One failure mode: I have an oled hooked up to gpio 14/15 and have all of the files from the wiki Hello World example loaded oled.fs.txt. I concatenated them in order and set them up to compile-to-flash ... but that was just a convenience. Running: Note: I have the draw-string arguments out of order there .. with
Several times in succession yields the Following: and on the serial console it yields: The last run crashed the chip so it no longer responds on usb. Sometimes it's failing with:
on the usb console ... I wonder if there's a memory/stack exhaustion issue with error cases some where .. or the console is falling back to serial and dropping usb .. I just got it to reboot from the serial side through a debug probe even though it was using a serial console. Also, I'm not seeing stack traces on the USB console at all, they only show up on the serial side ... Could that be what's going on? Something crashes out the USB stack and it's falling back to serial entirely? |
It could also be a red herring .. the situation I ran into this with might just not be easily recoverable ... though it is annoying you can't get stack traces on the USB side .. |
@arlaneenalra The wordlist order overflow message is because each time you ran your code, you pushed more wordlists onto the current wordlist order. Sooner or later it will overflow. A good way around this is to use the following:
That way your code will be in the default wordlist but will pop |
@arlaneenalra About the stack traces on the serial console only, that is because they are generated with the bare minimum functionality, as they assume that the system is in an undefined state, and USB is just too complex for them (i.e. too likely to not work when the system is in an undefined state). |
That makes sense and probably classifies as "do dumb stuff win dumb prizes"
kind of error ...
…On Mon, May 22, 2023, 18:48 tabemann ***@***.***> wrote:
@arlaneenalra <https://github.com/arlaneenalra> About the stack traces on
the serial console only, that is because they are generated with the bare
minimum functionality, as they assume that the system is in an undefined
state, and USB is just too complex for them (i.e. too likely to not work
when the system is in an undefined state).
—
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACYAPZD2LMZDBCP7DG556DXHP3LRANCNFSM6AAAAAAUPRNTWM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@arlaneenalra I should note that
is practically guaranteed to fail spectacularly; |
I currently use zeptoforth built for rp2040, version 0.59.4 s a hobbyist on a Cytron MAKER PI PICO.
Seeed also has the Wio RP2040 mini Dev Board with Onboard Wifi. I have 3 of these dev boards and I would like to use them with zepto forth instead of the installed MicroPython.
Will zeptoforth also work on the Wio RP2040 mini Dev Board with Onboard Wifi?
Will zeptoforth be able to access the AT command SPI interface allowing use of the WiFi integrated on this board using the ESP8285 chip?
I appreciate your help.
Christian Hinse
The text was updated successfully, but these errors were encountered: