could really use just a hint at what I'm doing wrong here.
--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
I'm beginning to look at lwip and the first task is to get something running
on a windows system (to try and learn how lwip is working). Target will be
to have it running in an embedded system (Cortex M4, Keil development
tools).
I'm using lwip 2.0.2 and contrib 2.0.1, running in Visual Studio in
Thanks for input Simon, really appreciated!
I can confirm that the PPP_INPROC_IRQ_SAFE is set to 1.
Basically I have just taken the ppp sample from contrib and added my own
"worker thread" that calls the socket functions, maybe I have done something
wrong with that !?
My init/main looks like
Oh my,
I think bý accident PPP_INPROC_IRQ_SAFE was NOT set !!
I will rerun my test with that one set.
Really sorry about the confusion...
--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html
___
lwip-users mailing list
Simon,
just an update! I think it was the PPP_INPROC_IRQ_SAFE not being set that
was my problem. My test has now been running for 21 hours without any
problem (sending and receiving a total of 14 messages)
I will extend the testing with some more threads doing work
(sending/receiving messages)
I'll answer my own request :)
I made a sys_arch that works with Keil RTX.
If any one stumbles over the same need, let me know.
--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html
___
lwip-users mailing list
lwip-users@nongnu.org
As I'm slowly getting lwip up and running (for now in a PC simulation) I'm
about to start porting to a target system (Cortex M4 etc). Because of
historic reasons (and a large codebase) I need to port lwip using Keil's RTX
RTOS (the "old one", before all this CMSIS stuff :) )
So, is there maybe one
Thanks for input Simon!
Yes, it seems like a threading violation like I had before and this is
surely because of me not having a full insight to what is legal to call and
what is not legal to call in the stack when running in threaded mode.
I checked, and I called ppp_close() from another thread
Any comments on this ?
It seems to work fine, have had it running on a testsystem for a week or
more..
--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html
___
lwip-users mailing list
lwip-users@nongnu.org
Thanks for input!
I'm sorry, but I need to take a couple of steps back now (english is not my
native language...)
First of all the initialization sequence.
In my main() I changed now to:
dial the modem
starts a thread that will eventually feed serial data to
pppos_input() once
Thanks for input Sylvain!
I'm sure that I'm doing something wrong, I just need to find out what ;)
In the project this will eventually go into, I have around 300.000 lines of
C code and more than 50 separate threads running so a "non RTOS" operation
is not possible.
I was led to believe (not
Code from the application:
//---
//
//---
#define __MODULE__ "Application.c"
int insnumber=0;
#define PPP_USERNAME "Admin"
and lwipopts.h
/*
* Copyright (c) 2001-2003 Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of
I should also add that it is not the same place the crash occurs, I have seen
it other places (but did not get a snapshot of where it was but it was also
while the line was dropped and when the socket send function was active)
Any ideas ?
--
Sent from:
I'm slowly working my way thru a setup with LWIP (2.0.3). So far success rate
is pretty good :)
I have a testsetup running on a PC (windows) using the sys_arch of the
"contrib" with my own modifications to the main application. The setup uses
PPP over a GPRS modem. Between the PPP and the modem I
In my quest for getting lwip running on my system (which seems to be very
stable and running perfectly),
I'm on the lookout for a simple FTP client (only need RETR and STOR).
I have been running with lwftp (https://github.com/gezedo/lwftp) but there
are one major shortcoming in this library.
I
Thanks for pointers to https://github.com/toelke/lwip-ftpd
Im afraid this is only a FTP _server_ ?
As I wrote, I'm in the need for a FTP client :)
--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html
___
lwip-users mailing list
Sergio R. Caprile wrote
> Laurent used to participate on this list. I collaborated with a (very)
> small part of the code, post your suggested/required changes on github
> and we can follow up from there.
>
> ___
> lwip-users mailing list
> lwip-users@
zulu4711 wrote
> Thanks for pointers to https://github.com/toelke/lwip-ftpd
> Im afraid this is only a FTP _server_ ?
> As I wrote, I'm in the need for a FTP client :)
>
>
>
> --
> Sent from: http://lwip.100.n7.nabbl
Hello,
I have a project where I have a Bluetooth LE module (CYBLE 212019 module
from Cypress
http://www.cypress.com/documentation/datasheets/cyble-212019-00-ez-ble-creator-module).
Now, I would like to somehow use that to connect to a "normal" mobile phone
that is set up to share its internet
I have lwip up and running in an embbeded system using a RTOS (Keil RTX
kernel) and this seems to work alright. I'm testing with sockets and netconn
UDP, all ok (over PPP).I'm also beginning to look at the raw API (this will
fit the project best in the end), and this works also. Now, I know that
Gregory,
yes, thats absolutely also a (very good!) possibility, however it would make
things more complicated for me (lwip is taking over in an existing project)
and I would like to avoid messaging.
Hence I'm looking for a way of calling the stack (raw API) from other
threads and doing the LOCK
Simon,
I edited my post on the forum afterwards (as I also discovered that it was
unreadable).
Anyway, I have included it here also, hope it works ?
--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html
___
lwip-users mailing list
Simon,
I access it here:
http://lwip.100.n7.nabble.com/UDP-and-Raw-API-lwip-running-with-RTOS-td33221.html
--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html
___
lwip-users mailing list
lwip-users@nongnu.org
Simon,
Sorry for that !
My "everyday" reading of lwip topics is done on nabble, hence I did the
question there. Anyway, here is the original question, Hope it is readable
now.
I have lwip up and running in an embbeded system using a RTOS (Keil RTX
kernel) and this seems to work alright. I'm
Thanks Simon,
I will try LWIP_ASSERT_CORE_LOCKED() also (good idea!). This also forces me
to upgrade to 2.1.0 (running at 2.0.3 at the moment)
--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html
___
lwip-users mailing list
Thanks Sergio and Simon!
Makes sense what you both write, and as I guessed, it was my lack of
understanding that was the biggest problem ;)
I had the idea that the opened connection would continue to use the netif
that was default (and used) when it was opened (as it is still "up"!), but
this is
Hope someone can explain or help with this...
I have a small problem with lwIP (or rather the problem is me not
understanding how things work).
I have lwIP (2.1.2 STABLE) running with 2 different netif at the same time,
one is using PPP (over 3G/4G cellular) and the other is using wireless LAN
28 matches
Mail list logo