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

kammce / SJSU-Dev2 / 4554 / 1
88%
master: 88%

Build:
DEFAULT BRANCH: master
Ran 01 Apr 2020 12:24AM UTC
Files 240
Run time 16s
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

30 Mar 2020 02:53AM UTC coverage: 84.28% (+0.2%) from 84.063%
4554.1

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

4675 of 5547 relevant lines covered (84.28%)

634.29 hits per line

Source Files on job 4554.1
  • Tree
  • List 0
  • Changed 6
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1267
  • Travis Job 4554.1
  • 88e2759a on github
  • Prev Job for on master (#4550.1)
  • Next Job for on master (#4572.1)
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