What are the restrictions in defining/modifying FLASH_FILE_BLOCK entries?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

What are the restrictions in defining/modifying FLASH_FILE_BLOCK entries?

684 次查看
edwarddarosa
Contributor II

PXN20

MQX 4.0

CW 10.3

I would like to resize entries in the _bsp_flashx_file_blocks[] table, in init_flashx.c, for use with ftp in a bootloader to store multiple versions of an app. What are the restrictions in changing the addresses START_ADDR and END_ADDR of the entries?

For example:

  1. Can they be changed at all?
  2. Must they be physical addresses if address translation via MMU is used?
  3. Do the addresses need to be at the partition boundaries? (as defined in  table 11-1 in the PXN20 reference manual)
  4. Do the addresses need to be at the block boundaries? (as defined in  table 11-1 in the PXN20 reference manual) Or can the addresses be any arbitrary address in the flash memory space?
  5. Must all memory in a file block be of the same address space or can areas of multiple address spaces be combined? (e.g., can I define a file block as using all of M0, M1 H0, H1 and H2 flash memory blocks?)

Thanks,

Ed

标记 (4)
0 项奖励
回复
0 回复数