0
\$\begingroup\$

I'm working on a web service with RL-ARM libraries. I want to send some parameters with AJAX as .cgx file and at the same time I want to create a socket and then send a lot of data to the destination.

The problem that is when my microcontroller wants to do these two tasks at the same time; it crashes. I discovered with debug that the process stops at this function: main_TcpNet();.

I also realized the process doesn't stop in these functions:

U16 cgi_func (U8 *env, U8 *buf, U16 buflen, U32 *pcgi){}

and

void cgi_process_data (U8 code, U8 *dat, U16 len) {}

I'm beyond confused because of I don't know what should I do to fix it .

The microcontroller is: LPC1768
The network IC is: DP83848VV

\$\endgroup\$
4
  • \$\begingroup\$ I’m voting to close this question because wrong stack exchange \$\endgroup\$ Commented Jan 20, 2022 at 0:04
  • 1
    \$\begingroup\$ Microcontroller firmware trouble-shooting is on-topic here but there's no telling what could be the problem here, since not enough code nor details are provided. Generally, don't stare yourself blind on symptoms, but rather try to find the reason why the symptoms are there. There's no root cause "the MCU doesn't stop in function x" or "the MCU doesn't execute function x" - those are symptoms of some underlying bug. \$\endgroup\$ Commented Jan 27, 2022 at 11:23
  • 1
    \$\begingroup\$ @DavideAndrea Wrong close reason, this should be closed as unclear but it is not off-topic. See electronics.stackexchange.com/help/on-topic. \$\endgroup\$ Commented Jan 27, 2022 at 11:24
  • \$\begingroup\$ It's software. It should be asked in a software sub. \$\endgroup\$ Commented Jan 27, 2022 at 21:53

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.