MEGA328PB ISP Programming problems

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I've been struggling to program some brand new Mega328PB chips. 

Although I'm not yet 100% sure, because I've been going around in circles, it appears that the DebugWire mode has been enabled by default.

This prevents the programmer from doing anything until you load in a program via debugwire and disable it within the debugger.

 

This may help someone.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hmm. Usually failure to program using ISP boils down to one of 3 things:

 

1. JTAG selected.

2. Miswiring the 6 pins.

3. ISP data rate set too fast.

 

(In my case, it's #2 almost always.)

The largest known prime number: 282589933-1

It's easy to stop breaking the 10th commandment! Break the 8th instead.