Author |
Message |
Topic: Triggering a reset with watchdog timer |
Tiny
Replies: 8
Views: 1044
|
Forum: BASCOM-AVR Posted: Wed Mar 13, 2019 6:41 am Subject: Triggering a reset with watchdog timer |
in windows 7 they are in C:\Program Files (x86)\MCS Electronics\BASCOM-AVR\SAMPLES |
Topic: Strange behavior with TWIxslave |
Tiny
Replies: 5
Views: 442
|
Forum: BASCOM-AVR Posted: Wed Feb 13, 2019 7:53 am Subject: Strange behavior with TWIxslave |
Thanks MWS,
It was the to small array declaration. |
Topic: Strange behavior with TWIxslave |
Tiny
Replies: 5
Views: 442
|
Forum: BASCOM-AVR Posted: Tue Feb 12, 2019 10:04 pm Subject: Strange behavior with TWIxslave |
I will fix the small array and check it tomorrow |
Topic: Strange behavior with TWIxslave |
Tiny
Replies: 5
Views: 442
|
Forum: BASCOM-AVR Posted: Tue Feb 12, 2019 9:36 pm Subject: Strange behavior with TWIxslave |
the dim array declaration is to small , but the "Print #1 , "Twic: " ; Twic ; " Twic_btw : " ; Twic_btw" command shows the error.
Twi_gotdata:
#if Debugoutput = 1
Print #1 ... |
Topic: Strange behavior with TWIxslave |
Tiny
Replies: 5
Views: 442
|
Forum: BASCOM-AVR Posted: Tue Feb 12, 2019 3:03 pm Subject: Strange behavior with TWIxslave |
I'm busy with making a i2c boot loader for the atxmega32a4u.
When the master sends data to the slave, everything's is fine until the "Twic_btw" counter is reaching the value of 56. After that on t ... |
Topic: Please Help. TWI Command compile Error occurred. |
Tiny
Replies: 2
Views: 240
|
Forum: BASCOM-AVR Posted: Wed Dec 05, 2018 6:49 am Subject: Please Help. TWI Command compile Error occurred. |
Hello Kenneth,
Add "Dim Twi_start As Byte" before "open twice" command
Dim Twi_start As Byte
Open "TWIC" For Binary As #2 ' Use TWI on Port E
Config Twic = 400000 ' 400KHz
... |
Topic: waitms with variable |
Tiny
Replies: 2
Views: 339
|
Forum: BASCOM-AVR Posted: Fri Jun 01, 2018 7:12 am Subject: waitms with variable |
Hi Svein,
Just tested and it works
Regards, Tiny |
Topic: Upload error with Bootloader atxmag32a4 |
Tiny
Replies: 0
Views: 431
|
Forum: BASCOM-AVR Posted: Mon May 28, 2018 2:20 pm Subject: Upload error with Bootloader atxmag32a4 |
Hello,
As bootloader I use the atxmega32a4 example from the help file.
I use the mcd Bootloader version 2.0.0.3 for testing
if I upload a file (see upload oke.png) then everything goes oke
h ... |
Topic: Atmel AVR as ISP/Bed of nails test system |
Tiny
Replies: 3
Views: 315
|
Forum: BASCOM-AVR Posted: Sun May 20, 2018 7:49 pm Subject: Atmel AVR as ISP/Bed of nails test system |
Interesting product,
Just ordered a vdrive3.
Will you share a vinculum project to test firmware upload through boot loader on a xmega.
Thank you in advance. |
Topic: Double Frac function not working and other weirdness |
Tiny
Replies: 3
Views: 416
|
Forum: BASCOM-AVR Posted: Sat Apr 21, 2018 12:23 pm Subject: Double Frac function not working and other weirdness |
according to the help of "FRAQ" it support only a single
regards, Tiny |
Topic: Receiving 32 data bytes via UART without CR and LF - hex val |
Tiny
Replies: 4
Views: 482
|
Forum: BASCOM-AVR Posted: Wed Dec 06, 2017 7:06 am Subject: Receiving 32 data bytes via UART without CR and LF - hex val |
Hello,
are the 4 byte of unchanging data always the first 4 of the 32 bytes?
use the usart interrupt and capture the received byte into a 4 byte buffer (use fifo priciepe) and compare then in yo ... |
Topic: i2c problem between 2.0.7.9 and 2.0.8.0 |
Tiny
Replies: 12
Views: 1485
|
Forum: BASCOM-AVR Posted: Wed Oct 04, 2017 5:45 am Subject: i2c problem between 2.0.7.9 and 2.0.8.0 |
Thanks Mark |
Topic: i2c problem between 2.0.7.9 and 2.0.8.0 |
Tiny
Replies: 12
Views: 1485
|
Forum: BASCOM-AVR Posted: Tue Oct 03, 2017 5:56 am Subject: i2c problem between 2.0.7.9 and 2.0.8.0 |
Yes I use pull-up resistors with the value 4k7
please make it as een option so that my code stays working in future releases off bascom.
Regard Tiny |
Topic: i2c problem between 2.0.7.9 and 2.0.8.0 |
Tiny
Replies: 12
Views: 1485
|
Forum: BASCOM-AVR Posted: Sun Oct 01, 2017 8:01 pm Subject: i2c problem between 2.0.7.9 and 2.0.8.0 |
This is the code where the i2c goes wrong with the standard 2080 xmega.lib
$regfile = "xm256a3def.dat"
$crystal = 8000000 '8MHz
$hwstack = 500 ... |
Topic: i2c problem between 2.0.7.9 and 2.0.8.0 |
Tiny
Replies: 12
Views: 1485
|
Forum: BASCOM-AVR Posted: Sun Oct 01, 2017 11:06 am Subject: i2c problem between 2.0.7.9 and 2.0.8.0 |
Dear Mark,
Adjusting the xmega lib works for me. thankx for your quick solution
1 thing that I notice is that the status of the clock line not ends the same as in the 2079 code
as i adjust the ... |
|