首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

codewarrior中添加使用flash algorithm烧写flash

codewarrior中添加使用flash algorithm烧写flash

有人在CodeWarrior8.8 for Power Architecture(TM)8.8 添加Flash 烧写的算法么?

用过CodeWarrior自带的添加flash Algorithm的AMD16x1的例子么? 我基本没改其中的代码,因为跟我的flash datasheet上一样。 amd 16bitx1 。参考文档有AN3630:<<Creating a Flash Algorithm for an Unsupported Flash Memory Device>>

为什么我编译出来的ELF文件会比本身自带的一些flash algorithm的.elf文件要大10倍左右,大罢了还不成功,求助。

擦写显示成功,但是实际不成功(这是必然,因为返回代码无论怎样都是0),擦写过程中出现以下错误

======================================================================
=== Execute: Program
=== Timestamp: Mon Jun 22 22:09:20 2009
=== Flash Device: S29GL064A90TIR33_XXXX
=== Flash Organization: 4Mx16x1
=== Flash Mem Start Addr: 0xFE000000
=== Flash Mem End Addr: 0xFE7FFFFF
======================================================================
Informing other connection clients that the target is being 'clobbered'.
Loading Flash Device Driver at: 0x00000000
Flash Driver Buffer is at: 0x00011C10
Flash Driver Buffer Size is: 0x000F43F0
Done

Initialization Command Succeeded
Trying auto-detect...
File is NOT of type Motorola S-Record Format.
File is NOT of type Elf Format.
Auto-detection is successful.
File is of type Binary/Raw Format.

Programming 0x00010000 bytes of Target Memory at 0xFE000000
Flash Programmer: Flash driver reports the following error(s): The flash device algorithm was interrupted during execution. Please check if the flash base address is correct or if there are any flash devices mapped inside the selected memory space. If a custom target initialization file was used then check the following parameters: flash base address, flash bank size and flash bank port size. Please enable Verify Target Memory Writes in Target Configuration to check that the algorithm downloads correctly. If you are downloading the algorithm to DDR try checking your DDR configuration.

Timestamp: Mon Jun 22 22:09:23 2009

返回列表