EmbeddedRelated.com
Forums

KEIL given sw samples loading

Started by mehmetrizaoz March 17, 2010
Hi folks,

i just has started using xat91sam9263-ek dev. board 1 week ago.
i have been using nxp's lpc2468 mcu for 2 years. So i'am new on sam9263. i use Keil compiler and ulink2 debuuger.

i cant load the given sample programs (for keil) to mcu on the at91sam9263-ek board using ulink-2 debugger. i compile the file truly but i always have an error message about connection.

if you have succeed loading that basic programs please inform me.
if you also have any other way to load any of this sample codes to mcu please inform me again.

thanks

Mehmet Riza OZ
m...@yahoo.ca

I have been using the board for a while and no problem in loading code to the board through Jlink and USB cable. I had the problem at the beginning. After messed around the settings it works fine. What is the error message?
-----Original Message-----
Date: Wednesday, March 17, 2010 7:55:25 am
To: A...
From: "mehmetrizaoz"
Subject: [AT91SAM] KEIL given sw samples loading

Hi folks,

i just has started using xat91sam9263-ek dev. board 1 week ago.
i have been using nxp's lpc2468 mcu for 2 years. So i'am new on sam9263. i use Keil compiler and ulink2 debuuger.

i cant load the given sample programs (for keil) to mcu on the at91sam9263-ek board using ulink-2 debugger. i compile the file truly but i always have an error message about connection.

if you have succeed loading that basic programs please inform me.
if you also have any other way to load any of this sample codes to mcu please inform me again.

thanks

Mehmet Riza OZ
m...@yahoo.ca

Hi Weiguang,
Firstly thank you for your interest...

I use J-Link and USB Cable like you.

i have no problem finding jtag chain.
i use "AT91SAM9263 DataFlash Page 1056 CS0" programming algorithm.

After all connections done and jtag chain found mcu and pressing load button i get the error message says

"erase done"
"programming done"
"content missmatch at 00000000H"
"verify failed"

Samples under Keil directory for AT91SAM9263 (for example under C:\Keil\ARM\Boards\Atmel\AT91SAM9263-EK\Blinky)gives the same errors.

thanks again

m...@yahoo.ca

/*--------------------*/

--- In A..., "Weiguang Hou" wrote:
>
> I have been using the board for a while and no problem in loading code to the board through Jlink and USB cable. I had the problem at the beginning. After messed around the settings it works fine. What is the error message?
> -----Original Message-----
> Date: Wednesday, March 17, 2010 7:55:25 am
> To: A...
> From: "mehmetrizaoz"
> Subject: [AT91SAM] KEIL given sw samples loading
>
> Hi folks,
>
> i just has started using xat91sam9263-ek dev. board 1 week ago.
> i have been using nxp's lpc2468 mcu for 2 years. So i'am new on sam9263. i use Keil compiler and ulink2 debuuger.
>
> i cant load the given sample programs (for keil) to mcu on the at91sam9263-ek board using ulink-2 debugger. i compile the file truly but i always have an error message about connection.
>
> if you have succeed loading that basic programs please inform me.
> if you also have any other way to load any of this sample codes to mcu please inform me again.
>
> thanks
>
> Mehmet Riza OZ
> mehmetrizaoz@...
>

Now I understand that you want to down load the code to the flash memory. You can use the SAM-BA to down load the binary code to the flash memory. Usually I compile the code and debug the code using the Keil through the debugger. After that I build the binary code and load it to the flash use the SAM-BA.  
Good luck.

________________________________
From: mehmetrizaoz
To: A...
Sent: Thu, March 18, 2010 12:39:08 AM
Subject: [AT91SAM] Re: KEIL given sw samples loading

 
Hi Weiguang,
Firstly thank you for your interest...

I use J-Link and USB Cable like you.

i have no problem finding jtag chain.
i use "AT91SAM9263 DataFlash Page 1056 CS0" programming algorithm.

After all connections done and jtag chain found mcu and pressing load button i get the error message says

"erase done"
"programming done"
"content missmatch at 00000000H"
"verify failed"

Samples under Keil directory for AT91SAM9263 (for example under C:\Keil\ARM\ Boards\Atmel\ AT91SAM9263- EK\Blinky) gives the same errors.

thanks again

mehmetrizaoz@ yahoo.ca

/*---------- --------- --------- --------- --------- --------- -*/

--- In AT91SAM@yahoogroups .com, "Weiguang Hou" wrote:
>
> I have been using the board for a while and no problem in loading code to the board through Jlink and USB cable. I had the problem at the beginning. After messed around the settings it works fine. What is the error message?
> -----Original Message-----
> Date: Wednesday, March 17, 2010 7:55:25 am
> To: AT91SAM@yahoogroups .com
> From: "mehmetrizaoz"
> Subject: [AT91SAM] KEIL given sw samples loading
>
> Hi folks,
>
> i just has started using xat91sam9263- ek dev. board 1 week ago.
> i have been using nxp's lpc2468 mcu for 2 years. So i'am new on sam9263. i use Keil compiler and ulink2 debuuger.
>
> i cant load the given sample programs (for keil) to mcu on the at91sam9263- ek board using ulink-2 debugger. i compile the file truly but i always have an error message about connection.
>
> if you have succeed loading that basic programs please inform me.
> if you also have any other way to load any of this sample codes to mcu please inform me again.
>
> thanks
>
> Mehmet Riza OZ
> mehmetrizaoz@ ...
>
Hi, Right i want tdownload the sample code to the internal flash. but i also want tmake debug during development. i use at91sam9263-3k board and i cant load mcu's internal flash using j-link or ulink2 debuggers. Keil compiler always gives error.

Which programming algorithym should I use when working with Keil compiler? i choose "ATSAM9 128kb flash".

And compiler gives following error message.

No Algorithm found for: 20000000H - 2000224FH

Cant i load any program to AT91SAM9263's internal ROM?

i will be very grateful if somebody shows me a way loading and debugging with J-link (or Ulink2) debugger and at91sam9263-ek board.

Regards
Mehmet Riza OZ
m...@yahoo.ca

-----------------------------
--- In A..., John Hou wrote:
>
> Now I understand that you want to down load the code to the flash memory. You can use the SAM-BA to down load the binary code to the flash memory. Usually I compile the code and debug the code using the Keil through the debugger. After that I build the binary code and load it to the flash use the SAM-BA.  
> Good luck.
>
>
>
>
> ________________________________
> From: mehmetrizaoz
> To: A...
> Sent: Thu, March 18, 2010 12:39:08 AM
> Subject: [AT91SAM] Re: KEIL given sw samples loading
>
>  
> Hi Weiguang,
> Firstly thank you for your interest...
>
> I use J-Link and USB Cable like you.
>
> i have no problem finding jtag chain.
> i use "AT91SAM9263 DataFlash Page 1056 CS0" programming algorithm.
>
> After all connections done and jtag chain found mcu and pressing load button i get the error message says
>
> "erase done"
> "programming done"
> "content missmatch at 00000000H"
> "verify failed"
>
> Samples under Keil directory for AT91SAM9263 (for example under C:\Keil\ARM\ Boards\Atmel\ AT91SAM9263- EK\Blinky) gives the same errors.
>
> thanks again
>
> mehmetrizaoz@ yahoo.ca
>
> /*---------- --------- --------- --------- --------- --------- -*/
>
> --- In AT91SAM@yahoogroups .com, "Weiguang Hou" wrote:
> >
> > I have been using the board for a while and no problem in loading code to the board through Jlink and USB cable. I had the problem at the beginning. After messed around the settings it works fine. What is the error message?
> > -----Original Message-----
> > Date: Wednesday, March 17, 2010 7:55:25 am
> > To: AT91SAM@yahoogroups .com
> > From: "mehmetrizaoz"
> > Subject: [AT91SAM] KEIL given sw samples loading
> >
> > Hi folks,
> >
> > i just has started using xat91sam9263- ek dev. board 1 week ago.
> > i have been using nxp's lpc2468 mcu for 2 years. So i'am new on sam9263. i use Keil compiler and ulink2 debuuger.
> >
> > i cant load the given sample programs (for keil) to mcu on the at91sam9263- ek board using ulink-2 debugger. i compile the file truly but i always have an error message about connection.
> >
> > if you have succeed loading that basic programs please inform me.
> > if you also have any other way to load any of this sample codes to mcu please inform me again.
> >
> > thanks
> >
> > Mehmet Riza OZ
> > mehmetrizaoz@ ...
>