View previous topic :: View next topic |
Author |
Message |
jene
Joined: 03 Aug 2008 Posts: 13
|
Posted: Thu Oct 25, 2012 10:41 am Post subject: ATXEMGA128A4U Support in Bascom |
|
|
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 |
|
|
Madf
Joined: 13 Nov 2011 Posts: 179 Location: Moscow
|
Posted: Sun Oct 28, 2012 1:56 pm Post subject: |
|
|
I also interested in this, I thought to purchase for their projects XMega128A4
is it possible? |
|
Back to top |
|
|
jene
Joined: 03 Aug 2008 Posts: 13
|
Posted: Sun Oct 28, 2012 2:53 pm Post subject: |
|
|
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
Jene |
|
Back to top |
|
|
Madf
Joined: 13 Nov 2011 Posts: 179 Location: Moscow
|
Posted: Sun Oct 28, 2012 3:11 pm Post subject: |
|
|
What's the difference between the "U" and not the letter?
I use now "xm32a4def.dat" - "def", without "U". |
|
Back to top |
|
|
jene
Joined: 03 Aug 2008 Posts: 13
|
Posted: Sun Oct 28, 2012 3:19 pm Post subject: |
|
|
The "U" stands for USB (Device) support by those XMEGAs. |
|
Back to top |
|
|
Madf
Joined: 13 Nov 2011 Posts: 179 Location: Moscow
|
Posted: Mon Oct 29, 2012 9:54 am Post subject: |
|
|
Great, but good if the developer BASCOM has checked the file "xm128A4Udef.txt". For greater certainty. |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Mon Oct 29, 2012 2:57 pm Post subject: |
|
|
jene, thanks, that saved me some work
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 |
|
|
Madf
Joined: 13 Nov 2011 Posts: 179 Location: Moscow
|
Posted: Mon Oct 29, 2012 3:05 pm Post subject: |
|
|
Thanks to all. |
|
Back to top |
|
|
jene
Joined: 03 Aug 2008 Posts: 13
|
Posted: Mon Oct 29, 2012 9:33 pm Post subject: |
|
|
Dear Mark,
thank you ! |
|
Back to top |
|
|
jene
Joined: 03 Aug 2008 Posts: 13
|
Posted: Wed Oct 31, 2012 9:03 am Post subject: |
|
|
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 |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Wed Oct 31, 2012 9:31 am Post subject: |
|
|
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 |
|
|
jene
Joined: 03 Aug 2008 Posts: 13
|
Posted: Wed Oct 31, 2012 9:35 am Post subject: |
|
|
Thanks for your quick response, that works |
|
Back to top |
|
|
|