Go Down

Topic: ATMEL Mega1284P evaluation board avalible (Read 79773 times) previous topic - next topic

CrossRoads

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.

Quote

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
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

CrossRoads

Can't run Quickstart - it won't accept a 2 digit ChipSelect entry, it tries using 3 instead of 30.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

fat16lib

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.

CrossRoads

So I need to type 3-enter-0-enter really quick? ;)
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

fat16lib

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?

pito

#380
Jul 30, 2011, 01:44 am Last Edit: Jul 30, 2011, 02:04 am by pito Reason: 1
..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)..

CrossRoads

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.


Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

CrossRoads

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).
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

cyclegadget



...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
Good links: Eagle tutorial= http://www.youtube.com/playlist?list=PLDE1858BD83D19C70
General Arduion tutorials = http://tronixstuff.wordpress.com
http://www.gammon.com.au/forum/bbshowpost.php?bbtopic_id=123

CrossRoads

@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,
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

CrossRoads

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/
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

skyjumper


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/


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)...

CrossRoads

Ha ha, never thought I'd hear that from a software guy! XD

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.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

skyjumper

Oh that's a shame, so you need new PCBs. That sucks. But hey, how many designes work ont he first try?

skyjumper

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?

Go Up