Beginner in microcontrollers requiring some help

Discussion in 'Embedded Systems and Microcontrollers' started by southwest, Apr 2, 2012.

  1. southwest

    Thread Starter New Member

    Apr 2, 2012
    11
    0
    Hi all,

    I am a graduate in the field of VLSI. Recently, I got a job offer from an embedded company and they have given me a task, wherein I need to design a Memory card reader using STM32F103 Development board. I use Keil μvision 4.03. Any help people as to where to start.

    Also one more thing, Which book would be the best place to start for both Embedded and Microcontrollers??

    Thanks in advance
     
    Last edited: Apr 2, 2012
  2. southwest

    Thread Starter New Member

    Apr 2, 2012
    11
    0
    Also could someone please explain as to why I keep getting
    "Load "C:\\Keil\\ARM\\Examples\\ST\\STM32F10xUSBLib\\Demos\\Audio_Speaker\\project\\Obj\\STM3210B-EVAL.AXF"
    *** error 56: cant open file"
    error

    There is a file in the above specified folder called "STM3210B-EVAL.AXF"
     
  3. John P

    AAC Fanatic!

    Oct 14, 2008
    1,634
    224
    Should "dem os" be "demos"?
     
  4. southwest

    Thread Starter New Member

    Apr 2, 2012
    11
    0
    Yes it is "Demos". Sorry for the typo
     
  5. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    7,388
    1,605
    If the file truly exists where the path points you might want to try moving the project closer to the root. Seems many tools are stuck with deep DOS roots and do not like anything but 8.3 filenames, or folders with spaces, or a fully qualified path larger then 128 (or even 64) characters long.
     
  6. southwest

    Thread Starter New Member

    Apr 2, 2012
    11
    0
    Thanks for the suggestion Ernie, but unfortunately even that's not helping.

    Now I tried running some sample codes which comes along with the Keil software. I followed the instructions provided in the PDF (which comes with the software), which instructed me to compile the sample project, USB_HID. After compiling (successfully), the PDF instructed me to download the executable file onto the Flash memory of the microcontroller board. After this the device is supposed to appear in the device manager, but unfortunately it doesn't appear. I am trying to figure out what is happening? Any help
     
  7. MrChips

    Moderator

    Oct 2, 2009
    12,442
    3,361
    Jumping into a USB_HID demo is a leap of faith.
    Why not begin with something simple such as flash an LED?
     
  8. southwest

    Thread Starter New Member

    Apr 2, 2012
    11
    0
    I know that Mr. Chips, and thank you all for the response. I have started to work on LED among other projects. Nevertheless I still need to get my work started on USB.

    I am new to USB, can I get some help as to where to begin if i need to interface USB with my STM32F103 kit. Where should I begin??
     
  9. panic mode

    Senior Member

    Oct 10, 2011
    1,320
    304
    you may start by telling which exact STM32F103 Development board you have, there is more than one. preferably post link to datasheet or manual. if this is really development kit, it will have a cd with some files on it and probably many examples, or at least they should be on manufacturers website. did you check it?
     
  10. southwest

    Thread Starter New Member

    Apr 2, 2012
    11
    0
    STM32F103RBT6 is the Development board I have. There are examples and stuff, which I did check. But I would really like to know a few things about USB in general, before I start working on this project. Right now, I ran a few sample projects which came along with the kit, but I have not learnt anything much from it. I want to know about the basics of USB.
    What do the Endpoint registers do?? How do I assign them?? Basic stuff such as that.

    Codings like the one above confuses me. That's why I was asking for help with USB basics. That's why I had posted the message

     
  11. panic mode

    Senior Member

    Oct 10, 2011
    1,320
    304
    get a book on c and read about pointers
     
Loading...