Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 270 matches
www.mcselec.com Forum Index
Author Message
  Topic: problem with useing both mmc and hard disk
oe9vfj

Replies: 3
Views: 978

PostForum: AVR-DOS   Posted: Wed Mar 25, 2009 9:53 am   Subject: problem with useing both mmc and hard disk
AVR-DOS is not written to work with more than one storage medium in a application. So you can not use MMC/SD-Card and HDD in same application.
  Topic: problem with mmc and atmega128
oe9vfj

Replies: 4
Views: 1144

PostForum: AVR-DOS   Posted: Wed Mar 25, 2009 9:51 am   Subject: problem with mmc and atmega128
The MMC/SD Card uses SPI and you have defined SPI too in your aplication with a different mode (PHASE). I think, BASCOM will take first SPI configuration and work with them, so the MMC/SD will not wor ...
  Topic: Free Disk Space?
oe9vfj

Replies: 6
Views: 1759

PostForum: AVR-DOS   Posted: Fri Feb 20, 2009 1:59 pm   Subject: Free Disk Space?
DISKSIZE and DISKFREE return the space in KB (1024 Bytes) unit. I changed that with implementation of FAT32, because this skips over the 2GB border which is the maximum of a LONG Variable.
  Topic: Fast calculation of free size
oe9vfj

Replies: 5
Views: 2389

PostForum: AVR-DOS   Posted: Fri Feb 20, 2009 10:12 am   Subject: Fast calculation of free size
DISKFREE counts in all FAT-Sectors the free Cluster entries and calculates the Free Disk-space.
The main factor for the time, which DISKFREE needs to do its job is the count of FAT-sectors to check. ...
  Topic: AVR-DOS License
oe9vfj

Replies: 2
Views: 905

PostForum: AVR-DOS   Posted: Thu Feb 19, 2009 10:01 am   Subject: AVR-DOS License
With BASCOM-AVR you get AVR-DOS, so you can test it or use it for non commercial purposes.
If you want to use AVR-DOS in commercial products, you have to buy a Company License.
If you are a privat ...
  Topic: AVR-DOS, HDD and ATmega2560 Problems
oe9vfj

Replies: 19
Views: 4201

PostForum: AVR-DOS   Posted: Thu Feb 19, 2009 9:51 am   Subject: AVR-DOS, HDD and ATmega2560 Problems
On the ATmega640/1280/1281/2560/2561 the Ports A, B, C, D, E, F and G are in the address space, where the ASM instrctions IN, OUT (00-3F) and SBI, CBI (00-1F) can be used normally. Check page 418 of ...
  Topic: AVR-DOS, HDD and ATmega2560 Problems
oe9vfj

Replies: 19
Views: 4201

PostForum: AVR-DOS   Posted: Wed Feb 18, 2009 3:26 pm   Subject: AVR-DOS, HDD and ATmega2560 Problems
I checked the generated code for an ATMega1281, which interacts with the HD and found no difference to ATMega128. The Atmel Application Note AVR097 (Migration between ATMega128 and ATMega1281/ATMega25 ...
  Topic: AVR-Dos on SD running on Mega1280
oe9vfj

Replies: 5
Views: 1143

PostForum: AVR-DOS   Posted: Tue Feb 17, 2009 4:27 pm   Subject: AVR-Dos on SD running on Mega1280
There are two points:
(1)
It seems, that the compiler does not correctly interprets the ALIAS-Name of the I/O Address of PORTJ, which is above the normal I/O address-space.
I send Mark a Mail.
(2) ...
  Topic: AVR-Dos on SD running on Mega1280
oe9vfj

Replies: 5
Views: 1143

PostForum: AVR-DOS   Posted: Tue Feb 17, 2009 7:42 am   Subject: AVR-Dos on SD running on Mega1280
Please post your CONFIG_MMC.BAS so I can check generated code with PORTJ.
  Topic: AVR-DOS, HDD and ATmega2560 Problems
oe9vfj

Replies: 19
Views: 4201

PostForum: AVR-DOS   Posted: Tue Feb 17, 2009 7:38 am   Subject: AVR-DOS, HDD and ATmega2560 Problems
After you started with the AVR-DOS Test-Program (FS_Interpreter) try to read the sector 0 with SD 0. If a sector is shown please post the dump.
  Topic: HCSD Driveinit() error 226
oe9vfj

Replies: 66
Views: 22300

PostForum: AVR-DOS   Posted: Mon Feb 16, 2009 3:31 pm   Subject: HCSD Driveinit() error 226
You must be logged in. Than you find in the second post the download link.
  Topic: MMC with UART
oe9vfj

Replies: 2
Views: 889

PostForum: AVR-DOS   Posted: Thu Feb 12, 2009 11:07 am   Subject: MMC with UART
You can not use MMC or SD Cards in UART-Mode, because MMC/SD need SPI.
But in the driver there is also a build-in Soft-SPI. With them you can use four other pin (with normal I/O adress, not over & ...
  Topic: AVR-DOS, HDD and ATmega2560 Problems
oe9vfj

Replies: 19
Views: 4201

PostForum: AVR-DOS   Posted: Thu Feb 12, 2009 11:02 am   Subject: AVR-DOS, HDD and ATmega2560 Problems
Please check your XRAM configuration in Option/Compiler/Chip. No XRAM should be enabled in this Option or anywhere in the Code, because this configuration affects Port-A and Port-C.

Do you use HW-T ...
  Topic: SD Card, Timeout for driveinit()
oe9vfj

Replies: 12
Views: 6960

PostForum: AVR-DOS   Posted: Wed Feb 11, 2009 3:32 pm   Subject: SD Card, Timeout for driveinit()
The new driver (test-release) for download at http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=7030 have now a defined timeout of appr. 1 second for all situat ...
  Topic: AVR-DOS, HDD and ATmega2560 Problems
oe9vfj

Replies: 19
Views: 4201

PostForum: AVR-DOS   Posted: Wed Feb 11, 2009 3:27 pm   Subject: AVR-DOS, HDD and ATmega2560 Problems
On which ports do you attached the CF/HDD device.
Can you send me a schematic and the your CONFIG_HardDisk.bas file.
 
Page 2 of 18 Goto page Previous  1, 2, 3, ... 16, 17, 18  Next
All times are GMT + 1 Hour
Jump to: