Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

AVR128DA support?
Goto page 1, 2  Next
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
dk9uv

Bascom Member



Joined: 07 Jan 2012
Posts: 21

germany.gif
PostPosted: Tue Jul 07, 2020 7:39 pm    Post subject: AVR128DA support? Reply with quote

Hi,

is there any chance that the new AVR128DA familiy will be supported by Bascom?

(BASCOM-AVR version : 2.0.8.2 )
Back to top
View user's profile
JC

Bascom Member



Joined: 15 Dec 2007
Posts: 586
Location: Cleveland, OH

usa.gif
PostPosted: Tue Jul 07, 2020 11:44 pm    Post subject: Reply with quote

I certainly hope so!

They are the "new and improved" AVR's, incorporating many of the features that were originally brought out in the Xmega series.

They also come in both surface mount and PDIP formats, so they are easy for anybody to use.

JC
Back to top
View user's profile Visit poster's website
hgrueneis

Bascom Member



Joined: 04 Apr 2009
Posts: 902
Location: A-4786 Brunnenthal

austria.gif
PostPosted: Thu Jul 09, 2020 4:34 pm    Post subject: Reply with quote

This requires a lot of work and I think this qualifies for extra charges. Like after so manny years pay full again.

Best regards
Hubert
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5916
Location: Holland

blank.gif
PostPosted: Fri Jul 10, 2020 2:34 pm    Post subject: Reply with quote

it depends on how much interest there is in the xtiny add on.
and of course in this new series.
i did not see PDIP but maybe i overlooked something.

The problem with xtiny was that i started with preliminary docs which changed a couple of times. some casings were removed.

edit : oeps, overlooked it.

_________________
Mark
Back to top
View user's profile Visit poster's website
JC

Bascom Member



Joined: 15 Dec 2007
Posts: 586
Location: Cleveland, OH

usa.gif
PostPosted: Fri Jul 10, 2020 2:39 pm    Post subject: Reply with quote

Hi Mark,

I believe the PDIP version exists, which I think has usually been of interest to Bascom.

Check you Support eMail, I sent you an eMail a while back offering to send you a few AVR128DA48's to work with, if you so desire.

Take care,

JC
Back to top
View user's profile Visit poster's website
JC

Bascom Member



Joined: 15 Dec 2007
Posts: 586
Location: Cleveland, OH

usa.gif
PostPosted: Fri Jul 10, 2020 2:48 pm    Post subject: Reply with quote

Back to top
View user's profile Visit poster's website
hgrueneis

Bascom Member



Joined: 04 Apr 2009
Posts: 902
Location: A-4786 Brunnenthal

austria.gif
PostPosted: Sun Jul 12, 2020 11:36 am    Post subject: Reply with quote

Mouser in Austria offers it at a price of 1.95 Euro at 25 pieces and over 600 in stock.
I am sure most other Electronic Companies do offer it also.

The question is, what is the correct programmer unit for it and will Bascom support it.
Atmel's Studio ver.7 not, maybe they will come out with a new version.

Best regards
Hubert
Back to top
View user's profile
Paulvk

Bascom Member



Joined: 28 Jul 2006
Posts: 1257
Location: SYDNEY

australia.gif
PostPosted: Sun Jul 12, 2020 12:31 pm    Post subject: Reply with quote

Having had a read through the spec sheet this AVR has two very useful parts
for power monitoring or generation.
A 12bit ADC
A zero crossing detector

I can see this in a lot of diy power monitoring projects

It has a lot of other nice features like the xmega

Regards Paul
Back to top
View user's profile
olhexy

Bascom Member



Joined: 03 Apr 2011
Posts: 192
Location: Tilburg, Netherlands

netherlands.gif
PostPosted: Sun Jul 12, 2020 5:52 pm    Post subject: Reply with quote

I like the two level interrupt.
With that you can make the free running ADC some kind of sytem clock that allways has priority.
And 'weave' dynamic calculated timer actions around that.
I have setup something with Atmega1284 to accurately control the timer in a proces that measures the time constants.
Hopefully to be used as a position sensor("-less") actuated solenoid.
There are workarounds to make sure that ADC allways has priority with traditional AVR's like Atmega1284, but the two level interrupt makes it easier.

On the other hand, except for the PDIP and 5V, what would be the benefit over the 32Mhz and ISP-programmable Xmega? Xmega32E5 costs €2...€2,50.
Is it (really) less complex? Why isn't it 32Mhz, should we expect a better but again different version...?


Last edited by olhexy on Mon Jul 13, 2020 6:37 am; edited 8 times in total
Back to top
View user's profile
Dave

Bascom Member



Joined: 05 Feb 2005
Posts: 314
Location: OR

usa.gif
PostPosted: Sun Jul 12, 2020 10:42 pm    Post subject: Reply with quote

These look great to me. 28pin PDIP with 24 MHz clk., 12bit ADC and a DAC! I hope Mark adds this one to the list. It would have been even better if they had made it pin compatible with Atmega328 so I could upgrade old hardware but that is asking to much.
Back to top
View user's profile
olhexy

Bascom Member



Joined: 03 Apr 2011
Posts: 192
Location: Tilburg, Netherlands

netherlands.gif
PostPosted: Sun Jul 12, 2020 11:08 pm    Post subject: Reply with quote

Offer with proper working UPDI programmer will help to sell Bascom upgrade.
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5916
Location: Holland

blank.gif
PostPosted: Mon Jul 13, 2020 10:13 am    Post subject: Reply with quote

Quote:
On the other hand, except for the PDIP and 5V, what would be the benefit over the 32Mhz and ISP-programmable Xmega? Xmega32E5 costs €2...€2,50.
Is it (really) less complex? Why isn't it 32Mhz, should we expect a better but again different version...?

good question. everything started so simple in 1997. the PIC had 1001 variants, and the 8051 too. But the AVR was simple. I never understood some decisions in variation of processors but they are probably marketing or there is some other good reason. as a user it is hard to figure out what is best.
The good thing however is that atmel/microchip will produce these chips for a long time. And that is important. you want to be able to buy chips without the need of migrating.

personally i can see the benefit of the new updi devices. these are new simplified xmega chips with some new hardware, new names and new price. For a hobby user i do not know. for simple personal projects i usually grab a Mega88.

I do not understand why the speed has not increased. but i guess the normal AVR will be phased out. so when you depend on normal AVR i would suggest to buy enough stock when your business depends on it.


Quote:
The question is, what is the correct programmer unit for it and will Bascom support it.

The 2082 already has support : MCS UPDI programmer. all you need is a serial port. (max232 of usb virtual com).
The 2083 added writing of the fuses.

only downside of updi is that it is shared with RESET line on most chips. This means you can not have reset since updi is default. ok you can program it, but then the updi is gone.

_________________
Mark
Back to top
View user's profile Visit poster's website
olhexy

Bascom Member



Joined: 03 Apr 2011
Posts: 192
Location: Tilburg, Netherlands

netherlands.gif
PostPosted: Tue Jul 14, 2020 11:26 am    Post subject: Reply with quote

albertsm wrote:

The 2082 already has support : MCS UPDI programmer. all you need is a serial port. (max232 of usb virtual com).
The 2083 added writing of the fuses.

only downside of updi is that it is shared with RESET line on most chips. This means you can not have reset since updi is default. ok you can program it, but then the updi is gone.

Have not used Bascom recently. Indeed the software is there. I think I forgot because I found no .dat files for devices with UPDI. (EDIT: Today I got 2083 with many UPDI .dat files!!!)
UPDI programmer hardware that Bascom Help describes is something like this?

From: https://npk-stn.ru/2019/07/19/simple_programming_attiny414_via_updi/?lang=en
Back to top
View user's profile
SZTRAD

Bascom Member



Joined: 30 Dec 2019
Posts: 165

blank.gif
PostPosted: Wed Jul 15, 2020 1:51 pm    Post subject: Reply with quote

Yes, I also blocked several 1616 errors in the macro before I came to the conclusion that by default they have the fuses set to 0, which shuts down UPDI. From this state it is possible to get a 12V programmer. Just after resetting the processor, send a 12V pulse to the UPDI pin and the processor will enter the programming mode.
I assume that Bascom works with UPDI as well as with other programmers and reads the fuses from the circuit, so unintentional overwriting should not occur. I haven't tried it in Bascom yet, but I'll soon try as soon as the expansion from Mark arrives and I'll have some time.

To olhexy
Yes, the UPDI interface should also work on a virtual com from Bascom. Mark writes it in his post.
Back to top
View user's profile
SZTRAD

Bascom Member



Joined: 30 Dec 2019
Posts: 165

blank.gif
PostPosted: Fri Jul 17, 2020 8:30 pm    Post subject: Reply with quote

Mark:only downside of updi is that it is shared with RESET line on most chips. This means you can not have reset since updi is default. ok you can program it, but then the updi is gone.


Starting UPDI is false on txd. Due to interference, it is better for the application to have UPDI turned off. In case of accidental start-up, the current consumption is up to 2mA. This is important for battery operation in a low power application.
You can use this https://www.tindie.com/products/leonerd/avr-updi-programmer-with-12v/
(I invented it a little differently last year, mainly I didn't let 12V into the input of the converter)
In the data sheet, for example attiny1614 page 472, it is described what the pulse should look like when communication starts.
If Mark ever has time, he may add this option to the programmer. I personally switch PD0 to RESET, I had problems with current consumption as I wrote above.
RS
Back to top
View user's profile
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum