AVRprog2 Config Settings

AVRprog2 Config Settings

As I add config files for different AVRs to my AVRprog2 setup, I intend to detail them here. Please see my other post here, for how to set AVRprog2 up on Linux and get it working with the Arduino IDE.

These files should be saved as text files in the style of (for the ATmega16) “atmega16.xml”, and placed in the folder “/usr/local/share/avrprog2/”. Super user permissions are required.

Additional Configuration Files :

The following are non-standard implementations – note they may contain errors.

ATmega32 :

<device>
	<name>ATmega 32</name>
	<signature>0x1e9502</signature>
	<flashSize>32768</flashSize>
	<flashPageSize>128</flashPageSize>
	<eepromSize>1024</eepromSize>
	<numOfFuses>2</numOfFuses>
</device>

ATmega162 :

<device>
	<name>ATmega 162</name>
	<signature>0x1e9404</signature>
	<flashSize>16384</flashSize>
	<flashPageSize>128</flashPageSize>
	<eepromSize>512</eepromSize>
	<numOfFuses>3</numOfFuses>
</device>

ATmega328P :

<device>
	<name>ATmega 32</name>
	<signature>0x1e950F</signature>
	<flashSize>32768</flashSize>
	<flashPageSize>128</flashPageSize>
	<eepromSize>1024</eepromSize>
	<numOfFuses>3</numOfFuses>
</device>

Standard Configuration Files :

ATmega16 :

<device>
	<name>ATmega 16</name>
	<signature>0x1e9403</signature>
	<flashSize>16384</flashSize>
	<flashPageSize>128</flashPageSize>
	<eepromSize>512</eepromSize>
	<numOfFuses>2</numOfFuses>
</device>

ATmega128 :

<device>
	<name>ATmega 128</name>
	<signature>0x1e9702</signature>
	<flashSize>131072</flashSize>
	<flashPageSize>256</flashPageSize>
	<eepromSize>4096</eepromSize>
	<numOfFuses>3</numOfFuses>
<!--<socket>TQFP64</socket>	use autodetection-->
</device>

ATmega1280 :

<device>
	<name>ATmega 1280</name>
	<signature>0x1e9703</signature>
	<flashSize>131072</flashSize>
	<flashPageSize>256</flashPageSize>
	<eepromSize>4096</eepromSize>
	<numOfFuses>3</numOfFuses>
<!--<socket>TQFP100</socket>	use autodetection -->
</device>

ATmega2560 :

<device>
	<name>ATmega 2560</name>
	<signature>0x1e9801</signature>
	<flashSize>262144</flashSize>
	<flashPageSize>256</flashPageSize>
	<eepromSize>4096</eepromSize>
	<numOfFuses>3</numOfFuses>
<!--<socket>auto</socket>	use autodetection -->
</device>

 

Leave a Reply