2013-08-07 08:42 PM
I have built a circuit with a STM32W108CZ, it has a jumper for me to activate nBOOT
I activate nBOOT and reset. I turn on Flash Loader Demonstrator, using 115200 baud.The demo sends 0x7F, and the microcontroller sends back 0x79 (observed on o'scope and logic analyzer, baud rates are correct), and then the demo says ''cannot get available commands, please, try to change Echo selection, reset your device and try again''Of course, I try over and over again but it never worksHow do I get Flash Loader Demonstrator to work with STM32W? #stm32w-bootloader-nboot-nbootmode-protocol2013-08-10 03:21 PM
Help? I can't find any documentation regarding the protocol
The Flash Loader Demo works with a STM32F2 circuit I just made but not the STM32W2013-08-11 03:17 PM
Not sure there is much experience with the STM32W on the forum here. It's not a part I'm using. In terms of the other loaders, I would just make sure you're using even parity. Try either 9600 8E1 or 115200 8E1 and send some hex commands with your favorite terminal app (RealTerm?).
2013-08-12 01:11 AM
Maybe you can give it a try with
instead of the Flash loader tool.2013-08-12 03:02 PM
ohhh you know what, on the o'scope I didn't see the parity bit, but turning it off made it work, but that's so weird considering that the specs says that the parity bit should be on
is this a bug in the ROM?2013-08-12 03:08 PM
sloader-host's documentation is kind of lacking, I don't even know how to specify my com port correctly
I didsloadhost-stm32.exe --serialdev COM20but it gave me backserial_init on COM20 failed, exitingtheir website is pretty much emptyFlash Loader Demo just plain doesn't have STM32W inside it's internal list of supported chips... I tried loading a HEX but it says ''address not allowed'' because it can't load the list of allowed addressesI think I need to write a custom bootloader host app...2013-08-13 12:36 AM
Look at the Sloadhost_.bat there's the most you need to know.
Sloadhost.exe --serialdev COM1: --baudrate 115200 --getid --globalerase --loadfile out\SolarSW.bin --write 0x08000000 Or els run Sloadhost.exe without option for help.2013-08-13 09:36 PM
the problem was COM28 must be written as \\.\COM28
works perfectly with the STM32F205RG but with the STM32W it gives meGot autobaud ack in autobaudstart()... got 2 data bytes from get_command, waiting for an ACKdidn't get ACK after data in get_id, exitingSo I still think I'm going to have to do a custom job with a bit of reverse engineering