chipKIT® Development Platform

Inspired by Arduino™

MPLAB X and MAX32

Created Wed, 18 Mar 2015 18:27:52 +0000 by IngRoccoP


IngRoccoP

Wed, 18 Mar 2015 18:27:52 +0000

Hello im trying to program a Chipkit MAX32 with MPLAB X. I modified my project according with the guide on academia. But when i try to uil/program the mcu, i got the following avrdude error:

avrdude.exe: Version 5.10, compiled on Jan 19 2010 at 10:45:23
             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
             Copyright (c) 2007-2009 Joerg Wunsch

             System wide configuration file is "C:\Program Files (x86)\Microchip\MPLABX\mplab_ide\bin\avrdude.conf"

             Using Port                    : COM18
             Using Programmer              : stk500v2
             Overriding Baud Rate          : 115200
avrdude.exe: stk500_2_ReceiveMessage(): timeout
avrdude.exe: stk500_2_ReceiveMessage(): timeout
avrdude.exe: stk500_2_ReceiveMessage(): timeout
             AVR Part                      : 32MX795F512L
             Chip Erase delay              : 9000 us
             PAGEL                         : PD7
             BS2                           : PA0
             RESET disposition             : dedicated
             RETRY pulse                   : SCK
             serial program mode           : yes
             parallel program mode         : yes
             Timeout                       : 200
             StabDelay                     : 100
             CmdexeDelay                   : 25
             SyncLoops                     : 32
             ByteDelay                     : 0
             PollIndex                     : 3
             PollValue                     : 0x53
             Memory Detail                 :

                                      Block Poll               Page                       Polled
               Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
               ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
               eeprom        65    10     4    0 no       2048    8      0  9000  9000 0xff 0xff
               flash         65    10   128    0 yes    524288  256   2048  4500  4500 0xff 0xff
               lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
               lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
               hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
               efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
               signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
               calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00

             Programmer Type : STK500V2
             Description     : Atmel STK500 Version 2.x firmware
             Programmer Model: AVRISP
             Hardware Version: 15
             Firmware Version Master : 2.10
             Vtarget         : 0.0 V
             SCK period      : 127.0 us

avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.06s

avrdude.exe: Device signature = 0x504943
avrdude.exe: NOTE: FLASH memory has been specified, an erase cycle will be performed
             To disable this feature, specify the -D option.
avrdude.exe: current erase-rewrite cycle count is -1145324613 (if being tracked)
avrdude.exe: erasing chip
avrdude.exe: reading input file "dist\default\production\PLC32_Dynamic.X.production.hex"
avrdude.exe: input file dist\default\production\PLC32_Dynamic.X.production.hex auto detected as Intel Hex
avrdude.exe: ERROR: address 0x1fc00490 out of range at line 1810 of dist\default\production\PLC32_Dynamic.X.production.hex
avrdude.exe: write to file 'dist\default\production\PLC32_Dynamic.X.production.hex' failed

avrdude.exe done.  Thank you.

make[1]: *** [.build-conf] Error 1
nbproject/Makefile-default.mk:91: recipe for target '.build-conf' failed
make: *** [.build-impl] Error 2
make[1]: Leaving directory 'D:/microchip/harmony/v1_03_01/apps/PLC32_Dynamic/firmware/PLC32_Dynamic.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed

BUILD FAILED (exit value 2, total time: 42s)

do you have any idea for fix it?


tom21091

Tue, 19 Jan 2016 22:23:37 +0000

Hi IngRoccoP,

I found this post while I was looking through old unanswered posts. I'm sorry you never received an answer, but hopefully we can solve this in case others run into the same problem. Did you ever find a solution to this problem? I'd be willing to pick up this case and investigate.

Tommy