Notifications
Clear all

Support for D-light

93 Posts
23 Users
0 Reactions
86.6 K Views
Posts: 19
(@rjmcnay)
Eminent Member
Joined: 18 years ago

This is rjmcnay's son-in-law

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? Other than that does the communications need to be changed at all, as far as I thought the usb dongle that d-light sells can output DMX signal with the correct driver.
I am willing to do some scut work on this as I have some free time. Let me know if anyone can think of anything to speed up the process of a DMX d-light!

andy


Reply
A Marchini
Posts: 426
(@a-marchini)
Reputable Member
Joined: 19 years ago
rjmcnay wrote:
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

The Renard code is not DMX. The code is pretty much written it just needs to be modified for the pin out of the d-light board. This could be backwards engineered without a ton of work for someone with a board in hand, but it would be easier if we just had the schematic. We could contact Darryl and see if he is willing to let this be. I had broached this years ago, and at the time he didn't seem to care, the kits are parts so reprogramming it wouldn't be a big deal, and in the end it is a sale for him, either way.

The recode wouldn't take much time.

Tony M.


Reply
Posts: 6728
(@p-short)
Illustrious Member
Joined: 20 years ago

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.


Reply
Posts: 19
(@rjmcnay)
Eminent Member
Joined: 18 years ago
P. Short wrote: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.

The board has 2 pins labeled bootloader.
I do not know if this will help.
Let me know if we need anything and I will try and see what I can do.
Even contacting Darryl.


Reply
A Marchini
Posts: 426
(@a-marchini)
Reputable Member
Joined: 19 years ago
P. Short wrote: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.


Reply
ErnieHorning
Posts: 4434
(@erniehorning)
Famed Member
Joined: 19 years ago

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.


Reply
Posts: 19
(@rjmcnay)
Eminent Member
Joined: 18 years ago
A Marchini wrote: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.

Here is what it says in the ACx16 Platinum Edition User Guide on the bootloader.

Bootloader Jumper
The bootloader jumper (JP1) is used to force the controller into “bootloader
mode” in case of a bad firmware load using the Firmware Updater.
To perform an emergency firmware update:
Remove power from the controller
Place a jumper across the pins of JP1
Turn the power on to the controller
Run the Firmware Updater to load the firmware.
Remove power from the controller
Remove the jumper from JP1
Turn the power on to the controller

Do not know it this will help.


Reply
Posts: 19
(@rjmcnay)
Eminent Member
Joined: 18 years ago
ErnieHorning wrote: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.


Reply
Posts: 19
(@rjmcnay)
Eminent Member
Joined: 18 years ago
rjmcnay wrote:Ok, what do I need to do to get new micro's.

I have two 18f2420 chips.
What Software and hardware.

Has everyone given up on this.


Reply
Posts: 737
(@joneslights)
Prominent Member
Joined: 19 years ago
rjmcnay wrote:Ok, what do I need to do to get new micro's.

I have two 18f2420 chips.
What Software and hardware.

http://mouser.com/Search/ProductDetail.aspx?qs=wTHOR9DrHG7e38xF1tcHRQ%3d%3d

and assembly http://www.freebyte.com/programming/assembler/#freeassemblers

I am not a person who uses assembly, so I'm not much good at suggesting.


Reply
Page 6 / 10
Share: