Author Topic: DMX512 controller with ch340 (usb to Serial ) and P89V51RD2  (Read 22233 times)

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: DMX512 controller with ch340 (usb to Serial ) and P89V51RD2
« Reply #45 on: August 21, 2013, 01:55:32 AM »
Please see the 89V51RD2 data sheet from NXP for details of how the ISP protocol works.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

amitoha23

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: DMX512 controller with ch340 (usb to Serial ) and P89V51RD2
« Reply #46 on: August 22, 2013, 05:55:48 AM »
H Andy ,

i have managed to program the chip . thank you , but on the way i think i damaged to boot-loader . the chip seems to program successfully but it does not work  ,(it stopped working when i have tried to communicate with it ) i think by mistake i have used the P89C51 settings by mistake , i have read its a common issue , i have tried to follow a guide to repair it but i did not manged to understand what was going on at that guide .

just in case i have a parallel programmer (easypro90b ) can it help solve my problem ?
do you have a simple solution ?


Regards
Amit

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: DMX512 controller with ch340 (usb to Serial ) and P89V51RD2
« Reply #47 on: August 22, 2013, 08:36:57 AM »
If you chose the wrong device in Flash Magic then it may be in SoftICE mode. Search on google for possible ways out of it. Your parallel programmer should help.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

amitoha23

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: DMX512 controller with ch340 (usb to Serial ) and P89V51RD2
« Reply #48 on: August 24, 2013, 09:33:11 AM »
Hi Andy
well i did as in the guide for Fixing the SoftICE mode , how do i know it solved the problem ?
something is still wrong , the chip does not function properly ,  the ISP works . but it lost it original function .( the DMX300 display stopped working ).,
 
 i will test it functionality today maybe just display issue .

Reagrds
Amit

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: DMX512 controller with ch340 (usb to Serial ) and P89V51RD2
« Reply #49 on: August 24, 2013, 03:18:43 PM »
Perhaps the hex file you are programming is not the correct one?

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

amitoha23

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: DMX512 controller with ch340 (usb to Serial ) and P89V51RD2
« Reply #50 on: August 28, 2013, 09:20:04 PM »
Hi Andy ,

the seller sent me new files and software , it seems to fix the device . what make me thinks that i can not trust the programming software i got from seller .
as it seems to be unstable , what software can i use to write Hex files to P89V51RD2 using ISP ? ( using USB cable with ch340 chip )

Best regards
Amit

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: DMX512 controller with ch340 (usb to Serial ) and P89V51RD2
« Reply #51 on: August 29, 2013, 01:23:21 AM »
Flash Magic should work.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

amitoha23

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: DMX512 controller with ch340 (usb to Serial ) and P89V51RD2
« Reply #52 on: August 29, 2013, 01:59:10 AM »
Can you please link me to a download of working software .  i have version 4,5 .
 i am not sure they work properly as message jumps from time to time .
and a ch340 driver to win 7 64bit .
Thank you

Amit

R19Loxy

  • Jr. Member
  • **
  • Posts: 1
    • MSN Messenger - r19thet@yandex.com
    • View Profile
    • Email
DMX512 controller with ch340 usb to Serial and P89V
« Reply #53 on: December 11, 2014, 07:54:04 AM »
That's pretty cool.  I have one DMX controller that I bought with the idea of trying to find something similar to this.  The problem I have is that I got the mp3 director last year so I don't have the computer to run the show to separate this.  I'm curious if some of the smart computer geeks meant affectionately out there would know if this could be put on a microcontroller to make a cheap substitute for the iDMX 1000 controller.