chipKIT® Development Platform

Inspired by Arduino™

[SOLVED] Max32 pin 0 & 1 disrupts uploading.

Created Thu, 23 Jan 2014 12:11:21 +0000 by palmhoej


palmhoej

Thu, 23 Jan 2014 12:11:21 +0000

Okay i did do a search, but did not find anything.

I am using pin 0 & 1 as regular digital input pins. This dos not work, and i guess this have something to do with them reserved for TX and RX.

But more strange it prevented me from uploading anything to the board. I just stalled 80% in the uploading progress indefinitely.

I have plenty of other pins available, so i just changed the pins. This satisfied my project, but not my curiosity :?


majenko

Thu, 23 Jan 2014 13:14:31 +0000

Pins 0 and 1 are, just like on the Arduino boards, linked directly to the FT232 chip that deals with the USB interface.

You cannot have them connected to anything and upload a sketch (or use Serial at all) as whatever is connected interferes with the signal. The only exception is using them as outputs to drive something with a high impedance input.

Also you cannot use pins 0 and 1 for digital IO and use the Serial peripheral in your sketch at the same time, just like an Arduino.


palmhoej

Mon, 03 Feb 2014 17:00:44 +0000

What a NOOB mistake :roll:

Haven't worked with these boards in a long time, and the first thing that goes out the windows is apparently the pretty basic stuff.

Thanks for your reply :)