Skip to content

Support multiple chip selects#13

Open
funkeleinhorn wants to merge 2 commits intostacksmashing:mainfrom
funkeleinhorn:multiple-cs
Open

Support multiple chip selects#13
funkeleinhorn wants to merge 2 commits intostacksmashing:mainfrom
funkeleinhorn:multiple-cs

Conversation

@funkeleinhorn
Copy link
Copy Markdown

Based on #12

Flashprog recently added support for multiple chip selects to serprog:

https://review.sourcearcade.org/plugins/gitiles/flashprog/+/ddb6d926783d4f9cbee04c7392718ed8f89daa0e

This commit adds support for this feature to pico-serprog. This is useful if you want to drive multiple SPI devices on one bus with pico-serprog as it eliminates the need for reflashing the pico or changing cables.

This has the advantage that the pico-serprog can stay attached to the
board even while a CPU etc. runs on the board and uses the flash.
Copy link
Copy Markdown
Contributor

@neuschaefer neuschaefer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall, but I've added a few comments

Comment thread main.c Outdated
Comment thread main.c Outdated
Comment thread main.c Outdated
Comment thread main.c Outdated
Comment thread main.c Outdated
Copy link
Copy Markdown
Contributor

@neuschaefer neuschaefer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

Flashprog recently added support for multiple chip selects to
serprog:

https://review.sourcearcade.org/plugins/gitiles/flashprog/+/ddb6d926783d4f9cbee04c7392718ed8f89daa0e

This commit adds support for this feature to pico-serprog. This is useful
if you want to drive multiple SPI devices on one bus with pico-serprog as
it eliminates the need for reflashing the pico or changing cables.
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

Successfully merging this pull request may close these issues.

2 participants