Home made board, mikroProg "Device detected: Unknown"

Discussion on projects that are created by users and posted on mikroElektronika website.
Post Reply
Author
Message
ChristianG
Posts: 12
Joined: 14 Aug 2017 12:12

Home made board, mikroProg "Device detected: Unknown"

#1 Post by ChristianG » 19 Jul 2019 17:33

Hello,

I have designed a very simple board around a PIC32MX270F256B (DIP 28). I am using internal oscillator, and have no capacitors or resistors. Only 6 pins are connected:

PIN/FUNCTION mikroProg
--------------------------------------
1 MCLR <-----> 07 on mikroProg connector.
4 PGED1 <-----> 05 on mikroProg connector.
5 PGEC1 <-----> 03 on mikroProg connector.
8,19 VSS <-----> 09 on mikroProg connector.
13 VDD <-----> 01 on mikroProg connector.

When I connect mikroProg to my board, a power led on the board lights up, so I do get power from mikroProg. I have measured VCC and VSS on my board and they have the right voltages. When I try to do a READ from mikroProg suite, I keep getting "Device detected: Unknown".

I guess that if everything is ok then mikroProg Suite should be able to identify the device.

I am using:
MicroProg suite v2.80
MikroProg Firmware v2.11
MikroProg Hardware v01.16.12.21

I have attached schematic.

Any help is appreciated.

Best regards,
Christian.
Attachments
schematic.png
schematic.png (24.47 KiB) Viewed 1575 times

hexreader
Posts: 1786
Joined: 27 Jun 2010 12:07
Location: England

Re: Home made board, mikroProg "Device detected: Unknown"

#2 Post by hexreader » 19 Jul 2019 18:26

Minimum recommended connection diagram can be found either in the datasheet or the Family Reference Manual - I forget which.

You MUST connect AVdd to Vdd - this will allow programming to work.

The PIC may sort-of work without the following, but they are all recommended:

1) Decoupling capacitor on every power supply pair

2) AVss connected to ground

3) Vusb3v3 connected to Vdd

4) 10uF capacitor (type as specified in datasheet) between Vcap and Vss

Anything less might work, but would be immoral :)
Start every day with a smile...... (get it over with) :)

ChristianG
Posts: 12
Joined: 14 Aug 2017 12:12

Re: Home made board, mikroProg "Device detected: Unknown"

#3 Post by ChristianG » 19 Jul 2019 18:47

Thank you! :-)

After I connected AVdd to Vdd, it works!!

That will teach me, to try and design boards 4 in the morning!

/Christian

Post Reply

Return to “User Projects”