03-03-2022 02:29 AM
When I use bsxlite algorithm library to debug, the interface functions of the algorithm library can be executed. However, after I burn the whole code into flash, when the program executes the interface function of the algorithm library, the code gets stuck and cannot be executed. What is the reason?
bsxlite
03-03-2022 03:14 AM
Hello Nigel_Zhu,
1.Could we know what's the difference between you run code with debug and you run code with program?
2.You could check memory_footprint.txt and confirm whether you have allocated enough memory for global variables.
03-03-2022 03:48 AM
1.Debug is a step-by-step debugging. When there is no problem, it can be directly burned into flash for overall operation.
2.memory_ footprint.txt is the unit in byte or K?
03-03-2022 04:08 AM
You can have a look at mine Is there a problem with the CMD file? Is this allocation consistent with the allocation of each segment of data in memory_footprint.txt?
03-03-2022 07:03 AM
Hello Nigel_Zhu,
1.For "When there is no problem, it can be directly burned into flash for overall operation.", do you mean some times it work well when you run code with programming(not debug)?
2.The size unit is byte.
Sorry, I'm not familiar with your platform. You could try to increase heap size on your platform.