Hi I am working with the ADSP-21489 and following the EE-345 application note. On the example in EE-345, case 1 approach 1, it does load a differnent application, but using the FLAG0 pin.
My question is, is there a way to boot different applications, depending on a value stored in an external E2PROM memory? Or bootloader restricted size will not allow me to do that and I will need to use a SSL?
Thanks in advance.
Hi Alenjandro,Regarding, "My question is, is there a way to boot different applications, depending on a value stored in an external E2PROM memory? Or boot loader restricted size will not allow me to do that and I will need to use a SSL?">> Can you explain more in detail ? what kind of application are you using? are looking for Case 2 approach ?Please find the attachment. It contains Led_test and ADSP-21489 boot loader Projects. It follows EE-345 Case 2: " Using a Boot Kernel for a Second-Stage Loader approach ".boot loader will flashed in sector 0 and Led_test will flashed in sector 1. Whenever the reset occurs. it will load and run the code from sector 1.Regards,Lalitha S
Thanks for your reply. Giving more explanations, I wanted to do is a case 1 approach 1 boot type. In the EE-345 example the application launched is selected by pushing a button connected to the FLAG0 pin. In my case instead for using that pin, I wanted to use a variable stored on an external E2PROM.
However, the design team decided a different aproach. We will have only an application with the bootloader. That application will decide if it launches the other one.
the problem we are facing now is if it is possible to load a .ldr and a .dxe on the same DSP but in different memory areas?
Thanks in advance
Hi Alenjandro ,Regarding, "However, the design team decided a different approach. We will have only an application with the bootloader. That application will decide if it launches the other one.">> For this method you can also use Case2 approach. Where the bootloader will decide which application to be loaded. In this method bootloader will flashed in sector 0 and other application'swill flashed in different sectors. Based on the sector offset address used in the bootloader the particular application will be loaded.Regards,Anand Selvaraj.
I am trying to use the projects on Bootloader.zip, but they do not work. After the instruction on the main file of the 21489_Bootloader project "asm("jump _load_application;");" the application is suposed to start reading the flash with the application offset (0x10000).
The problem is that the processor hangs on the instruction "IF EQ JUMP INIT_EXT16; jump(pc,0);" on the line 84, in the file boot_kernel.asm
I did not change anything on any of both projects (Bootloader and LEDs).
Could you tell me if it has worked on your platform?
Hi Alex,1) Yes, it was worked with our ADSP-21489 Ez-kit. Can you share your Bootloader and LED projects that you have used in your board?2) Are you using custom board or Ez-kit?Regards,Anand Selvaraj.