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

CRAM README #59

Open
PythonLinks opened this issue Nov 3, 2024 · 1 comment
Open

CRAM README #59

PythonLinks opened this issue Nov 3, 2024 · 1 comment

Comments

@PythonLinks
Copy link

Here is an updated version of the pico-cram README.

I am still not sure that I am doing this right.


Pico-Ice Cram Configuration

There are two ways to program the FPGA. A bitstream can be witten to
FLASH and loaded by the FPGA when booting, or the bitstream can be
directly written to the fpga's configuration RAM (cram). This SDK
example shows how to directly write the bitstream to the cram

To build the executable type

cmake .

This drives a multistage process. In the first stage, a python
program reads in the bitstream and writes out a .h file with the
bitstream data embedded in it.

python3 rgb_blink.py > rgb_blink.h

In the second stage, the new .h file is compiled into an executable
This is an RP2040 executable which can be run on the RP2040 and will
drive the cram initialization process for the FPGA.


Did I get that right?
So what do I do next?
Which file is that executable?
picoasm/picoasm ??
Do I set the baud rate, and then drag it into the USB folder?

@josuah
Copy link
Collaborator

josuah commented Nov 6, 2024

Thank you, this is good to have this extended README, and I will integrate it in the next release, eventually modifying it in the process, but it looks accurate.

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