Skip to main content

DA14531 Development Kit-USB and multiperipheral example

DA14531

6 months ago

Posted by ozgurkoc 140 points 6 replies
0 upvotes

Hi all,

I have a DA14531-00FXDEVKT-U (Development Kit-USB). I want to use the DA14531- DA14585-586_Multiperipheral_Example. But it did not give information about DA14531-00FXDEVKT-U in DA14531- DA14585-586_Multiperipheral_Example \ doc \ Readme.html. Can I run this example with DA14531-00FXDEVKT-U?

6 months ago

PM_Dialog

Hi ozgurkoc,

You could try to run in on the USB Kit but I assume the UART configuration might be changed. Please see Figure 8: DIP Switch Configuration for UART from the UM-B-125 User Manual DA14531 USB Development Kit Hardware. According to this, the UTX is mapped on P0_2, so you should change the UART2_TX_PIN in user_periph_setup.h accordingly. Please try it and if you have any issue let us know.

Thanks, PM_Dialog

6 months ago

ozgurkoc 140 points

Hi PM_Dialog,

Thank you for answer. I implemented everything in DA14531- DA14585-586_Multiperipheral_Example\ doc\Readme.html and then built it, I got no errors. But when debugging the code, I get these errors: error1.png, error2.png

I changed the ULINK2/ME Cortex Debugger to J-LINK/J-TRACE Cortex. I got the same error again (error3.png, error4.png). I can debug other examples using J-LINK without any problem.

 

Attachment Size
error1.PNG 5.09 KB
error2.PNG 4.7 KB
error3.PNG 6.44 KB
error4.PNG 4.6 KB

6 months ago

PM_Dialog

Hi ozgurkoc,

Can you see the JTAG SN in the debug configurations? Please send some screenshots from the debug configurations.

Thanks, PM_Dialog

6 months ago

ozgurkoc 140 points

Hi PM_Diaog,

This is my debug configuration for DA14531- DA14585-586_Multiperipheral_Example:

 

Attachment Size
debug.PNG 25.7 KB
jlinkSetting.PNG 33.71 KB
flashDownload.PNG 16.5 KB
traceSetting.PNG 29 KB
accepted answer!

6 months ago

PM_Dialog

Hi ozgurkoc,

Please see the attached screenshots and make sure that you have the proper configuration. In #2 the .ini file should be taken from :

..\..\..\6.0.14.1114\sdk\common_project_files\misc\jlink_DA14531.ini

Keep in mind that you cannot download FW into the SPI Flash through the Keil IDE – only in System-RAM.

Thanks, PM_Dialog

Attachment Size
debug_config.zip 67.97 KB

6 months ago

ozgurkoc 140 points

Hi PM_Dialog,

Thank you for answer. It worked.