EZPort FlexRAM buffer 16 bytes long?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

EZPort FlexRAM buffer 16 bytes long?

Jump to solution
575 Views
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 Kudos
1 Solution
379 Views
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.

 

View solution in original post

0 Kudos
1 Reply
380 Views
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 Kudos