Search found 22 matches
- Mon Feb 12, 2024 6:54 pm
- Forum: ESP-IDF
- Topic: Boot from winbond 25q128 - how?
- Replies: 6
- Views: 1392
Re: Boot from winbond 25q128 - how?
I suggest flashing with verify . If that errors out, try different flash modes: qout, dio, dout. You may also want to verify you're using the correct VDD_SPI for the flash chip. - And of course make sure the electrical connections are good enough for the 40MHz signals. Thank you! So I changed QIO->...
- Mon Feb 12, 2024 4:16 am
- Forum: ESP-IDF
- Topic: Boot from winbond 25q128 - how?
- Replies: 6
- Views: 1392
Re: Boot from winbond 25q128 - how?
Either the partition table is corrupted, or you tried to put some 80+MB of partitions into the 16MB (128Mbit) of flash the 25Q128 has. Thank you! The irony is that I'm trying to download a original "blink" from the standard repository with standart settings. The program loads successfully on the fl...
- Sun Feb 11, 2024 7:39 pm
- Forum: ESP-IDF
- Topic: Boot from winbond 25q128 - how?
- Replies: 6
- Views: 1392
Re: Boot from winbond 25q128 - how?
I've made progress! Flashed all efuse espefuse.py burn_efuse SPI_PAD_CONFIG_HD 9 espefuse.py burn_efuse SPI_PAD_CONFIG_D 8 espefuse.py burn_efuse SPI_PAD_CONFIG_Q 7 espefuse.py burn_efuse SPI_PAD_CONFIG_CLK 6 Also, I made changes in config, from here To set the SPI WP pin assignment, run "make menuc...
- Sun Feb 11, 2024 3:22 pm
- Forum: ESP-IDF
- Topic: Boot from winbond 25q128 - how?
- Replies: 6
- Views: 1392
Boot from winbond 25q128 - how?
Hello everyone The question seemed to be simple, but I ran into difficulties... ESP-WROOM-32 and Winbond 25q128 are available. Since my program is expanding and I want to use ota for software updates and web server files (about 2 megabytes), I do not have enough internal memory ESP-WROOM-32. It seem...
- Tue Dec 19, 2023 6:34 pm
- Forum: ESP-IDF
- Topic: [SOLVED] HTTP Server and Websockets together
- Replies: 1
- Views: 7007
Re: HTTP Server and Websockets together
[SOLUTION] I think I've found the problem. I have registered a websocket client every time each request is opened in a function defined in the ws_open_fd configuration And so a message was sent to each client and mixed the response of the websocket with the response of the GET POST httpd_config_t co...
- Tue Dec 19, 2023 6:23 am
- Forum: ESP-IDF
- Topic: [SOLVED] HTTP Server and Websockets together
- Replies: 1
- Views: 7007
[SOLVED] HTTP Server and Websockets together
Hello everyone! I use http server and websockets in my firmware. The web server is a backend for processing get post requests. One of handlers I have is: /* Websockets URI handler */ httpd_uri_t websocket_server_uri = { .uri = "/ws", .method = HTTP_GET, .handler = websocket_server_handler, .user_ctx...
- Sat Nov 25, 2023 7:01 pm
- Forum: General Discussion
- Topic: UPPERCASE and lowercase
- Replies: 7
- Views: 6470
Re: UPPERCASE and lowercase
Got It! Done! Thanks a lot again!
- Wed Nov 22, 2023 5:57 pm
- Forum: General Discussion
- Topic: UPPERCASE and lowercase
- Replies: 7
- Views: 6470
Re: UPPERCASE and lowercase
So, I corrected code like this void to_upper(char *str, char *out_str) { for (int i = 0; i < strlen(str); i++) { out_str[i] = toupper(str[i]); } } char *text = "this is uppercase string!"; char out_text[strlen(text)]; to_upper(text, out_text); ESP_LOGI("UPPER", "%s", out_text); I (559) UPPER: THIS I...
- Tue Nov 21, 2023 4:00 pm
- Forum: General Discussion
- Topic: UPPERCASE and lowercase
- Replies: 7
- Views: 6470
Re: UPPERCASE and lowercase
Maybe because "string" is CPP, and my file is wifi.c?
- Tue Nov 21, 2023 3:54 pm
- Forum: General Discussion
- Topic: UPPERCASE and lowercase
- Replies: 7
- Views: 6470
Re: UPPERCASE and lowercase
Thak you! I tired #include <string.h> and #include <string> with your code void makeUpper(std::string& str) { for(auto& c : str) { c = std::toupper(c); } } , but if I use #include <string> , I got fatal error: string: No such file or directory I use this code in a component with cMake: idf_component...