Announcements

Help us improve the Power & Sensing Selection Guide. Share feedback

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User19581
Level 1
Level 1
We want move the Vector Table and BMH reset data from pfls0 to pfls1. How to move below data to pfls1 and boot success?

The MAP file as below:
5006.attach
0 Likes
4 Replies
Darren_Galpin
Employee
Employee
First solution authored First like received
To write data into PFlash you have to use a programming sequence. You can program the PMU into page mode, and then use the DMA to move data from the flash into the PMU program buffer, or get the CPU to do it.
0 Likes
NeMa_4793301
Level 6
Level 6
10 likes received 10 solutions authored 5 solutions authored
Moving BMHDs into PF1 is not an option for TC2xx: there are four fixed locations all in PF0. To move everything else to PF1, you'll have to edit the linker file (*.lsl for Tasking or AURIX Development Studio).
0 Likes
TBencher
Level 6
Level 6
25 solutions authored 25 likes received 5 questions asked
Hi Jeffery,

what about alternate boot mode? Here you can place your program also at PFLASH 1 for TC2XX. As Darren stated you could just use the CPU to do the job for you.
Please be careful not deactivating HWCFG pins during BMH manipulation... It is also good practice to have at least one functioning BMH in one of those mentioned locations.
If you have for example deactivated HWCFG pins, which you would normally do on production devices, and your BMHs are corrupted, your AURIX would be locked and not accessible anymore...

So please be careful with that.

Regards,

Jens
0 Likes
TBencher
Level 6
Level 6
25 solutions authored 25 likes received 5 questions asked
Hi Jeffery,

UC_wrangler mentioned the linker file needs to be edited also. Yes, this could be but it could also be that you need to edit some other files as well.
This depends of course on your application. There are a lot of things imaginable.

Regards,

Jens
0 Likes