2023-07-19 12:04 AM
Hi ST Community,
I´m doing my first try with the board STEVAL-ASTRA1B, try to run the example binary for Logistic.
LoRa can not join the network:
on the APP ST Asset Tracking there is no data from GPS:
some hints? Thanks in advanced.
2023-07-20 06:53 AM
Hello @Danny0007 and welcome to ST Community.
For the joining network problem, I suggest you to take a look on this video and try to connect the same way.
For the GNSS data display problem, I suggest you to use your device outdoor because GNSS does not work well indoor.
When your question is answered, please close this topic by choosing "Accept as Solution". This will help other users find that answer faster.
Issam
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-07-20 11:41 AM
Hello IIRHO,
thanks for the reply.
Aktually before I watched this video, I thought there is no any firmware on the board, so I had already flashed the STM32WB with
and
that means the firmware on STM32WB are reflashed
The firmware on STM32WL is kept as original, no reflash.
can you tell me which orginal firmware were on the STM32WB? Maybe I should start from the very beginning and firstly test the original firmware.
2023-07-21 12:16 AM
Hello again,
I suggest you to use the CustomUC application with the last version of CubeMX for your application.
When your question is answered, please close this topic by choosing "Accept as Solution". This will help other users find that answer faster.
Issam
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-07-22 09:24 AM
Hello IIRHO,
this doesn´t solve my problem.
And now it has another problem, after I flash the user application CustomUC.hex;
the blue LED is permanent on, no bluetooth connection, no serial output.
2023-07-23 01:06 PM
Sorry, I´m a newbie to ST development environment, as I understand CubeMX is for generating code and it is in CubeIDE integrated, so I just use CubeIDE and import the CustomUC project like this
with this setting I get a hex file
after flasing it in the board, nothing happens. No USB connection, No any LED blinking, it seems nothing is running.
*******************************************************************
another question: I´m a little coufused about these three settings
how should they look like before and after flashing new Copro_wireless_binaries? should I change them manuallly if I flash another wireless stack, or the software handles them automatically?
*************************************************************************************
BR
Danny
2023-07-26 08:39 AM
Hello again,
I suggest you to use cube programmer to do a Full chip erase. Than you can use the CustomUC application.
Issam
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-07-27 12:25 PM - edited 2023-07-27 12:27 PM
Hello again,
After doing a full chip erase
here is how I flash the wireless stack and the CustomUC binary, and the output.
everything seems successful, but nothing is running.
21:20:53 : MASS ERASE ...
21:20:58 : Mass erase successfully achieved
21:20:58 : UPLOADING ...
21:20:58 : Size : 4 Bytes
21:20:58 : Address : 0x58004080
21:20:58 : Read progress:
21:20:58 : Data read successfully
21:20:58 : Time elapsed during the read operation is: 00:00:00.000
21:20:58 : UPLOADING ...
21:20:58 : Size : 1024 Bytes
21:20:58 : Address : 0x8000000
21:20:58 : Read progress:
21:20:58 : Data read successfully
21:20:58 : Time elapsed during the read operation is: 00:00:00.003
21:21:13 : Old Firmware delete ...
21:21:13 : Warning: Option Byte: nSWboot0, value: 0x0, was not modified.
21:21:13 : Warning: Option Byte: nboot0, value: 0x1, was not modified.
21:21:13 : Warning: Option Byte: nboot1, value: 0x1, was not modified.
21:21:13 : Warning: Option Bytes are unchanged, Data won't be downloaded
21:21:13 : Time elapsed during option Bytes configuration: 00:00:00.000
21:21:13 : Succeeded to set nSWboot0=0 nboot1=1 nboot0=1
21:21:13 : Memory Programming ...
21:21:13 : Opening and parsing file: 0x495_FUS_Operator.bin
21:21:13 : File : 0x495_FUS_Operator.bin
21:21:13 : Size : 8.00 KB
21:21:13 : Address : 0x08000000
21:21:13 : Erasing memory corresponding to segment 0:
21:21:14 : Erasing internal memory sectors [0 1]
21:21:14 : Download in Progress:
21:21:14 : File download complete
21:21:14 : Time elapsed during download operation: 00:00:00.193
21:21:14 : Application is running, Please Hold on...
21:21:21 : Reconnecting...
21:21:21 : Reconnected !
21:21:21 : Warning: FUS_STATE_NOT_RUNNING
21:21:21 : Warning: Delete Firmware Operation Failure! STACK is Running...Switch to FUS
21:21:21 : Warning: Option Byte: nSWboot0, value: 0x0, was not modified.
21:21:21 : Warning: Option Byte: nboot0, value: 0x1, was not modified.
21:21:21 : Warning: Option Byte: nboot1, value: 0x1, was not modified.
21:21:21 : Warning: Option Bytes are unchanged, Data won't be downloaded
21:21:21 : Time elapsed during option Bytes configuration: 00:00:00.001
21:21:21 : Succeeded to set nSWboot0=0 nboot1=1 nboot0=1
21:21:21 : Memory Programming ...
21:21:21 : Opening and parsing file: 0x495_FUS_Operator.bin
21:21:21 : File : 0x495_FUS_Operator.bin
21:21:21 : Size : 8.00 KB
21:21:21 : Address : 0x08000000
21:21:21 : Erasing memory corresponding to segment 0:
21:21:21 : Erasing internal memory sectors [0 1]
21:21:21 : Download in Progress:
21:21:21 : File download complete
21:21:21 : Time elapsed during download operation: 00:00:00.202
21:21:21 : Application is running, Please Hold on...
21:21:21 : Reconnecting...
21:21:21 : Reconnected !
21:21:25 : Reconnecting...
21:21:25 : Reconnected !
21:21:26 : StartFus activated successfully
21:21:26 : FUS_STATE_IDLE
21:21:26 : Start FUS execution finished
21:21:26 : FUS is now running
21:21:26 : Warning: Option Byte: nSWboot0, value: 0x0, was not modified.
21:21:26 : Warning: Option Byte: nboot0, value: 0x1, was not modified.
21:21:26 : Warning: Option Byte: nboot1, value: 0x1, was not modified.
21:21:26 : Warning: Option Bytes are unchanged, Data won't be downloaded
21:21:26 : Time elapsed during option Bytes configuration: 00:00:00.000
21:21:26 : Succeeded to set nSWboot0=0 nboot1=1 nboot0=1
21:21:26 : Memory Programming ...
21:21:26 : Opening and parsing file: 0x495_FUS_Operator.bin
21:21:26 : File : 0x495_FUS_Operator.bin
21:21:26 : Size : 8.00 KB
21:21:26 : Address : 0x08000000
21:21:26 : Erasing memory corresponding to segment 0:
21:21:26 : Erasing internal memory sectors [0 1]
21:21:26 : Download in Progress:
21:21:26 : File download complete
21:21:26 : Time elapsed during download operation: 00:00:00.233
21:21:26 : Application is running, Please Hold on...
21:21:33 : Reconnecting...
21:21:33 : Reconnected !
21:21:34 : Firmware delete Success
21:21:34 : Download Stack/FUS image at address 0x80CE000 ...
21:21:34 : Memory Programming ...
21:21:34 : Opening and parsing file: stm32wb5x_BLE_Stack_full_fw.bin
21:21:34 : File : stm32wb5x_BLE_Stack_full_fw.bin
21:21:34 : Size : 148.18 KB
21:21:34 : Address : 0x080CE000
21:21:35 : Erasing memory corresponding to segment 0:
21:21:35 : Erasing internal memory sectors [206 243]
21:21:35 : Download in Progress:
21:21:38 : File download complete
21:21:38 : Time elapsed during download operation: 00:00:03.172
21:21:38 : Verifying ...
21:21:38 : Read progress:
21:21:38 : Download verified successfully
21:21:38 : Firmware Upgrade process started ...
21:21:38 : Application is running, Please Hold on...
21:21:50 : Reconnecting...
21:21:50 : Reconnected !
21:21:50 : Reconnecting...
21:21:50 : Reconnected !
21:21:50 : Firmware Upgrade Success
21:22:27 : Warning: Option Byte: nSWboot0, value: 0x0, was not modified.
21:22:27 : Warning: Option Byte: nboot0, value: 0x1, was not modified.
21:22:27 : Warning: Option Byte: nboot1, value: 0x1, was not modified.
21:22:27 : Warning: Option Bytes are unchanged, Data won't be downloaded
21:22:27 : Time elapsed during option Bytes configuration: 00:00:00.001
21:22:27 : Succeeded to set nSWboot0=0 nboot1=1 nboot0=1
21:22:27 : Memory Programming ...
21:22:27 : Opening and parsing file: 0x495_FUS_Operator.bin
21:22:27 : File : 0x495_FUS_Operator.bin
21:22:27 : Size : 8.00 KB
21:22:27 : Address : 0x08000000
21:22:27 : Erasing memory corresponding to segment 0:
21:22:27 : Erasing internal memory sectors [0 1]
21:22:27 : Download in Progress:
21:22:27 : File download complete
21:22:27 : Time elapsed during download operation: 00:00:00.219
21:22:27 : Application is running, Please Hold on...
21:22:27 : Reconnecting...
21:22:27 : Reconnected !
21:22:27 : Warning: FUS_STATE_NOT_RUNNING
21:22:27 : the Fus getState command Failed
21:22:27 : Warning: Read FUS state Operation Failure! STACK is Running...Switch to FUS
21:22:27 : Warning: Option Byte: nSWboot0, value: 0x0, was not modified.
21:22:27 : Warning: Option Byte: nboot0, value: 0x1, was not modified.
21:22:27 : Warning: Option Byte: nboot1, value: 0x1, was not modified.
21:22:27 : Warning: Option Bytes are unchanged, Data won't be downloaded
21:22:27 : Time elapsed during option Bytes configuration: 00:00:00.000
21:22:27 : Succeeded to set nSWboot0=0 nboot1=1 nboot0=1
21:22:27 : Memory Programming ...
21:22:27 : Opening and parsing file: 0x495_FUS_Operator.bin
21:22:27 : File : 0x495_FUS_Operator.bin
21:22:27 : Size : 8.00 KB
21:22:27 : Address : 0x08000000
21:22:27 : Erasing memory corresponding to segment 0:
21:22:27 : Erasing internal memory sectors [0 1]
21:22:27 : Download in Progress:
21:22:27 : File download complete
21:22:27 : Time elapsed during download operation: 00:00:00.192
21:22:27 : Application is running, Please Hold on...
21:22:27 : Reconnecting...
21:22:27 : Reconnected !
21:22:31 : Reconnecting...
21:22:31 : Reconnected !
21:22:32 : StartFus activated successfully
21:22:32 : FUS_STATE_IDLE
21:22:32 : Start FUS execution finished
21:22:32 : FUS is now running
21:22:32 : Requesting Read FUS Info
21:22:32 : Warning: Option Byte: nSWboot0, value: 0x0, was not modified.
21:22:32 : Warning: Option Byte: nboot0, value: 0x1, was not modified.
21:22:32 : Warning: Option Byte: nboot1, value: 0x1, was not modified.
21:22:32 : Warning: Option Bytes are unchanged, Data won't be downloaded
21:22:32 : Time elapsed during option Bytes configuration: 00:00:00.000
21:22:32 : Succeeded to set nSWboot0=0 nboot1=1 nboot0=1
21:22:32 : Memory Programming ...
21:22:32 : Opening and parsing file: 0x495_FUS_Operator.bin
21:22:32 : File : 0x495_FUS_Operator.bin
21:22:32 : Size : 8.00 KB
21:22:32 : Address : 0x08000000
21:22:32 : Erasing memory corresponding to segment 0:
21:22:32 : Erasing internal memory sectors [0 1]
21:22:32 : Download in Progress:
21:22:32 : File download complete
21:22:32 : Time elapsed during download operation: 00:00:00.224
21:22:32 : Application is running, Please Hold on...
21:22:32 : Reconnecting...
21:22:32 : Reconnected !
21:22:33 : FUS_STATE_IDLE
21:22:33 : Read FUS state command execution finished
21:22:33 : Read FUS Info execution finished
21:22:33 : UPLOADING ...
21:22:33 : Size : 4 Bytes
21:22:33 : Address : 0x20010010
21:22:33 : Read progress:
21:22:33 : Data read successfully
21:22:33 : Time elapsed during the read operation is: 00:00:00.000
21:22:33 : UPLOADING ...
21:22:33 : Size : 4 Bytes
21:22:33 : Address : 0x20010014
21:22:33 : Read progress:
21:22:33 : Data read successfully
21:22:33 : Time elapsed during the read operation is: 00:00:00.003
21:22:33 : UPLOADING ...
21:22:33 : Size : 4 Bytes
21:22:33 : Address : 0x8001FFC
21:22:33 : Read progress:
21:22:33 : Data read successfully
21:22:33 : Time elapsed during the read operation is: 00:00:00.001
21:23:11 : Memory Programming ...
21:23:11 : Opening and parsing file: CustomUC_0x08007000.bin
21:23:11 : File : CustomUC_0x08007000.bin
21:23:11 : Size : 277.34 KB
21:23:11 : Address : 0x08007000
21:23:11 : Erasing memory corresponding to segment 0:
21:23:11 : Erasing internal memory sectors [7 76]
21:23:12 : Download in Progress:
21:23:16 : File download complete
21:23:16 : Time elapsed during download operation: 00:00:05.657
21:23:16 : Verifying ...
21:23:16 : Read progress:
21:23:17 : Download verified successfully
21:23:17 : RUNNING Program ...
21:23:17 : Address: : 0x08007000
21:23:17 : Application is running, Please Hold on...
21:23:17 : Start operation achieved successfully
2023-07-28 03:47 AM
Hello again
I suggest you to:
Double-check that you are flashing the correct versions CustomUC binary.
Try resetting the device after flashing the firmware. Sometimes a reset is necessary to start the firmware running.
Best Regards.
Issam
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-07-30 03:42 AM
Hello again,
this time I recompiled the CustomUC code by myself, there was an error in :
it was Master_Clock_Accuracy.
After I flash the device with new binary file, it seems working.
But the mobile app ST Asset tracking hangs, the device can not be added succecssfully.
I tried both android and ios version
Thanks and Best regards
Danny