• RP2040 / Pico shared ram?

    From john larkin@jl@glen--canyon.com to comp.sys.raspberry-pi on Thu Oct 3 15:32:17 2024
    From Newsgroup: comp.sys.raspberry-pi

    Given an RP2040 CPU with two ARM processors (we call them Alice and
    Bob), how can they talk to one another?

    We hate FIFOs. Is it possible for them to share a block of the SRAM?
    It would be cool if the two programs could both declare a struct and
    both be able to access it simultaneously. We's manage the access
    details ourselves, who writes to what variables.





    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Brian Gregory@void-invalid-dead-dontuse@email.invalid to comp.sys.raspberry-pi on Tue Oct 8 03:04:11 2024
    From Newsgroup: comp.sys.raspberry-pi

    On 03/10/2024 23:32, john larkin wrote:
    Given an RP2040 CPU with two ARM processors (we call them Alice and
    Bob), how can they talk to one another?

    We hate FIFOs. Is it possible for them to share a block of the SRAM?
    It would be cool if the two programs could both declare a struct and
    both be able to access it simultaneously. We's manage the access
    details ourselves, who writes to what variables.

    Don't they share all the RAM like any other 2 core processor would?
    --
    Brian Gregory (in England).
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Kees Nuyt@k.nuyt@nospam.demon.nl to comp.sys.raspberry-pi on Tue Oct 8 13:49:05 2024
    From Newsgroup: comp.sys.raspberry-pi

    On Tue, 8 Oct 2024 03:04:11 +0100, Brian Gregory <void-invalid-dead-dontuse@email.invalid> wrote:

    On 03/10/2024 23:32, john larkin wrote:
    Given an RP2040 CPU with two ARM processors (we call them Alice and
    Bob), how can they talk to one another?

    We hate FIFOs. Is it possible for them to share a block of the SRAM?
    It would be cool if the two programs could both declare a struct and
    both be able to access it simultaneously. We's manage the access
    details ourselves, who writes to what variables.

    Don't they share all the RAM like any other 2 core processor would?

    We don't have to guess, the chip is documented very well:

    <https://www.raspberrypi.com/products/rp2040/specifications/>

    Scroll to "Documents" - click "RP2040 datasheet"
    --
    Kees Nuyt

    --- Synchronet 3.20a-Linux NewsLink 1.114