Posted: Wed Mar 04, 2009 12:20 am Post subject: Some AVR-DOS questions (M32 and SD)
Hi
I'm building a very simple mp3 player using M32, VS1011 and SD. The application will know which files are available and their names, all placed in the root directory. Could somebody please help me straighten out a few question marks?
Is the clock really necessary? I am using a DS1307 external clock (with my own code), so do I have to include a separate library for AVR-DOS to work? Which one?
In the Config_MMC.bas file, for HW SPI: I am using the !SS pin on M32 for the SD card. Should I first declare it for alias Mmc_cs and then again for Spi_ss or only for Mmc_cs and comment out Spi_ss?
Since I am using an M32 and want to keep the SRAM usage down, I wonder if I have to declare my own 512-byte array or if I can read from the AVR-DOS buffer variable directly. (Would that be Gbdirbuffer(512) As Byte or Gbfatbuffer(512) As Byte?)
Are there more tweaks available than setting the following in CONFIG_AVR-DOS.bas?
Const Cfilehandles = 1
Const Csepfathandle = 0 (=> Gbdirbuffer(512) should be used?)
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