Resetting MCU through MikroC bootloader software...?

Post your requests and ideas on the future development of mikroC.
Post Reply
Author
Message
dummy_c
Posts: 32
Joined: 07 Feb 2011 10:27

Resetting MCU through MikroC bootloader software...?

#1 Post by dummy_c » 22 Jul 2011 23:56

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.... :)

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

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

#2 Post by filip » 25 Jul 2011 09:37

Hi,

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

Regards,
Filip.

dummy_c
Posts: 32
Joined: 07 Feb 2011 10:27

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

#3 Post by dummy_c » 26 Jul 2011 06:04

Thank you so much sir... :D

dummy_c
Posts: 32
Joined: 07 Feb 2011 10:27

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

#4 Post by dummy_c » 23 Sep 2011 12:13

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

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

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

#5 Post by filip » 26 Sep 2011 08:23

Hi,

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

Regards,
Filip.

Post Reply

Return to “mikroC Wish List”