Dear Gurux,
I have some issues while reading association view in GuruxDLMSClientExample with Microcontroller.
We are using STM32 microcontroller with TrueStudio, Compiling and uploading successfully, After reading 10 packets in association view, Micorcontroller goes to HardFault Handler (Bus Fault).
We are not using threads, so no need to worry about the RAM, We have sufficient RAM and FLASH too.
The same code running in PC (Meter Directly Connected via COM port) without any issue, So we doubted in memory issue with the code.
So we are run the GuruxDLMSClientExample.exe in PC with Dr.Memory in tool, Which report "INVALID HEAP ARGUMENT to free" at 10th packet of association view. And reports same error more than 10 times.
Is freeing the same packet twice makes this issue. Please help us to move on.
Regards,
Yuvaraja.
Memory Clear Issue in CGXDLMSVariant::Clear
Hi,
We have tried to solve this, but it works without problems. We'll try with TrueStudio.
Can you send the list of objects what you are using to me by email?
BR,
Mikko
Memory Clear Issue in CGXDLMSVariant::Clear
Hi Mikko,
Thanks for your reply.
I have sent mail to [Email address removed by admin] . Its it correct ?.
Regards,
Yuvaraja.