chipKIT® Development Platform

Inspired by Arduino™

uno32 bootloader issues

Created Sat, 04 Apr 2015 08:34:22 +0000 by snoodenboggin


snoodenboggin

Sat, 04 Apr 2015 08:34:22 +0000

A couple nights ago, when programming my uno32, I was getting the avrdude verification error. For a while, it was still uploading the program and working, but eventually it stopped uploading. I searched around on here, and it seemed like it was a bootloader issue. So I've been trying to reprogram the bootloader, without any success.

I have a pickit3. I tried doing it on both MPLAB IDE v8.92 and MPLAB IPE v2.35. Both fail and tell me the same thing:

Address: 1fc001a8 Expected Value: ffffffff Received Value: ffdfffff

Anyone have any ideas on how to fix this? :?

Thanks.


majenko

Sat, 04 Apr 2015 09:19:23 +0000

I would suggest maybe upgrading to something more modern.

MPLAB 8 hasn't been current for a number of years now - you should be using MPLAB-X.

Also it could be that you have fried your chip in some way.


snoodenboggin

Sat, 04 Apr 2015 10:02:11 +0000

I only used mplab 8 for the bootloader attempts (I still had it on my computer from a previous class). But I just tried it in MPLABX, with the same result.

I was wondering if the chip might have gotten messed up. I'm hoping not, but I guess I tend to have that kind of luck.

Thanks for the response, though.


majenko

Sat, 04 Apr 2015 10:22:27 +0000

It's certainly a possibility, though actually quite unlikely.

The error you're getting does ring a faint bell though - I'm sure I've seen it before somewhere. Out of interest, which bootloader file are you using?


snoodenboggin

Sun, 05 Apr 2015 03:34:35 +0000

I tried the one from the digilent site, and the one from github: [url]https://github.com/chipKIT32/PIC32-avrdude-bootloader/tree/master/BootloadersCurrent-hex[/url]. I've tried doing it with its own USB power source, and using power from pickit3. I tried following different instructions (I'm still new to this, and haven't messed with bootloaders before). All the same error.

In the posts here, this one is the one that sounds most like the issue I'm having, but I don't know they ever got it figured out or not. [url]http://chipkit.net/forum/viewtopic.php?f=17&t=2769&p=10981&hilit=bootloader+failed#p10981[/url]


snoodenboggin

Tue, 07 Apr 2015 21:44:44 +0000

I've got it working... I guess there's something up with my computer. On my school's computer, I loaded the bootloader onto my board, with no issues. Everything is uploading normal, even from my computer now.

But thanks, majenko, for the responses.


snoodenboggin

Fri, 10 Apr 2015 06:50:07 +0000

Nevermind, it's doing the same thing again, and trying bootloader from school computer didn't work either this time. So maybe it's a time thing...needs a couple days of rest. shrugs :?