Hi ,
We have designed the custom board using DA14531 SOC and observed some issues while programming the board. I can able to detect the SOC but failing when i try to program it with smart snipet tool box. Please find the below screenshot for your reference.
Device is detecting.
please suggest.
Thanks in advance
Pavan S K
Hi Pavan,Thank you for posting your question on our Online Engineering Community.From the Schematic you have shared I can see that you are using the correct (default) SPI pins for the Flash and the correct (P0_2 and P0_10) pins for the SWD interface. Since it is a custom board, I suppose that you are working with J-link probes?Could you try to hook your custom board SWD pins with the SWD pins on the Dev Kit?Please refer here: 19. Serial Wire Debug Probe — DA145XX Tutorial SDK Getting started (renesas.com)Try to connect and program your board via the J-Link available on the Dev Kit and share your feedback.Kind Regards,OV_Renesas
Thanks for your answer , I tried with the Devkit Jlink but issue still the same, not able to detect the device.
Please suggest.
Hi Pavan,Thank you for the reply.From the Log Window I can see that the DevKit J-link is able to connect to the device. Please go on the Flash Code tab and try to press the Connect button. Have you burned anything in the OTP header?You could also try with the Dialog SmartBond Flash Programmer since you are able to see the JTAG ID and try to burn the Flash from there.Kind Regards,OV_Renesas
I have not burned anything on OTP header , I tried with smart bond flash programmer also but its not flashing and also same is on smartsnippet tool,. Please find the below screenshot.
Hi Pavan,Thank you for the reply.Were you able to program this board in the past? Is there any active firmware inside the board?Kind Regards,OV_Renesas
Its completely new board , Programming it for first time. Attached design files, We had connected vbat_low pin to 3.3V source previously, now we have cut that track.
Please suggest
PSK4452.TMPS SCHEMATIC.pdf8611.BLE TPMS PCB Gerber.zip
Hi,
Waiting for your reply.
PSK
Hi Pavan,Thank you for the reply.So, you are not able to access the custom board by SWD or 1-Wire UART ?Are you able to download any FW into the RAM via Keil IDE?Also on P0_10 and P0_2 which are the SWD interface you have added the R5 and R3 resistors, which is their value and why did you add them?Another approach, would be to remove all the peripherals (not the SPI Flash) and try to see if you are able to access the board.Also where is TP1 which P0_5 is connected to?Kind Regards,OV_Renesas
- Yes i can be able to download the firmware via Keil into the RAM, cannot debug.
- R5 and R3 are 0E resistors just shorted.
- TP1 is unused we are not using.
Getting below error while running in Keil.
Pavan s k
Waiting for your response.
Hi Pavan,Thank you for the reply and apologies for the delay.I think the issue resides on the FW of the J-link Device/Probes.From what you have shared on your initial post:What I can see in Keil IDE:The J-link OB firmware is different than the J-link firmware. Please refer on the SEGGER site for information regarding J-link OB:However, when you used the SWD interface of the DA14531 Dev Kit you should be able to download FW into the RAM via Keil or download FW into the Flash via the SmartSnippets Toolbox/ SmartBond Flash Programmer Tools.Since you are using the AT25DF011 SPI Flash, have you configured it to work with UDPD? On the AT25DF011 Datasheet, you can find the UDPD specification:Please refer on this ticket as well for more information regarding the AT25DF011 SPI Flash with UDPD enabled and how to program and boot from it: DA14531 (WLCSP17) Cannot flash external SPI (or read OTP) - Failed clearing memory address 7FC3C08. Failed configuring SPI ports and pins. - Bluetooth Low Energy - Wireless Connectivity - Renesas CommunityAccording to the Schematic files you shared on a previous answer I can see this implementation for the AT25DF011 SPI Flash:Is there a reason you are keeping the CS pin active high and connected into the Vcc?According to the AT25DF011 Datasheet, the Chip Select (CS) pin should be able to change from high to low:Also, the RST pin is the HOLD pin according to the datasheet.Kind Regards,OV_Renesas