Skip to content

Conversation

@pilaski
Copy link

@pilaski pilaski commented Jan 12, 2025

I did changed the SD-card pinout in Nanomig.cst to make the Tang Primer 25k version work with TF Card v2.

@harbaum
Copy link
Collaborator

harbaum commented Jan 12, 2025

What kind of SD card pmod is that? This patch breaks the currently used pmod which came directly from sipeed and is thus assumed to be "the official one" for the TP25k.

While I understand that you would like to have your setup supported by default it breaks others incl my own.

@pilaski
Copy link
Author

pilaski commented Jan 13, 2025

That is funny. I received a TP25K and a Sipeed PMOD kit (which I had ordered on AliExpress) in Devember. All are genuine Sipeed parts. The SD-card board is labeled "PMOD-TF CARDv2" (see image below).
image

I also looked into other sources like SNESTang ( https://github.com/nand2mario/snestang/blob/main/src/primer25k/snestang.cst )- There are definitions for three different SD-card modules. The patch that I submitted basically copies the v2 definitions from there.

Basically, I don't mind keeping my own repository that matches my setup but I guess other people may run into the same problem. Especially as some documentation mentions that SD-card PMOD version 2 is mandatory.

I think the difference should be documented. Recompiling for any of these three versions is not a big thing so maybe alternative cst files could be stored in the repository.

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