Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

NEW PAID VERSION OF BASCOM TO SUPPORT NEW MICROCONTROLLERS
Goto page Previous  1, 2, 3, 4
 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
srecko

Bascom Member



Joined: 05 Sep 2007
Posts: 23
Location: Dolenjske Toplice

slovenia.gif
PostPosted: Wed Dec 22, 2021 11:47 am    Post subject: Reply with quote

There is some information in English. I attached the datasheet. I also looked at m328pdef.dat and I must admit, that there is no way I could even try to edit it to something useful for LCT chip. The chip itself is nice, 32MHz, 8bit DAC, 12bit ADC, some 80mA pins, SWD... But here is also shared EEPROM and deep sleep state, which erases all RAM. I will share more info, when I get the development boards. Any idea or comment is very welcome.
Back to top
View user's profile Visit poster's website
SZTRAD

Bascom Member



Joined: 30 Dec 2019
Posts: 165

blank.gif
PostPosted: Wed Dec 22, 2021 1:26 pm    Post subject: Reply with quote

Hi
I have them on my desk and used them as a replacement for the 328 when I needed more speed,but it has to be said that I wouldn't put them in a new project. There are far better alternatives from microchip these days. This copy was made as a replacement for the 328 when the arduino era came along.
Vote for the new microchip chips. Attiny new ones are a good choice whether the AVR0,1 core or the best new AVR2. You may not get the frequency but if you are not doing anything too critical they are sufficient for a lot of things.

RS
Back to top
View user's profile
srecko

Bascom Member



Joined: 05 Sep 2007
Posts: 23
Location: Dolenjske Toplice

slovenia.gif
PostPosted: Wed Dec 22, 2021 2:31 pm    Post subject: Reply with quote

I agree with that. But are they available? Due to chip shortage I can't buy almost anything. Do you have any supplier on mind?
I wouldn't be looking for alternatives, if I could get my hands on AVR chips.
Back to top
View user's profile Visit poster's website
SZTRAD

Bascom Member



Joined: 30 Dec 2019
Posts: 165

blank.gif
PostPosted: Wed Dec 22, 2021 2:43 pm    Post subject: Reply with quote

Hi
Farnell, TME, for example. Both have new lines freely available at least for the Czech Republic. I know about blocking products to some markets but maybe Serbia is not one of them. It depends how much you need. With a truck it would probably be a problem Smile .
RS
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Wed Dec 22, 2021 3:12 pm    Post subject: Reply with quote

I looked into the LGT8FX8P for a customer. indeed all have problems with sourcing parts.
But when i try to visit the manufacturers web i get a warning from my anti virus software.
I do not know the trackrecord of this company. I would not put a product from such a source into my products. Only when they have a license from atmel/microchip i would do so.
But now it seems a clone/pirated chip. as a software vendor suffering from piracy i can not recommend this.
But regardless, i checked the datasheet and it would be a lot of work to support this chip due to all the tiny differences.
So it depends on how compatible it should be. the problem is when we release a dat file, users will expect that all the hardware will work which i fully understand.
But it is similar as supporting xtiny/mega/avrx : a lot of work. i would migrate to the nice 128db28 or so. really soon not only the beta testers can use this chip.

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

Bascom Member



Joined: 22 Jun 2004
Posts: 1161
Location: France

france.gif
PostPosted: Wed Dec 22, 2021 3:38 pm    Post subject: Reply with quote

Hi
in France, Gotronic has more than 500 atmega328p in stock. They are serious
I just ordered 10
JP
Wink [/img]

_________________
pleasure to learn, to teach, to create
Back to top
View user's profile Visit poster's website
srecko

Bascom Member



Joined: 05 Sep 2007
Posts: 23
Location: Dolenjske Toplice

slovenia.gif
PostPosted: Wed Dec 22, 2021 4:36 pm    Post subject: Reply with quote

Thanks for your inputs. I will bookmark the page for further reference.
I think I'm clinging ATmega328P too much. I slept a little too long and now I have to do bit more research.

@SZTRAD I order mainly from TME and they don't have it. Also Digikey, Mouser, SOS, Farnell... Schukat has it, but is very expensive. I'm not from Serbia but Slovenia, so no problems ordering from anywhere.

@albertsm I think you are right. I read a lot about those LGT chips, but they seem not to be clones, but "similar". If I find an appropriate AVR replacement, I will forget about LGT.
I found some AVR32DB48 chips, which would be suitable and are very cheap, but I can't find an appropriate DAT file for them. Or AVR128DB28. I guess I'm missing something. I'll do my homework. Thanks to all.
Back to top
View user's profile Visit poster's website
SZTRAD

Bascom Member



Joined: 30 Dec 2019
Posts: 165

blank.gif
PostPosted: Wed Dec 22, 2021 8:31 pm    Post subject: Reply with quote

Hi
Sorry about the state, I looked at the flag and assigned it wrong.
If you were looking to buy a 328 (I was writing about new chips), the octopart search engine worked well for me.
https://octopart.com/search?q=atmega328&currency=USD&specs=0
in a normal case for us half-blind just farnell has in stock
RS
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Wed Dec 22, 2021 8:43 pm    Post subject: Reply with quote

srecko wrote:

I found some AVR32DB48 chips, which would be suitable and are very cheap, but I can't find an appropriate DAT file for them. Or AVR128DB28. I guess I'm missing something. I'll do my homework. Thanks to all.


you need the xtiny add on which supports the xtiny and megaX (4808,4809) chips.
Version 2085 also support a number of DB chips like avr128db28
version 2085 is under third beta for SLA members. it will be available this year.

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

Bascom Member



Joined: 05 Sep 2007
Posts: 23
Location: Dolenjske Toplice

slovenia.gif
PostPosted: Wed Dec 22, 2021 10:53 pm    Post subject: Reply with quote

SZTRAD wrote:
Hi
Sorry about the state, I looked at the flag and assigned it wrong.
If you were looking to buy a 328 (I was writing about new chips), the octopart search engine worked well for me.
https://octopart.com/search?q=atmega328&currency=USD&specs=0
in a normal case for us half-blind just farnell has in stock
RS


No problem at all. Very Happy
Octopart finds something, but the chips aren't really there. For example, Farnell has only a couple of PCS in DIP, nothing else.

albertsm wrote:
you need the xtiny add on which supports the xtiny and megaX (4808,4809) chips.
Version 2085 also support a number of DB chips like avr128db28
version 2085 is under third beta for SLA members. it will be available this year.


Thanks for this info. I will check next week if it will be available and I'll order the add on right away. But Tiny family isn't of my interest.

However, I'm not sure, if i get this right: Once DAT file for DB chips is done, for example AVR128DB64, then it is "easy" to adopt to AVR128DB28 and "harder" to AVR32DB28? Also DA is another family with different internals and (almost) all must be done again? DA chips are also interesting because of touch peripheral. I know I have too many questions, but when I'll change the family of AVRs, it will be for a long time.

Thanks to all and best regards, Srecko
Back to top
View user's profile Visit poster's website
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Fri Dec 24, 2021 9:16 pm    Post subject: Reply with quote

It always begins with a first file like 128Db28. the idea is indeed that it is easy since they differ in memory and available hardware sources like uart, spi, etc.
But in reality it is not that simple. since we moved code from the compiler to the DAT files (for configuration) this must all be added in order to configure simple.
And when you know that the xtiny dat files have been modified many times just because of new insights, typos, features you might understand that the best strategy is to start with a few, then when there are no bugs, add the ones of interest. This is usually done on customer demand. With customer i mean, a customer with an actual license.

The DA and DD will be added too but only when there is enough interest. For some reason customers always want what is not there : got tons of questions about xtiny. When it was there, the Q was about m4808/m4809.

That said, you can always tweak the dat files for other chips. when you compare them you will see what is needed.

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

Bascom Member



Joined: 05 Sep 2007
Posts: 23
Location: Dolenjske Toplice

slovenia.gif
PostPosted: Fri Dec 24, 2021 9:54 pm    Post subject: Reply with quote

Dear Mark.

Thank you for your detailed explanation. I know just enough, that it's clear to me, that in the case of DAT files every bit matters and it is not so simple as it seems, specially for completely new devices. Actually, I don't quite understand, why there must be so many different models of similar chips from the same company. Anyway, I hope things will settle now with new Microchip models. I look forward to test the new version, when it will be out. Then I will also order the add on. I ordered some chips and a test board and will also build the simple UPDI programmer. Maybe I could be of some help too, usually I was always a step (or more) behind and could use more help then I could give.

I wish you and all readers a merry Christmas, lots of health and a very prosperous new year.

Srecko
Back to top
View user's profile Visit poster's website
plouf

Bascom Member



Joined: 19 Jan 2012
Posts: 78
Location: Athens,Greece

greece.gif
PostPosted: Sat Dec 25, 2021 9:39 am    Post subject: Reply with quote

albertsm wrote:


The DA and DD will be added too but only when there is enough interest. For some reason customers always want what is not there : got tons of questions about xtiny. When it was there, the Q was about m4808/m4809.

That said, you can always tweak the dat files for other chips. when you compare them you will see what is needed.


Imho it should suppprt bt default all sizes of DB . Its easy and enough.
Diffirent mcus (da dd etc) should added after a testing circe of db to ensure that it mostly ok

People ask because they can !?
DB is one of the best additiona lattely. It can replace "mega32" in our mind as the "one for all" mcu
Has price and peripherals for the next step.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
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