Skip to content

Improve support for eMMC cards#96

Open
jwoloch wants to merge 89 commits into
ArduPilot:masterfrom
jwoloch:emmc_card_support
Open

Improve support for eMMC cards#96
jwoloch wants to merge 89 commits into
ArduPilot:masterfrom
jwoloch:emmc_card_support

Conversation

@jwoloch

@jwoloch jwoloch commented Apr 30, 2025

Copy link
Copy Markdown

This change fixes init for cards supporting High-speed mode, by waiting for the card to exit from busy state after switching the mode before issuing any further commands.

remove calls to early_init and late_init for ArduPilot
support ALT bytes in XPI mode
support DMA-safe dummy data for send and receive
add support for TIM8 and FDCAN handlers
tridge and others added 25 commits June 21, 2023 17:19
this provides a mechanism to force release a mutex
if phy not detected then return false instead of halting
we want to init if networking is enabled
Bumps [requests](https://github.com/psf/requests) from 2.26.0 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.26.0...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [certifi](https://github.com/certifi/python-certifi) from 2021.5.30 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](certifi/python-certifi@2021.05.30...2022.12.07)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
git-svn-id: https://svn.code.sf.net/p/chibios/code/trunk@16423 085d63ac-f8f8-4fb4-a5e5-c089fd4f3ff4
a shift of 11 is correct for MAVv1. In v2 it is 21, ETH_MACMDIOAR_PA_Pos
This change fixes init for cards supporting High-speed mode,
by waiting for the card to exit from busy state after switching
the mode before issuing any further commands.
@andyp1per

andyp1per commented May 1, 2025

Copy link
Copy Markdown
Contributor

Thanks for this @jwoloch ! What testing have you done? Please can you ask Giovanni for his opinions on the ChibiOS discord server? The best way to incorporate this is to produce a patch that he merges into ChibiOS and then we can pull the change in.

@jwoloch

jwoloch commented May 1, 2025

Copy link
Copy Markdown
Author

I have tested it on custom FC hardware using EMMC04G-CT32-01G10 card. I've tested log recording, downloading using MavFTP, uploading lua scripts and so on.

@jwoloch

jwoloch commented May 15, 2025

Copy link
Copy Markdown
Author

@andyp1per ChibiOS/ChibiOS@ff50a7c It was merged to ChibiOS

@andyp1per

Copy link
Copy Markdown
Contributor

Hi, I tried cherry-picking this commit but got conflicts. Can you redo the PR by cherry-picking the commit and resolving the conflicts?

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.

5 participants