Not able to send the GET request through microcontroller

Thread Starter

Nidhi Sayanja

Joined Jul 5, 2024
11
I want to send a GET request to a server, so I connected the microcontroller (STM32) with an Ethernet module, as the microcontroller does not have a built-in Ethernet feature. I am using these two libraries: #include "stm32f4xx_hal_uart.h" and #include "stm32f4xx_hal.h". My GET string is:

char http_get_request[] = "GET /testX HTTP/1.1\r\nHost: IP addressort\r\n\r\nUser-Agent: Mozilla/4.0\r\nAccept: /\r\nAccept-Encoding: gzip, deflate, br\r\nConnection: keep-alive\r\n";
Screenshot 2024-08-08 153626.pngScreenshot 2024-08-08 153711.png
However, I face an issue when debugging the program: "Break at address '0xe' with no debug information available, or outside of program code." The number '0xe' changes repeatedly when I try to debug the program again and again (0x0, 0x10, 0xfceaf000). Could anyone help me resolve this error? Thanks in advance.
 

Attachments

Ya’akov

Joined Jan 27, 2019
10,226
Welcome to AAC.

What are you doing with http_get_request? That is, how are you trying to send it?
How have you set up the TCP/IP stack? You have provided almost no information.
 
Top