Discussion Forum

Load binary files with ulink2

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Juan Enrique
Posted
2-Nov-2009 06:46 GMT
Toolset
ARM
New! Load binary files with ulink2

Hello, I'm working with ulink2 JTAG, and I need load binary files to a microcontroler ATSAM7. I have SAMBA, but this doesn't recognize ulink2, and I need load a binary (or hex) file to the microcontroller. Somebody can explain to me how can I use ulink2 to load these files please?

Read-Only
Author
Mathias Kreider
Posted
3-Nov-2009 20:03 GMT
Toolset
ARM
New! RE: Load binary files with ulink2

With uVision4 Demo, it went like this:

Under "Flash"->"Configure Flash Tools"->"Output",
there is a textfield "Name of Executable".
You can select your binary file here and load it into flash with "Flash"->"Download".

Of course, you also need to choose the correct target chip and flash bank/range in the flash tool configuration.

Cheers - Mathias

Read-Only
Author
Juan Enrique
Posted
20-Nov-2009 12:08 GMT
Toolset
ARM
New! RE: Load binary files with ulink2

Hi, I've tested this and I can't send any file.

Read-Only
Author
while (1);
Posted
20-Nov-2009 13:22 GMT
Toolset
ARM
New! RE: Load binary files with ulink2

I suggest you first try Blinky example for your board.
It can be found after you install MDK in ARM\Boards\Atmel\"name of board".
Just open Blinky project for your board and click on "Download to Flash Memory" button on the toolbar.
And disconnect the power from the board and reconnect it again.

Read-Only
Author
Juan Enrique
Posted
20-Nov-2009 18:03 GMT
Toolset
ARM
New! RE: Load binary files with ulink2

Hi, I can develop projects and download them in my board. My problem is with one project which is being developed by other people, and they send me binary files, and I have to download them into de microcontroler Atmel AT91SAM7x256. I have download these files with SAMBA other times, using serial port of the micro, but I don't Know why it doesn't work now.

Read-Only
Author
Guest Speaker
Posted
20-Nov-2009 19:45 GMT
Toolset
ARM
New! RE: Load binary files with ulink2

Have you tried Mr. Mathias's suggestion with the bin file converted to a hex file?

I've had issues flashing from a bin file, but flashing from a hex file works like a charm.

Read-Only
Author
while (1);
Posted
21-Nov-2009 19:32 GMT
Toolset
ARM
New! RE: Load binary files with ulink2

You have to use a hex file.
So first convert bin file to hex and put its name into executable field.

Read-Only
Author
Juan Enrique Lopez
Posted
22-Nov-2009 20:27 GMT
Toolset
ARM
New! RE: Load binary files with ulink2

How can I convert bin file into hex file?

Read-Only
Author
Al Bradford
Posted
22-Nov-2009 21:25 GMT
Toolset
ARM
New! RE: Load binary files with ulink2

http://www.keil.com/download/list/utility.htm
Bradford

Next Thread | Thread List | Previous Thread Start a Thread | Settings