Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 270 matches
www.mcselec.com Forum Index
Author Message
  Topic: sdhc datalogger using atmega 128
oe9vfj

Replies: 1
Views: 1024

PostForum: AVR-DOS   Posted: Mon Jan 06, 2014 4:55 pm   Subject: sdhc datalogger using atmega 128
Hi,

do you use the SDHC-Drive?
SHDC-Cards need an different driver than the SD-Cards up to 2GB.
But the SDHC-Driver can work with SD-Cards too. Please note, that not all cards can work correctly ...
  Topic: Two DOS systems on one xmega
oe9vfj

Replies: 4
Views: 873

PostForum: AVR-DOS   Posted: Mon Jan 06, 2014 4:50 pm   Subject: Two DOS systems on one xmega
Hi,

it is not possible, to run 2 AVR-DOS in parallel.
On one side an AVR-CPU has to less SRAM, to keep information of two DOS-Systems (FAT-Table, Directories) on the other side the driver concept ...
  Topic: AVR-DOS max
oe9vfj

Replies: 1
Views: 822

PostForum: AVR-DOS   Posted: Sat Oct 26, 2013 7:59 pm   Subject: AVR-DOS max
Hi,

in the root-directory of a FAT16, you have a maximum of 512 directory entrys. This limit is defined in the Partition Boot sector. In a FAT16 subdirectory there is a limit of 65535 (2^16 - 1) en ...
  Topic: One SD card - 2 cpu's
oe9vfj

Replies: 1
Views: 628

PostForum: AVR-DOS   Posted: Sat Oct 26, 2013 6:45 am   Subject: One SD card - 2 cpu's
Only one CPU can use the Card at the same time.
You can give the control of the card from one CPU to an other CPU, if all opened files are closed and do an additional FLUSH to be sure, the FAT and d ...
  Topic: flush
oe9vfj

Replies: 1
Views: 584

PostForum: AVR-DOS   Posted: Sat Oct 26, 2013 6:28 am   Subject: flush
FLUSH do not need additional buffer.
AVR-DOS write the Data to the card, if the Data sector with 512 Bytes is full. IF you close the file, AVR-DOS writes the data sector to the card in all condition ...
  Topic: changing file date and time
oe9vfj

Replies: 2
Views: 4774

PostForum: AVR-DOS   Posted: Sat Oct 26, 2013 6:17 am   Subject: changing file date and time
Hi,

as Glena said, AVR-DOS uses the "system-Time" generated by the "CONFIG CLOCK" command. If you can't use the SOFT - Option, because you have not the appropriate timer, you have provide the data ...
  Topic: CF-Cards: AVR-DOS & IORDY?=no IORDY but RTS/CTS SOLVED!
oe9vfj

Replies: 15
Views: 1896

PostForum: AVR-DOS   Posted: Tue Feb 12, 2013 11:30 am   Subject: CF-Cards: AVR-DOS & IORDY?=no IORDY but RTS/CTS SOLVED!
Hi,

I think, checking the IORDY pin will not solve your problem.

The data-transfer to the card (Writing data to the card) is done independent of the way you give the bytes to AVR-DOS to save it. ...
  Topic: Dir(*.*) and Dir()
oe9vfj

Replies: 7
Views: 1396

PostForum: AVR-DOS   Posted: Mon Jan 14, 2013 3:44 pm   Subject: Dir(*.*) and Dir()
Hi,

If you detect a change of the card, you should use DriveInit and InitFileSystem to restart AVR-DOS with the new card. Otherwith it could happen, that you corrupt the new Card, if you make write ...
  Topic: Dir(*.*) and Dir()
oe9vfj

Replies: 7
Views: 1396

PostForum: AVR-DOS   Posted: Fri Jan 11, 2013 6:58 pm   Subject: Dir(*.*) and Dir()
Hi,

If AVR-DOS is working with a disk, it reads the according sector into the RAM and works with that copy in the RAM unless a function needs another sector. Than AVR-DOS writes the RAM-image of th ...
  Topic: simple problem to divide
oe9vfj

Replies: 4
Views: 448

PostForum: BASCOM-AVR Archive   Posted: Thu Mar 08, 2012 10:56 pm   Subject: simple problem to divide
Hi,

The MOD function is only useful for number without a fractional part, that are numbers without a part behind the decimal point. So the type for this function are normally INTEGER and LONG.

I ...
  Topic: Create the Append command a new file if it not exists?
oe9vfj

Replies: 2
Views: 1218

PostForum: AVR-DOS   Posted: Wed Aug 12, 2009 1:30 pm   Subject: Create the Append command a new file if it not exists?
Yes it creates a new one, if a file with that name dose not exists
  Topic: Set files Attriutes
oe9vfj

Replies: 8
Views: 1537

PostForum: AVR-DOS   Posted: Wed Aug 12, 2009 1:28 pm   Subject: Set files Attriutes
Hi Pedro

You can test following function to set the Read-Only Attribut-Bit.

Function SetReadAttr(strFileName as String, byval bAttr as Byte) as Byte

_SetReadAttr:
ldd xl, Y+2 ...
  Topic: Line Input -- How many bytes ??
oe9vfj

Replies: 1
Views: 1061

PostForum: AVR-DOS   Posted: Wed Aug 12, 2009 10:14 am   Subject: Line Input -- How many bytes ??
The length in LINE INPUT is limited to the defined length of the String in BASCOM.
Please note that in the FS_Interpreter the used variable to read in from the file is limited to 100 Charcaters and t ...
  Topic: Confusing Date ?
oe9vfj

Replies: 4
Views: 786

PostForum: BASCOM-AVR Archive   Posted: Wed Apr 08, 2009 8:35 am   Subject: Confusing Date ?
I tested your code and it works all well. I got the estimated result.

May be your stack-settings are to low.
  Topic: AVR-DOS, HDD and ATmega2560 Problems
oe9vfj

Replies: 19
Views: 4194

PostForum: AVR-DOS   Posted: Thu Mar 26, 2009 8:09 pm   Subject: AVR-DOS, HDD and ATmega2560 Problems
Hi Mario

please contact me via email to discuss some details.
avr-dos (at) aon (dot) at
 
Page 1 of 18 Goto page 1, 2, 3 ... 16, 17, 18  Next
All times are GMT + 1 Hour
Jump to: