I'm using the Olimex LPC2478 board. I found the Keil example code bundle from NXP (the code originally is work for MCB2300 board). I want to test the USB Mass Storage example code but it fails. The PC, running in Windows XP, seems can recognise a Mass Storage Device. However, it is abnormal. It can't pop-up a Mass Storage Device drive.
Is it there is something need to change when using this MCB2300 board code on the Olimex board? Could anyone help? Thank you very much.
Jumpers...?
You will obviously have to identify everything in the code that relies upon the specific details of the MCB2300 hardware, and ensure that they are all applicable to the Olimex board - and, where they aren't, make them so!
There is no shortcut to this; it will require:
* Careful study of the MCB2300 documentation;
* Careful study of the Olimex documentation;
* Careful study of the source code;
* Probably also careful study of the processor documentation.
Do the boards even have the same processor? If not, then you will also have to carefully study the differences between the two processors.
You may be able to focus your efforts by doing some debugging to see exactly where & how it is failing.
Note that none of this is really specific to ARM or Keil - it's the general kind of stuff that you should expect when porting anything from one target to another.