Author |
Message |
Topic: HCSD Driveinit() error 226 |
oe9vfj
Replies: 66
Views: 23801
|
Forum: AVR-DOS Posted: Wed Feb 11, 2009 10:24 am Subject: HCSD Driveinit() error 226 |
Hi,
First, the driver for SD Card is independet to AVR-DOS. So a change of the SD Card Driver make no change of AVR-DOS and no change of the release# of AVR-DOS.
MMC-Cards and Standard SD-Cards ... |
Topic: SDHC Cards Support - how to made? |
oe9vfj
Replies: 1
Views: 1203
|
Forum: AVR-DOS Posted: Tue Feb 10, 2009 9:42 am Subject: SDHC Cards Support - how to made? |
Hi,
please check thread: http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=7030
best regards
Josef |
Topic: HCSD Driveinit() error 226 |
oe9vfj
Replies: 66
Views: 23801
|
Forum: AVR-DOS Posted: Tue Feb 10, 2009 9:38 am Subject: Suppport for SDHC |
Hi Mark,
SDHC has a different protocol than SD card with standard Capacity.
During last weeks I have written a driver, which should now supports MMC, SD and SDHC.
You can test it. Reports are w ... |
Topic: DateTime_Test1.bas confusion |
oe9vfj
Replies: 2
Views: 839
|
Forum: BASCOM-AVR Archive Posted: Fri Jun 15, 2007 10:05 pm Subject: DateTime_Test1.bas confusion |
Hi Matt,
I don't know the DS1307, but try to explain, what getdatetime, settime, and setdate is good for.
If you work with internal RTC with CONFIG CLOCK = SOFT the Date and time related variable ... |
Topic: ASM notation question with .equ |
oe9vfj
Replies: 1
Views: 473
|
Forum: BASCOM-AVR Archive Posted: Fri Jun 15, 2007 3:46 pm Subject: ASM notation question with .equ |
You have to define two constants like:
.equ StrobePort = Portb
.equ StrobePin = 2
SBI StrobePort, StrobePin
So you need to change only two line in the definition-header for another pin for t ... |
Topic: for next question, 1 to far |
oe9vfj
Replies: 7
Views: 1092
|
Forum: BASCOM-AVR Archive Posted: Fri May 25, 2007 1:34 pm Subject: for next question, 1 to far |
This effort depends, how FOR ... NEXT work.
In the FOR X = 0 TO 255
x is incremented by 1. If the new value is greater then highest desired value, the FOR ... NEXT loop ends and leaves X with the va ... |
Topic: Problems printing to SD card |
oe9vfj
Replies: 6
Views: 2019
|
Forum: AVR-DOS Posted: Fri May 11, 2007 9:39 am Subject: Problems printing to SD card |
Hi,
If you want to write on a SD Card, you have to use the driver for SD/MMC Card.
use
$Include "Config_MMC.bas"
instead $include "Config_CompactFlash_M128.bas"
check also har ... |
Topic: Writing Singles type variables to EEPROM |
oe9vfj
Replies: 5
Views: 772
|
Forum: BASCOM-AVR Archive Posted: Tue May 08, 2007 2:18 pm Subject: Writing Singles type variables to EEPROM |
BASCOM handles and stores floating point numbers (SINGLE, DOUBLE) in the format according to IEEE 754. Check http://en.wikipedia.org/wiki/IEEE_754 |
Topic: Syssec works strange |
oe9vfj
Replies: 3
Views: 566
|
Forum: BASCOM-AVR Archive Posted: Mon May 07, 2007 6:16 pm Subject: Syssec works strange |
Are you sure, that this two statements use same time/date parameter.
SYSSEC() uses the CLOCK variables _Sec, _Min, _Hour, _Day, _Month, _Year which are updated by the CLOCK routine.
strDATE and ... |
Topic: 1.11.8.6/7 Error 202 [RAMPZ] by ATmega168-> config single |
oe9vfj
Replies: 4
Views: 781
|
Forum: BASCOM-AVR Archive Posted: Sun Apr 29, 2007 12:27 pm Subject: 1.11.8.6/7 Error 202 [RAMPZ] by ATmega168-> config single |
It seems, that in the single.lbx the part
*#IF _ROMSIZE > 65536
$EXTERNAL _ADJUST_RAMPZ_UP , _ADJUST_RAMPZ_DOWN
*#ENDIF
is not interpreted correctly in the new release.
For all AVR up to ... |
Topic: Problems printing to SD card |
oe9vfj
Replies: 6
Views: 2019
|
Forum: AVR-DOS Posted: Wed Mar 28, 2007 8:48 am Subject: Problems printing to SD card |
Every AVR-DOS command fills the variable gbDOSError with the information about the success-information.
0 is successful.
> 0 is an error.
Check after each command beginning with the InitFileS ... |
Topic: Free Disk Space? |
oe9vfj
Replies: 6
Views: 2022
|
Forum: AVR-DOS Posted: Sat Mar 24, 2007 8:33 am Subject: Free Disk Space? |
You can find it in the Help-File or at http://avrhelp.mcselec.com/DISKFREE.html |
Topic: Free Disk Space? |
oe9vfj
Replies: 6
Views: 2022
|
Forum: AVR-DOS Posted: Thu Mar 22, 2007 7:35 am Subject: Free Disk Space? |
Yes, Use DISKFREE().
You get remaining disksize in KB. |
Topic: Error on Initfilesystem |
oe9vfj
Replies: 4
Views: 1901
|
Forum: AVR-DOS Posted: Tue Mar 06, 2007 7:03 am Subject: Error on Initfilesystem |
If you check the signature bytes 55 (0101 0101) and AA (1010 1010) you can see, that the bits 1 and 2 (0000 00xx0) have a problem.
55 is read as 51 (0101 0001) and AA is read as A8 (1010 1000).
The ... |
Topic: Error on Initfilesystem |
oe9vfj
Replies: 4
Views: 1901
|
Forum: AVR-DOS Posted: Sun Mar 04, 2007 6:06 pm Subject: Error on Initfilesystem |
Hi Gerd,
Compile the Test-Program Test_DOS_Drive with the CF_Card Driver with an RS232 Interface to your board.
Then send the command "SD 0" to the program. This command read the Sector 0 and Dum ... |
|