It is currently 23 Oct 2017 14:49

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 05 Aug 2017 15:49 
Offline

Joined: 05 Aug 2017 15:39
Posts: 1
Hi, I have a problem with my clicker 2 for STM32, when I try to connect clicker to USB HID Bootloader I have a message Unable to find device: USB HID Bootloader.


Top
 Profile  
 
PostPosted: 10 Aug 2017 08:04 
Offline
User avatar

Joined: 21 Mar 2017 16:57
Posts: 523
Hello,

There is a possibility that the bootloader routine got overwritten accidentally, so you would have to program another one by using a programmer. Sometimes it happens, since bootloader code is kept in the flash memory, along with your code and if the code accidentally writes something in that area or the content gets damaged by other means, bootloader stops working. Second reason could be a hardware fault. Try the bootloader on another PC too, if possible.

Best regards


Top
 Profile  
 
PostPosted: 14 Sep 2017 14:31 
Offline

Joined: 09 Dec 2011 09:48
Posts: 6
hi, already had the same problem and had to reprogram the bootloader using external programmer.

is there any way to flash a program without erasing the bootloader (config option or whatever...)?

thank you,

regards.


Top
 Profile  
 
PostPosted: 14 Sep 2017 19:44 
Offline
User avatar

Joined: 21 Mar 2017 16:57
Posts: 523
Hi

If you use the bootloader to upload a hex, it won't touch the bootloader itself, it is made to take care of that, but if your code messes with the memory, or uses specifically set variables, it can damage the bootloader code. Avoid declaring variables on predetermined addresses and flash-write functions and you should be fine...

Best regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: