We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I'm trying to set up a PPP link over a BGS2T (Cinterion) modem with the Keil PPP Middleware. I managed to get up until the LCP and CHAP phase of the PPP connection but then the PPP suddenly stops and sends the Terminate command. To debug this problem I've enabled the Debug Network Core library and managed to get the ITM stream to the debug viewer. Strange thing is the ITM trace is missing data. When I make several runs of the program I always receive different pieces of the trace. I already slowed down the CPU speed but the problem persists. I'm using a ULINK2 debugger which has limited trace bandwidth but I assume 1Mb/s should be enough for this basic data stream.
Any suggestions on this one?
Gerrit
If you are using Serial Wire Output as Trace Port then, in uVision, go to Debug->Settings and click on the Trace tab. Disable SWO Clock Autodetect and configure SWO Clock Prescaler so that SWO Clock will be about 100kHz.
There is no need to change other system settings, such as CPU clock etc...
Thanks Vladimir this solved the problem immediately! Do you also have an explanation? The autodetect doesn't work?
Many thanks