cancel
Showing results for 
Search instead for 
Did you mean: 

How to do Programming in cmwx12zzabz-078 Lora module..?

PPati.18
Associate II

How to do Programming in cmwx12zzabz-078 Lora module..?

Im new for STM32 controller. I purchased cmwx12zzabz-078 Lora module which is integration of STM32L082 and SX1276 module.

when i connect this module its showing in device manages as "STM device in DFU mode".

0690X000008i6bZQAQ.png

I followed some steps from here but its not working...

https://www.dronetrest.com/t/zadig-drivers-for-cleanflight-betaflight-stm32-flight-controllers-dfu-mode/2719/13

In Zadig software its showing as "STM32 BOOTLOADER"

0690X000008i6dKQAQ.png

I intalled WINUSB(libusb) dirver in it through Zadig only. installed successfully.

then its showing like following in device manager..

0690X000008i6g9QAA.png

i unistalled this drivers and upload WINUSB(Microsoft) dirver in it through Zadig only. installed successfully.

then its showing like following in device manager..

0690X000008i6hqQAA.png

i tried so many things.. but not working.. can have any link to guid me steps by steps

can any one help me in this...?

5 REPLIES 5

Ok, but what are you trying to program into it?

If you want it to run the code loaded in Flash then makes sure the BOOT(0) pin is pulled low.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
PPati.18
Associate II

simply any code i want program into it ?

through any IDE..?

i don't no the steps?

Most people use the LoRa DISCO board to develop software on as it comes with a built in debugger and a functional circuit.

https://www.st.com/en/evaluation-tools/b-l072z-lrwan1.html

The software is in the I-CUBE LRWAN library, examples build in Keil (free for ST CM0 parts), IAR, etc

https://www.st.com/en/embedded-software/i-cube-lrwan.html

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
PPati.18
Associate II

I tried this lib and firmware of this boards but not working..!

still im searching solution.

we made one customized board using following reference circuit from module datasheet

0690X000008iA2cQAE.png

Our board is looking like this

0690X000008iA2hQAE.jpg

link of product and datasheet

https://www.murata.com/en-sg/products/lpwa/lora#lora3

My final goal is i have to upload any code program into it.

Thank You

Well the good news is that the chip and USB interface appears functional.

The applications you mention seem to have found the device, and should permit the download of firmware. Not sure why it was necessary to use all of them, but whatever. I would have used the STM32 Cube Programmer software as this also supports USB connectivity, and downloaded a test firmware to exercise the USARTs from that.

Your board schematic would have been more helpful than Murata's.

Check what you have actually built.

Make sure BOOT0 is in fact pulled LOW, because the behaviour suggests it is not.

Test the SWD debug interface. Compile, download and debug code in Keil, look at the state of the processor. Check what code is executing.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..