• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kammce / SJSU-Dev2 / 4554
88%

Build:
DEFAULT BRANCH: master
Ran 01 Apr 2020 12:24AM UTC
Jobs 1
Files 240
Run time 18s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4554

cron

travis-ci-com

web-flow
Fix SD card Initialize Sequence & Cleanup (#1114)

* Fix SD Card Initialization Sequence

* SD Card CSD reg improvements and Mount() cleanup

Reduced the size of CSD block to NOT include the CRC bytes, which allows
StreamExtract to be bit aligned for little endian.

Fixed Card Capacity method to calculate using the correct bit/bytes of
the CSD block as well as following this equations:

    memory_capacity = (c_size + 1) * 512_KiB

This is due to the fact that SD cards use kibi and mebi units and not
kilo and mega which are simply powers of 10.

* SD Card: Simplified SendCommand() method

The SendCommand method originally assumed that the byte data could be
unaligned. The SD Card standard 6.0 for SPI communication asserts that
all responses from the SD card are byte aligned, thus, the logic to
handle unaligned data has been removed.

This has been tested on a SanDisk Edge 8GB HCI MicroSD Card.

* SD Card: Removed 0x01 as an acceptable Command Ack

0x01 is means that the SD Card is still in IDLE mode which it
should not be in if it has just recieved a command.

* SD Card: Refactored some polling code

* Small change to Initialize to use helper methods

114 of 114 new or added lines in 2 files covered. (100.0%)

4675 of 5547 relevant lines covered (84.28%)

634.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4554.1 01 Apr 2020 12:24AM UTC 0
84.28
Travis Job 4554.1
Source Files on build 4554
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #4554
  • 88e2759a on github
  • Prev Build on master (#4550)
  • Next Build on master (#4572)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc