chipKIT® Development Platform

Inspired by Arduino™

upload fail

Created Fri, 06 Jul 2012 23:32:38 +0000 by BloodyCactus


BloodyCactus

Fri, 06 Jul 2012 23:32:38 +0000

I'm running from a git build, and it fails to upload to the board (microstickii) with my ftdi cable and I soldered 6 pins onto the board connector pins.

I see its doing;

avrdude -C/home/xxxxx/chipKIT32-MAX/build/linux/work/hardware/tools/avrdude.conf -v -v -v -v -p32MX795F512L -cstk500v2 -P/dev/ttyUSB0 -b115200 -D -Uflash:w:/tmp/build191734791065101124.tmp/Blink.cpp.hex:i

the output does not end;

Using Port            : /dev/ttyUSB0
           Using Programmer      : stk500v2
           Overriding Baud Rate  : 115200
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14] 
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14] 
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14] 
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14] 
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]

It seems to try and use 32MX795F512L when the microstickii is a 32MX250F128B, which has no definition.

Also had to edit a lot out of avrdude.conf as it did not like a lot of the entries (some programmers, some parts).

also looking for avr-size which does not exist.

I'm assuming this basically will not work with microstick II, despite it being listed in the boards section?


BloodyCactus

Sat, 07 Jul 2012 01:09:59 +0000

diggint, I guess the pic32s from microchip dont come with the pic32-arduino bootloader ;)

damn. I modded the source from git.

hmm after lots of messing around I built it but get a final error I dont understand..

Configuration Bits: address 0x1FC00BF0: USERID = 65535 does not match any valid value in the device database. Setting it to the default value.