Did I Brick my Controllino? I recently obtained a Controllino Mini to be used in a small industrial project. While checking it out I also wanted to test the built-in RTC capabilities. In doing so I toyed around with the available commands from the supplied library. After uploading another sketch it seems I have bricked the Controllino, since I cannot upload anything else : 


  avrdude: stk500_recv(): programmer is not responding avrdude:
  stk500_getsync() attempt 10 of 10: not in sync: resp=0x00


and the reset LED is permanently lid. When looking at the pinout diagram of the Controllino Mini I saw that there was a small remark  near the top stating 


  Not proper handling of the RTC/INT output can cause permanent
  controllino reset , so I guess I somehow reached that state.


Since I am pretty new to the whole Arduino / Microcontroller scene I don't really know where to go from here. 


Is it a viable idea to try and burn a new bootloader ? 
Is there a simpler way to reset the state of the device?
What did I even do wrong ?


Any help is greatly appreciated !

Christian

Below is the sketch that got me into this mess:

#include &lt;Controllino.h&gt;


unsigned char day, weekday, month, year, hour, minute, sec;
#define analogInputPin A0
void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
pinMode(analogInputPin, INPUT);
Controllino_RTC_init(1);
Serial.print("Initalized RTC: ");
Controllino_SetTimeDate(1,6,4,2016,15,14,10);
}

void loop() {
 Controllino_ReadTimeDate(&amp;day,&amp;weekday,&amp;month,&amp;year,&amp;hour,&amp;minute,&amp;sec);
  float voltage = 15*(analogRead(analogInputPin)/1023.0);
  Serial.print(hour);
  Serial.print(":");
  Serial.print(minute);
  Serial.print(":");
  Serial.print(sec);
  Serial.print(" : ");

  Serial.println(voltage);


}
It certainly looks like the INT pin of the RTC can kill the whole unit. Bit of a FUBAR on their part I would say. 


  Is it a viable idea to try and burn a new bootloader ?


If the problem is that INT pin then you won't be able to replace the bootloader, and even if you did it wouldn't fix the problem.


  Is there a simpler way to reset the state of the device?


It looks like you will have to make a hardware modification - cut the connection between /INT and /RESET on the board - if you can identify which track that might be - or use a soldering iron to heat and lift the /INT pin of the RTC chip, which might be easier, depending on what the chip is (they are amazingly short on information).


  What did I even do wrong ?


Probably nothing serious - it's the design that is at fault. Anything that has the potential to completely cripple a system like that without even trying is just idiotic.