Search found 14 matches

by ClosedLoop
Thu Aug 04, 2022 4:26 pm
Forum: ESP-IDF
Topic: How to change UART2 TX Buffer limit?
Replies: 0
Views: 1102

How to change UART2 TX Buffer limit?

Hello, I am using an ESP32 and a STM32 microcontroller in the same project. To communicate between the two i use UART2. I am trying to send structures between the two.I can receive from the STM fine but when i try to send a structure to the STM, i only receives 128 bytes. I don't know how i can chan...
by ClosedLoop
Mon Jul 18, 2022 7:55 am
Forum: ESP-IDF
Topic: Problem with SPI write
Replies: 4
Views: 2059

Re: Problem with SPI write

It's fixed now. Thank you :)
by ClosedLoop
Fri Jul 15, 2022 2:02 pm
Forum: ESP-IDF
Topic: Problem with SPI write
Replies: 4
Views: 2059

Re: Problem with SPI write

i tried it but it didn't work. I have the init inside a task could that be the problem? I tried putting everything on main but the issue still remained.
by ClosedLoop
Fri Jul 15, 2022 1:11 pm
Forum: ESP-IDF
Topic: Problem with SPI write
Replies: 4
Views: 2059

Problem with SPI write

Hello, i am trying to do a simple function to write in SPI. I am trying to send 0x02 then 0x00 followed by 0x00 and 0x10. When i first run the program i can see that everything is being written as it should be , in my logic analyzer. But when i reboot i get completely different values from what i wa...
by ClosedLoop
Wed Jun 15, 2022 8:41 am
Forum: ESP-IDF
Topic: Modbus TCP SLAVE incorrect mode ERROR
Replies: 3
Views: 2962

Re: Modbus TCP SLAVE incorrect mode ERROR

Actually it works fine now, i tried on a different ESP and the error stop appearing. Thank you.
by ClosedLoop
Wed Jun 15, 2022 7:48 am
Forum: ESP-IDF
Topic: Modbus TCP SLAVE incorrect mode ERROR
Replies: 3
Views: 2962

Re: Modbus TCP SLAVE incorrect mode ERROR

Hello, thank you fo your response. I made the change but i still get the same error. I managed to implement what i wanted with sockets and it works fine.
by ClosedLoop
Mon Jun 13, 2022 4:19 pm
Forum: ESP-IDF
Topic: Modbus TCP SLAVE incorrect mode ERROR
Replies: 3
Views: 2962

Modbus TCP SLAVE incorrect mode ERROR

Hello, i am trying to use the TCP Slave example together with the wifi Station example. The wifi station works fine, but when i initialize the TCP Slave i obtain the following errors. [1B][0;31mE (1883) MB_CONTROLLER_SLAVE: mbc_tcp_slave_setup(66): mb incorrect mode = (0x90).[1B][0m [1B][0;31mE (189...
by ClosedLoop
Fri May 27, 2022 8:40 am
Forum: ESP-IDF
Topic: Increasing Spiffs size in Partition
Replies: 2
Views: 4127

Increasing Spiffs size in Partition

Hello, i am trying to increase the SPIFFs storage size, but i get the following error: Error: app partition is too small for binary project.bin size 0x191410: - Part 'factory' 0/0 @ 0x10000 size 0x100000 (overflow 0x91410) This is my partition: # Name, Type, SubType, Offset, Size, Flags # Note: if y...
by ClosedLoop
Mon May 23, 2022 3:40 pm
Forum: ESP-IDF
Topic: Bootstrap implementation using SPIFFs
Replies: 5
Views: 3966

Re: Bootstrap implementation using SPIFFs

I managed to get it working, i realized i forgot to set the type so i deleted the httpd_resp_set_hdr(req, "Location", "/bootstrap_min_css"); line and added httpd_resp_set_type(req, "text/css");
Thanks for the help.
by ClosedLoop
Mon May 23, 2022 2:23 pm
Forum: ESP-IDF
Topic: Bootstrap implementation using SPIFFs
Replies: 5
Views: 3966

Re: Bootstrap implementation using SPIFFs

Hello, thank you for the responses. I changed the handler function, took out the -1 and changed the first two variables of the function from uint8_t to const unsigned char. I also changed the CMAKE file to EMBED_TXTFILES but the problem continues. On devtools it says i fail to load the .map file but...