joneslights
New member
Would Ernie's plan work? I was thinking of grabbing a d-light board and test it.
Would Ernie's plan work? I was thinking of grabbing a d-light board and test it.
ErnieHorningWhat is Ernie's plan?
I already have a d-light board and really like it.
I am thinking about expanding it.
ErnieHorning
Member
Join Date: May 2007
Location: Apple Valley, MN
Posts: 415
Re: Support for D-light
It shouldn’t be too difficult to put Renard into a PIC18F2420 and plug it in to your D-Light board. Nobody looses, copyrights are still intact and your board then works with Vixen.
Ok: I am a nebie at the PIC stuff. How do I put Renard into a PIC18F2420.
This chip (2) I already have on my board. One other posting says that Darryl needs to give the pin outs. So what am I missing.
You'll need a pick programmer and a copy of the hex file (on the Christmas Wiki) Pickit 2 is the most used programmer. I wouldn't use the chip on the board as, if something goes wrong you'll lose your D-light code.
The pinouts are so a cable can be made to connect vixen to the d-light.
But, LOR and d-light use the same pinouts I believe, so that is on the wiki as well.
Another question or two.
Do you have a link or know where all of the above is on Christmas Wiki.
I believe I have the hex code for my PIC's.
Also, can we take this off-line some way.
You cannot use the Renard code as-is on the d-light boards. The .asm file will need to be changed to work with the d-light board. This is a task for someone who has good assembly language skills, knows the PIC assembly language, and has sufficient information about the d-light hardware. For such a person (Ernie may have had me in mind) it is not a huge task.
I wasn’t pointing directly at you; though you seem to have the best qualifications on this site.... Ernie may have had me in mind...
I have some assembly experience, thou not for 6 years or so, on MC68HC11's.
So let me see if I have this right, The renard code is a basic DMX compatible firmware for the pic's. But the board it was written for has some differences with the d-light ac-16. So we would need to pin map the board for the sockets and make sure that the correct pin is activated for its intended location?
andy
For some reason I thought that controller had a boot loader, and the actual dimming code was a separate downloaded image. If I'm not just dreaming, then we may also need information on what the boot loader expects.
For some reason I thought that controller had a boot loader, and the actual dimming code was a separate downloaded image. If I'm not just dreaming, then we may also need information on what the boot loader expects.
I was thinking the kit version of the boards, and in that case we could just insert a PIC with the code we require. Assuming they are microchip PICs , and I was at one time rather sure of this.
Course if we could just insert code into a bootloader, well all the better.
Tony M.
My understanding is that the boot loader is part of the PIC and was meant to upgrade the software in the PIC; LOR does the same thing.
You could probably make a 68HC11 work but you’d have to write all of the code; Renard is assembly and was only written for a PIC. You would also have to create a daughter board sense a 68HC11 isn’t going to be pin compatible with a PIC18F2420. It would be useful to more people if the micro were a PIC, sense more people here have a PIC programmer already.
The Renard code is already written for a PIC16F628 and it should be a fairly simple matter of changing the pin definitions and direction registers.
I’ll look around, I have the pin definitions for the D-light board somewhere; I think it’s on another computer. Like Tony said, I wouldn’t mess with the original D-Light micro, just change it.
Ok, what do I need to do to get new micro's.
I have two 18f2420 chips.
What Software and hardware.
Ok, what do I need to do to get new micro's.
I have two 18f2420 chips.
What Software and hardware.