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

fuses atmeg8

4 posters

Go down  Message [Page 1 of 1]

1fuses atmeg8 Empty fuses atmeg8 Thu Sep 29, 2022 12:14 am

rockdomenik1105



how to set fuses?

2fuses atmeg8 Empty Re: fuses atmeg8 Thu Sep 29, 2022 11:24 am

arcachofo

arcachofo

Which version are you using?

In any case most fuses are not relevant for the simulation.

3fuses atmeg8 Empty Re: fuses atmeg8 Thu Sep 29, 2022 11:53 am

rockdomenik1105



SimulIDE 1.0.0-RC3

4fuses atmeg8 Empty Re: fuses atmeg8 Thu Sep 29, 2022 7:48 pm

arcachofo

arcachofo

In SimulIDE 1.0.0-RC3 you can configure some things:

Open properties and select "Config" tab.
There you have:

- Enable Reset Pin:
If the Reset Pin is multiplexed with some Port Pin, then that Pin is configured as Reset Pin instead of Port Pin.
For Atmega8 this is equivalent to set RSTDISBL fuse (PortC6).

- External Oscillator:
If External Oscillator Pins are multiplexed with some Port Pin, then those Pins are disabled and can not be used as Port Pins..
For Atmega8: PortB6, PortB7.

- Enable Watchdog:
For Atmega8 this is equivalent to WDTON fuse: WDT always on.

5fuses atmeg8 Empty Re: fuses atmeg8 Thu Sep 29, 2022 8:31 pm

rockdomenik1105



Thanks

6fuses atmeg8 Empty Re: fuses atmeg8 Tue Oct 04, 2022 12:26 am

KerimF

KerimF

So is it just me that the tab 'Properties' is no more shown on the left panel (also the tab 'RamTable)?

This happened after I run ‘SimulIDE_1.0.0-RC3_Win32’.

7fuses atmeg8 Empty Re: fuses atmeg8 Tue Oct 04, 2022 5:14 pm

arcachofo

arcachofo

So is it just me that the tab 'Properties' is no more shown on the left panel (also the tab 'RamTable)?
In versions >= 0.4.15 right-click in the Microcontroller and select:
For properties: "properties".
For Ramtable: "Open Mcu Monitor".

8fuses atmeg8 Empty Re: fuses atmeg8 Tue Oct 04, 2022 6:50 pm

KerimF

KerimF

arcachofo wrote:
So is it just me that the tab 'Properties' is no more shown on the left panel (also the tab 'RamTable)?
In versions >= 0.4.15 right-click in the Microcontroller and select:
For properties: "properties".
For Ramtable: "Open Mcu Monitor".

Unfortunately, for my avrasm2 codes, I better use  ‘SimulIDE_1.0.0-RC3_Win32’ in case the debugger problem will be solved (tested with 'test_01.asm') and the missing two tabs will be recovered.

9fuses atmeg8 Empty Re: fuses atmeg8 Tue Oct 04, 2022 8:15 pm

arcachofo

arcachofo

Unfortunately, for my avrasm2 codes, I better use ‘SimulIDE_1.0.0-RC3_Win32’ in case the debugger problem will be solved (tested with 'test_01.asm') and the missing two tabs will be recovered.
1.0.0 is >= 0.4.15 so it is the same: just right-click in the component and choose.

10fuses atmeg8 Empty Re: fuses atmeg8 Tue Oct 04, 2022 10:01 pm

KerimF

KerimF

arcachofo wrote:
Unfortunately, for my avrasm2 codes, I better use  ‘SimulIDE_1.0.0-RC3_Win32’ in case the debugger problem will be solved (tested with 'test_01.asm') and the missing two tabs will be recovered.
1.0.0 is >= 0.4.15 so it is the same: just right-click in the component and choose.

It seems I need new glasses. Embarassed

11fuses atmeg8 Empty Re: fuses atmeg8 Tue Aug 15, 2023 11:02 am

ilhan

ilhan

arcachofo wrote:In SimulIDE 1.0.0-RC3 you can configure some things:

Open properties and select "Config" tab.
There you have:

- Enable Reset Pin:
If the Reset Pin is multiplexed with some Port Pin, then that Pin is configured as Reset Pin instead of Port Pin.
For Atmega8 this is equivalent to set RSTDISBL fuse (PortC6).

- External Oscillator:
If External Oscillator Pins are multiplexed with some Port Pin, then those Pins are disabled and can not be used as Port Pins..
For Atmega8: PortB6, PortB7.

- Enable Watchdog:
For Atmega8 this is equivalent to WDTON fuse: WDT always on.

I am working on adding process of Atmega64. It is so similar to atmega8. But in my properties window I don't have config tab. Is there anything should I add to have config tab?

https://rustynotes.com/

12fuses atmeg8 Empty Re: fuses atmeg8 Tue Aug 15, 2023 3:52 pm

arcachofo

arcachofo

Atmega64 has dedicated pins for Reset and external oscillator, not sure about watchdog, but maybe you have not added a watchdog yet.

Now the options that are not needed don't appear in the config tab, and if it is empty it will not be shown.

13fuses atmeg8 Empty mega64 addings Wed Aug 16, 2023 8:10 am

ilhan

ilhan

You are right arcachofo, the register for WDT and some peripherals were different. To not cause any conflict I didn't implement them yet. You can see details in attached folder. It is not full and need a check by you I think. If it is okay you can add to next release.
Attachments
fuses atmeg8 Attachmentmega64.zip
mega64 core files
You don't have permission to download attachments.
(11 Kb) Downloaded 1 times

https://rustynotes.com/

14fuses atmeg8 Empty Re: fuses atmeg8 Wed Aug 16, 2023 8:16 am

arcachofo

arcachofo

You can see details in attached folder. It is not full and need a check by you I think. If it is okay you can add to next release.
Thank you!
I will have a look

15fuses atmeg8 Empty Re: fuses atmeg8 Fri Aug 18, 2023 10:45 pm

arcachofo

arcachofo

At first sight all seems good to me, just fixed some minor issues with PORTG and Timer0.
Also added: ADC, TWI, SPI, Watchdog, EEPROM, Comparator.
Maybe you can double-check pins used by each peripheral just to be sure.

I didn't test anything, but I think all peripherals I added should work.

Atmega64 added at trunk Rev 1799.

Sponsored content



Back to top  Message [Page 1 of 1]

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