[ethersex-devel] named pins verändert falschen PIN
Hallo, ich habe einen meiner 220V Funkschalter neu bespielen wollen. Auf diesen ist ein RFM12 Transceiver an PB2-PB5 und PD2 angeklemmt. Für Control6 ist Named and logic state I/O aktiviert und auf die Datei default gestellt. Die hat folgenden Inhalt: PC1 OUTPUT LOW Piezo PD0 INPUT LOW Taste_gruen PD1 INPUT LOW Taste_rot PC2 OUTPUT HIGHGruen PC3 OUTPUT HIGHRot PC4 OUTPUT HIGHAn PC5 OUTPUT HIGHAus Nach der Aktivierung von Named I/O lief der RFM12 nicht mehr. Ich habe das Problem soweit eingrenzen können, daß ich in die default Datei lediglich PC1 OUTPUT LOW RELAIS2 eingetragen habe. Mit dem ecmd Kommando pin toggle RELAIS2 ändert sich nun der Zustand des PD1 anstelle des PC1. Das erklärt auch den Ausfall des RFM12. Ich nutze den ATMEGA328P mit angehängter Config. Hat noch jemand den Effekt? Viele Grüße Olaf avr-gcc 4.7.2 binutils 2.22 avr-libc 1.8.0 ethersex git vom 21.10.2012 mit folgendem letzten Eintrag: commit 7599120c5a1173b2b958b4e996169b78852ccd8e Author: Erik Kunze e...@users.sourceforge.net Date: Sun Oct 21 11:28:42 2012 +0200 # # Automatically generated by make menuconfig: don't edit # # # General Setup # CONFIG_EXPERIMENTAL=y # CONFIG_EXPERT is not set ARCH=ARCH_AVR ARCH_AVR=y # ARCH_HOST is not set # atmega8 is not set # atmega88 is not set # atmega128 is not set # atmega16 is not set # atmega162 is not set # atmega168 is not set # atmega168p is not set # atmega169 is not set # atmega32 is not set MCU=atmega328p atmega328p=y # atmega64 is not set # atmega644 is not set # atmega644p is not set # atmega1284p is not set # at90can32 is not set # at90can64 is not set # at90can128 is not set FREQ=1000 # alpengluehn is not set # Arduino_Duemilanove is not set # conrad_probot is not set # ehaserl is not set # etherrape is not set # Fimser is not set # fnordlicht_servo is not set # generic_usb_teensy is not set # hr20 is not set # Jackalope is not set # JeeLinkv2 is not set # lome6 is not set # MicroWebServer is not set # netio_addon is not set # netio is not set HARDWARE=other other=y # pollin_evalboard_addon is not set # pollin_evalboard is not set # pollin_funkevalboard is not set # radig_web is not set # thermy is not set # USBrfm12stick is not set # volkszaehler_so_server is not set # CPU_SLEEP is not set # SRAM_SUPPORT is not set # SRAM_MEMTEST_ON_BOOT is not set # BOOTLOADER_SUPPORT is not set BOOTLOADER_START_ADDRESS=0x7000 FLASH_SIZE=0x8000 EEPROM_SIZE=0x400 RAM_SIZE=0x900 FLASH_PAGESIZE=0x80 EEPROM_PAGESIZE=0x4 # CRC_PAD_SUPPORT is not set # TEENSY_SUPPORT is not set # SPI_TIMEOUT is not set # USART_SPI_SUPPORT is not set # SOFT_SPI_SUPPORT is not set # USE_GIT_VERSION is not set # USE_RELEASE_VERSION is not set VERSION_STRING_CHOICE=USE_BUILDDATE_VERSION USE_BUILDDATE_VERSION=y # DEBUG_DISCARD_SOME is not set # DEBUG is not set DEBUG_BAUDRATE=115200 # DEBUG_USE_SYSLOG is not set # SOFT_UART_SUPPORT is not set # DEBUG_HOOK is not set # DEBUG_RESET_REASON is not set STATUSLEDS=y # STATUSLED_POWER_SUPPORT is not set # STATUSLED_BOOTED_SUPPORT is not set # STATUSLED_NETLINK_SUPPORT is not set STATUSLED_TX_SUPPORT=y STATUSLED_RFM12_TX_SUPPORT=y # STATUSLED_ZBUS_TX_SUPPORT is not set # STATUSLED_IRMP_TX_SUPPORT is not set # STATUSLED_EMS_TX_SUPPORT is not set STATUSLED_RX_SUPPORT=y STATUSLED_RFM12_RX_SUPPORT=y # STATUSLED_ZBUS_RX_SUPPORT is not set # STATUSLED_IRMP_RX_SUPPORT is not set # STATUSLED_EMS_RX_OK_SUPPORT is not set # STATUSLED_ERROR_SUPPORT is not set # STATUSLED_EMS_RX_FAIL_SUPPORT is not set # STATUSLED_HB_ACT_SUPPORT is not set # STATUSLED_HEARTBEAT_SUPPORT is not set # STATUSLED_RFM12_TX_ACT_SUPPORT is not set # STATUSLED_RFM12_RX_ACT_SUPPORT is not set # STATUSLED_ZBUS_TX_ACT_SUPPORT is not set # STATUSLED_ZBUS_RX_ACT_SUPPORT is not set # STATUSLED_EMS_TX_ACT_SUPPORT is not set # STATUSLED_EMS_RX_ACT_SUPPORT is not set # STATUSLED_ECMD_ACT_SUPPORT is not set # CRYPTO_SUPPORT is not set # CAST5_SUPPORT is not set # MD5_SUPPORT is not set # SHA1_SUPPORT is not set # VFS_SUPPORT is not set # VFS_DF_SUPPORT is not set # VFS_INLINE_SUPPORT is not set # CONFIG_INLINE_SUPPORT is not set # VFS_CONFIG_INLINE_SUPPORT is not set # MOTD_INLINE_SUPPORT is not set # RFM12_INLINE_SUPPORT is not set # I2C_INLINE_SUPPORT is not set # VFS_IO_INLINE_SUPPORT is not set # KTY_INLINE_SUPPORT is not set # ADC_INLINE_SUPPORT is not set # ONEWIRE_INLINE_SUPPORT is not set # CAMERA_INLINE_SUPPORT is not set # NAMED_PIN_INLINE_SUPPORT is not set # STELLA_INLINE_SUPPORT is not set # MOTORCURTAIN_INLINE_SUPPORT is not set # MSR1_INLINE_SUPPORT is not set # TO1_INLINE_SUPPORT is not set # MCUF_INLINE_SUPPORT is not set # UPNP_INLINE_SUPPORT is not set # LCD_INLINE_SUPPORT is not set # NMEA_INLINE_SUPPORT is not set # PWM_SERVO_INLINE_SUPPORT is not set # CW_INLINE_SUPPORT is not set # DMX_STORAGE_INLINE_SUPPORT is not set #
Re: [ethersex-devel] named pins verändert falschen PIN
Als Ergänzung: Wenn ich PB1 in default definiere, ändert sich mit dem Toggle Kommando pin toggle RELAIS2 in der Tat PC1. Der ATMEGA328P hat nur die PB, PC und PD Ports. Hängt es damit zusammen? Viele Grüße Olaf ___ Ethersex-devel mailing list Ethersex-devel@list.zerties.org https://list.zerties.org/cgi-bin/mailman/listinfo/ethersex-devel
[ethersex-devel] Ethersex auf Arduino-HW
Hallo! Wenn man auf Ebay bisschen rumstöbert, fallen einem sehr günstige Nachbauten des Arduino Nano (ca. 20x45mm, Atmega 328P) sowie Ethernet-Platinen mit dem ENC28J60 (nur unwesentlich größer als der RJ45-Stecker) auf. Eigentlich prädestiniert für Ethersex, wenn ein NET-IO zu große Abmessungen hat. Ein Test ging auch auf Anhieb (Minimalkonfiguration mit Webserver und 1Wire). Jetzt versuche ich mein Glück mit watchasync. Da sieht es leider schlecht aus... watchasync.c ist offenbar nur für die großen Atmegas geschrieben, denn implizit werden Annahmen gemacht, die auf die kleinen Atmegas wie dem 328p nicht zutreffen. Leider ist Atmel ja nicht in der Lage, seine diversen Atmegas so aufzubauen, daß gleiche Funktionen in verschiedenen Modellen gleich aufgebaut sind. In diesem speziellen Fall unterscheidet sich die Handhabung des Pin-Change Interrupts zwischen den Modellen mit und ohne Port A. Hat sich schonmal damit beschäftigt? Martin ___ Ethersex-devel mailing list Ethersex-devel@list.zerties.org https://list.zerties.org/cgi-bin/mailman/listinfo/ethersex-devel