tag:blogger.com,1999:blog-4681676246793118177.post6220986288404206620..comments2024-03-26T00:15:27.807-07:00Comments on Electronics The King of Hobbies!: An attempt to mount an SD/MMC connected at parallel port of PC (a linux device driver)Vinod.Shttp://www.blogger.com/profile/04232137991089701907noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-4681676246793118177.post-88301097235509854632018-07-28T03:26:01.615-07:002018-07-28T03:26:01.615-07:00Finally I have found what I have been looking for ...Finally I have found what I have been looking for since 2 hours. I really like your blog and articles you are writing for us.<a href="http://independencedayindia2018.com/category/happy-independence-day-wallpapers/" rel="nofollow">Happy Independence Day Wallpaper Download</a>Anonymoushttps://www.blogger.com/profile/14775310290966491030noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-35259037107578455312014-02-03T01:25:10.494-08:002014-02-03T01:25:10.494-08:00iam mr JOSE ,from Trichur people call me the great...iam mr JOSE ,from Trichur people call me the great Josettan ,and dear king of electronics..<br />my mmc card is of 1 gb ...well initialisation seems ok but after cmd(17,sector,0xff),it is waiting for somethin can you please please tell me what is matter with my little mmc .. void mmc_read_sector(unsigned long int sector)<br /> {<br /> send_string("reading mmc\n\r");<br /> int i;<br /> sector *= 512;<br /> if(sd_cmd(17, sector ,0xff) != 0)<br /> {<br /> send_string("cm17 ok\n\r");<br /> // while(spi_read() != 0);<br /> // send_string("read 0'ok\n\r");<br /> // while(spi_read() != 0xfe) ;<br /> // send_string("read 'fe' ok\n\r");<br /> send_string("procedloopread\n\r");<br /> for(i=0; i<=512; i++)<br /> { <br /> SPDR=0xFF;<br /> while(!(SPSR & (1<<SPIF)));<br /> mmc_buf[i] = SPDR;<br /> send_string("data");<br /> UDR=mmc_buf[i];<br /> while(!(UCSRA&(1<<TXC)));<br /> }<br /> spi_write(0xff);<br /> spi_write(0xff);<br /> }<br />else <br />send_string("couldnot read\n\r"); <br /> }<br /> <br /> josehttps://www.blogger.com/profile/03677808029805095458noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-33532694718418156632013-06-01T12:00:14.712-07:002013-06-01T12:00:14.712-07:00I forgot to post the dmesg log :-/
dmes gives the...I forgot to post the dmesg log :-/<br /><br />dmes gives the error: CARD ERROR-CMD0<br /><br />Do you think a PULLUP resistor on the chip select pin would help?rio89https://www.blogger.com/profile/12940247246525236488noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-14205489362166620502013-05-23T13:07:59.985-07:002013-05-23T13:07:59.985-07:00sudo insmod mmc.ko
gives me an error:
Error: coul...sudo insmod mmc.ko<br />gives me an error:<br /><br />Error: could not insert module mmc.ko: Cannot allocate memory<br /><br />any idea what it could be?rio89https://www.blogger.com/profile/12940247246525236488noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-70885407194289449302013-04-14T07:20:45.585-07:002013-04-14T07:20:45.585-07:00To make this idea really mad there is an extra ide...To make this idea really mad there is an extra idea - to boot from LPT-attached SD card the following manner:<br /> Take a (broken?) NIC with a spare socket for bootrom visible by PC BIOS at boot time, place some loader there, and boot this way.<br /><br /> As the result, one can get a SD-bootable 386!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-15495857964361140522012-11-04T10:56:12.174-08:002012-11-04T10:56:12.174-08:00Thank you so much for publishing an account of how...Thank you so much for publishing an account of how to actually BIT-BANG an MMC interface. I've been so frustrated trying to find information which doesn't eventually turn out to say "step 1: write to SPI register. step 2: use this library."<br /><br />It'll take me a bit to detangle the raw algorithm from the parallel-port stuff, but luckily that's nothing strange to me.Tyler Montbriandhttps://www.blogger.com/profile/15709543713776353746noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-39147195528919534662012-09-09T06:37:22.812-07:002012-09-09T06:37:22.812-07:00Hello, is it possible to do the same read/write wi...Hello, is it possible to do the same read/write with a com port ? I'm trying to build an SD card Reader using a regular com port. If you can help me out I thank youAnonymoushttps://www.blogger.com/profile/10730824152717904958noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-72477743276713171242012-05-16T00:15:53.683-07:002012-05-16T00:15:53.683-07:00what is the warning shown while inserting the modu...what is the warning shown while inserting the module?<br /><br />at first clear the kernel messages by<br />"sudo dmesg -c"<br /><br />then <br />try to insert the module<br /><br />then <br />see the error message shown on the terminal<br /><br />then type "dmesg"<br /><br />and see the kernel message.<br /><br />Are you trying it on a laptop? then most probably the error may be that it cannot find a parallel port, I guess...Vinod.Shttps://www.blogger.com/profile/04232137991089701907noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-56693473118195090302012-05-15T15:49:50.863-07:002012-05-15T15:49:50.863-07:00Hi. I like this wery much.
I have tried to copy it...Hi. I like this wery much.<br />I have tried to copy it, but with no succes. Getting an error when i try to insmod.<br />So i have a question.<br />Do you get any warnings when compiling ?<br />I get some from parapin, regarding symbols, and one from sd, regarding a unused variable.<br />But it does compile.<br />It CAN be that the laptop, just doesnt have the nescesarry "juice" to run the programmer.<br />Br BrowsemBrowsemhttps://www.blogger.com/profile/12851059189630236602noreply@blogger.com