Skip to content

UBLOX_EVK_ODIN_W2 - SD-card not working if WiFi is used #4257

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

Closed
JanneKiiskila opened this issue May 2, 2017 · 11 comments
Closed

UBLOX_EVK_ODIN_W2 - SD-card not working if WiFi is used #4257

JanneKiiskila opened this issue May 2, 2017 · 11 comments

Comments

@JanneKiiskila
Copy link
Contributor

JanneKiiskila commented May 2, 2017

Description

  • Type: Bug
  • Priority: Blocker

Bug

Target
UBLOX_EVK_ODIN_W2

Toolchain:
GCC_ARM

Toolchain version:

mbed-cli version:
(mbed --version)
1.1.1

meed-os sha:
(git log -n1 --oneline)

42be5c0 (HEAD, tag: mbed_lib_rev140, tag: mbed-os-5.4.3) Merge pull request #413

DAPLink version:

Expected behavior

SD-card and WiFi should be able to co-exist.

Actual behavior

Once WiFi is activated, SD-card loses it's clocks.
Works with ethernet.

Steps to reproduce

Use mbed-cloud-client-example (or try to use WiFi and SD-card at the same, no suitable publicly available example available straight off the bat I'm afraid).

Ref: https://jira.arm.com/browse/IOTMORF-966

@0xc0170
Copy link
Contributor

0xc0170 commented May 2, 2017

cc @andreaslarssonublox

@0xc0170
Copy link
Contributor

0xc0170 commented May 2, 2017

cc @andreaspeterssonublox

@JanneKiiskila
Copy link
Contributor Author

I'm trying to write quickly a hack of the example1.cpp in sd-driver repo, which would reproduce this issue easily.

@0xc0170
Copy link
Contributor

0xc0170 commented May 3, 2017

According to the w2 manual https://www.u-blox.com/sites/default/files/ODIN-W2_SIM_(UBX-14040040).pdf those pins are not used by the driver and should be usable: "SPI not used for ODIN connectivity software". However for odin board driver, there is a note in their docs that SDIO is used by wifi driver but not specified which one (is there just one?).

Not certain why it is as res ?

@andreaslarssonublox
Copy link

Some of the pins SPI pins are re-initialized by the driver and it seems to work after fixing that. Need to do some more tests though. Will fix it in the next release of the driver.
Don't know why 'res' is used in PinNames.h since they should be possible to use.

@0xc0170
Copy link
Contributor

0xc0170 commented May 3, 2017

Some of the pins SPI pins are re-initialized by the driver and it seems to work after fixing that. Need to do some more tests though. Will fix it in the next release of the driver.

Thanks for the support! Time frame for this fix? we got code-freeze for the next patch release in one day.

@andreaslarssonublox
Copy link

andreaslarssonublox commented May 4, 2017

We will not be able to finalize a release today so we aim for the next in two weeks instead. Would that be OK?

@0xc0170
Copy link
Contributor

0xc0170 commented May 4, 2017

We will not be able to finalize a release today so we aim for the next in two weeks instead. Would that be OK?

This should go to the known issues (cc @adbridge ). Please keep us updated

@JanneKiiskila
Copy link
Contributor Author

@andreaslarssonublox - any chance of making the next mbed OS patch release? I'd really like to expand our board support for Cloud Client, so this fix would be essential.

@adbridge
Copy link
Contributor

@JanneKiiskila I assume this issue can now be closed then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants