can't program pic24f16ka102 using lv24-33 usb programmer

General discussion on mikroBasic for dsPIC30/33 and PIC24.
Post Reply
Author
Message
denisbeeby
Posts: 5
Joined: 25 Jun 2012 09:37

can't program pic24f16ka102 using lv24-33 usb programmer

#1 Post by denisbeeby » 13 Aug 2012 13:31

hi i have programmed a 24f32ga004 with the usb programmer i received with the
lv24-33 development kit this is using icsp, but i cannot get the 24f16ka102 to program i get messages like this "device currently selected is not {lvpicflasdh prog} driver is usb18f firmware v1.20 with latest updated version basic compiler 5.7.0.0

User avatar
dejan.odabasic
mikroElektronika team
Posts: 2649
Joined: 30 Apr 2012 14:20

Re: can't program pic24f16ka102 using lv24-33 usb programmer

#2 Post by dejan.odabasic » 14 Aug 2012 16:00

Hello,

could you please tell me which programming application are you using?
If you are not using mikroProg Suite I strongly suggest that you try programing using mikroProg Suite.

Did you updated to PRO version of mikroBasic compiler?

Best regards.

denisbeeby
Posts: 5
Joined: 25 Jun 2012 09:37

Re: can't program pic24f16ka102 using lv24-33 usb programmer

#3 Post by denisbeeby » 15 Aug 2012 07:11

yes mikroBasic PROfor dsPIC v5.7.0 also why do you have 2 rows of the
same pinout on the usb in system programmer with icd.

mcu vcc - board vcc
mcu rb6 - rb6
mcu rb7 - rb7
mcumclr - mclr
gnd - gnd

User avatar
dejan.odabasic
mikroElektronika team
Posts: 2649
Joined: 30 Apr 2012 14:20

Re: can't program pic24f16ka102 using lv24-33 usb programmer

#4 Post by dejan.odabasic » 15 Aug 2012 07:52

Hello,

you didn't answered me which application are you using for programing.
Are you using mikroProg Suite 2.25?
denisbeeby wrote:...why do you have 2 rows of the same pinout on the usb in system programmer with icd.
Doubled lines are used for multiplexer which allows the usage of programming pins as I/O lines when not in programming/debugging mode.
Please take a look at our mikroProg user manual: http://www.mikroe.com/eng/downloads/get ... l_v220.pdf
Section 8. Multiplexer.

Best regards.

denisbeeby
Posts: 5
Joined: 25 Jun 2012 09:37

Re: can't program pic24f16ka102 using lv24-33 usb programmer

#5 Post by denisbeeby » 16 Aug 2012 08:19

yes i am using mikroProgSuite 2.25

User avatar
dejan.odabasic
mikroElektronika team
Posts: 2649
Joined: 30 Apr 2012 14:20

Re: can't program pic24f16ka102 using lv24-33 usb programmer

#6 Post by dejan.odabasic » 20 Aug 2012 07:35

Hello,

I have tried to replicate error that you explained but didn't succeed.
Could you please send the photos of your hardware/software setup and error report that you get.

Best regards.

denisbeeby
Posts: 5
Joined: 25 Jun 2012 09:37

Re: can't program pic24f16ka102 using lv24-33 usb programmer

#7 Post by denisbeeby » 20 Aug 2012 10:32

it works when i use the real ice and mplab then i have no problems ,my mikroelektronika
usb programmer works when i use the pic16ga004 the error says not a lvflash device.
does it matter which row on the usb programmer i use to connect the target device to ?

User avatar
dejan.odabasic
mikroElektronika team
Posts: 2649
Joined: 30 Apr 2012 14:20

Re: can't program pic24f16ka102 using lv24-33 usb programmer

#8 Post by dejan.odabasic » 20 Aug 2012 11:56

Hello,

You need to use row on the knob side of the connector (odd pins of the connector).
Please take a look at mikroProg user manual (6. IDC10 Pinout):
http://www.mikroe.com/eng/products/view ... and-pic32/

I have tested the programing of PIC24F16ka102 with mikroProg and everything was in order.

That's why I asked you to send me a photo of your hardware connection.

Best regards.

denisbeeby
Posts: 5
Joined: 25 Jun 2012 09:37

Re: can't program pic24f16ka102 using lv24-33 usb programmer

#9 Post by denisbeeby » 21 Aug 2012 08:51

HI I WILL BRING MY CAMERA IN TOMMORROW AND TAKE A PIC OR TWO
THE MESSAGE I GET IN MIKROPROGSUITE BELOW THE CONFIG STUFF UNDER
TYPE = UNKNOWN IT DOES NOT RECOGNISE THE PIC I HAVE LOOKED AT YOUR SUGGESTED MANUALS AND HAVE CONNECTED THE LV24-33 CORRECTLY MY VOLTAGE IS 3.3V ON THE PIC I HAVE DECOUPLING CAPS. RUNNING PIC AT 16MHZ. 10K BETWEEN +VCC AND MCLR
REGARDS
DENIS

Post Reply

Return to “mikroBasic for dsPIC30/33 and PIC24 General”