Hello!
I have been using SmartSnippets for downloading the Serial Port Service to PAN1740 (DA14580) via an FTDI CI.
Last time I went through the steps of loading the .hex file to the DA14580 CI was last year, so I haven't been using it for a while now.
Whats happens now is that SmartSnippets actually downloads the file to the PAN1740 board, at least it says it successfully downloaded the firmware to the board, but when I go check if it's really working, by using the Android app DSPS, it doesn't appear on the list. However when I use a dongle with the PAN1740 and debug it via Keil, the DSPS app shows it right away.
I have checked the FTDI CI and it's connections, everything is fine with it.
Could you please give me a hint of what is going on?
Thank you!
Hi Fernando,
Have you set the proper baudrate for the pins you are trying to use e.x. P0_4, P0_5 57600 Bd? If you are using dialog's pro board you can check what your application does by using SmartSnippets power profiler tool (is it actually advertising or not ?). Also what happens when you download code to the PAN (no dongle) via Jtag? Is your code running ?, if not, you can debug to check the reason why (disable sleep for doing that).
Thanks MT_dialog
Hi!
I have tried all baudrates options in UART mode, but none of them worked, despite the fact the SmarSnippets shows it has successfully downloaded the code to the PAN when using P0_4, P0_5 57600.
Now when using SmartSnippets for downloading the code via Jta (dongle), it also says it downloaded the code successfully, but the DSPS app doesn't show it on the list, so its not advertising either.
I know my code is running well because when I run the code on the dongle via Keil, the DSPS app can talk to the dongle correctly. I'm just using the regular Serial Port service, and haven't made any changes to it.
I have attached a .zip with two pictures showing what happens when I download the code to the PAN via both Jtag (dongle) and UART (ftdi) modes.
Thank you!
Hello! Could someone at Dialog give me some help, please? I'm running out of time and need to solv this issue as son as possible.
Hello! I'll describe the steps I follow in order to download the .hex file to the DA14580 via SmartSnippets. Please, correct me if I'm doing anything wrong.
1- Create a new project, select UART mode and select chip version DA14580-01
3- Go to bard setup and select P0_4, P0_5 57600 bd
2- Go to OTP Image, click browse to select file to download, and select the file which I just compiled full_emb_sysram.hex (sps_device_fh)
3- Click connect and wait a couple of seconds till it downloads the file to the board.
4- In order to check whether is working or not, I open the DSPS app on an android phone (Bluetooth on), and click search to see if the DA14580 is advertising.
Hi Fernando,
Sorry for the late response, you are trying to burn the OTP or just download an image over UART to the sysram? In order to burn the OTP you must apply 6.8V to the VPP of the board. The steps you are describing seems correct. Please check the app note AN-B-020 End program testing and programming guidelines for programming the OTP and also the User Guide of the Smart Snippets tool.
Thanks MT_dialog
I'm just trying to download an image (DSPS) over UART to the sysram. Is there any compatibility issues regarding the operating system version I'm runing, the Android APP, SmartSnippets version, or something else I should be aware of?
Hi Fernando,
If you are just trying to download the code to the sysram, go to the Booter option choose the .hex you want to donwload and press the download button. Also to test Smart Snippets you can use the jtag connection and try to download code through a different interface. Since you were able to download code i dont think that your problem is caused by compability issues. Have you tried with the latest version of smart snippets just for a test ?
Thanks MT_dialog
After reading carefully the AN-B-020, I managed to download and burn the image to the DA14580 OTP memory.
Thank you very much!!!!