DmxSerial2 icon indicating copy to clipboard operation
DmxSerial2 copied to clipboard

Stop working on Mega 2560

Open dmx-rdm opened this issue 2 years ago • 2 comments

I use dmxserial2 on Arduino Mega platform. Ttestsketch is RdmSericalRec.ino Now RDM stopped working (City Theatrical DMXcat is the DMX/RDM master)

  • DMX data is received
  • RDM devices are not found any more.

When I compile for and upload on a UNO everything is working like expected.

I tried to use UART1 on the Mega, different enable pins, Arduino IDE1.8 and 2.1.1, behavoir is alwas the same. Does anyone have an idea?

Attached are Logic analyser measurements. RDM Data on Mega looks totally messed up - but why?

I'd really appreciate any help - I even registered a rdm manufacturer ID.

uno uno_overview Mega Mega_overview

dmx-rdm avatar Jul 24 '23 14:07 dmx-rdm

I have used MEGA in the past with no issues

Did you change the #def in the CPP ?

// For using the serial port 1 on a Arduino MEGA 2560 board, enable the DMX_USE_PORT1 definition.

//#define DMX_USE_PORT1

From: dmx-rdm @.> Sent: Monday, July 24, 2023 10:07 AM To: mathertel/DmxSerial2 @.> Cc: Subscribed @.***> Subject: [mathertel/DmxSerial2] Stop working on Mega 2560 (Issue #48)

I use dmxserial2 on Arduino Mega platform. Ttestsketch is RdmSericalRec.ino Now RDM stopped working (City Theatrical DMXcat is the DMX/RDM master)

  • DMX data is received
  • RDM devices are not found any more.

When I compile for and upload on a UNO everything is working like expected.

I tried to use UART1 on the Mega, different enable pins, Arduino IDE1.8 and 2.1.1, behavoir is alwas the same. Does anyone have an idea?

Attached are Logic analyser measurements. RDM Data on Mega looks totally messed up - but why?

I'd really appreciate any help - I even registered a rdm manufacturer ID.

https://user-images.githubusercontent.com/140413195/255614147-9086f136-6427-495b-9e40-4790e8e3b071.JPG https://user-images.githubusercontent.com/140413195/255614217-576608ad-7f0f-4703-9e88-2b559f90f942.JPG https://user-images.githubusercontent.com/140413195/255614237-cd4ccf59-99d2-4f64-a194-f192726e1d19.JPG https://user-images.githubusercontent.com/140413195/255614254-c76b1c4d-ea93-40ff-8929-8f5faba61250.JPG

— Reply to this email directly, view it on GitHub https://github.com/mathertel/DmxSerial2/issues/48 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIKT5V7XBKLO6ZGAIST2TDXRZ6QFANCNFSM6AAAAAA2VUQQ6A . You are receiving this because you are subscribed to this thread. https://github.com/notifications/beacon/ABIKT5RANIAH3YB6ZBTTWC3XRZ6QFA5CNFSM6AAAAAA2VUQQ6CWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHGYZBOSM.gif Message ID: @.*** @.***> >

riwalker avatar Jul 24 '23 14:07 riwalker

mega with dmxserial2 was working for me until some days ago! yes, I have changed the #definition. I also tried the simple way using UART0: Works on uno, not on mega.

The strange thing is: My mega-testboard wich I programmed some month ago is working fine.

I have used MEGA in the past with no issues Did you change the #def in the CPP ? // For using the serial port 1 on a Arduino MEGA 2560 board, enable the DMX_USE_PORT1 definition. //#define DMX_USE_PORT1

dmx-rdm avatar Jul 24 '23 15:07 dmx-rdm