Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 19:08
    UweBonnes closed #631
  • 19:08
    UweBonnes commented #631
  • 16:09
    hydra commented #633
  • 16:08
    hydra synchronize #633
  • Apr 08 17:09
    UweBonnes commented #479
  • Apr 08 06:17
    mean00 commented #479
  • Apr 07 16:15
    vslinuxdotnet commented #631
  • Apr 06 21:36

    UweBonnes on master

    add basic support for LPC11U68 … (compare)

  • Apr 06 21:36
    UweBonnes closed #634
  • Apr 06 18:55
    mean00 commented #634
  • Apr 06 18:50
    mean00 commented #634
  • Apr 06 16:58
    sidprice commented #635
  • Apr 06 16:52
    UweBonnes opened #635
  • Apr 06 16:38
    UweBonnes commented #634
  • Apr 06 16:10
    mean00 opened #634
  • Apr 06 14:06
    UweBonnes commented #633
  • Apr 06 14:06
    hydra commented #632
  • Apr 06 14:04
    UweBonnes commented #632
  • Apr 06 13:53
    hydra commented #632
  • Apr 06 13:50
    hydra commented #632
Michael N. Moran
@mnmoron
The command-line I used looked like this: sudo ./scripts/stm32_mem.py src/blackmagic ... note that I used the wrong file.
UweBonnes
@UweBonnes
BMP runs on many hardware. BMP is the hardware sold by Esde.
Different hardware has different ways to force enter the bootloader
Michael N. Moran
@mnmoron
UweBonnes
@UweBonnes
That is BMP/native
Michael N. Moran
@mnmoron
That was my understanding of the BMP code. I found "native" to be an interesting term, since I usually reserve that term for a non-embedded platform (e.g. Linux host).
UweBonnes
@UweBonnes
It is called native since long:
Michael N. Moran
@mnmoron
understood
Michael N. Moran
@mnmoron
Given that I only have a steady green LED after all of this, and that LED is not controlled by software (according to the schematics) I suppose that it is safe to say that I have ''bricked'' my BMP. I notice that it has its own set of through-holes connected to the STM32F103 SWDIO and SWCLK pins. Therefore, I suppose that I could re-flash the device if I had a working SWD tool (e.g. another BMP).
UweBonnes
@UweBonnes
commit 8d190cdbb9c4e4377d0c33424e453c5ac166eed8
Author: Gareth McMullin gareth@blacksphere.co.nz
Date: Sun Jun 10 16:40:07 2012 +1200
Renamed platforms to 'native' and 'libftdi' and moved into 'platforms' dir.
You can reflash, but it is strange that force bootloader entry did not help. If you can, please investigate.
UweBonnes
@UweBonnes
When you connect another debugger to the BMP, relash the bootloader too!
relash -> reflash
Michael N. Moran
@mnmoron
Do you have any suggestions on what I could do to investigate? Currently, I don't have another SWD tool, and spending another $65 for a soon-to-be-redundant BMP is not an immediate option.
UweBonnes
@UweBonnes
Why soon-to-be-redundant BMP?
Michael N. Moran
@mnmoron
If I need another BMP to fix my bricked BMP, then I'll have an additional (un-needed) BMP after I fix the first one. :-)
UweBonnes
@UweBonnes
Therearemany debuggers out there. E.g. ST Nucleo and disco boards. Do you own any of them?
Michael N. Moran
@mnmoron
I seem to recall seeing a way to make an SWD programmer using an FTDI rig... which I may have somewhere in my inventory. But that's for another day. :-)
Piotr Esden-Tempski
@esden
@mnmoron if you are located in the US... you can send the bmp to us and I can reflash the bootloader for you
Just send an email to info at 1BitSquared.com and we will try to help you.
and yes you could use an FTDI cable to reflash the bootloader
UweBonnes
@UweBonnes
If Micheal does send you, perhaps have a look at the reason why force bootloader entry did not work
Michael N. Moran
@mnmoron
@esden Really?! That would be great! I am in the US.
Piotr Esden-Tempski
@esden
Just send an email, and we will do our best to help you out. :)
@UweBonnes yeah of course I will see what is the issue there
Michael N. Moran
@mnmoron
I will. Thank you Piotr.
Piotr Esden-Tempski
@esden
@mnmoron also... how did you end up in this chat? It is not the current support channel any more. The official chat is on discord. I thought I replaced all the existing links.
I am only vaguely monitoring the chat here.
UweBonnes
@UweBonnes
At least I need to monitor to see issues and PRs.
Piotr Esden-Tempski
@esden
you can do that on github ... @UweBonnes ;)
@mnmoron anyways, for future reference: https://1bitsquared.com/pages/chat
UweBonnes
@UweBonnes
Michael, before sending, take a fresh look at force bootloader entry. It is supposed to work, and I am 99.9 % sure is will work.
Michael N. Moran
@mnmoron
@UweBonnes I don't know what else I can do. Do have any suggestions? It seems to me that I have erased the entire BMP flash, but I could be wrong.
Piotr Esden-Tempski
@esden
Indeed, holding the button while plugging into the computer pretty much always works. Also try shorting the pads of the button, in case the button got crushed and broken due to use and storage.
Michael N. Moran
@mnmoron
@esden Thank you for the link.
Piotr Esden-Tempski
@esden
The bootloader does not allow writing into the bootloader section. I don't know how overwriting the bootloader would happen by accident to be honest.
UweBonnes
@UweBonnes
A close look with a magnifying glass might also be worth a try.
Piotr Esden-Tempski
@esden
@mnmoron please tell me how you found this chat here. So I can fix any link that you might have found. :)
Michael N. Moran
@mnmoron
@esden Google and GitHub (https://github.com/blacksphere/blackmagic). I am using an nRF52840 board from SparkFun for Bluetooth Mesh development. The firmware that came on the BMP does not seem to support the nRF52 completely, so I was attempting to load new firmware built from GitHub.
Piotr Esden-Tempski
@esden
@mnmoron humm... the link in the github repository has the correct link... I guess google still remembers old links for a very long time
if you used dfu-util and the built in bootloader to flash the firmware you can't overwrite the bootloader ...
you should still be able to "force" the bootloader if you hold the button on the BMP and plug it in to the usb port while it is pressed
the only other thing I can imagine is that the button itself is broken
UweBonnes
@UweBonnes
You can not neither erase the bootloader with stm32mem. Michaels original problem was that he loaded the elf file.
Piotr Esden-Tempski
@esden
so the application firmware is corrupt not the bootloader itself
You have to be able to force the bootloader then
the best way to make sure is to take tweezers, short the button pads together and plug in the USB... this should force the bootloader even if the button itself is broken
Michael N. Moran
@mnmoron
I'll give the tweezer trick a try later... now... I must eat. :-)
UweBonnes
@UweBonnes
Good luck and bye!
Michael N. Moran
@mnmoron
@esden The tweezer trick did not work.