Hi,I use US159-DA16200MEVZ with AT Command.When I tried acceess to AWS s3 use on AT+NWHTC(with presigned URL), DA16200 put "Hard Fault Exception".Presigned URL is long(over 1500 character) URL Data.
AT Command
AT+NWHTC=https://xxxxxxxx....xxxxxxx,get
Debug Message
And, I confirmed same issue with dummy long URL.AT Command
AT+NWHTC=https://aaaaaaa...aaaaaaa,get
When I used dummy short long URL, Hard Fault is not occured.
AT+NWHTC=https://aaaaa,get OK +NWHTCSTATUS:3
Read CA(length = 0) Read Cert(length = 0) Read Privkey(length = 0) [httpc_cb_result_fn:674]httpc_result: 3, received: 0 byte, err: -16
so, I think maybe over DA16200's URL limit size.I want to solve this problem.I would greatly appreciate any feedback, guidance, or suggestions that the Renesas community can provide.
My SDK Information is...
Wakeup source is 0x4 [dpm_init_retmemory] DPM INIT CONFIGURATION(1) ****************************************************** * DA16200 SDK Information * --------------------------------------------------- * * - CPU Type : Cortex-M4 (120MHz) * - OS Type : FreeRTOS 10.4.3 * - Serial Flash : 4 MB * - SDK Version : V3.2.3.0 GEN-ATCMD * - F/W Version : FRTOS-GEN01-01-56c232799-004158 * - F/W Build Time : Jun 3 2022 16:56:46 * - Boot Index : 0 * ****************************************************** System Mode : Station Only (0)
Best Regarts.
Hi There,Thank you for the reply and the feedback.I shared the response with our Wi-Fi Team and I will get back to you as soon as possible.Best Regards,OV_Renesas
Hi There,Our Team was able to reproduce the "ASSERT vPortFree 405/406" error (with the DA16200 EVK + Python HTTPS server on Test PC) and are currently looking for the root of cause. We will update you as soon as possible.
Regarding the Hard-Fault error, our team was not able to reproduce it yet. From the logs you have shared, the URL and header information were blocked with "xxxxxx".Could you please provide the test URL and test cert information (temporarily ROOT CA) of yours. We would like to run the exact same test as you did. If the information is confidential, you could raise a private ticket.In order to do that:Go on our Renesas Website and click on the following: A new window should pop-up:Click on Submit a Ticket and fill the forms.Please make sure that on Inquiry Product Category you have inserted the option Wireless Connectivity.Please also add the link of this forum thread on your private ticket so we can track it down. Everything is confidential there and 1on1.If you do not want to share these information at all, we could provide a debug log enabled test binary to narrow down the issue.The best way for us would be to run the same test as you did.Kind Regards,OV_Renesas
Hi OV_Renesas,
Thanks your support.
I'm looking forward to solve "ASSERT vPortFree 405/406" .
About Hard-Fault error,
It will take time to prepare Test URL.
Becasae I access Cloud Storage use on Presigned URL with limited time, and I change URL every test.
Sorry Please wait.
Hi There,Thank you for the reply and the feedback.We will be waiting for the Test URL and we will update you regarding the Assert Error as soon as possible.Kind Regards,OV_Renesas
Hi There,Apologies for the delay.Please find the attached zip with a patch we created for SDK v3.2.6 in order to fix the ASSERT vPortFree 405 Error , and hopefully the Hard Fault error as well.You will need to replace the file inside the folder path of SDK v3.2.6 as shown in the zip file.Please test it from your side and share any feedback.20230411_assert_and_hardfault_patch.zipKind Regards,OV_Renesas
Thanks your support!
I will try, and share any feedback.
Please wait.
I tried to your patch zip.
So, ASSERT vPortFree 405 Error was gone.
Thanks for your support !!!
And Hard Fault error is not occured at the moment on this patch.
It seems effective against Hard Fault error too.
I use this patch until official version is released.
Best Regards,
Hi There,Thank you for the reply and the feedback.Glad you are no longer facing these errors. I will update you here when the latest version (which includes the patch) will be released. If you found any answer helpful, you can accept it, this way you can help others in the community as well.If you face any other issue, feel free to raise a new ticket.Best Regards,OV_Renesas