Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

EEWE flag in ATmega32

2 posters

Go down  Message [Page 1 of 1]

1EEWE flag in ATmega32 Empty EEWE flag in ATmega32 Sat Sep 16, 2023 9:42 am

KerimF

KerimF

Windows 7, 32
SimulIDE-R1894_Win32

In https://simulide.forumotion.com/t1064-about-working-with-avrasm2-assembler#4683 you helped me fix the flag EEWE of ATmega8 to let it reset from 1 to 0 by editing its line on
data/AVR/mega8/mega8_regs.xml:

Change from this:
bits="EERE,EEWE,EEMWE,EERIE,0,0,0,0"
To this:
bits="EERE,EEWE|EEPE,EEMWE|EEMPE,EERIE,0,0,0,0"

So, I did the same (editing this line) for the trunk versions (including the last one) when an ATmega32 code uses EEWE.
(Sorry, I am not sure if this needs to be also fixed for some other MCUs of its family.)

2EEWE flag in ATmega32 Empty Re: EEWE flag in ATmega32 Sat Sep 16, 2023 10:32 am

arcachofo

arcachofo

Thanks, solved for Atmega32 and Atmega64.

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum