This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AWR1642: How to use secondary bootloader

Part Number: AWR1642

Hi,

I want to implement a  bootloader program.I have some issues:

1.For the AWR1642 , What is the program entry address?

2.I learn about that it can load two problem,If the first program runs incorrectly, the system will automatically load the second program?

3.Falash have four blocks,Which is the backup block,and i want to know the four block's addresses.

4.If bootloader are warning when loading  a program after erasure the flash,How to get the program back to normal automatically?

Thanks,

  • Hello,
    Let me collect all the required info and get back to you.


    BR,
    Jitendra
  • Hi,
    Thank you,looking forward to your reply ,
    Respect,
  • Here are answers to your queries
    1. Default entry point is location 0x00000000 (vector table) of MSS RAM and this can change based on your application entry point symbol '_c_int00'. Refer mmw_demo_mss.map file from mmWave SDK.
    2. This one I have replied at your other thread, that to switch to other image (backup image) you need to flash a secondary bootloader image to sFlash as a primary image which AWR1642 primary bootloader will load firstly. Then it's SBL responsibility to load/unload backup images.
    3. Each block is 512KB of memory on sFlash. starting address of Ext_Flash is '0xC000 0000' .
    4. Primary bootloader of AWR1642 reads starting first block of Ext_flash and loads MSS/BSS/DSS images to corresponding RAM location. It checks for starting pre-defined location of MSS/BSS/DSS images not for other blocks. So back again user needs to have SBL on first block which does the checking and loading of next blocks.


    Regards,
    Jitendra