I have YAFFS working in Debug mode - run from ram mode (PB 4.2 CE 5.0) but the release version (relocate from flash mode) hangs on startup. That is, it does not start. I have built two workspaces in PB one with YAFFS and one without. The one without work fine in both Debug version (ram mode) and Release version - relocate from flash mode (applications launches automatically on power up). The one with YAFFS only works in debug version - ram mode. The same H/W is used in each case. LH7A400-10 with 32MB of nor FLASH. Any suggestions? thanks.
One more thing.. here is the .reg file showing where i am placing the YAFFS files
Quote:
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\lpd_yaffsbd\YAFFS_PARTDRV\PART00]
"StartAddr"=dword:01dc0000
"EndAddr"=dword:01fc0000
"Name"="YaffsPart1"
"PartType"="0"
"ReadOnly"=dword:0
Further input a few days later....
In trying to narrow down the problem I took out all calls in my application to the YAFFS functions. Then tried running the Release version first directly from RAM. It worked. Here's the entries from Tera Term:
Quote:
image launch addr: 0xc0201000
Verifying checksums: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
Checksums good.
BOOTME: loaded
BOOTME: Got jump command
losh> exec
But when I changed the Platform Settings to have the program "Relocate from Flash" it would not start. Here's the entries from Tera Term:
Quote:
image launch addr: 0x00101000
Verifying checksums: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
Checksums good.
BOOTME: loaded
BOOTME: Got jump command
losh> burn
burning 5750968 bytes from c0200000 to /dev/flash0
unlocking flash blocks
erasing flash: 100%
burning flash: 100%
burn good (5750968 bytes)
losh> exec 0x00101000
kernel cmdline: '0x00101000:ip_addr:192.168.1.2' at c005bfd8
Then I removed the YAFFS driver from the platform and repeated the two methods of launching the program as described above. In this case it worked both times. I.e. it ran successfully as either directly from RAM and as Relocate from Flash. So it seems that simply adding the YAFFS driver to my platform causes it not to work in the "Relocate from Flash" mode.
Just for further reference I am using:
"lpd_yaffs_cfi_a40x_50_1_1_0.dll"
and
Logic Loader version
Version 2.0.5p1-LLH7a400_10 0001
Again, thanks for any help you can provide.
Frank T.