Hat Not Working, Fo...
 
Notifications
Clear all

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

9 Posts
2 Users
0 Reactions
1,619 Views
tobi42
Posts: 15
Topic starter
(@tobi42)
Active Member
Joined: 4 years 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
8 Replies
tobi42
Posts: 15
Topic starter
(@tobi42)
Active Member
Joined: 4 years 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 flash:w:bloader.hex:i -U lfuse:w:0xFF:m -U hfuse:w:0xD6:m -U efuse:w:0x05:m -U lock:w:0x0F:m
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: 4 years 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 flash:w:bloader.hex:i -U lfuse:w:0xFF:m -U hfuse:w:0xD6:m -U efuse:w:0x05:m -U lock:w:0x0F:m

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: 4 years 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 flash:w:bloader.hex:i -U lfuse:w:0xFF:m -U hfuse:w:0xD6:m -U efuse:w:0x05:m -U lock:w:0x0F:m

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
tobi42
(@tobi42)
Joined: 4 years 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: 4 years 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
tobi42
Posts: 15
Topic starter
(@tobi42)
Active Member
Joined: 4 years ago

Hmm...

Option B:

Connect 12V DC to the HAT (round connector) and 5V DC to the raspberry (micro USB connector).

NOTE: Make sure you switch on the both power sources at the same time to avoid software trouble.

Reply
tobi42
Posts: 15
Topic starter
(@tobi42)
Active Member
Joined: 4 years ago

Hi, 

i just wanted to report back. I ended up buying a second fabscan Hat and I couldn't get it to work either. So I called watterott, mailed my pictures and described my attempts and they agreed to attempt to fix the hats for me. 

I sent both Hat's to them and they flashed the bootloader and reworked the soldering, both of them are working now.

Superb Support, very Happy now.

If anyone needs a working Hat, I've got a spare one now, PM me.

Reply
PuFro
Posts: 1
(@pufro)
New Member
Joined: 2 years ago

Hi Tobi42,

do you still have this working HAT? I would be interested. I know it's a long time since you wrote this post...

 

Reply
Share: