PDA

View Full Version : TC277TF - BMHD Erased



Veeresh Biradar
Jun 5th, 2014, 03:58 AM
Hello,

Im working with Infiineon TC277TF , unfortunately I have erased the BMHD (Boot Mode Header Location) which is having tha BMHD structure. Because of this every time I'm getting a message (as shown in below screen shot) like " No valid Boot Mode Header Found! Do you really want to program flash ? " .

733


Please let me know how to resolve this issue.

- Thanks & Regards
Veeresh Biradar

Florian
Jun 10th, 2014, 04:35 AM
Hi,

Before you flash, the memory will be erased. So you have to have a boot mode header in your elf/hex-file.
You have to insert a boot mode header by yourself to the code or declare it in the linker description file.
The instruction how to add the BMHD are in the user guides from the compiler you use.

Best regards,
Florian

Veeresh Biradar
Jun 17th, 2014, 12:32 AM
757

Hello Florian,

Thanks for reply ,I'm following as you told. As I'm facing one more issue regarding Flashing the code in particular address , can you please tell me the solution for below mention words :

As you know i'm working for TC277 , with present *.lsl file (attached ) my application data is always going to flash from 0x80000000H and 0xA0000000H , but my requirement is the data should flash from 0xA0300000 . I tryied by modifying the .lsl file but could not flash from required address . Can you please tell me where exactly I have change the address.

Attached document is .lsl file.

-Thanks & Regars
Veeresh Biradar

Florian
Jun 18th, 2014, 01:18 AM
Hi,

the address you want to flash from has to be specified in the *.cmm from Lauterbach you use. The code you want to flash has to be mapped to this location. For that you have to declare a new section in the lsl-file with the run_addr on the start address of the memory you want to have your code. Your code has to be linked to this section. You can find the guide also in the user guide from your compiler.

Best regards,
Florian

Veeresh Biradar
Jun 23rd, 2014, 11:41 PM
Dear Florian ,

Thank you , BMHD issue is solved.

Regarding *.lsl modification : I have tryied to modify *.lsl file for changing the start address . As you told I have given the start address to run_address , some part of the code is located to 0x80200000 which I'm doing ALIAS (in *.cmm) to 0xA0300000 , but some part of the code is located to 0x80000000 also. By this I understood that complete code is not there at 0xA0300000 , Please let me what exactly I have to modify to flash complete code to 0xA0300000 location (I want complete code to be flashed to 0xA0300000 onwords , code is less than 256KB).

-Thanks & Regards
Veeresh Biradar

Veeresh Biradar
Jul 16th, 2014, 05:12 AM
Dear Florian,

As I'm waiting for your reply, Kindly let me know if any inputs are required for above query.

-Regards
Veeresh Biradar