Disable automatic reset

Stuck? We'll be happy to help!
Post Reply
localhost
Posts: 2
Joined: Mon Jan 28, 2019 2:25 pm

Disable automatic reset

Post by localhost » Mon Apr 01, 2019 3:19 pm

Hello,

Is there any way we can disable automatic reset of Controllino (MAXI) after connecting to Serial port for example ?

Is there any non-hardware way to do it ?

Thank you !

set-comm
Posts: 2
Joined: Wed Apr 10, 2019 11:53 pm

Re: Disable automatic reset

Post by set-comm » Thu Apr 11, 2019 12:03 am

Hello There !
S.O.S.
Same question : Is it possible to disable automatic reset on the MEGA after connect it to PC USB port ? It provokes reset on all input and outputs, and relays back to inactive.
S.O.S.
[It is an important issue to all of us starting using Controllino]

Thanks !

User avatar
Lukas
Posts: 15
Joined: Tue Dec 18, 2018 3:44 pm

Re: Disable automatic reset

Post by Lukas » Fri Apr 12, 2019 10:44 am

Hello,

the only way is to modfiy the firmware of the Atmega16U2 which serves as an USB to UART converter.

The source codes are available, e.g. here https://github.com/jj1bdx/arduino-atmega16u2

The build toolchain is described e.g. here http://www.fourwalledcubicle.com/files/ ... apps.html

Compiled binary then may be uploaded in DFU mode - so you do not need any special device as a programmer.
To switch 16U2 into to the DFU mode you have to open the CONTROLLINO and short circuit two pins at the 16U2 ISP programming connector.

set-comm
Posts: 2
Joined: Wed Apr 10, 2019 11:53 pm

Re: Disable automatic reset

Post by set-comm » Fri Apr 12, 2019 5:13 pm

Thanks Lukas !

I really like this Arduino-PLC integration as it can help me solve some controlling projects for my own company.

Regarding "reset behavior" of the unit, in my opinion, maybe it's gonna be better to use Controllino taking advantage that it is a ruggedized-industrial microcontroller only, and wait until Controllino take care of details in the future (pretty sure they can easily if requested by most of users), cause I'm pretty sure integrators don't want processes reset when in operation just for opening aplications programs via USB port .

I'm using UNO and Leonardo, even managed by Server and my programs (C# pgms/browser) are not affected by this detail...It only happens with MEGA2560 and its CLONS , maybe same firmware. I have not checked with an app via Ethernet port yet, hopefully this can help overcome this commented detail.

Thank you !

Post Reply