Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Microcontroller question

  1. Mar 6, 2007 #1
    I'm thinking about buying a few DIP microcontrollers just for fooling around's sake. I think I'll be able to figure most things out except this: how do I send the necessary file (for example, .s19 for freescale mcs) to the microcontroller.

    In school we have development boards which sort of magically have USB cables which do that part for us. Is there a pin for this on the chip? Will I have to build a USB interface or something?
  2. jcsd
  3. Mar 6, 2007 #2
    Usually JTAG interface is used to program the uC, without those fancy dev.kit. No, if you only want to program the uC, JTAG-mode will suffice, but as soon as you start debugging (e.g single step execution) then, you'll need a real dev.kit.
  4. Mar 6, 2007 #3
    alright, I read up on it a bit. I get what it is but I still have no idea how to implement it. Say I have the uC and a computer, what do I do?

    I'll be using a freescale uC, and wikipedia tells me that their implementation is called COP. I'll be reading about that next if I can find anything

  5. Mar 7, 2007 #4
    I'm no expert on JTAG programming, since I'm using a dev.kit from microchip, but you should check electrical characteristics of a JTAG port and check if you can directly couple it to a COM port on your computer and use some DIY software to directly program the device. Take a search on freescale page for "jtag programming", it came up with 10+ results.

    For first time users I still would recommend a dev.kit, since it is perfect for debugging. I invested some money in to microchip dspic33 dev kit with debugging option and I can't complain, since i learned a lot from running single step execution on a programs that a write, hence learning a lot about how the uC works.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Microcontroller question