Code::Blocks Forums

User forums => Embedded development => Topic started by: 71GA on December 29, 2010, 06:09:49 PM

Title: [Ubuntu] using dfu-util to downolad C++ program to a target.
Post by: 71GA 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 dfu-util -l in terminal. After typing that, i got a feedback that my target is seen as [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 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...