ΣSigmaStudio Ask AI Русский Log in

Bootloader

Processors & DSP SVarghaei385 Nov 5, 2019 00:00 4 replies Original on forum ↗
Subscribe
SVarghaei385 Question
Nov 5, 2019 00:00

Hi,

Anyone can help me to understand the memory map for BF706. I am trying to write a bootloader and an application on memory space, but I am not sure which adresses should I use.

1. Start adresse for bootloader?

2. Start adresse for application?

Thanks

boot

crosscore

bf706

dsp&processors

blackfin

SVarghaei385 Reply
Nov 6, 2019 00:00

Anyone????

ADIApproved Reply
Nov 8, 2019 00:00

Hi,

Regarding the memory architecture, please refer Figure 3. ADSP-BF706/ADSP-BF707 Internal/External Memory Map(Pg. No.:7/114) in ADSP-BF70x datasheet. The link for downloading the datasheet is given below.
www.analog.com/.../adsp-bf700_bf701_bf702_bf703_bf704_bf705_bf706_bf707.pdf

For the bootloader, can you please elaborate on what you intend to do? Are you trying to do SPI Master booting or any slave booting? Can you please explain?

Regards,
Anand Selvaraj.

SVarghaei385 Reply
Nov 8, 2019 00:00

Hi,

I am doing SPI master booting. The .ldr file (from an application project) is transferred to a bootloader project via CAN bus. Then from bootloader project by using following commands, I write the .ldr file into flash.

Erase_flash(WR_Block_ID, sizeof(Write_BUFF));
Write_flash(WR_Block_ID, Write_BUFF, sizeof(Write_BUFF));
Read_flash (RD_Block_ID, Read_BUFF, sizeof(Read_BUFF));

The .ldr file (which it is generated output file from application project) is written into 0x08002068 register and as start address and ends at 0x0801A070 as end addresse (size of file is 98312).

what I want to do is, to define a start address for bootloader and start address for the application, where I can jump to start address for the application.

ADIApproved Reply
Nov 20, 2019 00:00

Hi,

I believe this issue is handled through private support. To avoid duplication of efforts, you can continue the discussions through private support and we will post the final resolution here. May I please ask you to post related queries in a single thread so that it will be easier to track and provide appropriate solutions?

Regards,
Anand Selvaraj