Ich krame den Thread mal wieder hoch, vielleicht hat ja jemand schon Erfahrungen sammeln können?
Die XMEGAs gibts ja inzwischen zu kaufen - und auch recht günstig für die gebotene Power...
Den ATXMEGA128A1-AU z.B. bei TME für <7€
Vielleicht kannst du ein Eigenes erstellen und dann publizieren.
lg,
Ed
Ich krame den Thread mal wieder hoch, vielleicht hat ja jemand schon Erfahrungen sammeln können?
Die XMEGAs gibts ja inzwischen zu kaufen - und auch recht günstig für die gebotene Power...
Den ATXMEGA128A1-AU z.B. bei TME für <7€
Ich kann nur darauf hinweisen, dass bei Bascom die Unterstützung jetzt nicht mehr weit ist. Ich will mir gerade ein Board dafür basteln. Ich denke Bascom wird auf jeden Fall den Bootloader unterstützen!
Wirst du dir ein Board mit dem Controller kaufen oder stellst du dich der Herausforderung eine passende Platine zu entwickeln und das Bauteil aufzulöten?
Wäre schön wenn Frank wie zuvor für den mega256, auch ein ähnliches Board für den XMEGA anbietet!
MfG
Hellmut
Also das Xplain von Atmel selber kostet samt 8MB Speicher und ein paar anderen Extras grad man 30€ bei Mouser.. was will man mehr.
Danach könnte ich mir durchaus vorstellen ein Board zu designen oder an einer Gemeinschaftsaktion teilzunehmen.
Aber Bascom soll da erstmal hinkommen - dann ist aber bestimmt lustig.
Das Xplain habe ich auch schon. Nur das Bascom fehlt zum Glück![]()
Ganz dumme Frage, wer ist mauser?
MfG
Hellmut
mouser.com - hoobytauglicher Profiladen...
Na mir fehlt da noch einiges mehr, bzw. eigentlich alles.Zitat von kiu77
![]()
Ich hab zwar das Xplain, es blinkt und quitscht, aber keine Docu.
Was ist wo angeschlossen?
Mal davon abgesehen, das Bascom da auch noch nicht rankommt.
Mit was für einem "Brenner" überhaupt?
ISP is ja auch nicht mehr ...
Da hat nach 3 langen Jahren ATMEL mal was raus geworfen un nu stehste da
![]()
Its not a bug its a feature
OK, bei Bascom tut sich was!
Hier die Change-Logs zu den letzten Updates:
Bleibt nur noch die frage nach dem Flasher...
Hat da schon jemand ne günstige Bastellösung gesehen?
1.11.9.6 (nur der XMEGA-Teil)
1.11.9.7### XMEGA NOTES ###
! In XMEGA the memory is not lineair, you can not access the registers with a pointer! registers are in a separate dataspace
! In XMEGA the access order of 16/24/32 bit registers is changed. It is now from LSB-MSB for both reading and writing !
Following comment is for XMEGA only. Please look in the help for a full description.
- CONFIG COM starts at 0 for xmega , other parameters differ slightly too
Config Com0 = 38400 , Mode = Asynchroneous , Parity = None , Stopbits = 1 , Databits = 8 , Clockpol = 0
- When using EEPROM, you need to add : Config Eeprom = Mapped
- CONFIG DACA|DACB : Config Daca = Enabled , Io0 = Enabled , Channel = Single , Reference = Int1v , Interval = 64 , Refresh = 64
- Config Osc = Enabled , 32mhzosc = Enabled
- Config Sysclock = 32mhz , Prescalea = 1 , Prescalebc = 1_1
- Config Priority = Static , Vector = Application , Lo = Enabled
Notice that Xmega support is not fully implemented. But it is well enough to use it and get familiair with it.
In the coming period there will be a number of xmega updates that will implement all 8 UARTS, ADC, multiple SPI , TWI and timers.
- Notice that while JTAG programming is supported now, it does NOT support Xmega JTAG. Atmel has changed the protocol and they could not
give an update yet that describes the changes related to XMEGA. So JTAG will work for non-xmega but not for Xmega.
We advise to use stk600 Programmer and load the/a bootloader.
- This is a new Xmega update but also included some fixes and features for non Xmega.
- CONFIG ADCA of CONFIG ADCB added for ADC converter
- config INPUT|INPUT1|INPUT2.... INPUT8, is supported by Xmega
- all uarts are supported now. use COM1-COM8.
While all UARTS are supported, some options are not implemented such as buffered serial COM.
- new power mode support. the IDLE, POWERSAVE and POWERDOWN are replaced by POWER MODE
the old modes still work but will be removed in a future version. It is advised to use the new POWER command which supports all modes.
The supported modes depend on the micro hardware.
For example in the M88DEF.DAT for the Mega88 you will find :
Powermodes=5
PM1=Idle,SMCR.SM0-0,SMCR.SM1-0,SMCR.SM2-0
PM2=Powerdown,SMCR.SM0-0,SMCR.SM1-1,SMCR.SM2-0
PM3=Standby,SMCR.SM0-0,SMCR.SM1-1,SMCR.SM2-1
PM4=ADCnoise,SMCR.SM0-1,SMCR.SM1-0,SMCR.SM2-0
PM5=Powersave,SMCR.SM0-1,SMCR.SM1-1,SMCR.SM2-0
In this case the modes are IDLE, POWERDOWN,STANDBY,ADCNOISE,POWERSAVE
Use as : POWER IDLE
Other chips might have more modes.
- m328P has some fusebits on a different fuse compared to m88, m168p. this is now corrected.
- number of include files increased to 500. It was actual 500, but a type error resulted in 50 instead of 500.
- a bug in an update of a third party component caused an error on windows 2000.
- portQ, portR added to CONFIG for Xmega
- added COM5,6 and 7 for Xmega. Notice that for Xmega you can dynamic change the COM at run time.
- CONFIG COM for xmega changed : instead of using COM0 it is better for compatibility with other commands to start with COM1
So the range for xmega is now the same as for normal AVR : COM1-COM8
Internally, the UART channel is working with 0-7.
The TX pin is set to output in this release.
Ist doch super!
Jetzt kann es losgehen!
Lesezeichen