Author Topic: [Ubuntu] using dfu-util to downolad C++ program to a target.  (Read 8017 times)

Offline 71GA

  • Single posting newcomer
  • *
  • Posts: 5
[Ubuntu] using dfu-util to downolad C++ program to a target.
« on: December 29, 2010, 06:09:49 pm »
Hello!

I installed a DFU application (dfu-util) which i can use to download programs to a target system (LPC3141 microcontroler) via USB cable. I tested if my host (PC) recognizes
my microcontroler by typing
Code
dfu-util -l 
in terminal. After typing that, i got a feedback that my target is seen as
Code
[0x0471:0xdf55] devnum=9, cfg=0, intf=0, alt=0, name="UNDEFINED"
. So this means i am ready to download programs created in C::B to my target by using comand
Code
dfu-util -U /path_to_a_program
.



Anyone knows how do i have to compile my program in C::B so that i can upload it to my target? Microcontroler has an ARM9 core...