boot loader using data flash instead of program flash

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

boot loader using data flash instead of program flash

495 Views
barbercolman
Contributor III

The boot loader examples we have seen use the program flash not the data flash area. We know we need to set up the linker file to use the FlexNVM as program space. Not sure where to go from there. Does anyone have a working bootloader that users the FlexNVM as program flash? We are using the MC56F844X DSP.

Thanks

Labels (1)
0 Kudos
1 Reply

337 Views
TICS_Fiona
NXP Employee
NXP Employee

Hello DALE

FlexNVM is not used in our bootloader project for 56F84789. Below is extracted from the map file of this project:

---------------------------------------------------------------------------------------------------

# Memory map:

  v_addr   p_addr size     name

  00000000 00000000 000000DE .interrupt_vectors .pIntvectorBoot

  00000200 00000200 00000008 .FlashConfig .pFlashConfig

  00000208 00000208 0001F1F5            .ppFlash

  0001F3FD 0001F3FD 00000003 .delay_time .DelayT

  0001F400 0001F400 0000078A .ApplicationCode .pFlash

  00000000 00000000 0000048D .data_in_x_ram_bss .xRAM_bss

  0001FBE1 00000800 0000004C .data_in_p_flash_ROM .xRAM_data

  00000A00 00000A00 00000200 .data_in_x_ram .xRAM

  0001FB8A 00062000 00000057 .prog_in_p_flash_ROM .pRAM_code

00002000 00002000 00002000            .xRAM_code

---------------------------------------------------------------------------------------------------

The bootloader code locates from 0001F400 in primary program.  It seems that we are not using the same project.  Please download from this link:

http://cache.nxp.com/files/microcontrollers/doc/app_note/AN4759SW.zip

Best Regards

Fiona Kuang

TIC - Technical Information Center

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Mark Correct button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos