EmbeddedRelated.com
Forums

AT91SAM7X256 internal flash read write with Rowley's CrossStudio

Started by ckchan_4 September 5, 2008
Thanks a lot Maziar !

--- In A..., Maziar Tasbihi wrote:
>
> Hi there, about the problem that you say it becomes necessary to
reset the board; it is true that I also have experienced this. I am
sorry that I cannot at the moment provide better answer in terms of
code sequence to use to test this, but I know this that it is
necessary to perform reset after you have loaded flash with the new
program, and the reset controller handles this, both via hardware or
software.
> So, I believe what has to be looked at, is what do the program
samples which ATMEL provide have in common which donot require the
reset performed manually, to look at linker script for example, etc.
Thank you and regards.
Foltos,
i'm executing the codes from Flash.. i tried to put "WriteNvmFlash"
routine in RAM section but it's the same.

I havent tried mapping the libmem to RAM though.. need to go through
documentation how to do it :p any pointer or hints ? ;)

thanks Foltos !
--- In A..., Foltos wrote:
>
> Hi,
>
> are you executing FLASH erase/write operations from RAM? Check your map
> file to see if libmem functions are mapped to
> RAM.
>
> Foltos
> However, I also do't think it is a very easy job to go ahead and use
CrossStudio.

I'd have to strongly disagree with that.
CWARM is a real walk in the park to get going on existing ARM evals,
turnkey.
Just flash in one of the many provided example solutions and you're good to
go.
If you have problems with that, it would have to be an external factor
you're introducing.
In the beginning I used my own homebrew 'Wiggler' on Vero board and I never
had any problems.

The tools you're talking about are a pig to get going with, you're lost in
the woods before you start....

Then again, each to their own I guess :-)

Best Regards,
Kris
________________________________________
From: A... [mailto:A...] On Behalf Of
Maziar Tasbihi
Sent: Monday, 8 September 2008 8:09 PM
To: A...
Subject: {Disarmed} Re: [AT91SAM] Re: AT91SAM7X256 internal flash read write
with Rowley's CrossStudio

Hello,
I know what you are talking about when you say that the downloaded projects
can only be run by GCC or IAR. However, I also do't think it is a very easy
job to go ahead and use CrossStudio. I assume you mean to use the debug
features? I have not exactly had complete success with debug on my home
built JTAG. But I want to say this, that the best solution is the ECLIPSE
and GCC solution, together with OPENOCD as the JTAG solution. I know it
sounds crazy because most of these tools are real problem to work with, but
I am saying if you are putting in so much effort, put it into that, since it
can be tested by everyone.
Thank you and to success.

I must agree with Kris, although I now only use built-from-scratch tools.

If you're a newbie (and I'm not being disrespectful - we all were once), then
ARM + gcc + xxx is a **huge** ramp up. Starting with a pre-built environment
starts you in the shallow end and makes the task a lot more manageable.

Once you get familiar with that then start playing around with more complex
setups.

ARM is not going away any time soon. It is worth the investment to get to know
ARM better if you're serious about the embedded industry.

IMHO.

-- Charles
On Thursday 11 September 2008 14:01:18 Microbit_P43000 wrote:
> > However, I also do't think it is a very easy job to go ahead and use
>
> CrossStudio.
>
> I'd have to strongly disagree with that.
> CWARM is a real walk in the park to get going on existing ARM evals,
> turnkey.
> Just flash in one of the many provided example solutions and you're good to
> go.
> If you have problems with that, it would have to be an external factor
> you're introducing.
> In the beginning I used my own homebrew 'Wiggler' on Vero board and I never
> had any problems.
>
> The tools you're talking about are a pig to get going with, you're lost in
> the woods before you start....
>
> Then again, each to their own I guess :-)
>
> Best Regards,
> Kris
> ________________________________________
> From: A... [mailto:A...] On Behalf Of
> Maziar Tasbihi
> Sent: Monday, 8 September 2008 8:09 PM
> To: A...
> Subject: {Disarmed} Re: [AT91SAM] Re: AT91SAM7X256 internal flash read
> write with Rowley's CrossStudio
>
> Hello,
> I know what you are talking about when you say that the downloaded projects
> can only be run by GCC or IAR. However, I also do't think it is a very easy
> job to go ahead and use CrossStudio. I assume you mean to use the debug
> features? I have not exactly had complete success with debug on my home
> built JTAG. But I want to say this, that the best solution is the ECLIPSE
> and GCC solution, together with OPENOCD as the JTAG solution. I know it
> sounds crazy because most of these tools are real problem to work with, but
> I am saying if you are putting in so much effort, put it into that, since
> it can be tested by everyone.
> Thank you and to success.