/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / using >4GB sdcard with Primer2 / CircleOS

Username:     
Password:     
             

Forum

# 1   2011-02-16 10:53:59 using >4GB sdcard with Primer2 / CircleOS

pfandler
Member
From: Hungary
Registered: 2011-02-16
Posts: 26

using >4GB sdcard with Primer2 / CircleOS

Hello people,

I've read through a number of posts in the forum, but it was not quite clear if the actual version of CircleOS supports bigger than 4 GB SDCards.

The FAT32 filesystem would be a nice solution, but not necessary. A simple SPI connection with the card would be OK for me, but I need a lot of space.

My questions are:

* can I reach a speed of 100 kBytes/sec for sequential writes?
* can I use 16 or 32 GB SDCards?

Thanks, Peter smile

Offline

 

# 2   2011-04-09 11:25:38 using >4GB sdcard with Primer2 / CircleOS

pfandler
Member
From: Hungary
Registered: 2011-02-16
Posts: 26

Re: using >4GB sdcard with Primer2 / CircleOS

Well, according to my tests, for both questions the answers are no.

Offline

 

# 3   2011-04-11 07:52:28 using >4GB sdcard with Primer2 / CircleOS

ntrf.zns
Member
From: Belgorod, Russia
Registered: 2009-11-01
Posts: 134

Re: using >4GB sdcard with Primer2 / CircleOS

CircleOS has a problem with sector numbering: instead of sectors it number bytes. So asking to read beyond 4GB boundary will fail. The only way to fix this is to rewrite sector numbers in SDIO driver (ST supplied as far as i can see), Fat32 driver (someone's lib) and USB-MS implementations.

As for speed: USB implementstion in CircleOS as well as other ST examples is far from perfect. If you need more - consider writing your own drivers.

Offline

 

Board footer