Microcontroller question

  • Thread starter seang
  • Start date
  • #1
184
0

Main Question or Discussion Point

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?
 

Answers and Replies

  • #2
84
0
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.
 
  • #3
184
0
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

thanks
 
  • #4
84
0
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

thanks
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 http://www.freescale.com/webapp/search/MainSERP.jsp?" [Broken] 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.
 
Last edited by a moderator:

Related Threads on Microcontroller question

  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
3
Views
2K
Replies
7
Views
3K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
7
Views
9K
  • Last Post
Replies
19
Views
5K
  • Last Post
Replies
2
Views
322
Replies
2
Views
862
  • Last Post
Replies
10
Views
768
Top