EZPort FlexRAM buffer 16 bytes long?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

EZPort FlexRAM buffer 16 bytes long?

ソリューションへジャンプ
1,085件の閲覧回数
codetrooper
Contributor II

I had some difficulties programming the internal flash via EZPort. The program always went into boot-exception. I noticed that the problem occurred in ROMcopy.c: __copy_rom_sections_to_ram() during initialization.

Looking at the flash with the memory browser shows that the last 4 zero-bytes are missing which are checked in the mentioned function.

I played a bit around with the flashing machanism and figured out that the last chunk I write is 708 bytes long. Enlarging this value to 720 (which is a multiple of 16 bytes) works. A value between 708 and 716 results in no or strange effects.

The documenation mentioned that the size of the data must be a multiple of 8 bytes due to the buffering in the FlexRAM.

 

Is the documenation wrong at this point. I really have to understand this issue so I can be sure future programmings will work.

0 件の賞賛
返信
1 解決策
889件の閲覧回数
codetrooper
Contributor II

My question has been answered by freescale in the meantime.

The data must be a multiple of 16bytes indeed.

The documentation is going to be updated soon.

 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
890件の閲覧回数
codetrooper
Contributor II

My question has been answered by freescale in the meantime.

The data must be a multiple of 16bytes indeed.

The documentation is going to be updated soon.

 

0 件の賞賛
返信