Dear Dialog_PM,
I am trying to run the script program_qspi.py. The script ran successfully, however it gave me the following output : "No image, no header selected. Nothing to do." What does this mean and is this output expected?
Thank you for your time.
Device:
Hi toshiyo,
The safest way to program the DA1469x is to run the program_qspi_xxxx scripts through SmartSnipptes studio. Please check the attached snapshots. To access configuration menu alternatively navigate to Run > External Tools
supported device. So, choose the DA1469x-00 and the flash that you are using. For ProDK of the DA1469x family
select MX25U3235F. Finally, you will be asked to insert an address about: Active FW image address and Update FW image address. Please keep in both entries the default value 0x2000. This script will create an image head in the top of firmware image and it will by appended into program_qspi.py.
Thanks, PM_Dialog
Dear Dialog_PM,
Thank you for your help. I have implemented your suggestions, however when trying to program the qspi flash with my firmware, I reached an error 'Launching program_qspi_jtag' has encountered a problem. Variable references empty selection: ${project_loc}. How do I resolve this error?
Thank you for your time.
Hi toshiyo,
Please go to the external tools configurations and you should have the same configurations with the attached snapshot.
"program_qspi.py" "--jlink" "--jlink_path" "${jlink_path}" "--prod_header" "${project_loc}/${config_name:${project_name}}/${project_name}.bin"
Thanks, PM_Dialog
Dear PM_Dialog,
I have checked my external tools configurations. They are the same as your attached snapshot.
Unfortunately, I still cannot run the program as I receive the following error [attached in screenshot]. Is there a specific value that the config_name should be and how should I correct the value [since the software seems to find the argument to be null] ?
Thank you.
Hi toshiyo,
Could you please indicate the version of the SmartSnippets that you are using?
Thanks, PM_Dialog
Dear PM_Dialog,
Its v2.0.8
Thank you.
Hi toshiyo,
Please try the following steps:
After the stepsabove you should be able to program your board. I tested from my side. Let me aske you something. Are you using any of our development boards or you have a custom board?
Thanks, PM_Dialog
Dear PM_Dialog,
Thank you for the response. I am using the DA14695-00HQDEVKT-U kit.
I tried following the steps you mentioned. Unfortunately, when I tried to complete step 4, I encountered three errors. I have attached a screenshot of those errors to this post. I would truly appreciate any advice you might have regarding this problem.
Thank you for your time,
Daniel
Hi toshiyo,
That means that the setup doesn't generate the linker scripts in order for the make to complete the build, before the actual build occurs, eclipse will have to generate the linker scripts from the mem.ld.h file and construct a mem.ld file in the build folder. In your case, the file is never built and as a result the tool is not able to find the mem.ld file. This can be due to a number of reasons, like the makefile.targets file isn't in the project directory, or a missing configuration etc. It seems that either the installation of the Smart Snippets has issues, or you haven't properly imported the projects. Be aware that the SDK along with the Smart Snippets tool should operate out of the box without any additional configuration. Since you have correctly installed the tool, all the projects should compile out of the box. In addition, this kind of error that you are seeing, might be related with your workspace. Let’s try the following:
Thanks, PM_Dialog
This worked! Thank you.