RP2040 Multitasking / Mecrisp Forth / Tiny2040

Поділитися
Вставка
  • Опубліковано 12 вер 2024
  • This video will describe how to run a multitasker on the RP2040 microcontroller. The multitasker is co-operative in a round robin scheme where each task yields to the next task. The multitasker runs under the Forth operating system where it is interactive for easy development.
    Mecrisp Forth:
    sourceforge.ne...

КОМЕНТАРІ • 25

  • @gregt58
    @gregt58 3 роки тому +1

    Thanks for continuing to provide tutorials on implementing Forth on different microcontrollers.

    • @0033mer
      @0033mer  3 роки тому

      You are welcome! Thanks for the feedback.

  • @PerScientiaAdAstra
    @PerScientiaAdAstra 3 роки тому +3

    Again, 0033mer & mecrispForth, great demonstration. Wonderful resource for those wanting to get into Forth on microcontrollers. Thank you, and keep up the good work!

    • @0033mer
      @0033mer  3 роки тому

      Glad it was helpful!

    • @TurnRacing
      @TurnRacing 3 роки тому

      @@0033mer is there any way I can hire you for a hall effect clutch paddle?

  • @PhG1961
    @PhG1961 3 роки тому +3

    Remarkable approach for programming a Tiny2040. Great ingenuity, interesting as usual.

  • @lucylastik1887
    @lucylastik1887 2 роки тому +3

    Back in the 80's I replaced my ZX81 Basic Rom with a Skywave Forth Rom. This gave to ability to divide the screen (TV!) into separate user defined fixed windows and have a different task running in each. Wish it was still around, it transformed that machine into something useful. Loved Forth so much I bought a Jupiter Ace as well. I'm looking to develop some automation for my telescope and quite fancy Forth on a microcontroller if only out of nostalgia!

    • @0033mer
      @0033mer  2 роки тому

      Thanks for sharing.

    • @paulskaar8556
      @paulskaar8556 2 роки тому +3

      Telescope automation ?? Mr. Moore would be proud.

  • @paulskaar8556
    @paulskaar8556 2 роки тому

    Fantastic.! Had to watch carefully to catch the "pause" invocation. Thanks!

    • @0033mer
      @0033mer  2 роки тому

      You're welcome!

  • @giacomospagna5721
    @giacomospagna5721 3 роки тому +2

    good video!

    • @0033mer
      @0033mer  3 роки тому +1

      Glad you enjoyed it

  • @myCloudWatcher
    @myCloudWatcher 3 роки тому +2

    Please provide a link to the code used. I am a long-time follower of Forth. Can not wait to write code for my board in Forth.

    • @0033mer
      @0033mer  3 роки тому +1

      sourceforge.net/projects/mecrisp/files/

  • @JonMcPhalen
    @JonMcPhalen 2 роки тому

    Do you have a recommended resource for learning Forth on a micro? I actually have a copy of Starting Forth by Leo Brodie that I bought in the 80s. I've long been fascinated by Forth, but have never gone beyond very simple stuff. My specialty is the Propeller family, but I'm comfortable with Assembly on that platform. Forth seems like a good way to get performance out of platforms I'm not as intimate with.

    • @0033mer
      @0033mer  2 роки тому +1

      Hi Jon.. Starting Forth is a good introduction but is a bit outdated when it comes to microcontrollers. I would first learn Flashforth on the Scamp3 board which you can get here: www.tindie.com/products/johncatsoulis/scamp/
      It is running on a PIC microcontroller and has support for I2C SPI UART GPIO and ADC onboard so it simplifies coding when building a project. There are getting started tutorials on the udamonic web site here: udamonic.com/what-is-a-scamp.html
      Check out some videos I has posted on You Tube:
      udamonic.com/scamp-projects-on-youtube.html
      There are also tutorials on the Flashforth website:
      flashforth.com/tutorials.html
      There is also support by the designer of the Scamp3 board.
      Email is on his website: Udamonic.com
      Have Fun!

  • @frans-pietervonck3302
    @frans-pietervonck3302 2 роки тому

    From the readme file "No support for second CPU core or USB terminal included yet" It seems that all the tasks can only be running on one core.

    • @0033mer
      @0033mer  2 роки тому

      Yes, it is a round robin multi-tasking scheme on one core as indicated in the video. For multi-tasking using 8 cores check our the Parallax Propeller:
      ua-cam.com/video/KJoS9O5DYzM/v-deo.html

  • @fifaham
    @fifaham 3 роки тому

    Nice video, what are practical application for this board?

    • @0033mer
      @0033mer  3 роки тому +1

      The RP2040 is a new micro-controller that has just been released and can be added to the large list of available micro-controllers that you can choose from for your projects.
      Check out the last 10 videos on my channel for application examples. Here is one of them: ua-cam.com/video/CULas2y_sXI/v-deo.html

    • @fifaham
      @fifaham 3 роки тому

      @@0033mer Thank you so much for your reply.

  • @bikashgururandom
    @bikashgururandom 3 роки тому

    Sir , please give hindi substile