Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

ATXEMGA128A4U Support in Bascom

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> BASCOM-AVR Archive
View previous topic :: View next topic  
Author Message
jene

Bascom Member



Joined: 03 Aug 2008
Posts: 13

germany.gif
PostPosted: Thu Oct 25, 2012 10:41 am    Post subject: ATXEMGA128A4U Support in Bascom Reply with quote

Hi,

I got the newest version of Bascom 2.0.7.5, but I canīt find the .dat file for the XMEGA128A4U.

Could anyone help ?

Thanks.

EDIT: I found the xm32A4Udef.dat, maybe the specific parts could be changed for the 128A4U ?
Back to top
View user's profile
Madf

Bascom Member



Joined: 13 Nov 2011
Posts: 179
Location: Moscow

russia.gif
PostPosted: Sun Oct 28, 2012 1:56 pm    Post subject: Reply with quote

I also interested in this, I thought to purchase for their projects XMega128A4
is it possible? Rolling Eyes
Back to top
View user's profile Visit poster's website
jene

Bascom Member



Joined: 03 Aug 2008
Posts: 13

germany.gif
PostPosted: Sun Oct 28, 2012 2:53 pm    Post subject: Reply with quote

Dear all,

I set up an .dat file by myself (attachment), based on a ATXMEGA32A4U. I hope I've changed all related values, it looks quite good
because it works fine Cool

Jene
Back to top
View user's profile
Madf

Bascom Member



Joined: 13 Nov 2011
Posts: 179
Location: Moscow

russia.gif
PostPosted: Sun Oct 28, 2012 3:11 pm    Post subject: Reply with quote

What's the difference between the "U" and not the letter?
I use now "xm32a4def.dat" - "def", without "U".
Back to top
View user's profile Visit poster's website
jene

Bascom Member



Joined: 03 Aug 2008
Posts: 13

germany.gif
PostPosted: Sun Oct 28, 2012 3:19 pm    Post subject: Reply with quote

The "U" stands for USB (Device) support by those XMEGAs.
Back to top
View user's profile
Madf

Bascom Member



Joined: 13 Nov 2011
Posts: 179
Location: Moscow

russia.gif
PostPosted: Mon Oct 29, 2012 9:54 am    Post subject: Reply with quote

Great, but good if the developer BASCOM has checked the file "xm128A4Udef.txt". For greater certainty.
Back to top
View user's profile Visit poster's website
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 6197
Location: Holland

blank.gif
PostPosted: Mon Oct 29, 2012 2:57 pm    Post subject: Reply with quote

jene, thanks, that saved me some work Smile
it was ok, i only removed some port registers not available in the chip(xm32 was wrong too). And i added timer2 registers.

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

Bascom Member



Joined: 13 Nov 2011
Posts: 179
Location: Moscow

russia.gif
PostPosted: Mon Oct 29, 2012 3:05 pm    Post subject: Reply with quote

Thanks to all.
Back to top
View user's profile Visit poster's website
jene

Bascom Member



Joined: 03 Aug 2008
Posts: 13

germany.gif
PostPosted: Mon Oct 29, 2012 9:33 pm    Post subject: Reply with quote

Dear Mark,

thank you !
Back to top
View user's profile
jene

Bascom Member



Joined: 03 Aug 2008
Posts: 13

germany.gif
PostPosted: Wed Oct 31, 2012 9:03 am    Post subject: Reply with quote

Hi Mark,

maybe there is a problem with the EEPROM routine in the XM128A4 dat file ?
Because now I am not able to use

Code:

config eeprom = mapped
 


I got the following error message during compile:

Canīt find HW-Register [PORTF_INTFLAGS ]
Canīt find HW-Register [PORTH_INTFLAGS ]
Canīt find HW-Register [PORTJ_INTFLAGS ]
Canīt find HW-Register [PORTK_INTFLAGS ]
Canīt find HW-Register [PORTQ_INTFLAGS ]

Could you please check this ?

Thanks!
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 6197
Location: Holland

blank.gif
PostPosted: Wed Oct 31, 2012 9:31 am    Post subject: Reply with quote

just remove these flag regs from the [FLAG] section. I cleaned up the available ports (also in the xm32) but i forgot to remove the corresponding int flag registers. i just changed it.
_________________
Mark
Back to top
View user's profile Visit poster's website
jene

Bascom Member



Joined: 03 Aug 2008
Posts: 13

germany.gif
PostPosted: Wed Oct 31, 2012 9:35 am    Post subject: Reply with quote

Thanks for your quick response, that works Cool
Back to top
View user's profile
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> BASCOM-AVR Archive All times are GMT + 1 Hour
Page 1 of 1

 
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