- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
This was reason of one of my problem , and I have mentioned this in another thread but didn't got a valid reply, so re-posting again.
When I use debug / run along with the build string for compiling and downloading a sample application causes the WiFi throughput to be very low.
How I measured this was when I used udp_transmit app
snip.udp_transmit-SN8000x-FreeRTOS-LwIP-debug download ,
I observed that the UDP packet creation+sending takes 8 milliseconds (same with download run also), But when I changed the build string to
snip.udp_transmit-SN8000x-FreeRTOS-LwIP download
The UDP packet creation+sending takes only about 400 microseconds.
This indicates a severe performance degradation while using debug or run in the build string.
What causes this behavior ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The "debug" option removes the code optimization so that the single step debugging would follow the actual source code. Optimized code execution is important for the MCU and it has been verified with this experiment.
The firmware built with "debug"should not be used on final product.
For development "snip.udp_transmit-SN8000x-FreeRTOS-LwIP-debug download run" could be used. For final product "snip.udp_transmit-SN8000x-FreeRTOS-LwIP download run" should be used.
Seyhan