Author |
Message |
Topic: ATtiny45 reset |
atmega64
Replies: 6
Views: 2827
|
Forum: AVR Posted: Tue Jun 30, 2020 8:25 am Subject: ATtiny45 reset |
Hi,
it's the first time I use a micro from the ATtiny family ...
I have an ATtiny45, is a 8.2k resistor between the RESET and VCC ok for the reset?
(BASCOM-AVR version : 2.0.8.2 ) |
Topic: Bug BASCOM AVR 2.0.8.2 version? |
atmega64
Replies: 18
Views: 1282
|
Forum: BASCOM-AVR Posted: Wed Mar 11, 2020 8:41 am Subject: Bug BASCOM AVR 2.0.8.2 version? |
yes you repeat but you fail to give proper information in the first place. when the problem is only visible under certain conditions you should provide this information.
Albertsm I have been using ... |
Topic: Bug BASCOM AVR 2.0.8.2 version? |
atmega64
Replies: 18
Views: 1282
|
Forum: BASCOM-AVR Posted: Tue Mar 10, 2020 4:33 pm Subject: Bug BASCOM AVR 2.0.8.2 version? |
you should also include info about the data you sent.
and if it includes CR , LF or both.
The data I send does not include CR and LF
but I repeat, sending the same data, with the bascom version ... |
Topic: Bug BASCOM AVR 2.0.8.2 version? |
atmega64
Replies: 18
Views: 1282
|
Forum: BASCOM-AVR Posted: Tue Mar 10, 2020 3:28 pm Subject: Bug BASCOM AVR 2.0.8.2 version? |
I modified the code but always the same problem, that is, it doesn't work with the bascom version 2.0.8.2...
$regfile = "m1284def.dat"
$crystal = 16000000
$hwstack = 48
$swstack = 40
... |
Topic: Bug BASCOM AVR 2.0.8.2 version? |
atmega64
Replies: 18
Views: 1282
|
Forum: BASCOM-AVR Posted: Tue Mar 10, 2020 2:12 pm Subject: Bug BASCOM AVR 2.0.8.2 version? |
Btw., to name a bit var rxdata1 and and a string val rxdata1$ is also not the brightest idea around.
Easier reading and less error-prone it's with self explaining names, for example rx1_data and rx1_ ... |
Topic: Bug BASCOM AVR 2.0.8.2 version? |
atmega64
Replies: 18
Views: 1282
|
Forum: BASCOM-AVR Posted: Tue Mar 10, 2020 12:58 pm Subject: Bug BASCOM AVR 2.0.8.2 version? |
i would not recommend to work on a variable inside an int and in the main program without disabling interrupts in the main code.
so I should disable the interrupts before Rxdata2 $ = "" and immedia ... |
Topic: Bug BASCOM AVR 2.0.8.2 version? |
atmega64
Replies: 18
Views: 1282
|
Forum: BASCOM-AVR Posted: Tue Mar 10, 2020 8:55 am Subject: Bug BASCOM AVR 2.0.8.2 version? |
I confirm that even increasing the stacks / frame values it only works with the BASCOM version 2.0.8.1
$regfile = "m1284def.dat"
$crystal = 16000000
$hwstack = 48
$swstack = 40
$frame ... |
Topic: Bug BASCOM AVR 2.0.8.2 version? |
atmega64
Replies: 18
Views: 1282
|
Forum: BASCOM-AVR Posted: Tue Mar 10, 2020 8:08 am Subject: Bug BASCOM AVR 2.0.8.2 version? |
Already said, one more time:
Quote:
In such case the IDE's values are used, which may differ between the versions.
Obviously I had already checked that IDE's values were the same ...
... |
Topic: Bug BASCOM AVR 2.0.8.2 version? |
atmega64
Replies: 18
Views: 1282
|
Forum: BASCOM-AVR Posted: Mon Mar 09, 2020 2:03 pm Subject: Bug BASCOM AVR 2.0.8.2 version? |
ok...
but how do you explain that with v.2.0.8.1 it works? |
Topic: PWM Timer0 |
atmega64
Replies: 2
Views: 538
|
Forum: BASCOM-AVR Posted: Sun Mar 08, 2020 6:54 pm Subject: PWM Timer0 |
help please… |
Topic: Bug BASCOM AVR 2.0.8.2 version? |
atmega64
Replies: 18
Views: 1282
|
Forum: BASCOM-AVR Posted: Fri Mar 06, 2020 4:01 pm Subject: Bug BASCOM AVR 2.0.8.2 version? |
Hi,
why does the following code work only with BASCOM version 2.0.8.1 and not with version 2.0.8.2?
$regfile = "m1284def.dat"
$crystal = 16000000
$baud = 19200
Config Com1 = Dum ... |
Topic: PWM Timer0 |
atmega64
Replies: 2
Views: 538
|
Forum: BASCOM-AVR Posted: Fri Mar 06, 2020 3:00 pm Subject: PWM Timer0 |
Hi,
I use an ATmega1284
I have the following code to generate a pwm on the OC1A pin
Tccr1a = &B10000010
'
... |
Topic: Baudrate 9600 problem |
atmega64
Replies: 19
Views: 1997
|
Forum: BASCOM-AVR Posted: Wed Nov 13, 2019 8:11 am Subject: Baudrate 9600 problem |
This botchery just saved me!
I'm glad the "botchery" was helpful to you ... this is the meaning of the forum!
|
Topic: Baudrate 9600 problem |
atmega64
Replies: 19
Views: 1997
|
Forum: BASCOM-AVR Posted: Wed Oct 30, 2019 10:03 am Subject: Baudrate 9600 problem |
OK |
Topic: Baudrate 9600 problem |
atmega64
Replies: 19
Views: 1997
|
Forum: BASCOM-AVR Posted: Wed Oct 30, 2019 9:30 am Subject: Baudrate 9600 problem |
I think that VB.Net code was not yours if you dont understand how ReDim works
obviously you didn't understand anything ...
I didn't ask for REDIM to work, but if there is a similar instructi ... |
|