social_distancing_tag_V1_0_0" can't load the flash configuration

Learn MoreFAQsTutorials

6 posts / 0 new
Last post
dialog@67490083
Offline
Last seen:7 months 4 weeks ago
加入:2020-06-01 33
social_distancing_tag_V1_0_0" can't load the flash configuration

Hi,

I tested with "SmartBond™ Wireless Ranging SDK" and follow "http://lpccs-docs.dialog-semiconductor.com/wira_social_distancing_tag_example/user_guide.html" to modify danger zone with "cli_programmer COM257 write_qspi_bytes 0xFE112 0x96 0x00" and verify with "cli_programmer COM257 read_qspi 0xFE100 - 0x20".

The danger zone can be changed succefully.

Then I import project "Social Distancing Tag" and add code "printf("sdt_danger_distance_r:0x%.4X\r\n",sdt_danger_distance_r);" in "sdt_load_flash_configuration" of "social_distancing_tag_V1_0_0\ble_social_distance_tag\app_src\distance_sw_fsm.c". Compile the project again and load the project to USB kit again with "program_qspi_jtag". The danger zone value still is 0xFFFF instead of 0x0096.

Please tell me why the "social_distancing_tag_V1_0_0" can't load the flash configuration successfully.

Thanks,

QiZhang

Device:
PM_Dialog
Offline
Last seen:2 hours 26 min ago
Staff
加入:2018-02-08 11:03
Hi QiZhang,

Hi QiZhang,

Could you please follow again the procedure in a the Social Distancing example code, as described in “Application configuration” in the user manual? I would recommend first erasing the QSPI flash, and then programming. Additionally, please try to avoid printf() and use the example as it is provided.

Thanks, PM_Dialog

dialog@67490083
Offline
Last seen:7 months 4 weeks ago
加入:2020-06-01 33
Hi PM_Dialog,

Hi PM_Dialog,

如果不添加printf(),请耐心ase tell me how to verify "Application configuration" in the application.

Thanks,

QiZhang

PM_Dialog
Offline
Last seen:2 hours 26 min ago
Staff
加入:2018-02-08 11:03
Hi QiZhang ,

Hi QiZhang ,

You should just use the cli_programmer.exe and execute the proper command as described in the user manual.

Thanks, PM_Dialog

dialog@67490083
Offline
Last seen:7 months 4 weeks ago
加入:2020-06-01 33
Hi PM_Dialog,

Hi PM_Dialog,

I followed the instruction.

There is only one NV-parameter area `ble_platform`, but the "social_distancing_tag_v1_0_0" need NV-parameter area:"sdt_platform".

Please tell me how to paritition the QSPI to generate NV-parameter area:"sdt_platform".

Thanks,

QiZhang

PM_Dialog
Offline
Last seen:2 hours 26 min ago
Staff
加入:2018-02-08 11:03
Hi QiZhang,

Hi QiZhang,

My apologies for the delay. Could you please help me to understand what you are trying to accomplish? What partition would you like to create?

Thanks, PM_Dialog