I am using DA14531MOD with Keli uvision5.
I was able to connect ULINK2 with JTAG and run it in debug mode, so I want to write code to flash and use it. Where should I refer to for necessary settings?
Hi Yoshihiko,
Thank you for posting your questions online.
DA14531 does not support keil flash loading, please using smart snippets tool box. or smartbond-flash-programmer
BR,
JH_Renesas
Thank you
Do you mean that in order to use DA14531 independently of PC, Keil uvison alone is not possible?
Thanks,
could you try another PC, it works well my site. with Windows 10 English edition.
Personally, I recommend smart snippets tool box. it's more powerful.
I try with 2 PC, but I cannot.
Where should I look for how to use smart snipets tool box?
You can get tutorial here UM-B-083 SmartSnippets Toolbox — UM-B-083 (renesas.com)
I'm trying with Smartsnippets toolbox, but this error occured:
No known chip found while opening JLink connection.
I used ULINK2 with serial wire mode interface.
What is the issue?
DA14531 reset is active high, the reset pin shows in the picture is active low. This may be the problem.
you can place a mosfet for voltage transform.
Jason
I tried with MOSFET, and this error occured.
I can use debug mode of uvision5 without MOSFET circuit.
Is this really issue of connection?
Just make sure the reset pin is positive active is ok.
could you share the screen shot of the tool box, and the connection picture of your device.
Thanks
Connection is here
I check J10, then it shows 2.2V
The screen shot of the tool box
Are you sure the ulink's reset is positive triger?
this pin should be low as default.
It is default high.
Now, I changed like this:
I click "connect" in the tool box, then reset pin become higt.
But error occured like this:
There is no reason that you can use keil for debug but can not using tool box for connection.
try to switch like this and have a try, since the reset of jlink is an input.
I tried to switch, ,but same error occured
I click "connect", but both of reset pin and J12 voltage doesn't change
When I can use Keil for debug, I connect J12 and reset pin direct.
7. UART Booting options (renesas.com)
Try to use single uart for flashing.
I tried this tutorial 20.2 and successed flash programing.
20. シリアル・ワイヤ・デバッグ・プローブ — DA145XX Tutorial SDK はじめに (renesas.com)
I am not sure why I could not use ULINK2, but I will write it this way for now.
Thank you for your responds.
As I confirmed, we are current support the Jlink for debugging. I can not find any support for ulink, maybe we do not have driver for ulink. If it's possible, please use Jlink or onewire uart for downloading.
At first, I can download to flash by using JLINK.
But I downloaded program using SPI, then I cannot connect like this:
How can I connnect again and use SPI?
SPI pin assign is here.(I want to communicate with a sensor)
What is the connection to the flash?
make sure the connection of flash pins as same as your schematic