10 years, 3 months ago.

EA LPC4088,

Hi I'm still having problems with EA LPC4088. The same code used a month ago still does not work now. Problems appear and load the "BIN" board gives a kind of mistake alternately flashing LEDs on the board. These warnings are now out:

Warning: Statement is unreachable in "EALib/FATFileSystem/ChaN/ff.cpp", Line: 1689, Col: 13 Warning: C4017W: data may be used before being set in "EALib/TSC2046.cpp", Line: 381, Col: 11 Warning: Variable "font" was declared but never referenced in "EALib/glcdfont.c", Line: 13, Col: 28 Warning: C4017W: qry may be used before being set in "EthernetInterface/lwip/core/dns.c", Line: 564, Col: 18

Thank you

2 Answers

10 years, 3 months ago.

I don't have your board, however it is still probably useful to mention the code you are using. At least some of the warnings you list always occur and can be ignored (like the one in FATFileSysem).

Now alternatingly flashing LEDs look to me like the default mbed error function, did you check with a terminal program if it sends any message to your PC? 95% of the cases where it happens it will tell you "Pinmap not found": that happens when for example an SPI interface is made with pins that do not support SPI.

Accepted Answer
10 years, 3 months ago.

OK, Thank you Erik. I found the error and ignore the warnings, now works ok. I put these two lines together .........and went crazy eth.init(mbedIp,mbedMask,mbedGateway); NO DHCP eth.init(); DHCP