• FORUM
  • LOGIN
  • ADVERTISE

Multi PIC Programmer Version5.2 Rev8.0(2005-1-4)

Discussion group on micro controllers, programming, and related..

Multi PIC Programmer Version5.2 Rev8.0(2005-1-4)

Postby kanni1303 » Sun Jun 24, 2012 7:12 pm

Dear Sir,
I designed the programmer successfully with help of your PCB design and now it detects my programmer as JDM Programmer in PICPgm Development Programmer and WinPic. but the problem is it couldn't burn my .hex into the micro-controller. I don't have serial port :cry: in my system so I connected my programmer with help of USB to serial connector :idea: , and I think the problem will be from this now what can i do to program my controller with help of USB...??? :?:
R.Kanniyappan
kanni1303
 
Posts: 12
Joined: Sun Jun 24, 2012 7:03 pm

Re: Multi PIC Programmer Version5.2 Rev8.0(2005-1-4)

Postby demetal » Tue Jun 26, 2012 1:51 am

Hi,
Congrats, you have build your jdm programmer... But there is one thing that you have to note... Jdm based programmers require high voltage of around 11.5 to 13.2 v to program a pic controller and laptops are not sufficient to provide that voltage even if you have serial port in them ... So converter has no role to help you...

Still for a hope Check the vdd and vss voltages... Also the voltage at first pin during read or write operation and let us know the values...
गते शोको न कर्तव्यो भविष्यं नैव चिंतयेत्।
वर्तमानेन कालेन वर्तयंति विचक्षणाः॥
demetal
 
Posts: 20
Joined: Sat Oct 23, 2010 5:43 pm
Location: Kochi

Re: Multi PIC Programmer Version5.2 Rev8.0(2005-1-4)

Postby kanni1303 » Tue Jun 26, 2012 9:59 am

Thnks for ur reply but it says like this
Image
and in win pic
Image
How i could measure the voltages
for 16f877a
Mclr to Gnd
Vdd to gnd
Vpp to Gnd
I am getting very few voltages around 0.1V and sometimes 0V Please give some procedures to find the voltages...
Thnks for the reply, pls help me...
R.Kanniyappan
kanni1303
 
Posts: 12
Joined: Sun Jun 24, 2012 7:03 pm

Re: Multi PIC Programmer Version5.2 Rev8.0(2005-1-4)

Postby demetal » Tue Jun 26, 2012 1:16 pm

Hi,

Unfortunately i am not able to see the image you have posted.... please post it again...at this stage all i can tell is some way of troubleshooting as the voltage you got is worst to get it work... I dont know if you have taken a wrong measurement of voltage... Well check this voltages without connecting pic to the programmer...

Note:
Check this voltages at the instant of clicking the write/read option in the software you are using (this is because the output from the serial port will be high only during the read or write operation in the software)

1. Vpp voltage between Vpp and GND... for that you can measure the voltage across the STDP switch (for 28/40 pin selection) center pin and ground of the circuit(not the serial port). It should be around 11.5V...
2. Vdd voltage between Vdd and GND... For that you can measure the voltage in between 32th pin of ZIF and ground of the circuit(not the GND pin of serial port)... It should be around 5v...
गते शोको न कर्तव्यो भविष्यं नैव चिंतयेत्।
वर्तमानेन कालेन वर्तयंति विचक्षणाः॥
demetal
 
Posts: 20
Joined: Sat Oct 23, 2010 5:43 pm
Location: Kochi


Re: Multi PIC Programmer Version5.2 Rev8.0(2005-1-4)

Postby demetal » Tue Jun 26, 2012 11:08 pm

Hi,
The warning messages shows that it is detecting the programmer but not the pic in it... It can be due to the low voltage levels...
please check the voltage levels as per my previous reply... also let us know the result...
गते शोको न कर्तव्यो भविष्यं नैव चिंतयेत्।
वर्तमानेन कालेन वर्तयंति विचक्षणाः॥
demetal
 
Posts: 20
Joined: Sat Oct 23, 2010 5:43 pm
Location: Kochi

Re: Multi PIC Programmer Version5.2 Rev8.0(2005-1-4)

Postby kanni1303 » Wed Jun 27, 2012 10:27 pm

Thnks for ur reply but i used my very old system which has serial port in it and it programmed and working well.... even the red led blinked well
but since a problem is i could not burn my own program to blink a led it says verify error in hex file, programming stopped with too many errors and config bits not set see the config bits tab...
i copied the file from device using read file option and saved as example.hex and i burned the same file thn it says operation took 23 seconds program successful...
I can't understand what i left in my program it was a simple program to blink LED


#include <htc.h>
void main()
{
TRISB=0;
while (1)
{
PORTB = 0x00;
_delay(1000);
PORTB = 0xff;
_delay(1000);
_delay(1000);
}
}

i use mplab...


but it success full runs in real pic simulator...
thnx in advance
Attachments
first.rar
(214 Bytes) Downloaded 41 times
R.Kanniyappan
kanni1303
 
Posts: 12
Joined: Sun Jun 24, 2012 7:03 pm

Re: Multi PIC Programmer Version5.2 Rev8.0(2005-1-4)

Postby mvs sarma » Wed Jun 27, 2012 11:07 pm

excuse my ignorance .
i would like to know whether you have compile the file. Secondly you are expected to configure 'all digital', i mean the comparators are to be disabled
in asm they use CMCON' command and load hex value 0x07

you can find the way in hitech-C and define the other parameters and then compile and test .
Regards
Sarma
mvs sarma
 
Posts: 583
Joined: Wed Oct 11, 2006 4:57 pm
Location: Hyderabad, India

Re: Multi PIC Programmer Version5.2 Rev8.0(2005-1-4)

Postby kanni1303 » Thu Jun 28, 2012 11:49 am

thnx for ur reply...
I tried by setting config sets and now it says a new message...
I am newbie to Microcontroller and can't understand these errors...
PIC Pgm says:
"
Checking connection of JDM Programmer ...
Error opening LPT driver!
JDM Programmer connected and initialized!
Autodetecting PIC ...
No PIC detected!
JDM Programmer connected and initialized!
Calibrating delay: 50us delay took 86us (loop counter=1453)
PIC unknown! Programming may fail!!
Configuration bits found in HEX file (config memory length = 16 bytes)!
JDM Programmer connected and initialized!
Calibrating delay: 50us delay took 81us (loop counter=1362)
PIC unknown! Programming may fail!!
Configuration bits found in HEX file (config memory length = 16 bytes)!
Erasing Device ...
Erasing finished!
Programming started ...
Verify Error: Code Mem 0x000000: PIC=0x3FFF Buf=0x3000
Verify Error: Code Mem 0x000002: PIC=0x3FFF Buf=0x008A
Verify Error: Code Mem 0x000004: PIC=0x3FFF Buf=0x2819
Verify Error: Code Mem 0x000006: PIC=0x3FFF Buf=0x0000
Verify Error: Code Mem 0x000008: PIC=0x3FFF Buf=0x3022
Verify Error: Code Mem 0x00000A: PIC=0x3FFF Buf=0x0084
Verify Error: Code Mem 0x00000C: PIC=0x3FFF Buf=0x1383
Verify Error: Code Mem 0x00000E: PIC=0x3FFF Buf=0x0800
Verify Error: Code Mem 0x000010: PIC=0x3FFF Buf=0x1903
Verify Error: Code Mem 0x000012: PIC=0x3FFF Buf=0x2818
Verify Error: Too much errors in Code Mem, giving up!
Verify Error: Cfg Mem 0x00000E: PIC=0x3FFF Buf=0x3F79
Programming finished with verify errors!
Operation took 10.0 seconds!
"

What can i do now i want to check it out pls help me...
heres my hx file...
Attachments
led.rar
(273 Bytes) Downloaded 36 times
R.Kanniyappan
kanni1303
 
Posts: 12
Joined: Sun Jun 24, 2012 7:03 pm

Re: Multi PIC Programmer Version5.2 Rev8.0(2005-1-4)

Postby mvs sarma » Thu Jun 28, 2012 1:15 pm

i fear simple usb to com port with wo wires cant work with Multipic programmer.
you have a full convcerter with most wires translated but not gnd Tx and Rx wires.
you might get access to a desktop that has COM port and load the hex files there
the related driverand hex files can be transported thru pendrive. install there on a desktop and manage.
try to upload the new C file so that pundits of C can offer corrections.
Regards
Sarma
mvs sarma
 
Posts: 583
Joined: Wed Oct 11, 2006 4:57 pm
Location: Hyderabad, India

Re: Multi PIC Programmer Version5.2 Rev8.0(2005-1-4)

Postby kanni1303 » Thu Jun 28, 2012 1:48 pm

Sorry, I mentioned earlier that i have changed to my old system which has the serial port in it and i am getting sufficient voltages...
I read the PIC successfully and created a new hex file from the device using the PICPgm software and burned it to check whether Programmer works or not successfully it burned the hex file in it and took 23 seconds to finish the process... but later i loaded my own hex file generated by CCS PCW compiler but it says the error message I posted earlier... I think there is a problem with my code or hex file... Here i attached all the files generated by the compiler in the project directory...
Thnx for ur response...
Attachments
Led.rar
All the files in the project directory
(10.39 KiB) Downloaded 39 times
R.Kanniyappan
kanni1303
 
Posts: 12
Joined: Sun Jun 24, 2012 7:03 pm

Re: Multi PIC Programmer Version5.2 Rev8.0(2005-1-4)

Postby john blue » Thu Jun 28, 2012 2:59 pm

Hi,

Have the code be successfully compiled? From CCS forum, I can see that most of the settings and fuses are in uppercase:

#fuses INTRC_IO,NOWDT,NOPUT,NOPROTECT,NOCPD,NOMCLR
john blue
 
Posts: 3
Joined: Fri Apr 24, 2009 3:38 pm

Re: Multi PIC Programmer Version5.2 Rev8.0(2005-1-4)

Postby kanni1303 » Thu Jun 28, 2012 3:00 pm

another type of program and hex file...
Attachments
LED.rar
(11.19 KiB) Downloaded 36 times
R.Kanniyappan
kanni1303
 
Posts: 12
Joined: Sun Jun 24, 2012 7:03 pm

Re: Multi PIC Programmer Version5.2 Rev8.0(2005-1-4)

Postby kanni1303 » Thu Jun 28, 2012 3:02 pm

yes it successfully compiled and i used REAL PIC simulator and that too showed nice result the led blinked correctly and i changed the delay time it also changed.... i dono what is the problem... :(
R.Kanniyappan
kanni1303
 
Posts: 12
Joined: Sun Jun 24, 2012 7:03 pm

Re: Multi PIC Programmer Version5.2 Rev8.0(2005-1-4)

Postby mvs sarma » Thu Jun 28, 2012 7:22 pm

simulators overcome many issues that real time things can not. a program that worked on simulator, need not eally work on real hardware.
Regards
Sarma
mvs sarma
 
Posts: 583
Joined: Wed Oct 11, 2006 4:57 pm
Location: Hyderabad, India

Next

Return to Micro controllers

Who is online

Users browsing this forum: No registered users and 0 guests

cron