Author Topic: Can not get firmware to verify  (Read 2714 times)

Offline ponddude

  • Sr. Member
  • ****
  • Posts: 332
Can not get firmware to verify
« on: October 29, 2009, »
I received my wirelss boards from Bill.  Bought the parts myself from Mouser.  My PICKit2 showed up today so I wanted to program my firmware, but am running into problmes.  Now I am new at the whole DLA world, so bare with me.  Here is what I have done:

Placed the chip in the socket
Connected the PICKit2 to the 6 pin header with the triangles lined up.
Software finds the programmer and the chip. 
No power is to the board.
Load the firmware into the software. (version 7 from Wiki)
Click the "Write" button
Screen is green and says "Programming Successful"
Click the verify button and it says "Verification of Program Memory failed at Address 0x00248E

This I get the same thing for the Transmitter, Receiver and EX/RX unit.

What should I do now?

Thanks,
Greg
Greg
You are not allowed to view links. Register or Login

Offline rrowan

  • Administrator
  • Sr. Member
  • *****
  • Posts: 5899
  • 08096
Re: Can not get firmware to verify
« Reply #1 on: October 29, 2009, »
Forgot the verify button until Microchip provides a update for the pickit2 programmer.

Its a know bug when they updated the rev of the pic, they are supposed to be working on it.

Most likely the pics got programmed correctly. Program and use them.

Rick R.
Light Animation Hobby - Having fun and Learning at the same time. (21st member of DLA)
You are not allowed to view links. Register or Login
Warning SOME assembly required

Offline ponddude

  • Sr. Member
  • ****
  • Posts: 332
Re: Can not get firmware to verify
« Reply #2 on: October 29, 2009, »
OK, that makes me feel kind of better, now lets figure out why this isn't working...HAHA

I should have said I am trying to use the iDMX to control a DMX yoke light.  Everyhing works fine cabled up, now I want to switch over to wireles...simply because its cooler.  Assuming that the wireless units are fine, which I believe they are, what could be the issue?  Honestly I think it is a cabling issue.  I looked on the WIKI for the wiring of the cables but am completely lose because their are so many. 

Here is what I have done:

XLR connector coming out of the iDMX has the Orange wire soldered to pin #2
White/Orange wire is soldered to pin #3
Brown and white/brown are soldered to pin # 1

I then have the cat 5 connector wired as a "B" standard.

I have done the same thing for the receiver end going into the DMX light.

Is that correct? 
Greg
You are not allowed to view links. Register or Login

Offline vairmoose

  • Patron Member
  • Sr. Member
  • ****
  • Posts: 827
Re: Can not get firmware to verify
« Reply #3 on: October 29, 2009, »
If you have not done it already, recommend you reprogram the pic...  just do not hit the verify button.   

Larry
3 today (standing at light switch, holding two lighters)
Going live in 2012

Offline ponddude

  • Sr. Member
  • ****
  • Posts: 332
Re: Can not get firmware to verify
« Reply #4 on: October 29, 2009, »
I did program the PICs again and that went fine. 

I think the problem now is my wiring.  Can anyone give me the proper wiring from the iDMX to the transmitter?
Greg
You are not allowed to view links. Register or Login

Offline RJ

  • Administrator
  • Sr. Member
  • *****
  • Posts: 8519
Re: Can not get firmware to verify
« Reply #5 on: October 29, 2009, »
I bought one of these to demo Idmx units running Lynx equipment.

You are not allowed to view links. Register or Login

But the wiring is here in the wiki under LOR wiring Idmx:

You are not allowed to view links. Register or Login

Hope that helps.

RJ
Innovation beats imitation - and it's more satisfying

Offline ponddude

  • Sr. Member
  • ****
  • Posts: 332
Re: Can not get firmware to verify
« Reply #6 on: October 29, 2009, »
Thanks RJ.

I have the cables wired as the WIKI says, but I still can't get it to work.  I ordered the adapters and I will try again when they get here.
Greg
You are not allowed to view links. Register or Login

Offline DaMenaCe

  • Jr. Member
  • **
  • Posts: 20
Re: Can not get firmware to verify
« Reply #7 on: August 15, 2011, »
So i was confused about how do we program the chip...i dont have the board so i figured maybe i can get the programming out of the way but from what i learned from reading its done after the assembly am i correct? Sorry guys i m like completely NEW to this..i have no clue whats what lol. i m just posting to confirm that the programming of the Chip has to be done after the board is assembled.
« Last Edit: August 15, 2011, by DaMenaCe »

Offline pk

  • Patron Member
  • Sr. Member
  • ****
  • Posts: 618
  • 80004
Re: Can not get firmware to verify
« Reply #8 on: August 15, 2011, »
DaMenaCe -

Chips that are purchased as part of a co-op are programmed.  If you order parts yourself they will have to be programmed.  Personally, I program the chips using  the "redneck" or "barebones" programmer (depending on the processor) from the Wiki You are not allowed to view links. Register or Login

Either the PIC2 or PIC3 programmer will work

Some of the designs have provisions for in-circuit programming.  I have only used this feature on a Lynx Express.

Offline rm357

  • Sr. Member
  • ****
  • Posts: 1282
  • 31088
Re: Can not get firmware to verify
« Reply #9 on: August 15, 2011, »
Most of the boards have an ICSP  (if I got the letters in the right order) connector which allows for the programming of the PIC on the board. Most of the exceptions are the older hardware: MR16 controller, SSR4 DMX, FreeStyle and the Dongle are the only ones that come to mind. For these you will need to either make something or buy one of the adapters that are available online. Most seem to like the J1Sys stuff.

If you don't have a pickit yet,you should go for the pickit 3, some of the newer chips are not supported by the pickit 2. The pickit plugs directly onto the header and supplies the power needed to program the chip.

RM

Robert
Warner Robins, Georgia, USA

Offline DaMenaCe

  • Jr. Member
  • **
  • Posts: 20
Re: Can not get firmware to verify
« Reply #10 on: August 15, 2011, »
Thanks guys, thats the same conclusion i reached. about 2 hours ago i had no clue what chip are we supppose to program or whats connecting where.. sum youtube videos, some reading help out a bit and i figured out first i would have to assemble the board and then connect the pickit2 (just came in today only if i knew about pickit3 before RM oh well) to ICSP "jack" on the board and u flash the program on the board using one of the loading programs right?? i have Pickit2 and i think it comes with a program should i just use that or use the one from the two that PK mentioned? PK any suggestion?

Offline rm357

  • Sr. Member
  • ****
  • Posts: 1282
  • 31088
Re: Can not get firmware to verify
« Reply #11 on: August 15, 2011, »
The pickit comes with the software you will need.
RM
Robert
Warner Robins, Georgia, USA

Offline jeffcoast

  • Sr. Member
  • ****
  • Posts: 318
Re: Can not get firmware to verify
« Reply #12 on: August 15, 2011, »
just do not use the MPLAB program that comes with the Pickets, but the other standalone programs, You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Jeff Cook
Orlando, FL

Offline DaMenaCe

  • Jr. Member
  • **
  • Posts: 20
Re: Can not get firmware to verify
« Reply #13 on: August 16, 2011, »
Thank You guys... appreciate the link sir !!