SPI Flash Error when writing with Snippets Tools

Learn MoreFAQsTutorials

5 posts / 0 new
Last post
Jun-ichi Tobe
Offline
Last seen:1 month 3 weeks ago
Joined:2016-04-01 10:39
SPI Flash Error when writing with Snippets Tools

Hi, support team!
I have used Snippets Tools to write to the flash memory on the EVAL board.
Initially, there were no problems when writing, but now it gets error as writing and erasing.

I am using a JTAG connection.
We have confirmed that it was able to connect normally when loading the program by Booter or in the debug mode when using ARM-Keil.
The jumper setting on the EVAL board is SPI setting described by silk printing on the board.

Operation OK;
· Connect
· Booter (Flash not used)
· Debug (When using ARM-Keil, flash not used)

Operation NG;
· Read 32 kB
· Erace
· Burn (Burn & Verify)

ICs;
DA14580/583 @ SDK 5.0.4
DA14585 [AC version] @ SDK 6.0.6

So, when I tried the next procedure, I confirmed that it was able to connect normally, and that writing can be done normally!!!
· Set "Project & Virtual COM Port or JTAG Serial #" on the initial window,
instead of using a previously saved projects, I created a NEW project.
If I created a new project, I could do all of Read32kB, Erace and Burn.

Are there any problems with using existing projects?

Best regards,

Jun-ichi

Device:
MT_dialog
Offline
Last seen:1 month 1 week ago
Staff
Joined:2015-06-08 11:34
Hi Jun-ichi Tobe,

Hi Jun-ichi Tobe,

I am sorry i dont quite get what the problem is, can you please re-phrase the question ? You can reconfigure the projects that you allready have as you like, as far as the projects use as configuration the IC that you have actually attached, 585 selection for a 585 SoC and 580 selection for a 580 SoC. I dont quite understand what the issue is.

Thanks MT_dialog

Jun-ichi Tobe
Offline
Last seen:1 month 3 weeks ago
Joined:2016-04-01 10:39
Hi MT_dialog!

Hi MT_dialog!

I'm really sorry that my explanation is inadequate.
I will send you the project files of Snippets Tools on my PC.
In addition, Log informations of Snippets Tools is also attached.

aaaaa: This is the project file created yesterday. (Operation OK)
Test1; This is the project file we used before. (Operation NG)

Copying these project files to another PC showed that the error was caused by the project file.
Is it possible to verify that the Test 1 project is going wrong?

And I am very happy that Snippets Tools system will check errors when opening an existing project file.

Best regards,

Jun-ichi

MT_dialog
Offline
Last seen:1 month 1 week ago
Staff
Joined:2015-06-08 11:34
Hi Jun-ichi Tobe,

Hi Jun-ichi Tobe,

附加的两个项目,你有我rking properly, the problem with the Test1 is the wrong pin configuration for that flash that you have attached on the board, the pins of the project are CLK 2_0/SPI_EN 2_3/SPI_DI 2_4/SPI_DO 2_9 (at least this is what i get on my side on my tool) if you change that to the appropriate pins, as the other project that you have attached, the project will operate properly.

Thanks MT_dialog

Jun-ichi Tobe
Offline
Last seen:1 month 3 weeks ago
Joined:2016-04-01 10:39
Hi MT_dialog!

Hi MT_dialog!
Thank you for your support.
I'm sorry, I did not notice that the setting is wrong.
It was confirmed that the GPIO was set correctly and it operated normally.
regards.
Jun-ichi