Author Topic: uTasker on SAM7X512  (Read 12501 times)

Offline Stan

  • Newbie
  • *
  • Posts: 18
    • View Profile
uTasker on SAM7X512
« on: May 22, 2009, 05:10:23 PM »
Hello,

I'm trying to run the uTasker for CrossStudio on SAM7X512. The only differences that I saw from SAM7X256 are:
                     SAM7X256            SAM7X512
Flash Size:           256K                     512K
RAM Size:             64K                      128K
Lock Bits               16                        32

The Flash in SAM7X512  is:
"Organized in Two Banks of 1024 Pages of 256 Bytes (Dual Plane)"
instead of
"Organized in 1024 Pages of 256 Bytes (Single Plane)"

and that's why:

"The AT91SAM7X512 is equipped with two EFCs, EFC0 and EFC1. EFC1 does not feature the
Security bit and GPNVM bits. The Security and GPNVM bits embedded only on EFC0 apply to
the two blocks in the AT91SAM7X512."

I couldn't find any other differences and I think that I should be able to use the uTasker on SA7X512 without any changes. I think there is no difference in accessing the first Bank of 256K so I can't explain to myself what is the problem.

I made a simple CrossStudio project with their startup files (using AT91SAM7_Startup.s, crt0.s, etc.) which only blinks one LED and It works fine. However the same source won't work using startup_gnu.s and SAM7X.c.

I tried to see what are the differences but couldn't find what's wrong.

Any help will be appreciated!  :)

Best Regards
Stan





Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3238
    • View Profile
    • uTasker
Re: uTasker on SAM7X512
« Reply #1 on: May 22, 2009, 07:34:25 PM »
Hi Stan

I haven't actually ever tested on a SAM7X512 (I don't have one either), but I don't see any reason why the standard project should not run on it.

What happens when you load the code from the demo page? - http://www.utasker.com/SW_Demos.html

Even when configured to use just 32k SRAM and 128k FLASH I would expect this to run as normal on the chip with larger memory. The only possible problems that i could image are to do with FLASH accesses (programming) but also this would actually surprise me.

Regards

Mark