[Solved]AT91SAM9M10-G45 NandDisk* entries in DRIVER_GLOBALS

This forum is for users of Atmel's SAM Series and who are interested in using WinCE OS.

Moderator: nferre

HLee
Posts: 5
Joined: Thu Apr 29, 2010 4:34 pm

[Solved]AT91SAM9M10-G45 NandDisk* entries in DRIVER_GLOBALS

Thu Jul 15, 2010 8:27 am

Hi,

It seems that the variables DWORD NandDiskStart and DWORD NandDiskEnd in the shared DRVGLOB memory area (struct DRIVER_GLOBALS in drv_glob.h) are not set from EBoot.

Therefore you get the following debug output of the NandFlash driver:

Addresses[0]: fc1dc8e6, Addresses[1]: a5dcaf67
Nand Disk Space is invalid, Using default values

I think, at least this variables must be preset with NULL.
Is it a bug or did I miss something?
Last edited by HLee on Tue Aug 24, 2010 11:10 am, edited 1 time in total.
Adeneo
Contact:
Location: France - USA
Posts: 183
Joined: Fri May 14, 2004 9:58 am

Re: AT91SAM9M10-G45 NandDisk* entries in DRIVER_GLOBALS

Wed Aug 11, 2010 10:59 am

Hi HLee,

You're right, pDrvGlobalArea->NandDiskStart and pDrvGlobalArea->NandDiskEnd are never initialized... but indirectly used in the NandFlashPlatform_IsReserved() function :shock: .
I created a ticket in our track system for this issue which will be solved in next release.
To workaround this issue, you can set these members to 0 to avoid any malfunction.

HTH

If this answer solves your problem, please edit the subject of this post by adding [Solved] at the beginning of the subject.

Return to “WinCE”

Who is online

Users browsing this forum: No registered users and 2 guests