#avr Logs

Sep 24 2021

#avr Calendar

01:12 AM specing_ is now known as specing
08:12 AM gogo2464 is now known as donald123
02:05 PM gogo2464 is now known as donald123
05:38 PM Metalsutton: Should MISO and MOSI every have continuity?
05:38 PM Metalsutton: ever
05:44 PM exp: Metalsutton: what sort of 'continuity'? two pins pulled to ground have continuity, but aren't 'directly' connected
06:52 PM rue_mohr: ^^
06:52 PM rue_mohr: what that one said
07:57 PM Metalsutton: I get the error code -2 on avrdude. Cannot initilize.
07:58 PM Metalsutton: It works fine on an arduino nano via SPI, but my own custom board is not working.
07:58 PM Metalsutton: I am having real difficulty narrowing down the problem.
07:59 PM Metalsutton: How do I find out what a chip is doing? Can i find out if the chip is constantly reseting via a scope?
08:03 PM rue_mohr: avrdude, ok
08:03 PM rue_mohr: spi, what kinda programmer ("cable")
08:03 PM rue_mohr: what is the avr?
08:08 PM Metalsutton: its a raspberry Pi using an avr programming hat
08:09 PM Metalsutton: I have confirmed that the programmer is working fine since i can program a nano. I think it might have something to do with my reset line. I have a 10k pull up resistor on it, and a 0.1uF cap
08:10 PM Metalsutton: I am not sure if this is normal or not. Like the SPI connector can just go straight to the reset pin. And only need a pull up if I am using UART?
08:16 PM rue_mohr: that should be fine
08:16 PM rue_mohr: the 10k pullup is needed in liu of any other type of reset control
08:17 PM rue_mohr: I dont know what kinda drivers the Pi has, so, its hard to say
08:47 PM Metalsutton: holy shit
08:47 PM Metalsutton: I managed to get a device id and enter programming mode.
08:47 PM Metalsutton: It really didnt like the 0.1uF cap on the line
09:03 PM qu1j0t3: Metalsutton: congrats.
10:00 PM rue_mohr: huh I passed that up
10:00 PM rue_mohr: thought it would wait long enough