+ Reply to Thread
Page 3 of 3
First 1 2 3
Results 31 to 36 of 36

Thread: advice on a microcontroller board (and an interface)

  1. #31
    sknoogleplex Newbie
    Join Date
    Jan 2009
    Posts
    26

    Default

    I appreciate the warning. We'll see how it goes.

    I'm not programming in machine code, for the record. Assembly. I was just saying that the fact that one can assemble things by hand provides some justification that you don't have to trust an assembler (at least if you're writing small amounts of code). I will be trusting one.

    What do you think the hardest part is, interfacing with various pieces of hardware? Where would you start as far as programming some assembly (like flash an led) on the board from a linux devel machine? (link?) What software would you use?
    Last edited by sknoogleplex; 23rd January 2009 at 09:33 PM.


  2. #32
    BeeBop Excellent BeeBop Excellent BeeBop Excellent BeeBop Excellent BeeBop Excellent BeeBop Excellent
    Join Date
    Dec 2005
    Location
    Vancouver Canada
    Posts
    1,192

    Default

    Quote Originally Posted by sknoogleplex View Post
    I appreciate the warning. We'll see how it goes.

    I'm not programming in machine code, for the record. Assembly. I was just saying that the fact that one can assemble things by hand provides some justification that you don't have to trust an assembler (at least if you're writing small amounts of code). I will be trusting one.

    What do you think the hardest part is, interfacing with various pieces of hardware? Where would you start as far as programming some assembly (like flash an led) on the board from a linux devel machine? (link?) What software would you use?
    The hardest part will be learning how to use the micro. Yes, I would do the embedded 'hello world,' which is flash an LED.

    Well for starters, look up gnuARM software, then check this out. You should also make google your best friend for a while. This isn't much; I don't do ARM assembler.

    ARM ASSEMBLER PROGRAMMING; tutorial, resources, and examples

    ARMuC Wiki: HomePage

    This one has some examples in assembly if you scroll down the page, also some links of interest:

    http://www.neko.ne.jp/~freewing/cpu/arm_olimex/

    and perhaps:

    LPC210x ARM7 Microcontroller Tutorial


    You might want to have a read of this page too:
    Best Assembler for lpc chip. | LPC2000 | EmbeddedRelated.com
    Last edited by BeeBop; 23rd January 2009 at 09:50 PM.

  3. #33
    futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent
    Join Date
    Sep 2007
    Location
    Vancouver, B.C.
    Posts
    1,980

    Default

    Grab the top two books here. You have to register, but it's worth taking the time.

    If you're going with LPC2148 then you must have the UM10139 LPC214x User Manual. It is absolutely necessary. There's diddly for info in the datasheets for LPCs. The User Manual is where all the necessary info is.
    Last edited by futz; 23rd January 2009 at 10:34 PM.
    =========================
    Futz's Microcontrollers & Robotics
    =========================

  4. #34
    DirtyLude Excellent DirtyLude Excellent DirtyLude Excellent DirtyLude Excellent DirtyLude Excellent DirtyLude Excellent DirtyLude Excellent DirtyLude Excellent
    Join Date
    Aug 2003
    Location
    Toronto, Canada
    Posts
    1,307

    Default

    You need to learn all the peripherals individually, so blinking led teaches you the basics of everything, plus the basics of the GPIO. Then move on to the interrupts, timers, UART, SPI hardware, learn each individual part of your big project, then bring it all together at the end.

    Just because the UART peripheral is there on the uC doesn't mean your work is simple either. For a robust product IO will need to be interrupt driven and the data buffered. Otherwise you run the chance of losing data when just polling.
    Mark Higgins

  5. #35
    futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent
    Join Date
    Sep 2007
    Location
    Vancouver, B.C.
    Posts
    1,980

    Default

    For learning ARM assembler, the ARM Architecture Reference Manual looks like a pretty good reference.
    =========================
    Futz's Microcontrollers & Robotics
    =========================

  6. #36
    sknoogleplex Newbie
    Join Date
    Jan 2009
    Posts
    26

    Default

    I'll keep my nose to the grindstone. Thank you.

+ Reply to Thread
Page 3 of 3
First 1 2 3

Similar Threads

  1. advice on a microcontroller board (and an interface)
    By sknoogleplex in forum Electronic Projects Design/Ideas/Reviews
    Replies: 1
    Latest: 21st January 2009, 11:18 PM
  2. Replies: 2
    Latest: 4th February 2008, 07:43 PM
  3. PIC development board advice
    By gregmcc in forum Micro Controllers
    Replies: 21
    Latest: 12th May 2007, 10:32 PM
  4. Replies: 1
    Latest: 9th March 2007, 06:20 PM
  5. schematic to board advice
    By tab a in forum General Electronics Chat
    Replies: 9
    Latest: 16th January 2007, 01:10 PM

Tags for this Thread