This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SLIP problem

Hi,
Im working with an MCBSTM32E (STM32F103ZE chip) evaluation board and Im trying to create a web server on my board. Because theres no Ethernet controller on board Im using an external WiFi module (RS9110-11-21 from Redpine Signals). Ive configured UART2 as my serial connection to the module.
In the Net_Config.c file ive unchecked the Ethernet Network Interface and have enabled the SLIP interface. When I try to compile the code I get the following build output message:

Build target 'STM32 Flash'
compiling Net_Config.c...
linking...
.\Obj\Test.axf: Error: L6218E: Undefined symbol dhcp_vcid (referred from at_dhcp.o).
.\Obj\Test.axf: Error: L6218E: Undefined symbol own_hw_adr (referred from at_dhcp.o).
Target not created

The serial driver file Serial_STM32x.c is included and modified.
Has anyone encountered the same problem?

BTW if I enable the Ethernet interface I dont get the error messages but the program will get stuck in the init_TcpNet() function. (Fatal Error Handler)

Thanks,
Chris

Parents
  • After 4 weeks of trying, debuggin, hoping and sweating I was able to get my server running.
    The problem was in the SLIP_connect() function:
    This function provided by the TCPnet library sends "CLIENT<CR>" over the UART interface to the SLIP server (in my case the WLAN module).
    After examining all the serial data it seemed strange to me that all the AT commands were terminated by <CR><LF> except the CLIENT command. I just had to use com_putchar( <LF> ) after the SLIP_connect() function call.

    Id like to thank again for all the help I received.

Reply
  • After 4 weeks of trying, debuggin, hoping and sweating I was able to get my server running.
    The problem was in the SLIP_connect() function:
    This function provided by the TCPnet library sends "CLIENT<CR>" over the UART interface to the SLIP server (in my case the WLAN module).
    After examining all the serial data it seemed strange to me that all the AT commands were terminated by <CR><LF> except the CLIENT command. I just had to use com_putchar( <LF> ) after the SLIP_connect() function call.

    Id like to thank again for all the help I received.

Children