TC222 updating UCBs with TRACE32

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

cross mob
Fabien
Level 1
Level 1
First solution authored First reply posted First like given

Hello,

I am using TRACE32 is software version R.2019.02.000108303

The emulator is :

ref lauterbach: LA-3500 DEBUG-USB3

ref dongle: LA-2707 Tricore Automotive PRO

 

I need to update FLASH0_PROCOND.RAMIN UCB register

 

So, as explained in app_tricore_flash.pdf document, page 16, I first call the following command :

DO C:\T32\demo\tricore\flash\tc22x.cmm PREPAREONLY CPU=TC222L (which does not reply any error message)

 

Then, I execute DO C:\T32\demo\tricore\flash\tc2xx-ucb.cmm UCB=DFLASH ACTIVATE DIALOG (which returns “UCB check passed”).

 

The, I execute Data.Set 0xAF100400 %Long 0x0C, and I get “bus error generated by CPU)” error message.

 

Please can you help to understand why it does not work?

 

Best regards.

 

Fabien

0 Likes
1 Solution
Fabien
Level 1
Level 1
First solution authored First reply posted First like given

Hello,

 

Feedback after discussions with Lauterbach support team. We are using TRACE 32 version from 2019, and scripts for flashing UCBs have been updated since. 

Using latest scripts now make it work, and changing UCBs is now possible.

 

Best regards.

Fabien

View solution in original post

0 Likes
1 Reply
Fabien
Level 1
Level 1
First solution authored First reply posted First like given

Hello,

 

Feedback after discussions with Lauterbach support team. We are using TRACE 32 version from 2019, and scripts for flashing UCBs have been updated since. 

Using latest scripts now make it work, and changing UCBs is now possible.

 

Best regards.

Fabien

0 Likes