Skip to main content

Build datapump error

DA14530 and DA14531

7 months ago

Posted by francisco.cn 55 points 12 replies
0 upvotes

Hello, im trying to build the code from the da14531 datapump in the codeles SDK 6.380.14.22, with Keil, but it shows me the following error:

 

*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'codeless_531_datapump'
linking...
.\out_531\codeless_531_datapump.axf: Error: L6221E: Execution region ZI_DATA with Execution range [0x07fc9268,0x07fc974c) overlaps with Execution region RET_HEAP with Execution range [0x07fc9734,0x07fca600).
Not enough information to produce a SYMDEFs file.
Finished: 1 information, 0 warning and 1 error messages.
".\out_531\codeless_531_datapump.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:02

 

Im new in this and dont know exactly what to do.

 

7 months ago

PM_Dialog

Hi francisco.cn,

Thanks for your question. Are you using the CodeLess project as provided, or have you done any modifications?

Are you able to build any of the SDK6.0.14 example?

In addition to this, can you please indicate the Keil IDE version? Is it the full or free (limited) version?

Thanks, PM_Dialog

7 months ago

francisco.cn 55 points
I did not make any changes to the project or code, and i can build the examples in  SDK 6.0.14

Im using thr Keil uVision 5.35.0.0, and the limited version, with a 30 days free trial licence.

7 months ago

PM_Dialog

Hi francisco.cn,

Perhaps this is related to the Keil IDE.. I would suggest you to download again the CodeLess from our website, unzip it and try to rebuild the project. 

Thanks, PM_Dialog

7 months ago

Programacion H… 10 points

That worked, thank you.

Now im trying the DSPS 6.150.4.50, but i dont know if i have to use the device or the host code, i have to communicate a microcontroller to a phone usint a TINY module.

7 months ago

PM_Dialog

Hi Francisco,

Glad that is working now.

The sps_device project configures the DA14531 as a GAP Peripheral and the sps_host as a GAP Central.

The mobile app is acting as a GAP Central and is scanning for peripherals. To do so, the DA14531 should configured as sps_device.

Please refer to UM-B-088: DA145x User Manual for Dialog Serial Port Service for more info.

Thanks, PM_Dialog

7 months ago

francisco.cn 55 points

Ok, i programmed the module and tried to connect, which it did perfectly, but nothing is shown in my serial terminal. I only modify the baudrate from the source code  of the SDK, lowering to 56700, also checked the connections flowing the instruction manual, (connecting Rx,Tx, RTS, CLS and leaving RXTX open) but nohing appears. Any idea why could it be?

7 months ago

AA_Dialog

Hi Fransisco,

How did you modify the baudrate in the SDKs source code? In user_periph_setup.h you can change the baudrate to 57600 by changing the following command:

#define BAUDRATE_CONFIG 8

to

#define BAUDRATE_CONFIG 4

Have you set up your terminal’s serial port to a matching baudrate?

Thanks, AA_Dialog

7 months ago

Programacion H… 10 points

7 months ago

francisco.cn 55 points

Yes, i modified the baudrate that way, and setted up the terminal serial port to match. Today i tested with Tera Term and all works fine, i can write and read with the SmartConsole without any problem, now i just need to make a custom app in Android, is there any example code for that?. Thank you for the help.

 

 

7 months ago

AA_Dialog

Hi Fransisco,

You can check the DSPS (Dialog Serial Port Service) Reference design https://www.dialog-semiconductor.com/products/dialog-serial-port-service-dsps .

DSPS emulates a serial cable communication. In the DSPS reference design resources tab, you can find user guides, release notes and the Android source code https://www.dialog-semiconductor.com/system/files/2020-12/DSPS-Android-3.210.4_0.zip . The app and source code are available on both Android and iOS.

Thank you, AA_Dialog

6 months ago

Hi there,

Where can I find the datapump project? been looking on the website but no luck. Any help would be much appreciated.

 

Thanks

6 months ago

AA_Dialog

Hi luay,

Thank you for your question online.

You can find the CodeLess datapump project on the resources tab of Codeless AT Commandshttps://www.dialog-semiconductor.com/products/smartbond-codeless-commands#tab-field_tab_content_resources

where you can find all CodeLess relative software, user guides and manuals.

 

From there you can download the folder DA14585-DA14531 Codeless AT Command and locate the project in

…\DA145xx_CODELESS_6.380.14.22\DA145xx_CODELESS\6.380.14.22\projects\target_apps\codeless\codeless_5xx\Keil_5\

Once opening codeless.uvprojx with Keil, locate the Select Target selection menu in the toolbar and select codeless_531_datapump (it should be the default target)

 

If you have more questions, please raise a new forum ticket.

Thank you, AA_Dialog