Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

reading big file

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> AVR-DOS
View previous topic :: View next topic  
Author Message
moreau

Bascom Member



Joined: 27 Jan 2005
Posts: 46

france.gif
PostPosted: Mon Aug 15, 2005 7:04 am    Post subject: reading big file Reply with quote

i have to read sequencialy a big file (mp3) to send it to mp3 decoder.
Opening the file is not the problem but GET command send me a
GbDOSerror=67 (no handle for such file)!
How to do ?
Processor M128
New AVRDOS fat16/32+MMC/SD
BASCOM 1.11.7.7
Thanks
Back to top
View user's profile
oe9vfj

Moderator



Joined: 17 Jun 2004
Posts: 269
Location: Austria, Hard

austria.gif
PostPosted: Mon Aug 15, 2005 7:16 am    Post subject: Reply with quote

Hi,

It is hard to say this way what is the problem. Can you please post here the code sequence, which produces the error (opening the file and the GET part)?
How big is the file?
What are the stack-settings?

_________________
regards Josef

DOS - File System for BASCOM-AVR on http://members.aon.at/voegel
Back to top
View user's profile Visit poster's website
moreau

Bascom Member



Joined: 27 Jan 2005
Posts: 46

france.gif
PostPosted: Tue Aug 16, 2005 2:01 pm    Post subject: re reading big file Reply with quote

Sorry, it was a big error by myself. Where is my head ?
To read a big amount of data, i must use:
dim stream(512) as byte and not
dim stream as string*512
Here is the error
Thanks!
Back to top
View user's profile
george2002

Bascom Member



Joined: 23 Nov 2005
Posts: 74
Location: Krakow

poland.gif
PostPosted: Sat Feb 11, 2006 11:36 pm    Post subject: Reply with quote

hi 4 all

moreau can you tell me what chip you use to decode mp3 ? can you describe more your mp3 player project ? is it working, what avr used to control it, etc Smile ?

i'm interested beacuse i'm starting to build my mp3 player but its going too slow Smile

_________________
Hi 4 all Smile
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> AVR-DOS All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum