4 posts / 0 new
Last post
MrWeng
Offline
Last seen: 10 months 1 week ago
Joined: 2020-02-13 08:56
CodeLess Compile Error

I am using DA145xx_CODELESS_6.380.10.4. When I add a code "user_cmd_interpreter("AT+BINREQACK\r\n",sizeof("AT +BINREQACK\r\n"),CMD_SRC_REMOTE);", when I was compiling, the following error message was generated:

.\out_531\codeless_531_datapump.axf: Error: L6221E: Execution region ZI_DATA with Execution range [0x07fc91d0,0x07fc9768) overlaps with Execution region RET_HEAP with Execution range [0x07fc9730,0x07fca600).

Please help me to solve this problem.Thanks a lot

 

Keywords: 
Device: 
CYibin
Offline
Last seen: 1 year 7 months ago
Staff
Joined: 2017-12-14 02:48
Hi,

Hi,

The link error is saying that the size of firmware has exceed the limitation. A simple way to solve this issue is to remove some functions that not neccessary for your project.

MrWeng
Offline
Last seen: 10 months 1 week ago
Joined: 2020-02-13 08:56
Thank you very much for your

Thank you very much for your answer, I know how to deal with it, but I encountered a new problem. When I followed the article UM-B-140: DA14531-DA14585 CodeLess 2.3 Software Setup operation, I encountered some problems, when I finished After all the operations, when I used the SmartConsole APP to scan, the device was not scanned, and the hex file generated by Keil was compiled and followed the steps. The SmartConsole APP also failed to scan the device. I tried many ways to solve this problem. How can I solve it? Because I can’t upload pictures, the attachments are my steps. Many thanks!

Martin.Ge
Offline
Last seen: 1 year 2 months ago
Staff
Joined: 2020-01-06 06:51
Hi Mr.Weng, 

Hi Mr.Weng, 

After viewing your attachment file, I found that your Jumper connections might be incorrect. 

Please check your umper connects referring to the photo in the attachment. The jumper connection guide is shown in 6th page. 

These connections should be:

[UTX] to [P26]

[URX] to [P25]

[URTS] to [P27]

[UCTS] to [P28]

 

Attachment: