Hi,
I am using WiRA 10.440.8.6 SDK on DA14695 Development Kit. Until now, I have been working with DEVELOPMENT mode configured in custom_config_qspi.h
#define dg_configIMAGE_SETUP DEVELOPMENT_MODE
我能够flash和可以看到f的结果lashing with address location in the Console.
However, when I changed it to PRODUCTION_MODE and flashed, I dont see the flash addresses anymore.
I only see the following messages on the Console.
........................................................................................................................
..
.. PROGRAM QSPI
..
........................................................................................................................
.
........................................................................................................................
..
.. Programming image
..
........................................................................................................................
cli_programmer 1.26
Copyright (c) 2015-2019 Dialog Semiconductor
bootloader file not specified, using internal uartboot.bin
Uploading boot loader/application executable...
Executable uploaded.
After a couple of minutes of waiting, when I reset the board, I get the following messages
Writing to address: 0x00002000 offset: 0x00000000 chunk size: 0x00002000
Verify writing to qspi address 0x2000 failed. Retrying ...
Writing to address: 0x00002000 offset: 0x00000000 chunk size: 0x00002000
Verify writing to qspi address 0x2000 failed. Retrying ...
Writing to address: 0x00002000 offset: 0x00000000 chunk size: 0x00002000
Verify writing to qspi address 0x2000 failed. Retrying ...
Writing to address: 0x00002000 offset: 0x00000000 chunk size: 0x00002000
Verify writing to qspi address 0x2000 failed. Retrying ...
Writing to address: 0x00002000 offset: 0x00000000 chunk size: 0x00002000
Verify writing to qspi address 0x2000 failed. Retrying ...
Writing to address: 0x00002000 offset: 0x00000000 chunk size: 0x00002000
Verify writing to qspi address 0x2000 failed. Retrying ...
Writing to address: 0x00002000 offset: 0x00000000 chunk size: 0x00002000
Verify writing to qspi address 0x2000 failed. Retrying ...
Writing to address: 0x00002000 offset: 0x00000000 chunk size: 0x00002000
Verify writing to qspi address 0x2000 failed. Retrying ...
Writing to address: 0x00002000 offset: 0x00000000 chunk size: 0x00002000
Verify writing to qspi address 0x2000 failed. Retrying ...
Writing to address: 0x00002000 offset: 0x00000000 chunk size: 0x00002000
Verify writing to qspi address 0x2000 failed. Retrying ...
Writing to address: 0x00002000 offset: 0x00000000 chunk size: 0x00002000
Verify writing to qspi address 0x2000 failed. Retrying ...
Write to qspi failed. Abort.
write to QSPI failed: unknown error (-300)
.
........................................................................................................................
. ERROR:
. cli_programmer.exe" has exited with code: 1
.
. call: "D:\Nodle_Workspace_10.6\WiRa_10.440.8.6\WiRa_10.440.8.6\binaries\cli_programmer.exe" --cfg C:\Users\subbu\AppData\Local\Temp\tmp2oe_jyok --check-booter-load --no-kill gdbserver write_qspi 8192 C:\Users\subbu\AppData\Local\Temp\tmp5o8ry8l1
........................................................................................................................
.
.
........................................................................................................................
..
.. FINISHED
..
........................................................................................................................
I think because I set to Production mode, it is no longer able to flash. Is there something I need to do differently ? A quick response is deeply appreciated.
Thanks and Regards,
Subramanyan
Hi Subramanyan,
I am not able to replicate this. Did you build the project for production mode successfully and without any errors?
Would it be possible to provide extra inputs to replicate this?
Thanks, PM_Dialog
Yes, the Production build built successfully without any issue. The Production build also flashed fine. After that if I flash any other build, I see the issue mentioned.
Regards,
Subramanyan
Hi,
Could the production build which is running be disabling any further flash operations?
Regards,
Subramanyan
Hi Subramanyan,
The PRODUCTION_MODE has nothing to do with the flash programming. I am not able to replicate in my side. The python scripts that are used for the flash programming, download raw binary data into the flash regardless from the firmware.
I would suggest you erase the QSPI Flash first, and then try to program it. Are you able to erase it using the python scripts from the SDK?
Thanks, PM_Dialog