logo elektroda
logo elektroda
X
logo elektroda
REKLAMA
REKLAMA
Adblock/uBlockOrigin/AdGuard mogą powodować znikanie niektórych postów z powodu nowej reguły.

[Rozwiązano] ATtiny13A - Problemy z programowaniem po ustawieniu zegara na 128 kHz

kamil3211 01 Paź 2024 18:37 219 2
REKLAMA
  • #1 21246368
    kamil3211
    Poziom 10  
    Posty: 474
    Ocena: 57
    Za pierwszym razem ustawiłem na attiny13 zegar 128 khz raz wgrało teraz nie chce.
    Na drugim na którym nie ustawiłem tej częstotliwości wszystko działa. Niby jest arduino as isp slow bo arduino używam do zaprogramowania ale to nie pomaga ale ten tryb kiedy uruchomiłem na drugim mikrokontrolerze działającym to działa ale moze trzeba jakąś zworke na arduino jak na tych programatorach była ?
    avrdude: Version 7.2-arduino.1
    Copyright the AVRDUDE authors;
    see https://github.com/avrdudes/avrdude/blob/main/AUTHORS

    System wide configuration file is C:\Users\kamil\AppData\Local\Arduino15\packages\MicroCore\hardware\avr\2.4.0\avrdude.conf

    Using Port : COM8
    Using Programmer : stk500v1
    Overriding Baud Rate : 19200
    Setting bit clk period : 32.0
    AVR Part : ATtiny13A
    Chip Erase delay : 4000 us
    RESET disposition : dedicated
    RETRY pulse : SCK
    Serial program mode : yes
    Parallel program mode : yes
    Timeout : 200
    StabDelay : 100
    CmdexeDelay : 25
    SyncLoops : 32
    PollIndex : 3
    PollValue : 0x53
    Memory Detail :

    Block Poll Page Polled
    Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
    ----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
    eeprom 65 5 4 0 no 64 4 0 4000 4000 0xff 0xff
    flash 65 6 32 0 yes 1024 32 32 4500 4500 0xff 0xff
    lfuse 0 0 0 0 no 1 1 0 4500 4500 0x00 0x00
    hfuse 0 0 0 0 no 1 1 0 4500 4500 0x00 0x00
    lock 0 0 0 0 no 1 1 0 4500 4500 0x00 0x00
    signature 0 0 0 0 no 3 1 0 0 0 0x00 0x00
    calibration 0 0 0 0 no 2 1 0 0 0 0x00 0x00

    Programmer Type : STK500
    Description : Atmel STK500 version 1.x firmware
    Hardware Version: 2
    Firmware Version: 1.18
    Topcard : Unknown
    Vtarget : 0.0 V
    Varef : 0.0 V
    Oscillator : Off
    SCK period : 0.1 us
    avrdude: AVR device initialized and ready to accept instructions
    avrdude: device signature = 0x000000 (retrying)
    avrdude: device signature = 0x000000 (retrying)
    avrdude: device signature = 0x000000
    avrdude main() error: Yikes! Invalid device signature.
    avrdude main() error: expected signature for ATtiny13A is 1E 90 07
    Double check connections and try again, or use -F to override
    this check.


    avrdude done. Thank you.

    Failed chip erase: uploading error: exit status 1
  • REKLAMA
  • #2 21250411
    kamil3211
    Poziom 10  
    Posty: 474
    Ocena: 57
    Czytam o jakimś programowaniu HVSP czyli wysokie napięcie na reset w atmedze w datasheet faktycznie jest nawet 12V na reset ale jak z attiny13 ? tam standardowe napięcie? coś przeoczyłem ?
  • #3 21251382
    kamil3211
    Poziom 10  
    Posty: 474
    Ocena: 57
    W programie arduino isp trzeba zmodyfikować jedną linijkę kodu tam gdzie piszą w komentarzu 128khz attiny.
REKLAMA