Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 270
Posts: 17040
Available for Design & Build services
|
 |
« Reply #375 on: July 29, 2011, 05:54:43 pm » |
Full speed Bench test: Card is 16 GB Sandisk Ultra SDHC, 15 MB/S Settings: SPI_FULL_SPEED How do these results look? I have nothing to compare to. Need to get a uSD card to test the other socket. Type any character to start Free RAM: 15252 Type is FAT32 File size 5MB Starting write test. Please wait up to a minute Write 150.37 KB/sec
Starting read test. Please wait up to a minute Read 280.82 KB/sec Done
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 270
Posts: 17040
Available for Design & Build services
|
 |
« Reply #376 on: July 29, 2011, 06:07:57 pm » |
Can't run Quickstart - it won't accept a 2 digit ChipSelect entry, it tries using 3 instead of 30.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Edison Member
Karma: 30
Posts: 1103
Arduino rocks
|
 |
« Reply #377 on: July 29, 2011, 06:17:25 pm » |
QuickStart expects line at a time input like the Arduino IDE. If no characters are available after 10 ms it assumes it has read the line.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 270
Posts: 17040
Available for Design & Build services
|
 |
« Reply #378 on: July 29, 2011, 06:31:10 pm » |
So I need to type 3-enter-0-enter really quick? 
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Edison Member
Karma: 30
Posts: 1103
Arduino rocks
|
 |
« Reply #379 on: July 29, 2011, 06:38:20 pm » |
No, your terminal emulator needs to send line at a time.
The Arduino IDE collects the line in the PC as you type it. When you hit send it sends the characters with no delay between characters. By default it does not send a new line so I just wait for no characters available for 10 ms.
I first waited for a new line but you never see one.
I made QuickStart work with the Arduino defaults so it would be easy for new users.
What are you using for a terminal?
|
|
|
|
|
Logged
|
|
|
|
|
Rapa Nui
Offline
Edison Member
Karma: 31
Posts: 1178
Pukao hats cleaning services
|
 |
« Reply #380 on: July 29, 2011, 06:44:14 pm » |
..the speeds seems to be normal, the limitation is the spi_clk speed (max 9MHz on your board) and fcpu, sandisk is the fastest as I can see some results (see http://www.microchip.com/forums/m574511-print.aspx with some nice pictures on comparision of various sdcards vs. fstypes vs. spi speeds, run on pic32 - but the mcu does not matter here)..
|
|
|
|
« Last Edit: July 29, 2011, 07:04:21 pm by pito »
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 270
Posts: 17040
Available for Design & Build services
|
 |
« Reply #381 on: July 29, 2011, 08:31:57 pm » |
I am using the IDE serial monitor. Must have been the way I typed, as its working now. Or maybe I needed one more enter to restart when it didn't work.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 270
Posts: 17040
Available for Design & Build services
|
 |
« Reply #382 on: July 29, 2011, 08:32:44 pm » |
SdFormatter works! Kinda disappointed - my "16 GB" card is ony 15.915GB and only 14.8 GB in "real" gigabytes (2^32 or whatever a G is)
I feel much better about proceeding with the building of up tp 8 more on Sunday (maybe 9, If I have enough parts).
|
|
|
|
|
Logged
|
|
|
|
|
Greenville, IL
Offline
Edison Member
Karma: 11
Posts: 1290
Warning Novice on board! 0 to 1 chance of errors!
|
 |
« Reply #383 on: July 29, 2011, 09:26:10 pm » |
...The least we can all do is buy one from him!
Sign me up! If there is a list I would like to be on the list 2! Mark
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 270
Posts: 17040
Available for Design & Build services
|
 |
« Reply #384 on: July 29, 2011, 09:33:20 pm » |
@pito, Are the pins for uSD pretty much the same as SD? I went out & bought a 2GB uSD card. It works in the adapter it came with in the SD socket, but does not work in the uSD socket. I am starting to think the eagle library is not correct.
Here's the way the library has the pins - yet on the SD card, the pins are more or less flipped the other way,
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 270
Posts: 17040
Available for Design & Build services
|
 |
« Reply #385 on: July 29, 2011, 10:03:41 pm » |
You guys ok with just one working SD socket? I am pretty sure the library for the uSD has the pins swapped end for end. Can anyone confirm? Here's a blog with definition of the pins. http://elasticsheep.com/2010/01/reading-an-sd-card-with-an-atmega168/
|
|
|
|
|
Logged
|
|
|
|
|
Smithfield, Rhode Island
Offline
God Member
Karma: 2
Posts: 828
|
 |
« Reply #386 on: July 29, 2011, 11:53:53 pm » |
I know I could be shot for pointing this out, but if the iossue is that the pins for the uSD card are hooked up backwards, well that's fixable in software (DUCKING)...
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 270
Posts: 17040
Available for Design & Build services
|
 |
« Reply #387 on: July 30, 2011, 12:10:18 am » |
Ha ha, never thought I'd hear that from a software guy!  But in this case, sadly is not true. Here's why: Needs to be, What it is 1 NC NC 2 NC Data Out 3 CS GND 4 Data IN SCK 5 +5V +5V 6 SCK Data In 7 GND CS 8 Data Out NC 9 NC NC Everything comes from hardware SPI tho, so it can't be faked in software.
|
|
|
|
|
Logged
|
|
|
|
|
Smithfield, Rhode Island
Offline
God Member
Karma: 2
Posts: 828
|
 |
« Reply #388 on: July 30, 2011, 12:25:43 am » |
Oh that's a shame, so you need new PCBs. That sucks. But hey, how many designes work ont he first try?
|
|
|
|
|
Logged
|
|
|
|
|
Smithfield, Rhode Island
Offline
God Member
Karma: 2
Posts: 828
|
 |
« Reply #389 on: July 30, 2011, 12:26:41 am » |
Oh wait, was the problem that the lib is wrong, or could it be that Eagle didn't mirror the bottom layer when you made the gerbers?
|
|
|
|
|
Logged
|
|
|
|
|
|