Jeffrey's Log

Archives | Subscribe



LPC2148 (ARM 7) Test bench setup

       

This is my LPC2148 (ARM 7) test bench setup.

The LPC2148 header board was bought from Rhydo Labz. You cannot directly power up and start to use. It lacks communication interface. To flash the controller, you need a serial port or a JTAG port. Since this board doesn’t have these port connectors, you need to solder them. So it might be hard for a newbie.


Instead of this board, you can try the BlueBoard which has all the port connectors. I will recommend this for a newbie. I hope that board is worth for its price.

The next thing which you need is a power supply to power the board. You can build your own power supply (If someone needs to know how to build a power supply, I will write a tutorial. But please put a comment in this post saying that you need the tutorial.) ,or you can buy 5V DC power supply (adapters).

Once the board is powered up, it can start to execute your code in its memory. But a fresh controller wont be having any code in its memory to execute. You need a programmer to load the code into its memory. But the LPC series controllers have built-in serial boot-loaders. These boot-loaders can get the code from the serial port and write into its flash memory. So you don’t need a programmer.

To program the controller using the serial boot-loader, you just need to connect the controller to the host PC and the host PC needs to run a serial programmer software. You can get a lot of serial programmer software for LPC controllers. Some of them are

So thats all. Power up the board and connect the serial port to the controller. Run the serial programmer software in the PC. You controller will execute the code flashed into its memory.

But wait. From where you can get the hex file to flash into its memory? Its simple. You just need a cross-compiler. To the cross-compiler, you just need to feed your C source file. It will compile and give you *.out files, which later can be converted into *.hex files.

I will soon try to post a wiki page about how to compile and flash the code into the memory.

Posted in: Circuit, Electronics, Embedded Linux, GNU/Linux, Hacking, open hardware, Projects, tutorials | Tagged under: , , , , , | 4 Comments

4 Comments

  1. Posted January 25, 2011 at 5:26 PM | Permalink

    Hi friend.
    I am going to do a thorough review of blogs on my blogroll. Your blog is already listed there but might or might not be selected after the review. If you have anything to say about your blog, do so by commenting on ‘Submit A Blog’ post on it.

  2. Posted January 28, 2011 at 2:02 PM | Permalink

    Good sounding name of blog “jeffrey” and valuable information.

  3. Posted February 28, 2011 at 11:44 AM | Permalink

    hi jeffry,
    I also have purchased the same header board from rydo. Can you please mail me the base board circuit diagram.

  4. soumen MonsterID Icon soumen
    Posted September 18, 2011 at 8:30 PM | Permalink

    hey jeff i have made a Ipod using mp3 usb kit and 386 based amp
    its awsome.sound is better than any high valued Ipod.
    i am using a 9v battery to run the system.
    but FM is coming,when i plugged a pen drive it is not detecting.
    but when i connect 12v usb is running
    any idea

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>