Skip to content

HVPP for mega32l not working #6

@ameeuw

Description

@ameeuw

This is a really great project and I hope that it can save me from having to buy a separate HV capable programmer...

My problem is that I burnt the fuses of an mega32l chip in a charger (iMax B6AC) wrong and now it is unresponsive to the ISP interface.

I have connected the chip (with a mess of wires - see attached image) to my ScratchMonkey based on an Arduino Uno.
2017-09-07 16 24 30

Now I am trying to first read out the fuses using:

avrdude -p m32 -c stk500pp -P /dev/cu.usbmodem1421 -U lfuse:r:low_fuse_val.hex:h -U hfuse:r:high_fuse_val.hex:h

but all I get over time is:
avrdude: stk500v2_ReceiveMessage(): timeout

however when I unplug the CTRL0 wire (which is shared with the serial RX) there seems to be a sync and avrdude communicates with SM:

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x000000 (retrying)

Of course the PP is not working anymore since I removed the CTRL0/BS2 wire... as I am not 100% familiar with avrdude I am not sure whether I am making a mistake with the command line or whether I miswired something on scratchmonkey (checked it multiple times).

I am very happy to be pointed into a direction on how to resolve these issues.. would be nice to revive my dead charger and flash some custom firmware on it.

Best regards,
Arne

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions