chipKIT® Development Platform

Inspired by Arduino™

mpide avrdude checksum error

Created Wed, 07 Nov 2012 12:59:00 +0000 by jbcpt


jbcpt

Wed, 07 Nov 2012 12:59:00 +0000

Hi there guys,

I'm a complete newbie to micro-controllers and electronics, however I am a java programmer (by trade) and have done a heavy current electrical course.

I have a uno32 chipkit board, and I want to create a boost controller for my vehicle, I got the mpide working, and im actually able to submit the code to the board, and it works! (Just using a simple led blinking (5 second delays)). The problem im having is right at the end, theres a checksum that fails;

Binary sketch size: 3744 bytes (of a 126976 byte maximum) 63900 [Thread-4] DEBUG processing.app.Base - Base: getTarget() : Target Name: pic32 63900 [Thread-4] DEBUG processing.app.Base - Target: getBoards(): pic32 63900 [Thread-4] DEBUG processing.app.Base - Base: getTarget() : Target Name: pic32 63901 [Thread-4] DEBUG processing.app.Base - Target: getBoards(): pic32 74719 [Thread-4] DEBUG processing.app.Base - Base: getTarget() : Target Name: pic32 74719 [Thread-4] DEBUG processing.app.Base - Target: getBoards(): pic32 avrdude: stk500v2_recv(): checksum error avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500_2_ReceiveMessage(): timeout avrdude: stk500v2_getsync(): timeout communicating with programmer

Ive been googling, but not really getting anywhere, tried changing baud rates in the device manager and in the preferences file. Some people metioned that it may be a bootloader problem, and that it would need to be reloaded, The mpide has a 'burn bootloader' option, but doesnt really do anything. So im a bit lost here. From what I can recall, a checksum is to make sure that all bytes on the device are the same as what you have (post compilation). May this be an encoding problem possibly? Any help would be greatly appreciated. I am using Windows 7 64 bit.

Justin


jbcpt

Thu, 08 Nov 2012 08:35:27 +0000

ok.. I found this on the forum. going to try updating the bootloader :D ;

[url]http://www.chipkit.org/forum/viewtopic.php?f=19&t=1714[/url]