adamb314 / ServoProject

Getting the most out of your hobby servo
Other
372 stars 37 forks source link

Issue with bootloader #15

Closed PointyyP closed 7 months ago

PointyyP commented 11 months ago

After performing:

cd filename sudo openocd

// I get "command not found"

IMG20231023180807

smith901 commented 11 months ago

Looks like openocd isn't installed. Follow instructions from this file in the project.

PointyyP commented 11 months ago

I was following the instructions and thought I installed openocd, but I'll give it a try again. Thanks!

PointyyP commented 11 months ago

After installing openocd and soldering the three pins (D,C,Reset) I have a new error message after executing sudo openocd

16981838757163686557048770613829

adamb314 commented 11 months ago

First of all check so that you have connected the right pins on the pi:

20231025_092226.jpg

Orange is clock, brown data and red is reset.

Second, try powering the PCB via the raspberry pi with a short cable (to get a stable ground).

If you still have problems, it might help lowering the frequency. Add this line:

Adapter speed 80

Directly under the line: source [find interface/raspberrypi2-native.cfg]

In the openOCD script.

Hope you get it to work.