MPIDE 20121013 Test Build

Announcements for new builds and MPIDE enhancements
EmbeddedMan
Posts: 597
Joined: Tue May 24, 2011 9:24 pm
Location: Minneapolis, MN
Contact:

MPIDE 20121013 Test Build

Post by EmbeddedMan » Tue Oct 16, 2012 10:21 pm

We have released a new test build of MPIDE.

There are some big things in this release:
* Support for MX1/MX2 parts (Like Fubarino Mini) and Peripheral Pin Select (preliminary)

And then a whole lot of smaller thing (just a summary):
* Fixed a bug in USB serial that prevented it from working correctly
* Fixed some issues with the Linux 64 build
* Updates to the linker script(s) and boards files
* Fixed issue with math (-fno-short-double on custom gcc boards)

Windows:
https://github.com/downloads/chipKIT32/ ... 3-test.zip

Linux:
https://github.com/downloads/chipKIT32/ ... 3-test.tgz

Mac:
https://github.com/downloads/chipKIT32/ ... 3-test.dmg

Please try it out, and let us know if you like it or find problems. Thanks-

*Brian

BloodyCactus
Posts: 34
Joined: Fri Mar 23, 2012 6:27 pm

Re: MPIDE 20121013 Test Build

Post by BloodyCactus » Thu Oct 18, 2012 6:06 pm

yay mx2 support!

thanks for all the effort.

EmbeddedMan
Posts: 597
Joined: Tue May 24, 2011 9:24 pm
Location: Minneapolis, MN
Contact:

Re: MPIDE 20121013 Test Build

Post by EmbeddedMan » Sat Oct 27, 2012 3:11 am

I'm posting this for a friend - on OpenSUSE 12.1 and a fresh Uno32 :

=============================
Downloaded latest mpide-0023-linux32-20121013-test but when I try to build and upload a sketch (any sketch, including blink), the upload proceeds, lots of flashing lights, then I get from the ide:

52179 [Thread-96] DEBUG processing.app.Base - Base: getTarget() : Target
Name: pic32
52179 [Thread-96] DEBUG processing.app.Base - Target: getBoards(): pic32
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout

and the upload does not complete.
=================

I'm not a Linux user, so I can't really help him out (this problem does not seem to happen under Windows.) Does anybody know what could be going on?

*Brian

ricklon
Posts: 178
Joined: Sun May 22, 2011 6:59 am

Re: MPIDE 20121013 Test Build

Post by ricklon » Sat Oct 27, 2012 3:18 pm

Sorry, about that. The Linux 64bit compatible build hasn't been uploaded yet.

64 bit compatible can be built from source. It does require the 64 bit compat libraries to be used.

--Rick

EmbeddedMan
Posts: 597
Joined: Tue May 24, 2011 9:24 pm
Location: Minneapolis, MN
Contact:

Re: MPIDE 20121013 Test Build

Post by EmbeddedMan » Sat Oct 27, 2012 6:34 pm

Rick, any chance this could be done in the near future? The author of AccelStepper (Mike McCauley) was just sent an Uno32 by Microchip and is running into this problem trying to test out his AccelStepper library. I'm not certain that he can or wants to build from source.

*Brian

mikem
Posts: 6
Joined: Sun Oct 28, 2012 10:02 pm

Re: MPIDE 20121013 Test Build

Post by mikem » Sun Oct 28, 2012 10:25 pm

Thanks to Brian for relaying this for me. Ill post directly now....

Host is OpenSuSE 12.1.
trying to build the example Blink sketch.

Previous versions of the mpide compile and upload fine, but mpide-0023-linux32-20121013-test the upload phase never completes. Final output from shift-upl;oad is:

......
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [ae]
# | 100% 0.76s

avrdude: verifying ...
avrdude: 7756 bytes of flash verified
avrdude: Send: . [1b] C [43] . [00] . [03] . [0e] . [11] . [01] . [01] D [44]
avrdude: Recv: . [1b]
avrdude: Recv: C [43]
avrdude: Recv: . [00]
avrdude: Recv: . [02]
avrdude: Recv: . [0e]
avrdude: Recv: . [11]
avrdude: Recv: . [00]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] D [44] . [00] . [01] . [0e] . [01] Q [51]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] D [44] . [00] . [01] . [0e] . [01] Q [51]

I see that avrdude executable and config is the same in mpide-0023-linux32-20121013-test as in mpide-0023-linux-20120903.

Using avrdude from mpide-0023-linux-20120903 to upload the hex file fails in the same way. Something wierd about the hex file?

Cheers.

EmbeddedMan wrote:I'm posting this for a friend - on OpenSUSE 12.1 and a fresh Uno32 :

=============================
Downloaded latest mpide-0023-linux32-20121013-test but when I try to build and upload a sketch (any sketch, including blink), the upload proceeds, lots of flashing lights, then I get from the ide:

52179 [Thread-96] DEBUG processing.app.Base - Base: getTarget() : Target
Name: pic32
52179 [Thread-96] DEBUG processing.app.Base - Target: getBoards(): pic32
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout

and the upload does not complete.
=================

I'm not a Linux user, so I can't really help him out (this problem does not seem to happen under Windows.) Does anybody know what could be going on?

*Brian

mikem
Posts: 6
Joined: Sun Oct 28, 2012 10:02 pm

Re: MPIDE 20121013 Test Build

Post by mikem » Sun Oct 28, 2012 11:12 pm

Thanks to Brian for relaying this for me. Ill post directly now....

Host is OpenSuSE 12.1.
trying to build the example Blink sketch.

Previous versions of the mpide compile and upload fine, but mpide-0023-linux32-20121013-test the upload phase never completes. Final output from shift-upl;oad is:

......
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [ae]
# | 100% 0.76s

avrdude: verifying ...
avrdude: 7756 bytes of flash verified
avrdude: Send: . [1b] C [43] . [00] . [03] . [0e] . [11] . [01] . [01] D [44]
avrdude: Recv: . [1b]
avrdude: Recv: C [43]
avrdude: Recv: . [00]
avrdude: Recv: . [02]
avrdude: Recv: . [0e]
avrdude: Recv: . [11]
avrdude: Recv: . [00]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] D [44] . [00] . [01] . [0e] . [01] Q [51]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] D [44] . [00] . [01] . [0e] . [01] Q [51]

I see that avrdude executable and config is the same in mpide-0023-linux32-20121013-test as in mpide-0023-linux-20120903.

Using avrdude from mpide-0023-linux-20120903 to upload the hex file fails in the same way. Something wierd about the hex file?

Cheers.

EmbeddedMan wrote:I'm posting this for a friend - on OpenSUSE 12.1 and a fresh Uno32 :

=============================
Downloaded latest mpide-0023-linux32-20121013-test but when I try to build and upload a sketch (any sketch, including blink), the upload proceeds, lots of flashing lights, then I get from the ide:

52179 [Thread-96] DEBUG processing.app.Base - Base: getTarget() : Target
Name: pic32
52179 [Thread-96] DEBUG processing.app.Base - Target: getBoards(): pic32
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout

and the upload does not complete.
=================

I'm not a Linux user, so I can't really help him out (this problem does not seem to happen under Windows.) Does anybody know what could be going on?

*Brian

mikem
Posts: 6
Joined: Sun Oct 28, 2012 10:02 pm

Re: MPIDE 20121013 Test Build

Post by mikem » Mon Oct 29, 2012 10:15 am

More info:

Same behavior observed with mpide-0023-linux32-20121013-test on Ubuntu 12.04

Gavinmc
Posts: 5
Joined: Wed May 30, 2012 9:22 am

Re: MPIDE 20121013 Test Build

Post by Gavinmc » Tue Nov 13, 2012 5:33 am

DIP version PIC32MX250F128B working.

Recompiled Keith Vogel's bootloader.
MPLABX/MPIDE running on Windows 7

Compiled using MPLABX 1.51 and XC32 1.11.
Edited BoardConfig.h - Fubarino Mini defines.
BootLED to RB15 and Program pin to RA1 ie my PCB layout
Hex file programmed on Microstick2 and MPLABX
Hex file attached as .txt

MPIDE 20121013 compiles using Fubarino Mini settings.
28Pin part loses I/O compared to 44 pin Fubarino Mini PIC32MX250F128D

You only have these pins to play with.
Pin 0/Analog 0 - RB13, 3/A1- RB14, 4/A2 - RB15
5/A3- RA0, 6/A4 - RA1, 7/A5 - RB0, 8/A6 - RB1, 9/A7 -RB2
10/A8 - RB3, 23 -RB5, 24 -RB7, 25 -RB8/SCL, 26 - RB9/SDA

My board has 8MHz xtal and USB connector
XTAL PINS 8MHz ,14 - RA2, 15 - RA3
Optional 32.768KHz, 17 - RB4, 18 - RA4
USB, 31 - RB10/USB D+, 32 - RB11/USB D-

Software/Libraries tested - I2C(wire), LiquidCrystal, analogRead.
Serial.print, lcd.print etc works ok
I read a TMP112 I2C temperature sensor, a trimpot and display them on the 2x16LCD.

Still some work to be done to have a REAL MX250F128B board option but thanks to Keith and some hacking we can get code running on the DIP28 parts.

Remember you do still need to have some way to program the bootloader into blank PIC32MX250F128Bs, similar to MPLABX and Microstick2.
Pickit3 did work as well.

I have not tested Linux OS methods yet.
Hopefully one day I will get it all working on my Raspberry Pi's
Attachments
chipKIT-Bootloaders.MX250F128B.txt
Rename .hex
(13.96 KiB) Downloaded 130 times

EmbeddedMan
Posts: 597
Joined: Tue May 24, 2011 9:24 pm
Location: Minneapolis, MN
Contact:

Re: MPIDE 20121013 Test Build

Post by EmbeddedMan » Tue Nov 13, 2012 6:27 am

That's sweet! How did you get MPLAB X 1.51? I don't see it available yet!

*Brian

Post Reply