Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 91 matches
www.mcselec.com Forum Index
Author Message
  Topic: Bootloader for xtiny Attiny3217
Tiny

Replies: 5
Views: 353

PostForum: BASCOM-AVR   Posted: Fri Apr 09, 2021 12:51 pm   Subject: Bootloader for xtiny Attiny3217
Thanks Mark,

I changed the boot loader to work with rs485

'The loader takes less than 1280 bytes so the BOOT FUSE is set to 5.
'do NOT FORGET that your normal app must use $ROMSTART=&H280 i ...
  Topic: Bootloader for xtiny Attiny3217
Tiny

Replies: 5
Views: 353

PostForum: BASCOM-AVR   Posted: Sat Apr 03, 2021 3:24 pm   Subject: Bootloader for xtiny Attiny3217
Hi Mark

I'm going to work on it next week, thanks for the example and explanation.

Regards Tiny
  Topic: Bootloader for xtiny Attiny3217
Tiny

Replies: 5
Views: 353

PostForum: BASCOM-AVR   Posted: Fri Apr 02, 2021 12:37 pm   Subject: Bootloader for xtiny Attiny3217
Hello,

I'm looking for a example for a bootloader for the attiny3217

in the samples directory I don't see an example for a bootloader that can work wit the atting3217.

Does anyone already hav ...
  Topic: adding a null to a string
Tiny

Replies: 5
Views: 363

PostForum: BASCOM-AVR   Posted: Wed Mar 04, 2020 7:46 am   Subject: adding a null to a string
Hey,

thanks everyone for the solutions provided.

Regards Tiny
  Topic: adding a null to a string
Tiny

Replies: 5
Views: 363

PostForum: BASCOM-AVR   Posted: Mon Mar 02, 2020 10:27 pm   Subject: adding a null to a string
Sorry for the wrong sample code

Your solution for using an array as overlay works, Thanks


$regfile = "m88pdef.dat"
$crystal = 4000000
$hwstack=40
$swstack = 16
$framesize = 32
...
  Topic: adding a null to a string
Tiny

Replies: 5
Views: 363

PostForum: BASCOM-AVR   Posted: Mon Mar 02, 2020 4:53 pm   Subject: adding a null to a string
Hello,

Is there as possibility the add manually a "null" to a string

for example


$regfile = "m88pdef.dat"
$crystal = 4000000
$hwstack=40
$swstack=16
$framesize = 32

Dim M ...
  Topic: Fast calculation of free size
Tiny

Replies: 5
Views: 2289

PostForum: AVR-DOS   Posted: Thu Apr 04, 2019 7:18 am   Subject: Fast calculation of free size
Please will you share with you have modified, I also only need to know if there is freespace for the next logfile.
  Topic: Triggering a reset with watchdog timer
Tiny

Replies: 8
Views: 348

PostForum: 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: 257

PostForum: BASCOM-AVR   Posted: Wed Feb 13, 2019 7:53 am   Subject: Strange behavior with TWIxslave
Thanks MWS,

It was the to small array declaration. Embarassed
  Topic: Strange behavior with TWIxslave
Tiny

Replies: 5
Views: 257

PostForum: 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: 257

PostForum: BASCOM-AVR   Posted: Tue Feb 12, 2019 9:36 pm   Subject: Strange behavior with TWIxslave
the dim array declaration is to small Embarassed, 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: 257

PostForum: 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: 205

PostForum: 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: 304

PostForum: 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: 396

PostForum: 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 ...
 
Page 1 of 7 Goto page 1, 2, 3, 4, 5, 6, 7  Next
All times are GMT + 1 Hour
Jump to: