Page 1 of 1

Resetting MCU through MikroC bootloader software...?

Posted: 22 Jul 2011 23:56
by dummy_c
Good day masters! :lol:
I been having so much fun using mikroC bootloader. But it's kind of annoying to always press the reset button on the circuit after uploading the hex file unto the device. Would it be nice if the resseting can be incorporated to the MikroC bootloader software?

Thank you and more power.... :)

Re: Resetting MCU through MikroC bootloader software...?

Posted: 25 Jul 2011 09:37
by filip
Hi,

This is a very helpful feature that I will pass it to our developers.
Thank you for your suggestion.

Regards,
Filip.

Re: Resetting MCU through MikroC bootloader software...?

Posted: 26 Jul 2011 06:04
by dummy_c
Thank you so much sir... :D

Re: Resetting MCU through MikroC bootloader software...?

Posted: 23 Sep 2011 12:13
by dummy_c
So what is the current status about this sir?
In the mean time I temporarily used the DTR pin of the serial port to reset the PIC.
I have created a simple VB6 application for this.

Code: Select all

Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)

Private Sub cmdExit_Click()
If MSComm1.PortOpen Then MSComm1.PortOpen = False
End
End Sub

Private Sub cmdReset_Click()
On Error GoTo errorhandler
cmdReset.Enabled = False
If MSComm1.PortOpen Then MSComm1.PortOpen = False
MSComm1.CommPort = Text1.Text
MSComm1.PortOpen = True
MSComm1.DTREnable = True
Sleep 1200
MSComm1.DTREnable = False
MSComm1.PortOpen = False
cmdReset.Enabled = True
Exit Sub
errorhandler:
MsgBox "Wrong ComPort number"
cmdReset.Enabled = True
End Sub

Private Sub Form_Load()
With MSComm1
.DTREnable = False
.RTSEnable = False
End With
End Sub
Here is a sample video of a simple application,
http://www.youtube.com/watch?v=AqiGWcX43WI

Re: Resetting MCU through MikroC bootloader software...?

Posted: 26 Sep 2011 08:23
by filip
Hi,

This is now in our developers hands and they are working hard to implement this feature.

Regards,
Filip.