Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 270 matches
www.mcselec.com Forum Index
Author Message
  Topic: Problems compiling "Test_DOS_Drive.bas"
oe9vfj

Replies: 2
Views: 1423

PostForum: AVR-DOS   Posted: Mon May 09, 2005 2:46 pm   Subject: Problems compiling "Test_DOS_Drive.bas"
Hi,

This happens, if you don't use any statement, which uses Drive reading or writing functions, cause of a missing $EXTERNAL in the DriverInit routine.

With any AVR-DOS function in your code (f ...
  Topic: Setting up ports
oe9vfj

Replies: 3
Views: 727

PostForum: BASCOM-AVR Archive   Posted: Mon May 02, 2005 6:45 am   Subject: Setting up ports
Hi,

You can use:


Config PinD.6 = Output

or

Config PORTD.6 = Output


BTW: For setting a Pin to OUTPUT, you have to write a 1 to the DDR - Register.
Your statement is setting PortD.6 ...
  Topic: AVR-DOS & CF
oe9vfj

Replies: 1
Views: 1178

PostForum: AVR-DOS   Posted: Fri Apr 29, 2005 11:48 am   Subject: AVR-DOS & CF
Hi,

May be it depends on a bug fixed with the release 4.2, which you can download here.

I will publish next week a update (Beta) , which supports FAT32 and directories.
  Topic: txt
oe9vfj

Replies: 4
Views: 1969

PostForum: AVR-DOS   Posted: Mon Apr 11, 2005 8:21 am   Subject: txt
Hi maxiu,

First of all you have know, what do you want to do with your application. With this requirements in mind you have to choose a commercial ATMega Board or build one by yourself.
For the ...
  Topic: txt
oe9vfj

Replies: 4
Views: 1969

PostForum: AVR-DOS   Posted: Wed Apr 06, 2005 9:24 am   Subject: txt
From which point are you starting?

Are you starting from Zero, or do you have an MMC on a system and can access to it yet with drive Read and Drive write routines?

If I know, what is your starti ...
  Topic: HELP PRINT
oe9vfj

Replies: 1
Views: 512

PostForum: BASCOM-AVR Archive   Posted: Fri Mar 25, 2005 11:41 am   Subject: HELP PRINT
You can print the byte without implicit converting it to a string with


Print chr(X)
  Topic: error code 200 .DEF not found
oe9vfj

Replies: 2
Views: 684

PostForum: BASCOM-AVR Archive   Posted: Wed Mar 09, 2005 10:25 am   Subject: error code 200 .DEF not found
Hi,

you may not use the variable name R1. It seems to be confused with the CPU-Register name r1.

Change R1 to an other name and it will work.
  Topic: different behaviour Local / Dim
oe9vfj

Replies: 12
Views: 1920

PostForum: BASCOM-AVR Archive   Posted: Thu Mar 03, 2005 2:47 pm   Subject: different behaviour Local / Dim
Hi,

For Print and LCD is SPC(x) better than SPACE(x).
SPACE(x) uses a temporary String-variable. SPC(x) sends the Spaces 'on the fly' to the UART or LCD.

HWSTACK (hard ware Stack) SWSTACK (Soft ...
  Topic: different behaviour Local / Dim
oe9vfj

Replies: 12
Views: 1920

PostForum: BASCOM-AVR Archive   Posted: Wed Mar 02, 2005 1:54 pm   Subject: different behaviour Local / Dim
That's very strange. Can you provide as much code as necessary to reproduce the error.
  Topic: different behaviour Local / Dim
oe9vfj

Replies: 12
Views: 1920

PostForum: BASCOM-AVR Archive   Posted: Tue Mar 01, 2005 4:11 pm   Subject: different behaviour Local / Dim
I use Sub and Function very often in my program and if problems occurs, the reason was to low stack sizes.

Passing variables byVal will eat up a lof of frame size, especially passing strings with t ...
  Topic: Labels in data statement
oe9vfj

Replies: 2
Views: 556

PostForum: BASCOM-AVR Archive   Posted: Tue Mar 01, 2005 3:17 pm   Subject: Labels in data statement
Have you seen the statement

ON var [GOTO] [GOSUB] label1 [, label2 ] [,CHECK]

I assume, this is what you want to do.

Check "ON VALUE" in the help file of BASCOM-AVR.
  Topic: AVR-DOS & MMC CARD
oe9vfj

Replies: 8
Views: 3502

PostForum: AVR-DOS   Posted: Tue Mar 01, 2005 2:26 pm   Subject: AVR-DOS & MMC CARD
Hi,

No, you don't need FS_Interpreter to use AVR-DOS (File-System Functions).

FS_Interpreter is a tool which gives you the possibility to test the card and nearly all AVR-DOS functions, without ...
  Topic: different behaviour Local / Dim
oe9vfj

Replies: 12
Views: 1920

PostForum: BASCOM-AVR Archive   Posted: Tue Mar 01, 2005 11:45 am   Subject: different behaviour Local / Dim
Your question about stack problem can not be answered with this single SUB in your mail. The Stack-size depends on all components of your application. But it seems to be a stack problem.
I tested you ...
  Topic: DIM or LOCAL
oe9vfj

Replies: 1
Views: 632

PostForum: BASCOM-AVR Archive   Posted: Thu Feb 24, 2005 10:31 am   Subject: DIM or LOCAL
Hi,

Mixing Long and Word variable in one operation isn't supported (yet), when they have different scope (Local, or Global)
  Topic: AVR-DOS & MMC CARD
oe9vfj

Replies: 8
Views: 3502

PostForum: AVR-DOS   Posted: Tue Feb 22, 2005 10:55 am   Subject: AVR-DOS & MMC CARD
Hi moreau,

This is a forum for AVR-DOS, so please post compiler problems in the BASCOM-AVR forum.
I tried your single line program (if I understand your post right)

$regfile "M128def.dat"

w ...
 
Page 16 of 18 Goto page Previous  1, 2, 3 ... 15, 16, 17, 18  Next
All times are GMT + 1 Hour
Jump to: