Tagged: sdcard

Plans to Integrate the Base64 Decoder and Activating the CRC in the SD Card 0

Plans to Integrate the Base64 Decoder and Activating the CRC in the SD Card

The reason why the Base64 decoder is not working is because the buffer for storing the bit is a bit too short, I changed the buffer into a 32 bits variable so it can...

Text Area Input and Base64 Decoder 0

Text Area Input and Base64 Decoder

My next task would be to work on making the HTTP to upload the data in data-form instead of file form. I had the text field input integrated with my current HTTP code so...

Deeper into the realm of SD cards 0

Deeper into the realm of SD cards

After scratching the surface into the world of SD cards and how they store data, almost all of the week was spent into trying to figure out as much as possible about the abilities...

SD Card Inactive State 0

SD Card Inactive State

During the process of trying to write my own MDD stack, I found a comment in the code given by Microchip. It states: //Check if all attempts failed and we timed out. Normally, this...

HTTP File Upload & Text Field Input Working 0

HTTP File Upload & Text Field Input Working

I recheck my functions to make sure that the three functions are doing the same thing as the one function. It turns it should be. Then, after some hacking and testing, I found out...

Issues with Multi-Block Writing 0

Issues with Multi-Block Writing

It turns out that issue of connection timeout, random protocol data is caused by the fact I did not call the write function after TCP and Ethernet layer processes. The write function is then...

Week 08 – HTTP2.c Meets SD-SPI.c 0

Week 08 – HTTP2.c Meets SD-SPI.c

Continuing from the last week, the reason that why the connection will be timed out when uploading a larger file is due to the modification I made to calculate the data size uploaded. The...

Week 07 – Minor Modifications 0

Week 07 – Minor Modifications

The previous function of reading a sector is using a 512 bytes buffer, by doing minor modifying on the tightest loop to write into a pointer instead of a buffer. The function can read...

Week 06 – Speeding Up The Read Speed, Recreate MBR to Reserve 1 MB of Space, Raw Reading & Writing 1

Week 06 – Speeding Up The Read Speed, Recreate MBR to Reserve 1 MB of Space, Raw Reading & Writing

First Modification (29 June 2013) Three text files are created with size of 35 KB, 175KB and 350 KB. The files were created by simply duplicating the whole 35 KB text file five times...

Week 05 – Extremely Unfavorable Speeds & Minicom 1

Week 05 – Extremely Unfavorable Speeds & Minicom

Uploading Large Files Since small files can be uploaded, now it is time to test with uploading large file (350 KB). Firstly, I try to generate a random text file by using the dd...