Notifications
Clear all

[Solved] Hat Not Working, Forum not working, pulling my hair out

Page 1 / 2

tobi42
Posts: 15
Topic starter
(@tobi42)
Active Member
Joined: 3 months ago

Hi,

I'm having trouble getting the HAT working.

trying:

sudo avrdude-autoreset -p m328p -b 115200 -carduino -P/dev/ttyAMA0

results in:

avrdude-original: Using autoreset DTR on GPIO Pin 7

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xbf

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xbf

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xbf

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xbf

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xbf

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xbf

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xbf

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xbf

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xbf

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xbf

avrdude done.  Thank you.

I tried all Baudrates (115200, 57600, 19200)

Next I double checked the solder connections. I'm quite clumsy at soldering but I'm sure there is no cold connections now.

Reply
7 Replies
tobi42
Posts: 15
Topic starter
(@tobi42)
Active Member
Joined: 3 months ago

Next I tried to flash the bootloader (bloader.hex)

1st Attempt:

pi@fabscanpi:~/RPi-UNO-HAT/software $ sudo avrdude -c pi_isp -p m328p -e -U flashbloader.hex:i -U lfusem -U hfusem -U efusem -U lockm
Can't export GPIO 25, already exported/busy?: Device or resource busy
avrdude done.  Thank you.
Reply
tobi42
Posts: 15
Topic starter
(@tobi42)
Active Member
Joined: 3 months ago

2nd Attempt:

pi@fabscanpi:~ $ cd RPi-UNO-HAT/software/
pi@fabscanpi:~/RPi-UNO-HAT/software $ sudo avrdude -c pi_isp -p m328p -e -U flashbloader.hex:i -U lfusem -U hfusem -U efusem -U lockm

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: erasing chip
avrdude: reading input file "bloader.hex"
avrdude: writing flash (32748 bytes):

This Forum is killing me:

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
         0xfd != 0x05
avrdude: verification error; content mismatch

avrdude: safemode: efuse changed! Was 5, and is now fd
Would you like this fuse to be changed back? [y/n] y

^C
pi@fabscanpi:~/RPi-UNO-HAT/software $
Reply
tobi42
Posts: 15
Topic starter
(@tobi42)
Active Member
Joined: 3 months ago

3rd Attempt:

pi@fabscanpi:~ $ cd RPi-UNO-HAT/software/
pi@fabscanpi:~/RPi-UNO-HAT/software $ sudo avrdude -c pi_isp -p m328p -e -U flashbloader.hex:i -U lfusem -U hfusem -U efusem -U lockm

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x000102
avrdude: Expected signature for ATmega328P is 1E 95 0F
         Double check chip, or use -F to override this check.

avrdude done.  Thank you.

Honestly I'm little bit frustrated by now. Could you please give me some advice ? I'm attaching some pictures how the Hat looks with booloader cables & resistors.

https://ibb.co/MBHmjB0
https://ibb.co/m6LNSn8
https://ibb.co/Rv8Wszb
https://ibb.co/0GgLhLd
https://ibb.co/f1M5cLy
https://ibb.co/W3vRyYK

Reply
1 Reply
tobi42
(@tobi42)
Joined: 3 months ago

Active Member
Posts: 15

My 2.2k Ohm resisitors measured 2.16k Ohm, so i used 4.65k Ohm, I wasn't sure whether everything between 2.2k and 5.6k is fine.

Reply
tobi42
Posts: 15
Topic starter
(@tobi42)
Active Member
Joined: 3 months ago

Okay, I replaced those 4.65kΩ Resistors with the 2.163 kΩ, tried to flash the bootloader again, same result. I guess I'm giving up for now, I think I tried everything I could find on this forum.

Some other questions.

I'm also using a Pi Model 4b, and the AC Jack has no space between the HAT and the PI. I noticed there is another port on the upper side, so I used that for the 12V 2A power supply. Could that be a problem ?
Is it sufficient to solder only one side of the reset switch for the flash cabling ? I think I read that somewhere.

Is it possible to run Octoprint with a USB Camera on the same PI ?

Well, I'd be very delighted to get some support, otherwise, moin moin und danke für die Arbeit schonmal.

LG,

Tobi

Reply
Page 1 / 2
Share: