Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

fs_interpreter problems - no commands recognised

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

Bascom Member



Joined: 03 Oct 2007
Posts: 324
Location: Scotland

uk.gif
PostPosted: Mon Jan 28, 2008 2:40 pm    Post subject: fs_interpreter problems - no commands recognised Reply with quote

Hi all,

I've just started using AVRDOS and am trying the test_dos_drive demo with fs_interpreter on a M128.

The SD card is detected and initialised OK (I have previously used this setup/card with raw low-level SD access), but the command interpreter does not recognise any commands. Sample output:
Code:
Wait for Drive
Init File System ...  OK
Filesystem: 139
FAT Start Sector: 36
Root Start Sector: 1968
Data First Sector: 1968
Max. Cluster Nummber: 123383
Sectors per Cluster: 8
Root Entries: 0
Sectors per FAT: 966
Number of FATs: 2
AVR-DOS: Ready for commands

0000>cfi

Command 'cfi' not recognized

0000>dir

Command 'dir' not recognized

0000>


I haven't changed anything in the demo files apart from SPI/MMC config, and am using the files supplied with Bascom 1.11.9.0. I've tried increasing stack/frame sizes with no effect. I've just started some simple debugging, which indicates that the commands are not being tokenised correctly in Extracttoken (in fs_interpreter.bas)

Does anybody else have this problem? Have I missed something simple?

Cheers,
Matt

_________________
If all else fails, read the manual. Even better: read the manual before something fails. If you can't find it in the manual, search the forum.
BascomAVR 2.0.8.2
Back to top
View user's profile
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