lpcware

Processor LPC1768 freeze with LWIP with no OS

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by hvd on Mon Sep 28 07:40:53 MST 2015
Hello ,

I am running LWIP 1.4.1 on a LPC1768. When running a webpage which includes SSI the processor hangs after several page updates (varies from 20 to 200). The phy is a LAN8720A.
It seems that is starts using memory outside 32k RAM space, and then the processor hangs.

....
pbuf_free: 0x10004e48 has ref 1, ending here.
pbuf_free(0x10003cb8)
pbuf_free: deallocating 0x10003cb8
pbuf_free(0x10004e48)
pbuf_free: deallocating 0x10004e48
pbuf_alloc(length=1536)
pbuf_alloc(length=1536) == 0x10003cb8
pbuf_header: old 0x10006450 new 0x1000645e (-14)
pbuf_header: old 0x1000645e new 0x10006472 (-20)
pbuf_header: old 0x10006472 new 0x10006492 (-32)
pbuf_alloc(length=4)
pbuf_alloc(length=4) == 0x10004e48
pbuf_header: old 0x10004e90 new 0x10004e7c (20)
pbuf_header: old 0x10004e7c new 0x10004e68 (20)
pbuf_header: old 0x10004e68 new 0x10004e5a (14)
pbuf_free(0x10006440)
pbuf_free: deallocating 0x10006440
pbuf_free(0x10004e48)
pbuf_free: 0x10004e48 has ref 1, ending here.
pbuf_alloc(length=1536)
pbuf_alloc(length=1536) == 0x10006440
pbuf_header: old 0x100036ac new 0x100036ba (-14)
pbuf_header: old 0x100036ba new 0x100036ce (-20)
pbuf_header: old 0x100036ce new 0x100036e2 (-20)
pbuf_free(0x10004e48)
pbuf_free: deallocating 0x10004e48
pbuf_free(0x1000369c)
pbuf_free: deallocating 0x1000369c
pbuf_alloc(length=1536)
pbuf_alloc(length=1536) == 0x1000369c
pbuf_header: old 0x10002ed4 new 0x10002ee2 (-14)
pbuf_header: old 0x10002ee2 new 0x10002ef6 (-20)
pbuf_header: old 0x10002ef6 new 0x10002f0a (-20)
pbuf_free(0x10002ec4)
pbuf_free: deallocating 0x10002ec4
pbuf_alloc(length=1460)
pbuf_alloc(length=1460) == 0x10006a5c
pbuf_header: old 0x10006aa4 new 0x10006a90 (20)
pbuf_alloc(length=1460)
pbuf_alloc(length=1460) == 0x10007064
pbuf_header: old 0x100070ac new 0x10007098 (20)
pbuf_header: old 0x10006a90 new 0x10006a7c (20)
pbuf_header: old 0x10006a7c new 0x10006a6e (14)
pbuf_header: old 0x10007098 new 0x10007084 (20)
pbuf_header: old 0x10007084 new 0x10007076 (14)
pbuf_free(0x10006a5c)
pbuf_free: 0x10006a5c has ref 1, ending here.
pbuf_alloc(length=1536)
pbuf_alloc(length=1536) == 0x1000766c
pbuf_header: old 0x100056b8 new 0x100056c6 (-14)
pbuf_header: old 0x100056c6 new 0x100056da (-20)
pbuf_header: old 0x100056da new 0x100056ee (-20)
pbuf_free(0x10006a5c)
pbuf_free: deallocating 0x10006a5c
pbuf_free(0x10007064)
pbuf_free: 0x10007064 has ref 1, ending here.
pbuf_alloc(length=1460)
pbuf_alloc(length=1460) == 0x10006a5c
pbuf_header: old 0x10006aa4 new 0x10006a90 (20)
pbuf_alloc(length=1460)
pbuf_alloc(length=1460) == 0x10007c88                              <-----hereafter processor hang-up


Hope anyone can help!

Thanks in advance.
Hans

Attachments

Outcomes