I'm not exactly sure if this is right category to post in but please hear me out:
I am trying to get G33KatWork's AVR port of PicFlash to work with ATMega32U2 MCU. The code works great on Teensy 2.0++ board with small changes, but for some reason the writing part doesn't work at all on ATMega32U2.
All I get is:
Error 0: Programming block 0
Error 0: Programming block 1
Error 0: Programming block 2
...
But the main question is, does anyone have more specific information of NandPro's error codes? What does the Error 0 mean? And just to be clear I have soldered the wires again and again, the chip itself works and I have made sure the pins aren't shorted or anything. (Again the reading works perfect)
The AVR flasher code can be found here:
https://github.com/G33KatWork/XBox-360-AVR-flasherEdit: Found the problem, ATMega32U2 only support Endpoints up to 4 and the NandPro uses Endpoint 5 to send data.