Username:     
Password:     
            Register  

Projects
SDCard Explorer 1.1
 
SD card File explorer for Primer2

Code size:1k Author:sjoerd
Source files included:yes Version:1.1
Use circleOS:yes (circleOSversion) Creation date:2009-01-31 12:39:24
Hardware modification:no Modification date:2009-02-13 10:32:15
Based on the STM32 Primer:Primer2
   
Downloads:2167 Views:10189
   
Vote:
Average ratings:3.29/5 (17 rates)

Download:    SDCard-Explorer-1.1.zip (453 KB)

Description:

This project implements a simple file explorer that displays the directory structure on the SD card.The included CircleOs binary include a SDIO driver and a Fat12/16/32 implementation based on DosFS. This a demo project to show usage of the SD card.

 

This project is aimed to be a demo project about how to use the CircleOS filesystem. It can display PRM (converted BMP, JPG, etc) images with a sample viewer.

Included in this project an application to convert BMP, JPG, etc files to PRM with the functionality to scale the image to a desired resolution.

 

Current layout of PRM image file:

 

8byte header:

- byte 0: height

- byte 1: width

- 6 bytes for future use

- pixel data (2 bytes per pixel)

 

 

FS interface functions:

u32 FS_Mount(enum STORAGE_device device);
u32 FS_Unmount(enum STORAGE_device device);
u32 FS_OpenFile(PVOLINFO volinfo, u8 *path, u8 mode, PFILEINFO fileinfo);
u32 FS_ReadFile(PFILEINFO fileinfo,  u8 *buffer, u32 *successcount, u32 len);
u32 FS_WriteFile(PFILEINFO fileinfo,  u8 *buffer, u32 *successcount, u32 len);
u32 FS_Close(PFILEINFO fileinfo);
void FS_Seek(PFILEINFO fileinfo, u32 offset);
u32 FS_Delete(PVOLINFO volinfo, u8 *path);
u32 FS_GetNextEntry(PVOLINFO volinfo, PDIRINFO dirinfo, PDIRENT dirent);
u32 FS_OpenDirectory(PVOLINFO volinfo,u8 *dirname, PDIRINFO dirinfo);
u32 FS_GetVolumeInfo(u8 unit,  u32 startsector, PVOLINFO volinfo);

 

 

This is a snapshot of my current work in progress with partially integrated jpg decompressor



Project comments

how do you link this package?                                                                                                             Please, log you to post a reply.
#1   2010-08-25 10:18:49
jeremybirch
New member

Offline

I downloaded this package and built it within Ride, but I cannot see how to load it onto the device. I normally use circle_mgr AApplication.o S  but in this case when it processes the Application.o it fails to link because it also needs the contents of the tinyjpeg and other objects. How do you get this to link and load onto the device?

 

SDCard-Explorer                                                                                                             Please, log you to post a reply.
#1   2009-02-05 20:09:45
brucealank
New member

Offline

Hi

Not sure if anone else is getting the same problem but the project file download for the newly added SDCard-Explorer-1.0 project appears to be corrupt. Then again, maybe it's just my PC that has the problem.

Cheers and thanks in advance

 
#2   2009-02-05 21:22:46
sjoerd
Member

Offline

I'm not sure what's going on there (looks like an empty zip). I'll upload it again.

I guess it's better to download the new CircleOs 3.5 ( http://www.stm32circle.com/projects/dow … OS-3.5.zip ) because that contains the same API and also contains a file explorer.

 
#3   2009-02-06 08:50:03
Francis
Administrator

Offline

Yesterday, the site has been moved from a server to another. It could be the source of the problem with the empty ZIP...

 


To add comments, please register you.



replica handbags Wholesale China Replica Purses Louis Vuitton Handbags Burberry handbags louis vuitton replica handbags Replica LOUIS VUITTON Gucci Handbags Prada Handbags Burberry Handbag Hermes Handbags Hermes Belts Gucci Belts Louis Vuitton Belts Louis Vuitton Wallets Hermes Wallets Gucci Wallets Burberry ScarfLouis Vuitton ScarfHermes Scarf Louis Vuitton Bracelets Louis Vuitton handbags Gucci handbags Prada handbags Prada Wallets Louis Vuitton Wallets Gucci Wallets Prada Wallets Wholesale Jewelry Replica handbags replica watches Louis Vuitton Bikini Burberry BikiniMiu Miu Handbags Hermes Bracelets