cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WL55-NUCELO-EVK - Flash Error -6 "FLASH_IF_PARAM_ERROR" after "AT+CS"

joembedded
Visitor

Hello Forum,

I upgraded my (alredy working) project, based on AT-Slave to the latest
STMCubeIDE: V2.0.0
STMCubeMX: V6.16.0
and STM32Cube_FW_WL_V1.4.0

My problem: suddenly I get Flash Error -6 "FLASH_IF_PARAM_ERROR" after "AT+CS".
Is this a know issue? Before, all worked and "AT+CS" stored well.

My Stack, derived from AT-Slave:

AT+VER=?
APPLICATION_VERSION: V1.4.0
MW_LORAWAN_VERSION:  V2.6.2
MW_RADIO_VERSION:    V1.3.1
L2_SPEC_VERSION:     V1.0.4
RP_SPEC_VERSION:     V2-1.0.3


I think there might be some issue with the FLASH-IF-Driver? I also reconised in "lora_at.c" a missleading comment:
(it should be 256kBytes, not 128), whereas ADDRESS is right. 

/**
 * @brief LoRaWAN NVM Flash address
 * @note last 2 sector of a 128kBytes device
 */
#define LORAWAN_NVM_BASE_ADDRESS                    ((void *)0x0803F000UL)


Thanks for any help,
Jo


0 REPLIES 0