Page 1 of 1

Programming flash for AURIX TC397

Posted: Wed Aug 05, 2020 12:27 pm
by Revertigo
Hello,
I have TriCore TC397XE board and i successfully managed to build demo application based on HighTec's free Tricore toolchain.
I can't debug the application on my board since both TRACE32 and winIDEA requires external hardware product (like PowerDeubg - http://www.bwz.se/nohau/UserFiles/Files ... erbach.pdf) in order to debug Erika app.
This means the only option left for me right now is to program the application to the infineon's internal flash. I converted the erika3app.elf into hex file and tried to program it using Infineon's memtool. I received the following warning:
warning.png
warning.png (30.27 KiB) Viewed 13994 times
I ignored it and tried to program the flash anyway, but the RST led became red, which points on a problem.
I will mention that i manged to program hex files which were created from executable within HighTec(IDE) and AURIX Development Studio. I can add additional information if something isn't clear.
Any suggestions on how to run my demo application ?

Thx, Dekel

Re: Programming flash for AURIX TC397

Posted: Mon Aug 10, 2020 9:27 am
by e.guidieri
Hi,

I never worked with the memtool of Infineon so I cannot be much helpful about it, you should ask the infineon board about the warning.

The only think that I know it's that ERIKA's linker scripts for TC397x uses BootModeHeaders that are different from the ones that are flashed in the MCU at the factory. So the first time that you flash a new board with ERIKA you should use the following option.

Code: Select all

EE_OPT = "OSEE_TC_LINK_BMHD";
TriCore special EE_OPTs

Regards,

Errico

Re: Programming flash for AURIX TC397

Posted: Thu Aug 13, 2020 3:49 pm
by Revertigo
Hi !
I tried to add this option into conf.oil file as you suggested but unfortunately i got the same results. The wired thing is that this warning pooped up also when i successfully managed to program .hex file using AURIX Development Studio (and everything worked well).
I'm probably doing something else wrong (i tried program few EE demos).
Thank you,
Dekel