µTasker Forum > NXPTM LPC2XXX and LPC17XX
LPC24XX vs uTasker tutorial - irregularities
mr_theo:
Got another question.
I'm using Olimex LPC2468 demo board, and I tried flashing already prepared *hex file onto my board. The file was prepared for 2478, my board is 2468. It doesn't work. I flash it using flash magic, connect my PC and demoboard via etheret cable, set my ethernet interface to a proper subnet (192.168.0.xx), but I can't neither ping nor connect via browser to the board.
Is this a normal behaviour and 2478 file doesn't work on 2468 or is something wrong again, probably my fault?
Here's the file I flash:
http://www.utasker.com/software/LPC23XX/uTaskerV14_LPC2478-STK.zip
mark:
Hi
The LPC2468 and LPC2478 should be compatible for most code (as long as certain peripherals in the bigger chip are not used).
However I think that the problem in this case is that the SW is for the Olimex Evaluation board (with LCD controller/TFT) and not for the smaller demo board which probabyl has I/O connected to different pins or use different PHY or UARTs etc.
Since the SW is trying to control the TFT controller it may be exceptioning when doing this on the other chip (which probabyl doesn't have the controller).
Therefore I would suggest building the project for the board that you have:
- you could probably start with the STK setup but remove the LCD (SUPPORT_TFT and SUPPORT_GLCD)
- maybe some other configurations also need adjusting for compatibility too
Generally it is a good idea to start with the simplest project (also disabled Ethernet [ETH_INTERFACE] etc.) to just get an LED blinking. Then add peripherals one at a time to ensure that each is correctly setup to match the board.
Regards
Mark
Navigation
[0] Message Index
[*] Previous page
Go to full version