Seeed-Studio / LoRaWan-E5-Node

Applications on LoRa-E5 mini/ LoRa-E5 Development Kit with v1.1.0 STM32Cube MCU Package for STM32WL series(SDK)
56 stars 26 forks source link

no STM32 target after programming the board #16

Open Sebelectronic opened 1 year ago

Sebelectronic commented 1 year ago

Hi, I have followed your instructions until the end, compile the soft without problem , program it fine. But now when I want to program the LORA-E5 Mini again the board isn't detected by the programmer. I've tried pressing reset and boot push button without results. Any idea to help me to save my board? Thank you

LucasAMPA commented 1 year ago

Jut to get an idea of what your set up is:

  1. How are you flashing the board? USB, SWD, or something else?
  2. What software are you using to flash the board? What are the program names/IDE names specifically?
  3. What machine are you using, Linux, Windows, or OS?

An easy mistake is to remove the factory given AT from Seeed by flashing over it, as an FYI.

Sebelectronic commented 1 year ago

I flash the board with a STLINK-V2 clone I am under Ubuntu18.04 with STM32CubeIDE and program with STM32Programmer

To give more details, my board was with AT firmware and first I tried flashing the "official" STM32 lorawan stack(over it). And I could do this several times successfully. Then I decided to use the source from here which is dedicated to LORA-E5 mini and it worked fine but only once :-) I am a newbie with STM32 architecture...

miroslavpetrov commented 10 months ago

@Sebelectronic did you fix the issue? I am experiencing the same issue now. I have followed the tutorial and flashed the lora-e5 with the LoRaWAN_End_Node firmware. Now the board cannot connect to stm32cubeprogrammer... I use v3-minie programmer.

Sebelectronic commented 2 months ago

@miroslavpetrov , sorry for my late answer but I didn't try to fix my trouble. Did you fix it?

miroslavpetrov commented 2 months ago

@Sebelectronic I use genuine STLink V3-Minie. It turned out that this little sh** works 100% of the time with only one of 10+ tested USB-C to USB-C cable and it works fine ONLY if the cable is plugged in a certain way(if I reverse it it doesn't work).